*
{
	margin:0%;
	padding:0;
	box-sizing: border-box;
	scroll-behavior: smooth;

}

body, html {
  height: 100%;
  width: 100%;
  font-size: 100%;
  margin: 0;
  padding: 0;
  scroll-snap-type: y mandatory;

}

header
{

	min-width: 35vh;
	background-size: cover;
	background-position: center;


}

body
{
	font-family: helvetica;
	background: var(--main-bg-color);
	background: conic-gradient(from 90deg at 1px 1px,#00000000 25%,#0000003b 0) 0 0/80px 80px;
	overflow-x: hidden;

}

:root {
	--main-bg-color: rgb(255, 255, 255);
	--main-bg-revert: rgb(255, 255, 255);	/* rgb(237, 236, 228);*/
	--sec-bg-color: rgb(237, 236, 228);
	--text-color: rgb(6, 6, 6);
	--text-hover-color:hotpink;
	--hover-color: black;
	--transparent: rgba(0, 0, 0, 0);
  }
  


/********************************************************/

.loader {
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--main-bg-color);
	display: flex;
	justify-content: center;
	align-items: center;
}

.loader > img {
	width: 75px;
}

.loader.hidden {
	animation: fadeOut 0.8s;
	animation-fill-mode: forwards;
}

@keyframes fadeOut {
	100% {
		opacity: 0%;
		visibility: hidden;
	}
}


/*navbox*/
.logoNav
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	position: fixed;
	width: 100%;
	max-width: 1440px;
    margin-left: 50%;
    transform: translate(-50%, 0);
	z-index: 98;
}

.logoNav img {
	width: 85px;
	margin-left: 27px;
	margin-top: auto;
	margin-bottom: auto;
}


.logoNav ul {
	float: right;
	height: 100%;
	max-width: 160px;
	list-style: none;
	margin-top: auto;
	margin-bottom: auto;
	margin-right: 2%;
}

.logoNav li.active a {
	text-decoration: none;
	font-family: "Helvetica", sans-serif;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: 6px;
	font-weight: bold;
	color: var(--text-color);
}
.logoNav li a:hover
{
	color: var(--text-color);
	text-shadow: 2px 1px var(--text-hover-color);
}


/*back ground front page scroll*/
.bgimage {
  max-height: 100vh;
  overflow: hidden;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;

}

.bgimage img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-height: 100%;
	width: auto;
}

.bgimage a {
	cursor: s-resize;
}

.bgimageVert img {
  max-height: 100vh;
  min-height: 333px;
  width: 100%;
  overflow: hidden;
  object-fit: contain;
}

.bgimageVert video {
  max-height: 100vh;
  min-height: 333px;
  width: 100%;
  overflow: hidden;
  object-fit: contain;
}

.bgimageVert {
  max-height: 100vh;
  min-height: 333px;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;

}


.bgimageVert a {
	cursor: s-resize;
}



.galleryMagnet {
	font-size: 10px;
	color: var(--text-color);
	text-align: center;
}

/********************************************************/

/* Center website */
.main {
  max-width: 1500px;
  margin: auto;

}


h3 {
  font-size: 12px;
  word-break: break-all;
  color: var(--text-color);
  text-align: left;
  text-decoration: none;
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
}





/*PORTFOLIO GALLERY*/



.flexContainer {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	width: 1000px;
	max-width: 100%;
	margin: auto;
	flex-flow: column;

}

#gallery .content {
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	justify-content: center;
	align-items: end;
	flex-flow: column;
	height: 100vh;
	margin-left: auto;
	margin-right: auto;
	position: relative;
  }
  
#gallery .content #vert {
	  max-height: 75vh;
	  min-width: auto;
  }

  #gallery .content #hori{
	width: 100%;
	max-height: 50vh;
	min-width: auto;
}

#gallery .content img{
	width: 100%; /* Allow the image to scale horizontally to fit the container */
	height: 100%; /* Allow the image to scale vertically to fit the container */
	object-fit: contain;
}

#gallery h2{
	margin-top: 1vh;
}

.content {
	position: relative;
  }


/*Overlay*/
.container {
  position: relative;

}

.container img{
	max-width: 100%;
}





/********************************************************/

/*PROJECT PAGE*/

.flexContainerP {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 1300px;
	max-width: 100%;
	margin: auto;
	gap: 10px 10px;
	flex-flow: row;
	align-items: baseline;

}

#fitted .content {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-flow: row;
	height: 100vh;
	position: relative;
  }
  
#fitted .content #vert {
	  max-height: 75vh;
	  min-width: auto;
  }

#fitted .content #hori{
	width: 100%;
	max-height: 50vh;
	min-width: auto;
}

#fitted .content img{
	width: 100%; /* Allow the image to scale horizontally to fit the container */
	height: 100%; /* Allow the image to scale vertically to fit the container */
	object-fit: contain;
}





/*for space*/

.flexBreak {
	flex-basis: 100%;
	height: 0;
  }

.flexVertBlank {
	display: flex;
	width: 327px;
	height: auto;
	margin: 0px;
}

.flexHoriBlank {
	display: flex;
	width: 327px;
	height: auto;
	margin: 0px;
}


/*text*/

.flexText {

	/*float: left;*/
	display: flex;
	justify-content: center;
	align-items: start;
	flex-direction: column;
	width: 600px;
	height: 80vh;
	min-height: 600px;
	font-size: 28px;
	color: var(--text-color);
	overflow: auto;
	position: relative;
}

#project {
	margin-top: 20px;
	margin-left: 30px;
}

.flexText h2 {
	padding-bottom: 10%;
}

.flexText p {
	padding-bottom: 5%;
}

.textSmall {
	font-size: 19px;
}

#bgText {
	width: 100%;
	height: 100vh;
	color: white; /* Text color on the background */
	text-align: center; /* Center text horizontally */
	padding: 20px; /* Add padding for text content */
	font-size: 24px; /* Adjust font size as needed */
}

/********************************************************/

/*ABOUT PAGE*/

#form .content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column;
	height: 100vh;
	min-height: 700px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
  }



/********************************************************/

/*contact page*/

 /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
	width: 100%; /* Full width */
	/*padding: 12px;*/ /* Some padding */ 
	border: none; /* Gray border */
	border-radius: 3px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
	max-height: 350px;
	/*font-weight: bold;
	letter-spacing: 9px;*/
	outline: none;
	background-color: var(--sec-bg-color);
	color: var(--text-color);
	font-family: monospace;
	font-size: 13px;
}

input[type=email], select, textarea {
	width: 100%; /* Full width */
	/*padding: 12px;*/ /* Some padding */ 
	border: none; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	outline: none;
	background-color: var(--sec-bg-color);
	color: var(--text-color);
	font-family: monospace;
	font-size: 13px;
}

/*textarea::placeholder {
	font-size: 6px;
	line-height: 4px;
}


/* Style the submit button with a specific background color etc */
input[type=submit] {
	background-color: var(--transparent);
	color: var(--text-color);
	width: 38px;
	/*padding: 1px 12px;*/
	border: none;
	/*border-radius: 10px;*/
	cursor: pointer;
	/*border: 1px solid red;*/
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
	align-self: center;
	color: var(--text-hover-color);
}

/* Add a background color and some padding around the form */
.formContainer {
	max-width: 400px;
	border-radius: 5px;
	/*background-color: black;*/
	padding: 10px;
	/*border: 1px solid red;*/
	/*font-weight: bold;*/
	letter-spacing: 2px;
	background-color: transparent;
}

.formContainer label{
	color: var(--text-color);
}


/********************************************************/

/*COPYRIGHT*/

.footerBox {
	position: fixed;
	width: 95%;
	height: 27px;
	max-width: 1440px;
    margin-left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
	z-index: 98;
	padding-left: 13px;
	padding-right: 13px;
}

footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: auto;
	margin-bottom: auto;
	width: 99%;
	height: 25px;
	max-width: 1440px;
	bottom: 0;
	z-index: 98;
}

footer li {
	font-size: 10px;
	color: var(--text-color);
	list-style: none;
}

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

}

footer li a:hover {
	text-shadow: -2px 3px var(--text-hover-color);

}

.fix{
	max-width: 470px;
    position:fixed;
    bottom:0px;
    left:50%;
	transform: translateX(-50%);
	z-index: -1;
	opacity: 1;
	
}


/********************************************************/

/* Responsive layout - makes a three column-layout instead of four columns*/
@media screen and (max-width: 800px) {

  .flexContainer{
  	flex: 33.33%;
  	justify-content: space-around;
  }

}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other*/
@media screen and (max-width: 600px) {

  .flexContainer{
  	flex: 50%;
  	justify-content: space-around;
  }

  .flexContainerP{
  	flex: 100%;
  	justify-content: space-around;
  	flex-flow: row wrap;
  }

  .flexText{
  	max-width: 90vw;
  }

  .flexText h2 {
  	max-width: 90vw;
  }

  .flexText b {
  	line-height: 1.6;
  }

  .flexVertBlank {
  	max-width: 90vw;
  }

 /* .bgimageVert img{
  	height: 43vh;
  }*/
}

/*Overflow images*/
@media screen and (max-width: 600px) {
	.flexContainer {
	width: 100%;
	}

	.flexContainerP {
	width: 100%;
	}

	.flexText {
	width: 100%;
	}

	.bgimageVert {
	width: 100%;
	}

}


