/* TABLET AND MOBILE RESPONSIVE STYLES */

@media screen and (max-width: 1200px) {
  #profile {
    gap: 3rem;
  }

  .profile-img-wrapper {
    width: 350px;
    height: 350px;
  }

  .title {
    font-size: 2.5rem;
  }

  section {
    padding: 5rem 5%;
  }
}

@media screen and (max-width: 1024px) {
  nav {
    padding: 0 3%;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 1rem;
  }

  #profile {
    flex-direction: column;
    gap: 2rem;
    padding-top: 5rem;
  }

  .profile-img-wrapper {
    width: 300px;
    height: 300px;
  }

  .section__text {
    align-items: center;
    text-align: center;
  }

  .section-container {
    flex-direction: column;
    gap: 2rem;
  }

  .about-containers {
    grid-template-columns: 1fr;
  }

  .experience-details-container .about-containers {
    grid-template-columns: 1fr;
  }

  .article-container {
    grid-template-columns: 1fr;
  }

  .project-card .article-container {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
  }

  section {
    padding: 4rem 5%;
  }

  .title {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .profile-img-wrapper {
    width: 250px;
    height: 250px;
  }

  .section__text__p2 {
    font-size: 1.5rem;
  }

  .section__text__p3 {
    font-size: 1rem;
  }

  .btn-container {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  #socials-container {
    justify-content: center;
  }

  .about-containers {
    gap: 1.5rem;
  }

  .details-container {
    padding: 1.5rem;
  }

  .skill-card {
    padding: 2rem;
  }

  .project-card .article-container {
    height: 300px;
  }

  .contact-info-upper-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info-container {
    justify-content: center;
  }

  footer {
    padding: 2rem 5%;
  }

  footer .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  section {
    padding: 3rem 3%;
    min-height: auto;
  }

  .title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .section__text__p1 {
    font-size: 0.9rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  .profile-img-wrapper {
    width: 200px;
    height: 200px;
  }

  .section__text__p2 {
    font-size: 1.25rem;
  }

  .section__text__p3 {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .details-container h3 {
    font-size: 1.25rem;
  }

  .experience-sub-title {
    font-size: 1.5rem;
  }

  .project-card .article-container {
    height: 250px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-info-container {
    padding: 1rem 1.5rem;
  }

  .contact-info-container p {
    font-size: 0.95rem;
  }

  .text-container {
    padding: 1.5rem;
  }

  .text-container p {
    font-size: 0.9rem;
  }

  footer p {
    font-size: 0.85rem;
  }

  .footer-subtitle {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 360px) {
  .profile-img-wrapper {
    width: 180px;
    height: 180px;
  }

  .title {
    font-size: 1.5rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .section__text__p2 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .details-container {
    padding: 1.25rem;
  }

  .skill-card {
    padding: 1.5rem;
  }

  .project-card .article-container {
    height: 200px;
  }
}

/* LANDSCAPE MODE FOR MOBILE */

@media screen and (max-height: 600px) and (orientation: landscape) {
  section {
    min-height: auto;
    padding: 3rem 5%;
  }

  #profile {
    padding-top: 3rem;
  }

  .profile-img-wrapper {
    width: 200px;
    height: 200px;
  }
}
