@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;900&display=swap");

* {
	font-family: "Poppins", sans-serif;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	transition: all 50ms ease;
}
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}
a {
	text-decoration: none;
}
li {
	list-style-type: none;
}

.dark-theme body {
	background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
}

body {
	background: linear-gradient(#e8f1db, #e6fad3);
	overflow-x: hidden;
}

.container {
	padding: 48px 0px;
}

.row {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 16px;
}

button {
	cursor: pointer;
}

*::-webkit-scrollbar {
	width: 16px;
}

*::-webkit-scrollbar-track {
	background-color: rgba(0, 0, 0, 1);
}

*::-webkit-scrollbar-thumb {
	border-radius: 100px;
	border: 4px solid transparent;
	background-clip: content-box;
	background-color: #818381;
}
/* add dark mode to scrollbar */
*::-webkit-scrollbar-thumb:hover {
	background-color: #f8f8f8;
}

.title {
	font-size: 88px;
	margin-bottom: 12px;
	line-height: 1;
	text-align: left;
}
.text--align-right {
	text-align: right;
}
.green--text {
	color: #659b5e;
}
.green--text-bold {
	color: #659b5e;
	font-weight: 700;
}
.click:hover {
	transform: scale(1.15);
	cursor: pointer;
}
.click:active {
	transform: scale(0.8);
}
.link__hover-effect {
	position: relative;
}
.link__hover-effect::after {
	content: "";
	position: absolute;
	bottom: -8px;
	height: 4px;
	width: 0;
	right: 0;
	background-color: #0d3d06;
	transition: all 300ms ease;
}

.link__hover-effect:hover::after {
	left: 0;
	width: 100%;
}

label {
	font-size: 14px;
	font-weight: bold;
}
input:hover,
textarea:hover {
	border-color: #ffffff;
}
input:focus,
textarea:focus {
	border-color: #659b5e;
}
input,
textarea {
	width: 100%;
	background-color: #242424;
	color: #fff;
	outline: none;
	border: none;
	border-bottom: 3px solid #b4a9a9;
	height: 40px;
	transition: all 300ms ease;
}
textarea {
	resize: vertical;
	height: 100px;
	margin-top: 8px;
}

nav,
.scroll,
.header {
	opacity: 1;
	visibility: visible;
	transition: all 600ms 200ms;
}

.okay {
	color: #fff;
}

.modal--open nav,
.modal--open .scroll,
.modal--open .header {
	opacity: 0;
	visibility: hidden;
	transition: all 400ms;
}

.logo {
	width: 60px;
	aspect-ratio: 1;
	border-radius: 5px;
}

.dark-theme .title,
.dark-theme .header__para,
.dark-theme .section__title,
.dark-theme .nav__link--anchor {
	color: white;
}
.dark-theme .green--text-bold,
.dark-theme .green--text,
.dark-theme .social__link,
.dark-theme .project__description--link,
.dark-theme .scroll__icon {
	color: rgb(231, 126, 5);
}
.dark-theme {
	background-color: rgba(65, 4, 0, 0.274);
}

.dark-theme .scroll__icon {
	border: 2px solid rgb(231, 126, 5);
}

.dark-theme #landing-page {
	background-image: none;
}
.dark-theme nav {
	background-color: rgba(0, 0, 0, 0);
}
.dark-theme .scroll__icon::after,
.dark-theme .modal__about {
	background-color: #e77e05;
}

.night {
	display: none;
}
.dark-theme .night {
	display: block;
}
.day {
	display: block;
}
.dark-theme .day {
	display: none;
}

.dark-theme .button--span {
	background: red;
}
.dark-theme .form__submit {
	color: rgb(228, 222, 222);
	background-color: #e75f05;
}
.dark-theme .form__submit:hover {
	background-color: red;
	box-shadow: 0 0 5px red, 0 0 25px red, 0 0 50px red, 0 0 100px red;
}
/*  
   
   LANDING PAGE
   
   */
#landing-page {
	min-height: 100vh;
	background-image: url(./assets/imageedit_29_3922966168.webp);
	background-repeat: repeat-x;
}
.header {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 1000px;
	padding: 0 16px;
}

.header__para {
	text-align: left;
	max-width: 450px;
	font-size: 24px;
	line-height: 1.8;
}

.social__link {
	font-size: 24px;
	padding-right: 16px;
	color: #0d3d06;
}

.mail__btn--cover {
	display: flex;
	position: relative;
	border-radius: 50%;
	border: none;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 104px;
	right: 80px;
	z-index: 1;
	transition: all 2000ms ease-out;
}

.mail__btn {
	position: absolute;
	display: flex;
	width: 70px;
	height: 70px;
}
.mail__btn--cover:hover {
	cursor: pointer;
	transform: scale(1.8);
}

.scroll {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translatex(-50%);
}

.scroll__icon {
	width: 20px;
	height: 30px;
	border: 2px solid #0d3d06;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.scroll__icon::after {
	content: "";
	background-color: #0d3d06;
	width: 4px;
	height: 6px;
	border-radius: 2px;
	animation: scroll 640ms infinite alternate-reverse;
}

@keyframes scroll {
	0% {
		transform: translateY(3px);
	}

	100% {
		transform: translateY(-3px);
	}
}

/*  
   
   NAV BAR
   
   */
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height: 100px;
}

.nav__link--list {
	display: flex;
}
.nav__link {
	margin: 0 16px;
}
.nav__link--anchor {
	font-size: 24px;
	color: #141414;
	font-weight: 600;
}

/* Fa Icon */

.fa-adjust {
	font-size: 24px;
}
/*  
   
   Modal
   
   */
.modal--open .modal {
	z-index: 60;
	box-shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.55);
	visibility: visible;
}
.modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 1100px;
	height: 700px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	visibility: hidden;
	z-index: -1;
	transition: visibility 1s, z-index 1s, box, shadow 0.5 ease;
}
.modal__half {
	width: 50%;
	padding: 40px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	transition: all 300ms ease-in;
}
.modal--open .modal__contact,
.modal--open .modal__about {
	transform: translateX(0%);
}

.modal__about {
	background-color: #659b5e;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transform: translateX(-110%);
}
.modal__contact {
	background-color: #242424;
	color: white;
	transform: translateX(110%);
}
.modal__title {
	font-size: 26px;
}
.modal__sub-title {
	margin: 8px 0 16px 0;
	font-size: 14px;
}
.modal__para {
	margin-bottom: 16px;
	line-height: 1.6em;
}
.modal__languages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.language__img--wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 25%;
	min-width: 88px;
	padding: 16px;
	position: relative;
	transition: all 300ms ease;
}
.language__img--wrapper:hover {
	filter: brightness(80%);
	transform: scale(0.9);
}

.language__img {
	width: 100%;
}
.language__img--wrapper:hover .language__name {
	transform: scale(1);
}
.language__name {
	position: absolute;
	bottom: -10px;
	transform: scale(0);
	transition: all 300ms ease;
	font-weight: 600;
}

.form__item {
	margin-bottom: 20px;
}
.form__submit {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	color: rgb(244, 248, 11);
	background-color: #0d3d06;
	border: none;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	overflow: hidden;
	transition: 3s;
	margin-top: 40px;
	letter-spacing: 4px;
	cursor: pointer;
}
.form__submit:hover {
	background: #659b5e;
	color: #fff;
	border-radius: 5px;
	box-shadow: 0 0 5px #659b5e, 0 0 25px #659b5e, 0 0 50px #659b5e, 0 0 100px #659b5e;
}
.button--span {
	position: absolute;
	display: block;
	background: #659b5e;
}
.button--span:first-child {
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent);
	animation: btn-anim1 1s linear infinite;
}
.button--span:nth-child(2) {
	top: -100%;
	right: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent);
	animation: btn-anim2 1s linear infinite;
	animation-delay: 0.25s;
}
.button--span:nth-child(3) {
	bottom: 0;
	right: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(270deg, transparent);
	animation: btn-anim3 1s linear infinite;
	animation-delay: 0.5s;
}
.button--span:nth-child(4) {
	bottom: -100%;
	left: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(1turn, transparent);
	animation: btn-anim4 1s linear infinite;
	animation-delay: 0.75s;
}

/*! CSS Used keyframes */
@keyframes btn-anim1 {
	0% {
		left: -100%;
	}
	50%,
	to {
		left: 100%;
	}
}
@keyframes btn-anim2 {
	0% {
		top: -100%;
	}
	50%,
	to {
		top: 100%;
	}
}
@keyframes btn-anim3 {
	0% {
		right: -100%;
	}
	50%,
	to {
		right: 100%;
	}
}
@keyframes btn-anim4 {
	0% {
		bottom: -100%;
	}
	50%,
	to {
		bottom: 100%;
	}
}
.modal__overlay {
	background-color: #0d3d06;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}
.modal__overlay--loading {
	font-size: 80x;
}

.modal__overlay--success {
	background-color: rgb(173, 9, 105);
	font-weight: 700;
	font-size: 40px;
	text-align: center;
	padding: 24px;
}
.fa-spinner {
	animation: spinner 750ms infinite linear;
	font-size: 80px;
}
@keyframes spinner {
	0% {
		trasform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}

.modal__exit {
	position: absolute;
	top: 30px;
	right: 40px;
	color: rgb(255, 255, 255);
	font-size: 54px;
	z-index: 10000;
	cursor: pointer;
}

.modal__overlay--visible {
	z-index: 1;
	display: flex;
}
/*  
   
   PROJECTS
   
   */

.section__title {
	font-size: 40px;
	text-align: center;
	margin-bottom: 40px;
}
.project {
	margin: 160px 0px;
}
.project__img {
	width: 100%;
	transition: all 300ms ease;
}
.project__wrapper {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.45);
	transform: scale(1);
	transition: 440ms ease;
}

.project__wrapper:hover {
	transform: scale(1.03);
	transition: 440ms ease;
}

.project__wrapper:hover .project__description {
	opacity: 1;
	transform: translateY(-10%);
}
.project__wrapper:hover .project__description--para-wrap {
	opacity: 1;
	transform: translateY(-10%);
}
.project__wrapper:hover .project__img {
	filter: blur(2px);
}
.project__wrapper:hover .project__description--bg {
	opacity: 1;
}
.project__description {
	position: relative;
	padding-bottom: 32px;
	color: white;
	bottom: 0px;
	width: 100%;
	transform: translateY(100%);
	opacity: 0;
	transition: opacity 300ms, transform 450ms ease;
}
.project__description--title {
	font-size: 40px;
}
.project__description--sub-title {
	font-size: 24px;
}
.project__description--para-wrap {
	width: 100%;
	text-align: center;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 300ms, transform 450ms ease;
}
.project__description--para {
	font-size: 18px;
	margin: 0px 0px;
	max-width: 500px;
	color: white;
}
.project__description--bg {
	padding: 16px;
	position: absolute;
	bottom: 0px;
	height: 60%;
	background-color: #000000e5;
	width: 100%;
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 600ms;
}
.project__description--links {
	align-items: flex-end;
}
.project__description--link {
	font-size: 24px;
	color: #659b5e;
	margin-right: 16px;
}

/*  
   
   Footer
   
   */
footer {
	background-image: url(./assets/footerbg.webp);
	background-repeat: repeat-x;
	background-size: 250px;
	background-position-y: 30px;
}
.footer__container {
	padding: 28px 0px;
}
.footer__section {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.footer--new--sign {
	max-width: 180px;
	transform: translateY(40px);
}

.signs--wrap {
	display: flex;
	position: relative;
	justify-content: space-between;
	width: 100%;
}
.signs {
	width: 25%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	text-align: center;
}
.sign__title {
	position: absolute;
	transform: translate(64px, -20px);
	color: #2c1701;
	font-size: 58px;
	z-index: 10;
	transition: all 200ms ease-in-out;
}
.sign__title:hover {
	color: black;
}
.footer__logo {
	position: relative;
	cursor: pointer;
}
#logo--animated {
	left: 50%;
	position: absolute;
	transition: all 400ms ease-in-out;
	transform: translateY(-8vw);
}
.clouds {
	position: absolute;
	transform: translateX(-50px);
	transition: all 1000ms ease;
	width: 80px;
	filter: invert(50%);
}
.footer__logo:hover .clouds {
	transform: translateX(15%);
	transition: all 1000ms ease;
	filter: invert(0%);
}

.clouds-two {
	position: absolute;
	transform: translateX(-40px);
	transition: all 1000ms ease;
	width: 75px;
	filter: invert(50%);
}
.footer__logo:hover .clouds-two {
	transform: translateX(-80px);
	transition: all 1000ms ease;
	filter: invert(0%);
}

/*
SHAPES

*/
.shape {
	position: fixed;
	width: 30px;
	z-index: -25;
}

.shape--0 {
	top: 15vh;
	left: 5vw;
}
.shape--1 {
	top: 15vh;
	left: 50vw;
}
.shape--2 {
	top: 15vh;
	left: 80vw;
}
.shape--3 {
	top: 70vh;
	left: 5vw;
}
.shape--4 {
	top: 70vh;
	left: 50vw;
}
.shape--5 {
	top: 70vh;
	left: 80vw;
}
.shape--6 {
	top: 95vh;
	left: 5vw;
}
.shape--7 {
	top: 95vh;
	left: 50vw;
}
.shape--8 {
	top: 95vh;
	left: 80vw;
}
.shape--9 {
	top: 80vh;
	left: 15vw;
}
.shape--10 {
	top: 65vh;
	left: 55vw;
}

/*  768 Px media devices */
@media (max-width: 768px) {
	.modal {
		top: 0;
		left: 0;
		transform: none;
		height: auto;
		width: 100%;
		flex-direction: column;
		border-radius: 0px;
	}
	.modal__half {
		width: 100%;
	}
	.project__description--para {
		font-size: 14px;
	}
	.mail__btn--cover {
		display: none;
	}
	#logo--animated {
		transform: translateY(-20vw);
	}
}
/*  650 Px media devices */
@media (max-width: 650px) {
	.title {
		font-size: 80px;
	}
	.header__para {
		font-size: 22px;
	}
	.social__links {
		margin: 0 auto;
		text-align: center;
		align-items: center;
	}
	.nav__link:first-child {
		display: none;
	}
	.project__description--bg {
		height: 100%;
	}
	.project__description {
		padding: 16px;
	}
	.project__wrapper:hover .project__description {
		opacity: 1;
		transform: translateY(-3%);
	}
	.project__wrapper:hover .project__description--para-wrap {
		opacity: 1;
		transform: translateY(-3%);
	}
	#logo--animated {
		transform: translateY(-25vw);
	}
	.clouds {
		display: none;
	}
}
/*  520 Px media devices */
@media (max-width: 520px) {
	.title {
		text-align: center;
		font-size: 50px;
	}
	.header__para {
		text-align: center;
	}
	.project__description {
		text-align: center;
	}
	.project__description--sub-title {
		margin-bottom: 8px;
	}
	.project__description--para-wrap {
		display: none;
	}
	.modal__half {
		padding: 32px;
	}
}
