/* Import Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Nav */
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

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

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

a:hover {
  color: grey;
  text-decoration: underline pink;
}

.logo {
  font-size: 2rem;
  cursor: default;
}

/* Hamburger */
#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
}

.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.3s 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.3s ease-in-out;
}

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

.menu-links a {
  display: block;
  padding: 10px;
  font-size: 1.5rem;
  color: black;
  text-align: center;
}

/* Sections */
section {
  padding-top: 4vh;
  margin: 0 10rem;
  min-height: fit-content;
  background-color: white;
}

.section-container {
  display: flex;
  gap: 4rem;
  height: 80%;
}

/* Profile Section */
#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
  flex-wrap: wrap;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto;
}

.section__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
}

.section__text__p1 {
  font-size: 20px;
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#social-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.icon {
  cursor: pointer;
  height: 3rem;
}

/* Buttons */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: 0.1rem solid rgb(53, 53, 53);
}

.btn-color-1:hover {
  background: black;
  color: white;
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: 0.1rem solid white;
  color: white;
  background: rgb(53, 53, 53);
}

/* About Section */
#about {
  position: relative;
}

.about-containers {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.about-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.about-pic {
  border-radius: 2rem;
  max-width: 100%;
  height: auto;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: 0.1rem solid rgb(163, 163, 163);
  text-align: center;
}

h2 {
  text-align: center;
  color: #555555;
  margin-bottom: 1rem;
}

/* Arrow */
.arrow {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  height: 3rem;
}

/* Certifications */
.certification-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

/* Experience */
#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: space-around;
}

article {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Projects */
#projects {
  position: relative;
}

.color-container {
  border: 0.1rem solid rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  border-radius: 2rem;
  padding: 1rem;
}

.project-img {
  border-radius: 2rem;
  width: 100%;
  height: auto;
}

.project-title {
  margin: 1rem 0;
}

.project-btn {
  color: black;
  border: 0.1rem solid rgb(163, 163, 163);
}

/* Contact */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: auto;
  margin-bottom: 2rem;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: 0.1rem solid rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  margin: 2rem auto;
  padding: 1rem;
  flex-wrap: wrap;
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
}

.contact-icon {
  height: 48px;
  width: 48px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  section {
    margin: 0 5rem;
  }
  .section-container {
    flex-direction: column;
    gap: 2rem;
  }
  #profile {
    height: auto;
  }
  .arrow {
    right: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  nav .nav-links {
    display: none;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  section {
    margin: 0 2rem;
  }
  .section__pic-container {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }
  .title {
    font-size: 2rem;
  }
  .section__text__p2 {
    font-size: 1.5rem;
  }
  .article-container {
    flex-direction: column;
    align-items: center;
  }
  .btn-container {
    flex-wrap: wrap;
  }
}
