@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.orange {
  color: #f06449;
}

.container {
  padding: 48px 0;
  width: 100%;
}

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

.click {
  cursor: pointer;
}
.click:hover {
  transform: scale(1.1);
}
.click:active {
  transform: scale(0.8);
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

p {
  line-height: 1.5;
  font-size: 16px;
}

section {
  background-color: rgb(245, 245, 245);
  transition: all 300ms ease;
}

input, textarea {
  width: 100%;
  background-color: #242424;
  color: #fff;
  outline: none;
  border: 3px solid #c0c4cc;
  border-top: none;
  border-left: none;
  border-right: none;
  height: 40px;
  transition: all 300ms ease;
}

textarea {
  resize: vertical;
  height: 100px;
  margin-top: 8px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input:hover, textarea:hover {
  border-color: #dcdfe6;
}
input:focus, textarea:focus {
  border-color: #f06449;
}

.title {
  font-size: 120px;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1;
}

.link__hover-effect {
  position: relative;
}
.link__hover-effect:after {
  content: "";
  position: absolute;
  bottom: -3px;
  height: 2px;
  width: 0;
  right: 0;
  transition: all 300ms ease;
}
.link__hover-effect:hover:after {
  left: 0;
  width: 100%;
}

.link__hover-effect--white:after {
  background-color: #fff;
}

.link__hover-effect--black:after {
  background-color: #242424;
}

button {
  cursor: pointer;
}

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

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

.dark__theme .title,
.dark__theme .section__title,
.dark__theme .header__para,
.dark__theme .nav__link--anchor,
.dark__theme .fa-circle-half-stroke
{ 
  color: #fff;
}
.dark__theme section {
  background-color: #242424;
}
.dark__theme .nav__logo,
.dark__theme .shape {
  filter: invert(1);
}
.dark__theme .scroll__icon {
  border-color: #fff;
}
.dark__theme .scroll__icon:after,
.dark__theme .link__hover-effect--black:after {
  background-color: #fff;
}
.dark__theme .mail__btn {
  background-color: #fff;
  color: #242424;
}
.dark__theme .social__link {
  color: #242424;
}

/* 

NAVIGATION
 
*/

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  max-width: 1440px;
}

.nav__logo--wrapper {
  width: 150px;
  height: 100px;
}

.nav__logo {
  width: 100%;
  height: 100%;
}

.nav__link--list {
  display: flex;
}

.nav__link {
  margin: 0 12px;
  transition: all 200ms ease;
}

.nav__link--anchor {
  font-size: 16px;
  font-weight: 700;
  color: #242424;
}

.fa-adjust {
  font-size: 20px;
}

/* 

LANDING PAGE
 
*/

#landing-page {
  min-height: 100vh;
}

.header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1080px;
  padding: 0 32px;
}

.header__para {
  font-size: 24px;
  line-height: 2;
  max-width: 450px;
}

.social__list {
  margin-top: 16px;
  display: flex;
}
.social__link {
  background-color: #f06449;
  color: #fff;
  padding: 10px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  margin-right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 200ms ease;
}

.mail__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  font-size: 32px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  background-color: #242424;
  color: #fff;
  transition: all 200ms ease;
  position: fixed;
  bottom: 24px;
  right: 32px;
  z-index: 5;
}

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

.scroll__icon {
  width: 20px;
  height: 30px;
  border: 2px solid #242424;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 200ms ease;
}

.scroll__icon:after {
  content: "";
  width: 4px;
  height: 6px;
  background-color: #242424;
  border-radius: 18px;
  animation: scroll 1000ms infinite alternate-reverse;
}

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

/* 

MODAL 

*/

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1080px;
  height: 700px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  visibility: hidden;
  z-index: -1;
  transition: visibility 1s, z-index 1s, box-shadow 0.5s ease;
}

.modal__open .modal {
  z-index: 60;
  box-shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.55);
  visibility: visible;
}

.modal__half {
  width: 50%;
  padding: 40px 72px;
   display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: all 300ms ease-in;
}

.modal__about {
  background-color: rgb(245, 245, 245);
  color: #242424;
  transform: translateX(-110%);
}

.modal__contact {
  background-color: #242424;
  color: #fff;
  transform: translateX(110%);
}

.modal__open .modal__about  {
  transform: translateX(0%);
}
.modal__open .modal__contact {
  transform: translateX(0%);
}

.modal__title {
  font-size: 26px;
}

.modal__sub-title {
  margin: 12px 0 24px 0;
  font-size: 18px;
} 

.modal__para {
  margin-bottom: 12px;
  line-height: 1.75;
  font-weight: 500;
}

.modal__languages {
  display: flex;
  flex-wrap: wrap;
}

.modal__language {
  width: 25%;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 300ms ease;
}
.modal__language:hover .language__name {
  transform: scale(1);
}
.modal__language:hover {
  filter: brightness(80%);
  transform: scale(0.8);
}

.modal__language--img {
  width: 100%;
}

.language__name {
  color: #242424;
  font-size: 20px;
  font-weight: 700;
  position: absolute;
  bottom: -15px;
  transform: scale(0);
  transition: all 300ms ease;
}

.form__item {
  margin-bottom: 20px;
}

.form__submit {
  background-color: #f06449;
  border: 2px solid #f06449;
  color: white;
  font-weight: 700;
  max-width: 240px;
  width: 100%;
  padding: 12px 24px;
  font-size: 20px;
  transition: all 300ms ease;
}
.form__submit:hover {
  border-color: #fff;
  background-color: transparent;
}
.form__submit:active {
  border-color: #f06449;
  color: #f06449;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal__overlay--loading {
  background-color: #242424;
  font-size: 80px;
  z-index: -1;
}

.modal__overlay--success {
  background-color: #4bb543;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 18px;
  z-index: -1;
}

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

.fa-spinner {
  animation: spinner 750ms infinite;
}

@keyframes spinner {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }  
}

.modal__exit {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 36px;
  z-index: 100;
  transition: all 300ms ease;
}

/* 

PROJECTS 

*/

.section__title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 64px;
}

.project {
  margin-bottom: 96px;
}

.project__img{
  width: 100%;
  transition: all 400ms ease;
}

.project__wrapper {
  display: flex;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 20px 80px 0;
  overflow: hidden;
}
.project__wrapper:hover .project__description {
  opacity: 1;
  transform: translateY(-50%);
}
.project__wrapper:hover .project__img {
  transform: scale(1.07);
  filter:blur(7px)
}
.project__wrapper:hover .project__wrapper--bg {
  opacity: 0.7;
}

.project__description {
  position: absolute;
  top: 50%;
  left: 90px;
  transform: translateY(100%);
  color: #fff;
  max-width: 560px;
  opacity: 0;
  transition: opacity 350ms, transform 450ms ease;
}

.project__wrapper--bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1d25;
  opacity: 0;
  transition: all 450ms ease;
}

.project__description--title {
  font-size: 40px;
}

.project__description--sub-title {
  margin: 8px 0;
}

.project__description--link {
  color: #fff;
  font-size: 24px;
  margin-right: 12px;
}

.project__description--para {
  margin: 16px 0;
}

/* 

FOOTER 

*/

footer {
  display: flex;
  background-color: #242424;
}

.footer__container { 
  padding: 48px 0;
  height: 100%;
  width: 100%;
  background-color: #242424;
  z-index: 1;
}


.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo--wrapper {
  width: 150px;
  height: 100px;
}

.footer__logo--img {
  width: 100%;
  height: 100%;
  filter: invert();
}

.footer__social--list {
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer__social--link,
.footer__copyright {
  color: #fff;
}

/*

SHAPES 

*/

.shape {
  position: fixed;
}

.shape--0 {
  top: 15vh;
  left: 10vw;
}
.shape--1 {
  top: 15vh;
  left: 45vw;
}
.shape--2 {
  top: 18vh;
  left: 80vw;
}
.shape--3 {
  top: 50vh;
  left: 5vw;
}
.shape--4 {
  top: 50vh;
  left: 48vw;
}
.shape--5 {
  top: 50vh;
  left: 78vw;
}
.shape--6 {
  top: 80vh;
  left: 5vw;
}
.shape--7 {
  top: 85vh;
  left: 45vw;
}
.shape--8 {
  top: 78vh;
  left: 80vw;
}

@media (max-width: 1080px) {
  .modal__language {
    width: 50%;
    padding: 8px 40px;
  }

  .modal__half {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 80px;
  }
  .header__para {
    font-size: 20px;
  }
  .modal {
    top: 0;
    left: 0;
    transform: translateY(10%);
    height: auto;
    width: 100%;
    flex-direction: column-reverse;
    border-radius: 0;
  }
  .modal__half {
    width: 100%;
  }
  .modal__language {
    width: 25%;
    padding: 16px;
  }
    .project__description--para {
    display: none;
  }
  .project__description {
    left: 0;
    padding: 0;
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 480px) {
  .title {
    font-size: 52px;
  }
  .header__para {
    font-size: 18px;
  }
  .nav__link:first-child {
    display: none;
  }
}