@media (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact {
    height: fit-content;
  }
}

@media (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 3%;
  }
  .section__pic-about {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }

  #hamburger-nav .nav-lang {
    margin-top: 1rem;
    justify-content: center;
    text-align: center;
    padding-bottom: 1rem;
  }

  #hamburger-nav .btn-language {
    padding: 8px 20px;
  }
}

@media (min-width: 768px) {
  body {
    padding-top: 80px;
  }
}

@media (max-width: 768px) {
  .header {
    margin-top: 2rem;
  }
  .slider {
    max-width: 100%;
    height: 25rem;
    margin: 0 auto;
  }

  .slide {
    height: 25rem;
  }

  .slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider__btn {
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
  }

  .slider__btn img {
    max-height: 80%;
  }

  .slider__btn--left {
    left: 2rem;
  }
  .slider__btn--right {
    right: 2rem;
  }
}

@media (max-width: 600px) {
  #contact,
  footer {
    height: auto;
  }
  #profile {
    height: 83vh;
    margin-bottom: 0;
    border-radius: 10px;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container {
    margin: 0;
  }
  .contact-info-container p,
  .nav-links li a {
    font-size: 1rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-about {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: left;
  }
  .contact-form textarea {
    width: 100% !important;
    max-width: 100%;
    min-height: 100px;
    font-size: 14px;
    padding: 10px;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100% !important;
    max-width: 100%;
    min-width: 100%;
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 15px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
  }

  .contact-form-template {
    flex-direction: column;
    gap: 10px;
  }

  .contact-image {
    max-width: 80%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .submit-btn {
    font-size: 14px;
  }
}
