/* GENERAL */

@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 {
  font-size: 1rem !important;
  color: #333333;
}
h1{
  font-size: 2.5rem;
}
h2{
  color: #333333;
}
a {
  text-decoration: none !important;
  color: inherit;
}

section {
  padding-top: 4vh;
  height: 100vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

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

.title {
  text-align: center;
  margin-bottom: 2rem !important;
}
.sub-title{
  margin-top: 1rem;
  text-align: center;
}
.btn {
  font-weight: 600;
  font-size: .9rem;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  cursor: pointer;
  border-radius: 2rem;
  border: #000 0.1rem solid;
}

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

/* Nav Bar */

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.1rem;
}

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

a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: #000;
}

.logo {
  font-size: 1.7rem;
  font-weight: 600;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: absolute;
  right: 5%;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 20px;
  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%;
  z-index: 1000;
  right: 0;
  background-color:#fff;
  width: 100vw;
  height: 0; /* Set initial height to 0 */
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.menu-links.open {
  height: 100vh; /* Expand to full screen height when opened */
}

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

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

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

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

.hamburger-icon span {
  transition: all 0.3s ease-in-out;
}

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

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

/* PROFILE SECTION */
.btn-container {
  display: flex;
  justify-content: center;
  margin: 1rem;
  gap: 1rem;
}
.btn-color-2{
  background-color: #000;
}
.btn-color-2 a{
  color: #fff;
  text-decoration: none;
}
.btn-color-1:hover{
  background-color: #000;
}
.btn-color-1:hover a{
  color: #fff !important;
  text-decoration: none;
}
.btn-color-2:hover{
  background-color: #fff;
}
.btn-color-2:hover a{
  color: #000 !important;
  text-decoration: none;
}

#profile {
  display: flex;
  margin-top: -2rem;
  justify-content: center;
  gap: 5rem;
  height: 90vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  cursor: pointer;
  margin: auto 0;
  overflow: hidden;
  border-radius: 50% !important;
}

.section__pic-container img{
  transform: scale(1.2);
}

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

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  cursor: pointer;
  gap: 1rem;
}
#socials-container img{
  transition: transform 0.3s ease;
}
#socials-container img:hover{
  transform: scale(1.1);
}

/* ABOUT SECTION */
#about {
  margin-top: -2rem;
  height: auto;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.about-containers,
.about-details-container {
  display: flex;
}

.about-section__pic-container {
  display: flex;
  height: 400px;
  cursor: pointer;
  width: 400px;
  margin: auto 0;
  overflow: hidden;
  border-radius: .5rem !important;
}

.about-section__pic-container img{
  transition: transform 0.3s ease;
}

.about-section__pic-container:hover img{
  transform: scale(1.1);
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;;
}

.details-container:hover{
  transform: scale(1.05);
}
.counter-section {
  display: flex;
  margin-top: 2rem;
  justify-content: space-around;
  flex-wrap: wrap;
}

.counter-container {
  display: flex;
  text-align: center;
  width: 180px;
}
.counter-container span{
  margin-left: .5rem;
  font-size: 2.5rem;
}
.counter-container p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #333;
}

.counter {
  font-size: 48px;
  font-weight: bold;
  color: #000;
}

/* Coding Profiles Section */
#coding-profiles {
  padding: 2rem;
  text-align: center;
  height: auto;
}

.coding-profiles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.coding-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f900;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 25 0px; /* Adjust width as needed */
  text-align: left;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.coding-profile:hover{
  transform: scale(1.05);
}
.coding-profile img {
  vertical-align: middle;

}

.coding-profile a {
  text-decoration: none;
  color: #0b0c0b;
  font-weight: 600;
}

.icon.arrow {
  display: block;
  margin: 2rem auto 0;
  width: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon.arrow:hover {
  transform: scale(1.1);
}


/* Tech Stack Section */
#skills {
  padding: 2rem;
  height: auto;
  text-align: center;
}

.tech-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-stack {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f900;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 250px; 
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.tech-stack:hover{
  transform: scale(1.05);
}
.tech-stack img {
  vertical-align: middle;
}

.tech-stack a {
  text-decoration: none;
  color: #0b0c0b;
  font-weight: 600;
}

.tech-stack a:hover {
  text-decoration: underline;
}

.icon.arrow {
  display: block;
  margin: 2rem auto 0;
  width: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon.arrow:hover {
  transform: scale(1.1);
}


/* Projects Section Styles */
#projects {
  padding: 2rem;
  height: auto; 
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.project-item {
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 350px; 
  height: 500px; 
  overflow: hidden;
  margin: 0.5rem;
  background: transparent;
  flex: 1 1 auto; 
}


.project-item img {
  width: 100%; 
  height: auto; 
  overflow: hidden;
  transition: transform 0.3s ease;
}
.project-item img:hover{
  transform: scale(1.05);
}

.project-details {
  flex: 1;
}

.project-details h3 {
  height:auto;
  margin: 0;
  font-size: 1.75rem; 
  color: #333;
}

.project-details p {
  margin: 0.5rem 0;
  color: #666;
}

.project-details a {
  color: #4986c8;
  text-decoration: none;
}
.project button a{
  color: inherit;
}
.button-container{
  display: flex;
  justify-content: flex-end;
}
.btn-view-project {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  text-decoration: none; 
}

.btn-view-project img {
  margin-left: 5px;
  width: 15px;
}

/* 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: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

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

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

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}



/* FOOTER SECTION */

footer {
  text-align: center;
  padding: 1rem 0rem !important;
}

/* Responsive */
@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) {
  article {
    font-size: 1rem;
  }
  .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;
  }
}

