@import url('https://fonts.googleapis.com/css2?family=Alata&family=Epilogue:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alata&family=Josefin+Sans:wght@300&display=swap');

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

/*,*::before,*::after*/

:root{
	--White: hsl(0, 0%, 100%);
	--Black: hsl(0, 0%, 0%);
	--Dark-Gray: hsl(0, 0%, 55%);
	--Very-Dark-Gray: hsl(0, 0%, 41%);
}

body{
	/*font-family: 'Alata', sans-serif;*/
	font-family: 'Josefin Sans', sans-serif;
	scroll-behavior: smooth;
}

li{
	list-style-type: none;
}

a{
	text-decoration: none;
}

/*== SECTION 1 ==*/
.secion1{
	width: 100%;
	height: 90vh;
	background-image: url(../images/desktop/image-hero.jpg);
	background-position: center;
	background-size: cover;
}

.secion1 nav{
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 1.3rem 8%;
	align-items: center;
}

.secion1 nav .mobile-menu{
	cursor: pointer;
	display: none;
	z-index: 11;
}

.secion1 nav ul.nav-bar{
	display: flex;
	align-items: center;
	gap: 1rem;
}

ul.nav-bar li{
	position: relative;
}

ul.nav-bar li::before{
	content: "";
	position: absolute;
	top: 150%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	border-radius: 20px;
	background: var(--White);
	opacity: 0;
	transform: all .3s ease-in-out;
}

ul.nav-bar li:hover::before{
	opacity: 1;
	width: 50%;
}

.secion1 nav ul.nav-bar li a{
	color: var(--White);
	/*font-family: 'Alata', sans-serif;*/
}

.secion1 .hero{
	width: 100%;
	padding: 0 8%;

}

.secion1 .hero .hero-content{
	color: var(--White);
	text-transform: uppercase;
	font-size: 4rem;
	border: 2px solid var(--White);
	padding: 2rem 0;
	padding-left: 2rem;
	font-weight: 300;
	width: 550px;
	line-height: 4.5rem;
	margin-top: 3rem;
}

#close{
	display: none;
}


.menu-mobile-active #hamburger{
	display: none;
}

.menu-mobile-active #close{
	display: block;
}

.nav-bar-mobile{
	display: none;
}

@media screen and (max-width: 670px){
	.secion1{
		height: 100vh;
		background-image: url(../images/mobile/image-hero.jpg);
	}

	.secion1 nav ul.nav-bar{
		display: none;
	}

	.nav-bar-mobile{
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 8rem;
		gap: 1.5rem;
		position: fixed;
		top: 0;
		left: 0;
		background-color: black;
		height: 100vh;
		width: 100%;
		transform: translateX(-100%);
		transition: all .3s ease-in-out;
		z-index: 999;
	}

	ul.active{
		transform: translateX(0);
	}

	.nav-bar-mobile li a{
		color: white;
		font-size: 3rem;
	}

	.secion1 nav .mobile-menu{
		display: block;
		z-index: 9999;
	}

	.secion1 nav ul li a{
		font-size: 1.7rem;
		text-transform: uppercase;
		margin-bottom: 2rem;
	}

	.secion1 nav #logo{
		z-index: 9;
	}

	.secion1 .hero .hero-content{
		width: 100%;
		font-size: 3.3rem;
	}
}

@media screen and (max-width: 470px){
	.secion1 .hero .hero-content{
		font-size: 2.5rem;
	}
}

/*== CREATION ==*/
.creations{
	width: 100%;
	padding: 3rem 8%;
	position: relative;
}

.creations nav{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.creations nav h2{
	font-size: 2rem;
	text-transform: uppercase;
}

.creations nav .btn{
	padding: 10px 26px;
	border: 1px solid var(--Black);
	color: var(--Black);
	text-transform: uppercase;
	font-size: 1rem;
	transition: all .3s ease-in-out;
}

.creations nav .btn:hover{
	background: var(--Black);
	color: var(--White);
}

.creations .creations-box{
	display: grid;
	align-items: center;
	grid-gap: 1.5rem;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 5rem;
	margin-bottom: 2rem;
}

.creations .creations-box .creation{
	background-image: url(../images/desktop/image-deep-earth.jpg);
	background-size: cover;
	background-position: center;
	height: 430px;
	position: relative;
	cursor: pointer;
}

.creations .creations-box .creation:nth-child(2){
	background-image: url(../images/desktop/image-night-arcade.jpg);
}

.creations .creations-box .creation:nth-child(3){
	background-image: url(../images/desktop/image-soccer-team.jpg);
}

.creations .creations-box .creation:nth-child(4){
	background-image: url(../images/desktop/image-grid.jpg);
}

.creations .creations-box .creation:nth-child(5){
	background-image: url(../images/desktop/image-from-above.jpg);
}

.creations .creations-box .creation:nth-child(6){
	background-image: url(../images/desktop/image-pocket-borealis.jpg);
}

.creations .creations-box .creation:nth-child(7){
	background-image: url(../images/desktop/image-curiosity.jpg);
}

.creations .creations-box .creation:nth-child(8){
	background-image: url(../images/desktop/image-fisheye.jpg);
}

.creations .creations-box .creation .creation-hover{
	position: absolute;
	left: 0;
	top: 0;
	background: var(--White);
	opacity: 0;
	width: 100%;
	height: 100%;
	transform: all 3s ease-in-out;
}

.creations .creations-box .creation:hover .creation-hover{
	opacity: .6;
}

.creations .creations-box .creation:hover .creation-title{
	color: var(--Black);
}

.creations .creations-box .creation .creation-title{
	color: var(--White);
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 2rem;
	text-transform: uppercase;
	font-size: 2rem;
	font-weight: 300;
	z-index: 9;
}

@media screen and (max-width: 980px){
	.creations .creations-box{
		grid-template-columns: repeat(3, 1fr);
	}

	.creations .creations-box .creation .creation-title{
		font-size: 1.6rem;
	}
	
}

@media screen and (max-width: 670px){
	.creations .creations-box{
		grid-template-columns: repeat(1, 1fr);
		margin-bottom: 8rem;
	}

	.creations .creations-box .creation .creation-title{
		font-size: 2rem;
	}

	.creations .creations-box .creation{
		height: 180px;
		background-image: url(../images/mobile/image-deep-earth.jpg);
	}

	.creations .creations-box .creation .creation-title{
		font-size: 2.2rem;
	}

	.creations .btn{
		position: absolute;
		bottom: 6rem;
		left: 50%;
		transform: translateX(-50%);
	}

	.creations nav{
		justify-content: center;
	}
	.creations .creations-box .creation:nth-child(2){
		background-image: url(../images/mobile/image-night-arcade.jpg);
	}

	.creations .creations-box .creation:nth-child(3){
		background-image: url(../images/mobile/image-soccer-team.jpg);
	}

	.creations .creations-box .creation:nth-child(4){
		background-image: url(../images/mobile/image-grid.jpg);
	}

	.creations .creations-box .creation:nth-child(5){
		background-image: url(../images/mobile/image-from-above.jpg);
	}

	.creations .creations-box .creation:nth-child(6){
		background-image: url(../images/mobile/image-pocket-borealis.jpg);
	}

	.creations .creations-box .creation:nth-child(7){
		background-image: url(../images/mobile/image-curiosity.jpg);
	}

	.creations .creations-box .creation:nth-child(8){
		background-image: url(../images/mobile/image-fisheye.jpg);
	}
}

/*== FOOTER ==*/
footer{
	width: 100%;
	padding: 3rem 8%;
	background: var(--Black);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: 'Alata', sans-serif;
}

.footer-nav .logo{
	margin-bottom: 1rem;
	width: 35%;
}

.footer-nav ul li{
	display: inline-block;
	margin-right: 1.5rem;
}

.footer-nav ul li a{
	color: var(--White);
	font-weight: 500;
	font-size: 14px;
}

.footer-icons{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.footer-icons .icons{
	float: right;
	margin-bottom: 1rem;
}

.footer-icons .icons img{
	margin-left: .7rem;
	width: 22px;
}

.footer-icons .rights{
	color: var(--Dark-Gray);
	font-size: 14px;
	text-align: left;
}

@media screen and (max-width: 765px){
	footer{
		flex-direction: column;
		justify-content: center;
	}

	.footer-nav, .footer-icons{
		width: 100%;
	}

	.footer-nav{
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-bottom: 3rem;
	}

	.footer-nav ul li{
		display: flex;
		flex-direction: column;
		margin-bottom: 1rem;
	}

	.footer-nav .nav-bar li a{
		font-size: 1.2rem;
		text-align: center;
	}

	.footer-nav .logo{
		width: 40%;
		margin-bottom: 2rem;
	}

	.footer-icons{
		align-items: center;
	}
}

