/*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;
    background-color: #f5f5f5;
    font-size: 1rem;
    overflow-x: hidden; 
}

html{
    scroll-behavior: smooth;
}

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

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

#desktop-nav{
  display: flex;
  border: 1px ;
  flex-direction: row;
  justify-content: space-around;
  padding: 15px 0;
  width: 100%
}

.logo{
  font-weight: 600;
}
.logo:hover{
  cursor: default;
}
/* Navbar */
nav, .nav-links{
  display: flex;
}
nav{
  justify-content: space-around;
  align-items: center;
}

.nav-links{
  gap: 1.8rem;
  list-style: none;
}

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

a:hover{
  color: rgb(103, 73, 152);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: rgb(108, 58, 155);
}






/* Hamburger Menu */
#hamburger-nav{
  display:flex;
}
.hamburger-menu{
  display: inline-block, flex;
  position: relative;
}
.hamburger-icon{
  display: flex;
  margin-right: auto;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span{
  width: 100%;
  height: 2px;
  background-color: rgb(10, 10, 10);
  transition: all 0.3 ease-in-out;
}
.menu-links{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s 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.3s 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:last-child{
  transform: none;
}

/* Section */
section{
  padding-top: 4vh;
  height: 96vh;
  margin: 0 3rem;
  box-sizing: border-box;
  min-height: fit-content;
}
.section-container, #profile{
  display: flex;
  justify-content: center;
  height: 80vh;
  justify-content: space-around;
  align-items: center;
}
.section_pic-container{
  display: flex;
 
  /* width: 350px;
  height: 300px; */
  margin: auto 0; 
}
.section_pic-container img{
  border-radius: 50%;
  width: 420px;
  height: 420px;
  object-fit: cover;
  justify-content: space-between;
  object-position: 2px 2px;
  padding: 1rem;
  margin-right: 80%;
}
.section-text{
  align-self: center;
  text-align: center;
}
.section-text p{
  font-weight: 600;
}
.section_text_p1{
  text-align: center;
  font-size: 1.75rem;
  color: black;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.section_text_p2{
  text-align: center;
  font-size: 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  color: rgb(38, 37, 37);
}
.title{
  font-size: 3rem;
  text-align: center;
}
#socials-container{
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.btn-container{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
/* Icon */
.icon{
  cursor: pointer;
  height: 2rem;
}
.icon:hover{
  transform: scale(1.1);
}

/* Buttons */
.btn-container{
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: auto;
}
.btn{
  font-weight: 600;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  transition: all 300ms ease;
}
.btn-color-2, .btn-color-1{
  border: rgb(53, 53, 53) 0.1rem solid;
  margin-bottom: 1rem;
}
.btn-color-2{
  background: none;
}
.btn-color-2:hover, .btn-color-1:hover{
  cursor: pointer;

  background-color: rgba(76, 47, 102, 0.218);
}

/* About Section */
#about{
  position: relative;
}
.about-container{
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.about-details-container{
  flex-direction: column;
  justify-content: center;
  width: 90%;
  padding: auto;
}
.about-container, .about-details-container{
  display: flex;
}
.about-pic{
  border-radius: 1rem;
}
.arrow{
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}
.details-container{
  padding: auto;
  border-radius: 2rem;
  border: rgb(53,53,53) 0.1rem solid;
  background: white;
  flex: 0.8;
  margin: 2rem auto;
  border-color: rgb(65, 63, 63);
}
.details-container h3{
  padding: auto;
  margin: 1rem;
}
.details-container p{
  padding: auto;
  margin: 1rem;
}
.section-container{
  gap: 5rem;
  height: 80%;
}
.text-container p{
  font-size: 0.9rem;
  color: rgb(21, 10, 30);
}
/* Skills section */
#skills{
  position: relative;
}
.skills-sub-title{
  color: rgb(52, 3, 80);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  margin-left: 1rem;
}
.skills-details-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-container{
  display: flex;
  text-align: initial;
  gap:2.5rem;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  ;
}
article{
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}
article .icon{
  cursor: default;
}

/* Projects */
#projects{
  position: relative;
}
.container_color-container{
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}
.project-img{
  margin: 0 auto;
  border-radius: 2rem;
  margin-top: 1rem;
  width: 90%;
  height: 90%;
  object-fit: cover;
}
.project-title{
  margin: 2rem;
  color: black;
}
.project-btn{
  color: black;
  border-color: rgb(163, 163, 163);
}


/* Contact */
#contact{
  display: flex;
  justify-content: center;
  height: 70vh;
  flex-direction: column;
}

.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);
  padding: 0.5rem;
  margin: 2rem auto;
  gap: 1rem;
  background: (250, 250, 250);
}
.contact-info-container{
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  
  margin: 2rem;
  align-items: center;
}
.contact-info-container p{
  font-size: larger;
}
.contact-icon{
  cursor: pointer;
}
.contact-icon:hover{
  transform: scale(1.1);
}


/* Footer Section */
footer{
  height: 26vh;
  margin: 0 1rem;
  /* margin-left: 20rem; */
}
footer p{
  text-align: center;
  font-size: 1rem;
  color: rgb(85, 85, 85);
}

@media screen and (min-width: 1400px) {

  #profile{
    height: 83vh;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: auto;
  }
  .about-containers{
    flex-wrap: wrap;
  }

}



@media screen and (max-width: 768px) {
  #desktop-nav {
    display: none;
  }
  .logo{
    display: block;
    font-size: 200px;
  }

  #profile{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  #hamburger-nav {
    display: block;
    margin-left: 100%;
  }

  .menu-links {
    width: 100%;
    /* display: block; */
    text-align: center;
  }

  section {
    margin: 0 1rem;
    padding-top: 2vh;
  }

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

  .section_pic-container img {
    width: 250px;
    height: 250px;
  }

  .section-text {
    text-align: center;
  }

  .title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem;
  }

  #socials-container {
    gap: 0.8rem;
  }

  .about-container {
    flex-direction: column;
    gap: 1rem;
  }
  .skills-details-container{
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
  }
  .details-container {
    padding: 1rem;
  }

  .article-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  article {
    width: 100%;
    justify-content: center;
  }

  #contact {
    height: auto;
    padding: 1rem;
  }

  .contact-info-upper-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 10px;
    /* margin: 1rem; */
  }

  footer {
    height: auto;
    margin: 1rem;
  }

  footer p {
    font-size: 0.9rem;
  }
}