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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}


@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }
}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: 40vh;
  }
  #profile {
    height: 83vh;
    margin-bottom: 0;
  }
  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-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }
}



/* Introduction */

@media (max-width: 1200px) {
  .introduction {
      padding: 15px;
  }

  .details-row {
      /* flex-direction: column;
      align-items: flex-start; */

      /* flex-direction: column; */
      display: flex;
  }

  .label{
    
  }
  .label, .colon, .value {
      /* padding: 0;
      display: flex; */
  }
}

/* For screens up to 1000px wide */
@media (max-width: 1000px) {
  .introduction {
      padding: 10px;
  }

  .introduction-1 h1 {
      font-size: 28px;
  }

  .introduction-1 h2 {
      font-size: 20px;
  }

  .details-row {
      margin-bottom: 8px;
  }

  .label, .colon, .value {
      padding: 5px 0;
  }
}

/* For screens up to 786px wide */
@media (max-width: 786px) {
  .introduction {
      padding: 10px;
  }

  .introduction-1 h1 {
      font-size: 24px;
  }

  .introduction-1 h2 {
      font-size: 18px;
  }

  .details-row {
      /* flex-direction: column;
      align-items: flex-start; */
  }

  .label, .colon, .value {
      padding: 5px 0;
  }
}

/* For screens up to 500px wide */
@media (max-width: 500px) {
  .introduction {
      padding: 5px;
  }

  .introduction-1 h1 {
      font-size: 20px;
  }

  .introduction-1 h2 {
      font-size: 16px;
  }

  .introduction p{
    font-size: 14px;
    margin: 0;
  }

  .details-row {
      /* flex-direction: column;
      align-items: flex-start; */
  }

  .label, .colon, .value {
      /* padding: 5px 0; */
  }
}

/* For screens up to 375px wide */
@media (max-width: 375px) {
  .introduction {
      padding: 5px;
  }

  .introduction-1 h1 {
      font-size: 18px;
  }

  .introduction-1 h2 {
      font-size: 14px;
  }

  .introduction p{
    font-size: 5px;
    margin: 0;
  }
}

.introduction {
  padding: 20px;
  margin: 10px 10px;
  background-color: white;
  border: 1px solid #ddd;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.introduction-1 h1 {
  margin: 0;
  text-align: center;
  padding: 0;
}

.introduction-1 h2 {
  margin: 0 100px; 
}

.details {
  margin-top: 20px;
  gap: 10px;
}

.details-row {
  display: flex;
  
}

.label, .colon, .value {
  margin: 0;
  padding: 0 ;
}


.label {
  width: 100px;
  text-align: center;
  margin: 0  90px  ; 
}

.colon {
  width: 100px;
  /* text-align: left; */
}

.value {
  flex: 1;
  /* text-align: left; */
}
