@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@800&display=swap');
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html{
	scroll-behavior: smooth;
}
body{
	--main-page-color: #FAFAFA; 
	--dark-color: #0D0D0D;
	--secondary-color: #EA4215;
	margin: 0;
	padding: 0;
	background-color: var(--main-page-color);	
}
header{
	width: 100%;
	height: 100vh;
	background-color: var(--main-page-color);
	display: flex;
	justify-content: center;
	align-items: center;
}
#logo{
	position: fixed;
	top: 3vw;
	left: 3vw;
	width: 4vw;
	height: auto;
	transition: 0.2s;
}
#logo.hover{
	top: 2.75vw;
	left: 2.75vw;
}
#logo>img{
	width: 100%;
}
#logoBG{
	display: block;
	position: absolute;
	background-color: var(--main-page-color);
	width: 5.5vw;
	height: 5.5vw;
	z-index: -1;
	top: -0.75vw;
	left: -0.75vw;
	border-radius: 100%;
	transition: 0.2s;
}
#logoBG.hover{
	box-shadow: 0.3rem 0.3rem 0 0 var(--dark-color);
}
#hero{
	width: 100%;
	height: auto;
	margin: 0 auto;
}
#socials{
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	bottom: 3vw;
	left: 3vw;
	width: 5vw;
	height: auto;
	background-color: var(--main-page-color);
	border: 0.25rem solid var(--dark-color);
	border-radius: 10px;
	padding: 0.5vw 0.5vw;
	transition: 0.2s;
}
#socials:hover{
	bottom: 3.25vw;
	left: 2.75vw;
	box-shadow: 0.25vw 0.25vw 0 0 var(--dark-color);
}
#socials>a>img{
	width: 100%;
	height: auto;
	margin: 1vh 0px;
}

nav{
	position: fixed;
	right: 0;
	height: 100vh;
	width: 0px;
	background-color: var(--secondary-color);
	transition: 0.3s;
	z-index: 5;
}
nav.openNav{
	width: 20vw;
	border-left: 0.5rem solid var(--dark-color);
}
nav ul{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	padding-left: 2vw;
}
nav li{
	list-style: none;
	text-align: left;
	width: 100%;
	height: auto;
	z-index: 5;
	
}
nav a{
	font-family: 'Poppins', sans-serif;
	font-size: 2rem;
	color: var(--main-page-color);
	text-decoration: none;
	border: none;
}
main{
	width: 75vw;
	margin: 5rem auto 0;
	background-image: url("images/main-bg.png");
	background-position: center top;
	background-size: contain;
	background-repeat: repeat-y;
	padding: 0  0 15vh;
}
#work{
	position: relative;
}
#content{
	margin: 0 auto;
	width: 60vw;
	display: grid;
	grid-template-columns: 60vw;
	grid-template-rows: 1fr;
	grid-row-gap: 15vh;
	transition: 0.3s;
	position: relative;
}
div.imgParent{
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
}
div.imgParent:nth-of-type(odd){
	width: 32vw;
}
div.imgParent:nth-of-type(even){
	justify-content: flex-end;
}
div.imgParent>img{
	width: 32vw;
	height: auto;
	position: relative;
	transition: 0.3s;
}
div.imgParent:nth-of-type(even)>img{
	position: absolute;
}
div.imgParent>img:hover{
	cursor: pointer;
	transform: scale(1.05);
}

#popUpBG{
	width: 100vw;
	height: 100vh;
	display: none;
	position: fixed;
	background-color: var(--dark-color);
	opacity: 0.6;
	top: 0;
	right: 0;
	z-index: 1;
}
#popUp{
	width: 75vw;
	height: 90vh; 
	position: fixed;
	top: 5vh;
	left: 12.5vw;
	z-index: 7;
	transition: 0.4s;
	display: none;
	justify-content: center;
	align-items: center;
}
#popUpImgParent{
	height: 100%;
	margin: 0 auto;
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
}
#popUp img{
	width: auto;
	height: 80vh;
	z-index: 8;
	display: flex;
	justify-content: center;
	
}
#popUpTxt{
	width: 100%;
	max-height: 60vh;
	height: 10vh;
	margin: 0 auto;
	background-color: var(--secondary-color);
	border: 0.3rem solid var(--dark-color);
	z-index: 9;
	position: relative;
	padding: 1.25vw;
	
}
#popUpTxt>h2{
	font-size: 2.5rem;
	font-family: 'Poppins', 'sans-serif';
	color:var(--main-page-color);
	display: none;
}
#popUpTxt>p{
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	color: var(--main-page-color);
	margin: 0.5rem 0 1.5rem;
	overflow-y: auto;
	max-height: 33vh;
}
::-webkit-scrollbar {
	width: 12px;
}
::-webkit-scrollbar-thumb{
	background: var(--secondary-color); 
  	border-radius: 12px;
	border: 2px solid var(--main-page-color);
}
::-webkit-scrollbar-track {
	background-color: var(--main-page-color);
	border-radius: 12px;
}
#popUpTxt>button{
	font-family: 'Poppins', 'sans-serif';
	font-size: 1.25rem;
	color: var(--dark-color);
	background-color: var(--main-page-color); 
	border: 0.25rem solid var(--dark-color);
	width: 90%;
	height: 6vh;
	padding: 0.25rem 0.75rem;
	border-radius: 5rem;
	text-align: center;
	position: absolute;
	bottom: 1.5vh;
	right: 5%;
	transition: 0.1s;
}
#popUpTxt>button:hover{
	bottom: 1.75vh;
	box-shadow: 0 0.25vw 0 0 var(--dark-color);
	cursor: pointer;
}
footer{
	background-color: var(--secondary-color);
	width: 100%;
	padding: 4vh 0 8vh;
}
#about{
	margin: 0 auto;
	width: 60vw;
}
#about>h2{
	font-family: 'Poppins', 'sans-serif';
	font-size: 5rem;
	color: var(--dark-color);
}
#about>h2>span{
	color: var(--main-page-color);
}
#about>p{
	font-family: 'Open Sans', sans-serif;
	font-size: 1.25rem;
	line-height: 1.8rem;
	color: var(--main-page-color); 
}
#about>p:first-of-type{
	margin-bottom: 0.5rem;
}
#contact{
	width: 50%;
	margin: 2rem auto;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}
#contact>a{
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
	margin-bottom: 1rem;
}
#contact>a>img{
	width: 4vw;
}
#contact>a>p{
	font-family: 'Poppins', 'sans-serif';
	font-size: 1.5rem;
	color: var(--main-page-color); 
	border: none;
	margin-left: 1rem;
}
@media all and (max-width: 1000px){
	#content{
		display: flex;
		flex-direction: column;
	}
	div.imgParent{
		width: 100%;
		display: flex;
		justify-content: center;
	}
	div.imgParent:nth-of-type(even){
		justify-content: center;
	}
	div.imgParent:nth-of-type(odd){
		width: 100%;
	}
	div.imgParent:nth-of-type(even)>img{
		position: relative;
	}
	div.imgParent>img{
		width: 100%;
	}
}
@media all and (max-width: 700px){
	div.imgParent>img{
		width: 80%;
	}
}
@media all and (max-width: 550px){
	#logo{
		width: 8vw;
	}
	#logoBG{
		display: none;
	}
	#logo.hover{
		top: 3vw;
		left: 3vw;
	}
	#socials:hover{
		bottom: 3vw;
		left: 3vw;
		box-shadow: none;
	}
	#socials{
		width: 8vw;
		border: 0.2rem solid var(--dark-color);
	}
	nav.openNav{
		width: 100vw;
		border: none;
	}
	nav li{
		text-align: center;
	}
	#about{
		width: 65vw;
	}
	#about>h2{
		font-size:  2.5rem;
	}
	#about>p{
		font-size: 1rem;
	}
	#contact{
		width: 100%;
	}
	#contact>a>img{
		width: 8vw;
	}
	#contact>a>p{
		font-size: 1rem;
	}
}
@media all and (max-width: 450px){
	#logo{
		width: 10vw;
		position: absolute;
	}
	#about{
		width: 75vw;
	}
}