@font-face {
  font-family: SoofSans;
  src: url(soofsans.otf);
}

/* Main Body */

body {
	font-family: Inter;
	font-size: 15px;
	line-height: 1.5;
	opacity: 1;
 	background-color: var(--bg-color);
  color: var(--text-color);
	margin: 50px;
	overflow:auto;
}

/* Headings */

h1 {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 1.2px;
}

h1 a {

	padding: 10px;
	text-align: center;
	display: inline-block;
  color: var(--text-color);
  transition: opacity 0.3s ease-in-out;

}

h1 a:hover {
	opacity: 0.5;
}

section h1 {
	font-size: 26px;
	line-height: 29px;
	font-weight: 400;
	letter-spacing: 0.05em;
	padding-bottom: 15px;
}

h4 {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 1.2px;
  border-bottom: 1px solid;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

/* Header */

header {
		overflow: hidden;
}

header a {
	font-style: normal;
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	text-align: center;
	letter-spacing: 0.05em;	
}

/* Typography */

.smallprint {
	font-size: 12px;
}

/* Nav */

nav {
		display: flex; 
		justify-content: space-between;
		align-items: center;
		padding-bottom: 25px;
		}
		
/* Links */

a {
	color: var(--text-color);
	text-decoration: none;
}

a:hover:not()  {
	border-bottom: 1px dashed var(--text-color);
}

.projectpage a:not(.button) {
text-decoration: none;
padding-bottom: 1.7px;
border-bottom: 1px solid var(--text-color);
	
}

.projectpage a:hover:not(.button) {
	border-bottom: 1px dashed var(--text-color);
	color: var(--text-color);
}

.modal-content a {
text-decoration: none;
padding-bottom: 1.7px;
border-bottom: 1px solid var(--text-color);
transition: border-bottom .3s ease-in-out;
	
}

.modal-content a:hover {
border-bottom: 1px dashed var(--text-color);
	
}

/* Buttons */

.button {
  border: 1px solid;
	border-color: var(--border-color);
	padding: 10px;
	transition-duration: 0.35s;
	font-size: 15px;
	text-align: center;
	transition: 0.35s ease-in-out;
  cursor: pointer;
}

.button:not(#Contact, #About) {
		width: 100%;
}

.button:hover {
  background-color: var(--border-color);
	color: var(--bg-color);
}

.content .button {
	display: inline-block;
	margin: 10px 0px 0px 0px;
	 }

/* Project Buttons on Homepage */

.projectpanel
{
	display: flex; 
	justify-content: space-between;
	align-items: center;
	padding-bottom: 25px;
	gap: 5px 5px;
	flex-wrap: wrap;

}
.project {

	border: 1px solid; 
	border-color: var(--border-color);
	text-align: left;
	padding: 10px;
	margin-right: 5px;
	margin-top: 5px;
	transition-duration: 0.35s;
	flex-grow: 1;
	
}

.project:hover {
  background-color: var(--border-color);
	color: var(--bg-color);
}

.project h2 {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 22px;
	letter-spacing: 0.05em;
}
.project h3 {
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.05em;
}

/* Project Pages */

.projectpage {

	border: 1px solid; 
	border-color: var(--border-color);
	text-align: left;
	padding: 10px;
	margin-top:5px;
	transition-duration: 0.35s;
	flex-grow: 1;
	
}

.projectpagetitle {
		display: flex; 
		justify-content: space-between;
		align-items: center;
		font-size: 20px;

}

.projecttype {
	font-style: italic;
	font-size: 14px;
}


/* Images */
.project-image {
	padding-top: 10px;
	margin-top: 10px;
}

/* Colour Switches */

.bluesquare {  
	height: 30px;
  width: 30px;
  background-color: #001AFF;
	border-radius: 50%;
}

.pinksquare {  
	height: 30px;
  width: 30px;
  background-color: #ec13e1;
	border-radius: 50%;

}

.orangesquare {  
	height: 30px;
  width: 30px;
  background-color: #F05600;
	border-radius: 50%;
}

/* Colour Switches Layout and Dispay */

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: help;
  border: none;
  background-color: transparent;
	padding-right: 35px;
}

.theme-btn.blue {
  display: none;
}
.theme-btn.pink {
  display: none;
}
.pink .theme-btn.pink {
  display: none;
}
.pink .theme-btn.blue {
  display: block;
}
.pink .theme-btn.orange {
  display: none;
}
.orange .theme-btn.orange {
  display: none;
}
.orange .theme-btn.blue {
  display: none;
}
.orange .theme-btn.pink {
  display: block;
}

 
/* Colour Variables */

:root,
    :root.blue {
    --bg-color: #EFF2FF;
    --text-color: #001AFF;
		--border-color: #001AFF;
		 --modal-bg-color: rgba(239,242,255,0.8);
    }
 
    :root.pink {
    --bg-color: #FFE8E8;
    --text-color: #ec13e1;
		--border-color:  #ec13e1;
		--modal-bg-color: rgba(255,232,232,0.8);
    }

    :root.orange {
    --bg-color: #FFF0ED;
    --text-color: #F05600;
		--border-color:  #F05600;
		 --modal-bg-color: rgba(255,240,237, 0.8);
    }

/* Collapsible Boxes */

.collapsible {
  border: 1px solid;
	margin: 0px 0px 10px 0px;
	border-color: var(--border-color);
	background-color: var(--bg-color);
	padding: 10px;
	font-size: 15px;
  width: 100%;
  text-align: left;
	color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.active, .collapsible:hover {
  background-color: var(--border-color);
	color:  var(--bg-color);
}

.content {
  padding: 0px 0px 0px 20px;
  overflow: hidden;
  color: var(--text-color);
 	transition: height 0.5s ease-out;
	max-height: 0px;
}

button.collapsible.active + .content {
	height: max-content;
  max-height: 500px;
  overflow-y: scroll;
	margin: 10px 0px 10px 0px;
	padding: 10px;
}

.collapsible.active + .content::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: var(--text-color);
}

.collapsible.active + .content::-webkit-scrollbar-thumb {
  background:  var(--bg-color);
  border: 1px solid;
  border-color: var(--border-color);
}

.arrow {
  transform: rotate(0deg);
  color: var(--text-color);
  transition: transform 300ms ease-in-out;
	font-size: 25px;

}

.active, .collapsible:hover .arrow {
   color: var(--bg-color);
}

.active .arrow {
  transform: rotate(90deg);
   color: var(--bg-color);
}

/* The Modal Box*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
	background-color: var(--modal-bg-color);
	border: 1px solid;
	border-color: var(--border-color);
	padding: 10px;
	transition-duration: 0.35s;
	font-size: 15px;
	text-align: center;
  color: var(--text-color);
}

/* Modal Content/Box */
.modal-content {
  border: 1px solid var(--border-color);
	background-color: var(--bg-color);
	transition-duration: 0.35s;
	font-size: 15px;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 50px;
  width: 80%; /* Could be more or less, depending on screen size */
  color: var(--text-color);
}

/* The Close Button */
.close, .about-close {
  color: var(--text-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
	opacity: 1;
	transform: rotate(45deg);
	transition: all 0.3s ease-out;}



.close:hover,
.close:focus,
.about-close:hover,
.about-close:focus 
{
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
	transform: rotate(0deg);
}

/* SoofSans Sample Text Field */

.sampletext
{
  background-color: var(--text-color);
}
input[type=text] {
  font-size: 48px;
  text-align: center;
  box-sizing: content-box;
  border: none;
  background-color: var(--text-color);
 	color: var(--bg-color);
  transition: width 0.4s ease-in-out;
  font-family: "SoofSans";
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;

}

input[type=text]:focus {
  transition: 0.4s ease-in-out;
 color: var(--bg-color);
  border: none;
}

::placeholder {
  color: #ffffffc5;
}

/* Snow Icon */

.snow {
	font-size: 40px;
	cursor: help;
	transition: transform 100ms ease-in-out;
}

.snow:hover {
	transform: scale(1.5);
}

.snow:active {
	transform: scale(0.9);
}

/* Snow Falling */
.snowflake {
  color: var(--text-color);
  font-size: 50px;
}

@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}

.hidden {
opacity: 0!important; 
transition: opacity 0.25s ease-in-out; 
}
.snow-container {
opacity: 1;
transition: opacity 1.6s ease-in-out; 
pointer-events: none;
} 

/* Style Up */

.draggable {
    cursor: move;
    position: absolute;
    user-select: none;
		width: 100%;
		height: 100%;
}

.mainsoof {
	display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}



/* Footer */

footer
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footerright {
display: flex;
justify-content: flex-end;
align-items: center;
}