@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Rubik, sans-serif;
}

#landing-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  position: relative;
}

p {
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}
f {
  font-family: Rubik, sans-serif;
}

.container {
  padding: 64px 0;
}

.row-2 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.row {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.link__hover-effect {
  position: relative;
}

.link__hover-effect::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  height: 3px;
  width: 0;
  transition: all 300ms ease;
}

.link__hover-effect:hover::after {
  left: 0;
  width: 100%;
}

.bg-black::after {
  background-color: #242424;
}

.dark-theme .bg-black::after {
  background-color: #fff;
}

.click {
  cursor: pointer;
  transition: all 300ms ease;
}

.click:hover {
  transform: scale(1.2);
}

.click:active {
  transform: scale(0.8);
}

.reveal {
  position: relative;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

/* NAVIGATION */

nav {
  height: 100px;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  transition: all 300ms ease;
}

nav .row {
  justify-content: space-between;
  align-items: center;
}

#nav__logo {
  font-size: 32px;
}

.nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__link {
  margin: 0 16px;
  text-decoration: none;
  font-size: 16px;
  color: #242424;
}

.nav__link:not(:last-child) {
  font-weight: 500;
}

.nav__link:last-child {
  font-size: 24px;
}

/* HEADER */

header {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 300ms ease;
  overflow-x: hidden;
}

.header__content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  transform: translateY(-100px);
  padding: 0 24px;
  z-index: 1;
}

.header__description {
  max-width: 800px;
  position: relative;
  z-index: 1000;
}

.header__description h3 {
  font-weight: 500;
  font-size: 48px;
  font-family: Rubik, sans-serif;
  transition: all 300ms ease;
  animation: fadeup 800ms ease backwards;
}

.header__description h1 {
  font-size: 128px;
  margin-bottom: 8px;
  font-weight: 700;
  transition: all 300ms ease;
  animation: fadeup 800ms 200ms ease backwards;
}

.header__description h2 {
  font-size: 96px;
  margin-bottom: 48px;
  transition: all 300ms ease;
}

.header__slider {
  display: flex;
  position: relative;
  height: 114px;
  margin-bottom: 48px;
  width: 500px;
  overflow: hidden;
  animation: fadeup 800ms 400ms ease backwards;
}

.header__slider h2 {
  position: absolute;
  left: 0;
  top: 0;
  animation: slider 12s infinite;
  color: #e76f51;
}

.header__slider h2:nth-child(2) {
  top: 200px;
}

.header__slider h2:nth-child(3) {
  top: -200px;
}

@keyframes slider {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(200px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-200px);
  }
  100% {
    transform: translateY(0);
  }
}

.header__description--links {
  display: flex;
}

.header__description--links a:nth-child(1) {
  animation: fadeup 800ms 500ms ease backwards;
}
.header__description--links a:nth-child(2) {
  animation: fadeup 800ms 700ms ease backwards;
}
.header__description--links a:nth-child(3) {
  animation: fadeup 800ms 900ms ease backwards;
}

.header__description--links a {
  color: #fff;
  background-color: #242424;
  width: 200px;
  height: 100px;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  left: 40.5%;
  position: absolute;
  align-items: center;
  text-align: center;
  text-decoration: none;
  margin-right: 32px;
  font-family: Rubik, sans-serif;
  transition: all 300ms ease;
}

@keyframes fadeup {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.dark-theme .header__description--links a:hover,
.header__description--links a:hover {
  background-color: var(--red);
  transform: scale(1.2);
}

.dark-theme .header__description--links a:active,
.header__description--links a:active {
  background-color: var(--pink);
  transform: scale(0.8);
}

.header__description--links i {
  font-size: 20px;
}

/* SHAPES */

:root {
  --red: rgb(242, 132, 130);
  --pink: rgb(245, 202, 195);
  --yellow: rgb(246, 189, 96);
  --orange: rgb(255, 158, 0);
  --tiny: 10px;
  --small: 12px;
  --medium: 15px;
  --large: 20px;
}

h1 {
  position: relative;
  z-index: 2;
}




.modal {
  position: absolute;
  width: 100%;
  max-width: 1000px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #f4f4f4; */
  z-index: 3;
  display: flex;
  height: 700px;
  visibility: hidden;
  transition: all 800ms ease-in;
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal__half {
  overflow: hidden;
}

.modal--open nav {
  opacity: 0;
}

.modal--open .modal {
  visibility: visible;
  box-shadow: 0 20px 80px 0 rgb(0 0 0 / 55%);
}

.modal--open .modal__about,
.modal--open .modal__contact {
  transform: translate(0);
}

.modal__half {
  padding: 40px 72px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: all 800ms ease;
}

.modal__contact {
  background-color: #242424;
  color: #fff;
  position: relative;
  transform: translateY(800px);
}

.modal__about {
  color: #242424;
  background-color: #f4f4f4;
  transform: translateY(-800px);
}

.modal__title {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.modal__subtitle {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}

.modal__about p {
  line-height: 2;
  margin-bottom: 24px;
}

.language__list {
  display: flex;
  flex-wrap: wrap;
}

.language {
  width: 25%;
  padding: 12px;
  position: relative;
  margin-bottom: 16px;
}

.language span {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: all 400ms ease;
}

.language__img {
  transition: all 300ms ease;
}

.language:hover .language__img {
  transform: scale(0.8);
  opacity: 0.8;
}

.language:hover .language__name {
  opacity: 1;
}

.language img {
  width: 100%;
}

.modal__form {
  display: flex;
  flex-direction: column;
}

.modal__form input,
.modal__form textarea {
  margin-top: 16px;
  border: none;
  outline: none;
  padding: 8px;
  position: relative;
  color: #fff;
  background-color: #242424;
}

.modal__form input {
  display: block;
}

.modal__form textarea {
  height: 80px;
  overflow-y: hidden;
}

.input__group {
  display: flex;
  position: relative;
  flex-direction: column;
  margin: 12px 0;
}

.input__line-3 {
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0%;
  height: 4px;
  background-color: rgb(75, 75, 255);
  transition: all 300ms 300ms ease;
}

.input__line-2 {
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0%;
  height: 4px;
  background-color: var(--red);
  transition: all 300ms ease;
}

.input__line-1 {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
}

.modal__btn {
  margin-top: 24px;
  background-color: transparent;
  border: 2px solid #fff !important;
  color: #fff;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  border: none;
  font-size: 20px;
  transition: all 300ms ease;
  width: 100%;
  cursor: pointer;
  position: relative;
}

.modal__btn::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 0;
  height: calc(100% + 4px);
  background-color: rgb(75, 75, 255);
  transition: all 300ms 200ms ease;
}

.modal__btn::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 0;
  height: calc(100% + 4px);
  background-color: var(--red);
  transition: all 300ms ease;
}

.modal__btn:hover::after,
.modal__btn:hover::before {
  width: calc(100% + 4px);
}

.modal__btn--text {
  z-index: 3;
}

.modal__toggle {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 36px;
  z-index: 100;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal__loading {
  background-color: #242424;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.modal__loading--visible {
  z-index: 4;
  visibility: visible;
}

.modal__spinner {
  height: 150px;
  width: 150px;
  border: 12px solid #fff;
  border-radius: 50%;
  border-left-color: #242424;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 200ms ease, background-color 200ms ease;
  animation: rotate360 1s infinite linear;
  position: relative;
}

.checkmark .modal__spinner {
  border-color: rgb(75, 180, 75);
  background-color: rgb(75, 180, 75);
  animation: none;
}

.check__icon--wrapper {
  animation: none;
  position: absolute;
  height: 80px;
  width: 40px;
  top: 50%;
  left: 50%;
  transform: translateY(-6px) translate(-50%, -50%) scaleX(-1) rotate(135deg);
  display: none;
}

.checkmark .check__icon--wrapper {
  display: block;
}

.check__icon {
  width: 0;
  height: 0;
  animation: none;
}

.checkmark .check__icon {
  animation: check__icon 3s ease;
}

@keyframes check__icon {
  0% {
    height: 0;
    width: 0;
    opacity: 0;
  }
  15% {
    border-top: 8px solid #fff;
    border-right: 8px solid #fff;
    height: 0;
    width: 40px;
    opacity: 1;
  }
  30% {
    border-top: 8px solid #fff;
    border-right: 8px solid #fff;
    height: 80px;
    width: 40px;
    opacity: 1;
  }
  60% {
    border-top: 8px solid #fff;
    border-right: 8px solid #fff;
    height: 80px;
    width: 40px;
    opacity: 1;
  }
  100% {
    border-top: 8px solid #fff;
    border-right: 8px solid #fff;
    height: 80px;
    width: 40px;
    opacity: 1;
  }
}

.modal__success {
  background-color: rgb(75, 180, 75);
  z-index: -1;
  visibility: hidden;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  text-align: center;
  padding: 40px 72px;
  display: none;
}

.mail__btn,
.scroll {
  transition: all 300ms ease;
}

.modal--open nav,
.modal--open header,
.modal--open .mail__btn,
.modal--open .scroll {
  opacity: 0;
}

.modal--open .modal__success {
  display: flex;
}

.modal__success--visible {
  z-index: 5;
  visibility: visible;
}

.modal__success--para {
  transform: translateY(-50%);
  opacity: 0;
  transition: all 600ms 250ms ease;
}

.modal__success--visible .modal__success--para {
  transform: translateY(0);
  opacity: 1;
}

.mail__btn {
  position: fixed;
  bottom: 72px;
  right: 96px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #242424;
  padding: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0px 0px 10px 4px rgb(255 255 255 / 40%);
}

.scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  width: 24px;
  border: 2px solid #242424;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeupscroll {
  0% {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.scroll {
  animation: fadeupscroll 800ms 1100ms ease backwards;
}

.scroll:hover {
  transform: translateX(-50%) scale(1.2);
}

.scroll {
  cursor: pointer;
  transition: all 300ms ease;
}

.scroll:active {
  transform: translateX(-50%) scale(0.8);
}

.scroll::after {
  background-color: #242424;
  content: "";
  width: 4px;
  height: 6px;
  border-radius: 2px;
  animation: scroll 1000ms infinite alternate-reverse;
}

@keyframes scroll {
  0% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(-3px);
  }
}

.dark-theme section {
  background-color: #242424 !important;
}

section {
  transition: all 1000ms ease;
}

.dark-theme nav,
.dark-theme .nav__link {
  color: #fff;
}

.dark-theme .header__description {
  color: #fff;
}

.dark-theme .header__description--links a,
.dark-theme .mail__btn {
  background-color: #fff;
  color: #242424;
}

.dark-theme .mail__btn {
  box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 40%);
}

.dark-theme .earth__wrapper,
.dark-theme .moon__axis {
  visibility: visible;
}

.dark-theme .scroll {
  border-color: #fff;
}

.dark-theme .scroll::after {
  background-color: #fff;
}

.project__content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.section__title {
  text-align: center;
  font-size: 72px;
  margin-bottom: 32px;
  padding: 0 16px;
}

.dark-theme .section__title,
.dark-theme #languages .language__name {
  color: #fff;
}

.project__img--wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 24px;
  display: flex;
  position: relative;
  order: 1;
  overflow: hidden;
  box-shadow: 0 10px 20px 0 rgb(0 0 0 / 55%);
}

.project__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  transform: translateY(100%);
  transition: all 800ms ease-in-out;
}

.project__img--wrapper:hover #previous {
  opacity: 0;
}

.project__img--wrapper:hover .project__background {
  transform: translateY(0);
}

.project__description {
  display: flex;
  flex-direction: column;
  width: 75%;
}

.project__description h1,
.project__description h2,
.project__description p {
  z-index: 3;
  color: #fff;
  opacity: 1;
  text-align: left;
}

.project__description h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.project__description h2 {
  font-weight: 500;
  margin-bottom: 16px;
}

#placeholder {
  width: 100%;
  opacity: 0;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.project__img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ease-in-out;
}

.project__img:nth-child(2) {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.project__slider {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

#previous,
#next {
  border: none;
  background-color: transparent;
  min-width: 80px;
  min-height: 80px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  margin: 0 16px;
  box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
  transition: all 300ms ease;
  opacity: 0.5;
}

#previous:hover,
#next:hover {
  opacity: 1;
}

#previous i,
#next i {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 48px;
  color: #fff;
  background-color: #242424;
  box-shadow: rgb(0 0 0 / 40%);
}

#next {
  order: 2;
}

#next img {
  transform: scaleX(-1);
}

#projects .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project__indicators {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.project__indicator {
  height: 24px;
  width: 24px;
  margin: 0 20px;
  border: 2px solid #242424;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 300ms ease;
}

.dark-theme .project__indicator {
  border: 2px solid white;
}

.filled {
  background-color: #242424;
  opacity: 1;
}

.dark-theme .filled {
  background-color: #fff;
  opacity: 1;
}

.project__description--wrapper {
  width: 100%;
  max-width: 890px;
  margin: 0 100px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.project__description--wrapper h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
.project__description--wrapper h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.project__description--wrapper p {
  font-size: 18px;
  max-width: 700px;
}
.dark-theme .project__description--wrapper h1,
.dark-theme .project__description--wrapper h2,
.dark-theme .project__description--wrapper p {
  color: #fff;
}

.p1 .project-2,
.p1 .project-3,
.p2 .project-1,
.p2 .project-3,
.p3 .project-2,
.p3 .project-1 {
  display: none;
}

.project__links a {
  text-decoration: none;
}

.project__link {
  font-size: 64px;
  color: #fff;
  margin: 0 32px;
  text-decoration: none;
}

#languages .row-2 {
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#languages .language {
  padding: 0 64px;
  margin: 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#languages .language__name {
  bottom: -32px;
  font-size: 20px;
}

#languages .language__img {
  width: 150px;
  height: 150px;
}

#about .container {
  padding-bottom: 0px;
}

#about .row {
  flex-direction: column;
}
.about__description {
  background-color: #fff;
  width: 100%;
  max-width: 1050px;
  min-height: 500px;
  border: 1px solid #d4d4d4;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.about__nav {
  width: 100%;
  height: 50px;
  background-color: #f4f4f4;
  border-bottom: 1px solid #d4d4d4;
  display: flex;
  padding: 0 24px;
  align-items: center;
}

.dark-theme .about__description {
  background-color: #f4f4f4;
}

.dark-theme .about__nav {
  background-color: #ececec;
}

.about__nav--links {
  display: flex;
}

.about__nav--links span {
  display: inline-block;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin: 8px;
  box-shadow: -1px 1px 3px -1px rgb(0 0 0 / 75%);
}

.about--red {
  background-color: #fc6058;
}
.about--yellow {
  background-color: #fec02f;
}
.about--green {
  background-color: #2aca3e;
}

.about__main {
  flex: 1;
  display: flex;
}

.about__text,
.about__profile {
  flex: 1;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__text p {
  max-width: 400px;
  font-size: 18px;
}

.about__img--wrapper {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 40%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 100%;
  background: url("./assets/tate.png");
  background-size: cover;
  background-position: center;
}

/* FOOTER */

footer {
  position: relative;
  min-height: 200px;
  background-color: #242424;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6% 0 6% 0;
}

.dark-theme footer {
  background-color: #fff;
}

footer .row-2 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.footer__logo--wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer__logo {
  margin: 0 auto;
  display: inline-block;
  color: #fff;
  font-size: 64px;
}

.dark-theme #footer__logo,
.dark-theme .footer__links i,
.dark-theme .footer__copyright {
  color: #242424;
}

.footer__links {
  display: flex;
  justify-content: space-between;
  margin: 32px auto;
  width: 100%;
  max-width: 150px;
}

.footer__links i {
  color: #fff;
  font-size: 32px;
}

.footer__copyright {
  text-align: center;
  color: #fff;
}

.footer__wave {
  position: absolute;
  top: 0;
  transform: translateY(-100%) scaleY(-1);
  z-index: 1000;
  height: 4vw;
  width: 100%;
}

.custom-shape-divider-bottom-1635402469 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1635402469 svg {
  position: relative;
  display: block;
  width: calc(129% + 1.3px);
  height: 120px;
}

.custom-shape-divider-bottom-1635402469 .shape-fill {
  fill: red;
}

@media (max-width: 1110px) {
  #projects .container {
    align-items: stretch;
  }
  .project__description--wrapper {
    margin: 0 100px;
  }
}

@media (max-width: 1000px) {
  .dark-theme #previous img,
  .dark-theme #next img {
    filter: invert(0);
  }

  #languages .language__list {
    justify-content: center;
  }
  #languages .language {
    width: calc(100% / 3);
  }
  #projects .container {
    align-items: center;
  }
  .project__description--wrapper {
    margin: 0;
  }
  #next,
  #previous {
    position: absolute;
  }
  #next {
    top: 50%;
    transform: translateY(-50%);
    right: 1%;
  }
  #previous {
    top: 50%;
    transform: translateY(-50%);
    left: 1%;
  }
  .dark-theme #previous i,
  .dark-theme #next i {
    background-color: #fff;
    color: #242424;
  }

  .dark-theme #previous,
  .dark-theme #next {
    background-color: #242424;
  }
  .project__img--wrapper {
    margin: 0px;
    max-width: none;
  }
  #about {
    padding: 0 24px;
  }
}

@media (max-width: 850px) {
  .about__description {
    flex-direction: column-reverse;
  }
  .about__description--text {
    margin: 0;
  }
  .about__description--text,
  .about__img--wrapper {
    width: 100%;
  }
  .about__img--wrapper {
    padding: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --tiny: 5px;
    --small: 8px;
    --medium: 10px;
    --large: 12px;
  }
  .section__title {
    font-size: 60px;
  }
  .header__description--links a {
    height: 40px;
    width: 40px;
  }
  .header__description h3 {
    font-size: 32px;
  }
  .header__description i {
    font-size: 18px;
  }
  .header__slider {
    height: 85px;
    width: 400px;
  }
  .header__description h1 {
    font-size: 90px;
  }
  .header__description h2 {
    font-size: 72px;
  }
  .earth__wrapper,
  .moon__axis {
    top: 65vh;
  }
  .earth__wrapper {
    width: 100px;
    height: 100px;
  }
  .moon__axis {
    width: 100px;
    height: 100px;
  }
  .moon {
    top: -50px;
    height: 15px;
  }
  .modal {
    transform: translate(0);
    top: 0;
    left: 0;
    flex-direction: column-reverse;
    height: auto;
  }
  .modal__half {
    max-width: none;
    width: 100%;
    padding: 36px 48px;
  }
  .modal__about {
    transform: translateX(-800px);
  }
  .modal__contact {
    transform: translateX(800px);
  }
  .language {
    padding: 16px;
  }
  .project h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  #languages .language {
    width: 50%;
  }
  footer {
    padding: 10% 0 20% 0;
  }
  #previous,
  #next {
    transform: scale(0.75) translateY(-50%);
    margin: 0;
  }
  .about__main {
    flex-direction: column-reverse;
  }
  .about__profile,
  .about__text {
    padding: 24px;
  }
  .about__text {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .project__description h1 {
    font-size: 20px;
  }
  .project__description h2 {
    font-size: 16px;
  }
  .project__description p {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --tiny: 3px;
    --small: 5px;
    --medium: 6px;
    --large: 8px;
  }
  .container {
    padding: 24px 0;
  }
  nav {
    padding: 24px;
  }
  .earth__wrapper,
  .moon__axis {
    width: 60px;
    height: 60px;
    top: 75vh;
    left: 50vw;
  }
  .nav__link {
    margin: 0 12px;
    font-size: 16px;
  }
  .nav__link:nth-child(2),
  .nav__link:nth-child(3) {
    display: none;
  }
  .header__content {
    transform: translateY(-75px);
  }
  .header__description--links {
    justify-content: center;
  }
  .header__description--links a {
    margin: 0 16px;
    height: 75px;
    width: 75px;
  }
  .header__description--links a:first-child {
    margin: 0;
    margin-right: 16px;
  }
  .header__description--links f {
    font-size: 14px;
  }
  .header__description a:hover {
    color: red;
  }
  .mail__btn {
    right: 32px;
    bottom: 32px;
    font-size: 24px;
    padding: 16px;
  }
  .modal__title {
    font-size: 24px;
  }
  .modal__subtitle,
  .modal__btn--text {
    font-size: 16px;
  }
  .modal label,
  .modal__about p,
  .language__name {
    font-size: 14px;
  }
  .modal__half {
    padding: 48px 24px;
  }
  .section__title {
    font-size: 48px;
  }
  .project__description--wrapper h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .project__description--wrapper h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .project__description--wrapper p {
    font-size: 16px;
    max-width: 700px;
  }
  .project__indicator {
    width: 16px;
    height: 16px;
  }
  .project__link {
    font-size: 48px;
    margin: 0 24px;
  }
  #languages .language {
    width: 100%;
  }
  .header__slider {
    height: 57px;
    width: 250px;
    margin-bottom: 64px;
  }
  .header__description h1 {
    font-size: 64px;
    margin-bottom: 16px;
    margin-top: 8px;
  }
  .header__description h2 {
    font-size: 48px;
  }
  .header__description h3 {
    font-size: 24px;
  }
  footer {
    padding: 16% 0 32% 0;
  }
  #previous,
  #next {
    transform: translateY(-50%) scale(0.6);
  }
  #next {
    right: 0%;
  }
  #previous {
    left: 0%;
  }
  .about__img--wrapper {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 360px) {
  .header__description h1 {
    font-size: 48px;
  }
  .header__description h2 {
    font-size: 32px;
  }
  .header__slider {
    height: 38px;
    width: 200px;
  }
}

@media (max-width: 320px) {
  .header__description--links a {
    margin: 0 12px;
  }
  .nav__link:first-child {
    display: none;
  }
  .modal__half {
    padding: 64px 24px;
  }
  .modal__toggle {
    right: 25px;
    top: 25px;
  }
  .language {
    padding: 8px;
  }
  .language__name {
    font-size: 12px;
  }
}

@media (max-height: 725px) and (min-width: 0px) {
  .header__description {
    margin-top: 64px;
  }
  .header__content {
    padding: 0 24px;
  }
}

@media (max-height: 725px) and (min-width: 480px) {
  .header__description {
    margin-top: 64px;
  }
  .header__description h1 {
    font-size: 80px;
  }
  .header__description h2 {
    font-size: 64px;
  }
  .header__slider {
    height: 76px;
    margin-bottom: 16px;
  }
  .header__content {
    padding: 0 48px;
  }
}

@media (max-height: 725px) and (min-width: 768px) {
  .header__description {
    margin-top: 64px;
  }
  .header__description h1 {
    font-size: 96px;
  }
  .header__description h2 {
    font-size: 72px;
  }
  .header__description h3 {
    font-size: 40px;
  }
  .header__slider {
    height: 86px;
    margin-bottom: 16px;
  }
  .header__content {
    padding: 0 48px;
  }
  .modal {
    height: 600px;
  }
  .modal__title {
    font-size: 22px;
  }
  .modal__subtitle {
    font-size: 16px;
  }
}

@media (max-height: 725px) and (min-width: 1000px) {
  .header__description {
    margin-top: 64px;
  }
  .header__description h1 {
    font-size: 96px;
  }
  .header__description h2 {
    font-size: 72px;
  }
  .header__description h3 {
    font-size: 40px;
  }
  .header__slider {
    height: 86px;
    margin-bottom: 16px;
  }
  .header__content {
    padding: 0 48px;
  }
  .modal {
    height: 600px;
  }
  .modal__title {
    font-size: 32px;
  }
  .modal__subtitle {
    font-size: 20px;
  }
}
