*{
    margin: 0px;
    padding:0px ;
}
html{
  scroll-behavior: smooth;
}
body {
    background-color:#403D39;
    font-family: 'Questrial', sans-serif; 
    min-width: fit-content;    
}

.left {
  font-size: 2rem;
  font-family: 'Pacifico', cursive;
  color: #FFFCF2;
  transition: transform 0.5s ease-in-out, color 0.5s ease-in-out; /* Smooth transition for both color and transform */
}

.left:hover {
  color: #CCC5B9;
  transform: scale(1.1); /* Scale up slightly */
  cursor: pointer;
}


nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 85px;
    background-color: #252422;
    color: #FFFCF2;
}

/* DESKTOP NAV BAR */
nav ul{
    display: flex;
    justify-content: center; 
}

nav ul li {
    list-style-type: none;
    margin: 0 25px;
}

nav ul li a {
  text-decoration: none;
  color: #FFFCF2;
  transition: font-size 0.3s ease-in-out; /* Ensure transition is applied here */
}

nav ul li a:hover {
  font-size: 1.2rem;
  cursor: pointer;
}


.leftbody{
    color: #CCC5B9;
    font-size: 2.7rem;

}

.rightbody img{
    width: 70%;
    margin: 70px
    
}


.red{
    color: #EB5E28;
    font-weight:bold;
}


#element{
    color: #EB5E28;
}
.btns{
    display:flex;  
    justify-content: center;
    flex-direction: row;
}




.btn button {
  font-weight: bold;
  padding: 15px;
  margin: 30px 0px;
  background-color: #CCC5B9;
  color: #252422;
  border: solid;
  border-radius: 30px;
  transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out, color 0.5s ease-in-out; /* Smooth transition for color and transform */
}

.btn button:hover {
  background-color: #252422;
  color: #CCC5B9;
  transform: scale(1.2); /* Scale the button to 120% of its original size */
  cursor: pointer;
}




main hr{
    border: 0;
    background: #CCC5B9;
    height: 1.2px;
    margin: 40px 84px;
}

/* Hamburger NAV BAR*/
#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: #CCC5B9;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #CCC5B9;
  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: #252422;
  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;
}

#home{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 92px 0px;
}

#home > div{
  width: 30%;
}

/* ABOUT SECTION */

#about {
    position: relative;
  }
  
  .about-containers {
    gap: -4rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  
  .about-details-container {
    justify-content: center;
    flex-direction: column;
  }
  
  .about-containers,
  .about-details-container {
    display: flex;
  }
  
  .about-pic {
    border-radius: 2rem;
  }

  .details-container {
    padding: 2.5rem;
    margin: 10px;
    flex: 1;
    background: #CCC5B9;
    border-radius: 2rem;
    border: #252422 0.1rem solid;
    border-color: #252422;
    text-align: center;
  }
  
  .section-container {
    gap: 4rem;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .section__pic-container img {
    width: 100%;
    margin: 36px;
  }

  .details-container img {
    width: 45px;
    transition: width 0.3s ease-in-out; /* Smooth transition applied to the non-hover state */
  }
  
  .details-container img:hover {
    width: 56px;
    cursor: pointer;
  }
  
  
  #gdsc {
    width: 35%;
    transition: width 0.5s ease-in-out; /* Smooth transition for width change */
  }
  
  /* ON HOVER FOR ABOUT ME SECTION */
  #gdsc:hover {
    width: 45%;
    cursor: pointer;
  }
  

  .small {
    font-size: 1rem;
    color: #CCC5B9 ;
    text-align: center;
  }

  #about .big{
    font-size: 1.5rem;
    color: #FFFCF2;
    text-align: center;
    justify-content: center;
  }
  .about-containers h3,
  .about-containers p,
  .text-container {
    font-size: 1.4rem;
    color: #252422;
  }

  .text-container p{
    color: black;
    text-align: center;
    word-spacing: 6px;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin: 40px;
    padding: 12px;
  }


/* PROJECTS SECTION */
#projects {
  position: relative;
}

.color-container {
  border-color: #252422;
  background: #CCC5B9;
}

.project-img {
  border-radius: 2rem;
  width: 90% !important;
  height: 90% !important;
}

.project-title {
  margin: 1rem;
  color: 252422;
}

#projects h1 {
  font-size: 2.5rem;
  color: #FFFCF2;
  text-align: center;
}

.btn-container button {
  font-weight: bold;
  padding: 15px;
  margin: 30px 0px;
  background-color: #CCC5B9;
  color: #252422;
  border: solid;
  border-radius: 30px;
  transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out, color 0.5s ease-in-out; /* Smooth transition for all */
}

.btn-container button:hover {
  background-color: #252422;
  color: #CCC5B9;
  transform: scale(1.1); /* Slightly increase size smoothly */
  cursor: pointer;
}


/* Footer Section */
.footer{
  background-color: #252422;
  height: 270px;
  display: flex;
  justify-content: center;
}
.footer img{
  width: 15%;

}
.footer-text{
  background-color: #252422;
  text-align: center;
  color: #FFFCF2;
  height: 100px;
}

.foot-links{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.foot-links li {
  padding: 5px;
}

.foot-links li a {
  text-decoration: none;
  color: #CCC5B9;
}

.foot-links li a:hover {
  text-decoration:underline;
}

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

.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 p {
  color:#CCC5B9;
  text-align: center;
  font-size: 1.2rem;
}
#contact h1 {
  color:#FFFCF2;
  text-align: center;
  font-size: 2rem;
}

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

#mail,
#linkedin{
  text-decoration: none;
  color: #CCC5B9;
}
#mail:hover,
#linkedin:hover{
  text-decoration: underline;
}

.contact-icon {
  cursor: default;
  height: 2.5rem;
}

.email-icon {
  height: 3.5rem;
}


  /* MEDIA QUERIES */
  @media screen and (max-width: 1400px) {

    #home{
        flex-direction: column-reverse;
    }

    .leftbody{
        font-size: 2.3rem;
        padding: 29px;
        margin: 27px;
    }

    .rightbody img {
    width: 90%;
    margin: 7px;
    }

/*     .rightbody img:hover {
      width: 93%;
      cursor: pointer;
    } */

    #desktop-nav {
      display: none;
    }
    #hamburger-nav {
      display: flex;
      width: auto;
    }
    .section-container{
      flex-direction: column;
    }

    #gdsc{
      width: 275px;
      margin: 6px 0;
    }
    #gdsc:hover{
      width: 275px;
      margin: 6px 0;
    }

    .details-container img:hover{
      width: 55px;
    }

    .section__pic-container{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .section__pic-container img{
      margin: 13px;
      padding: 0 102px;
      width: 50%;
    }
    .about-containers{  
      padding-left: 104px;
      display: flex;
      flex-direction: column;
      width: 70%;
      justify-content: center;
      align-items: center;
  }
  .project-end{
    padding: 30px;
  }
  .footer img{
    width: 40%;
  }
  .footer h3{
    font-size: 20.72px;
  }
  .footer h5{
    font-size: 15.28px;
  }
  .foot-links{
    font-size: 18px;
  }
}
@media screen and (max-width: 654px){
  #hamburger-nav{
    width: 80vh;
  }

}

#ps{
  margin: auto;
  color: white;
}

#project3{
  width: 310px !important;
}

.github-btn{
  display: flex;
  justify-content: center;
}
#github-btn-color{
  text-decoration: none;
  color: #CCC5B9;
  display: flex;
  padding: 85px;
  margin-left: -80px;
  width: 100px;
  font-size: larger;
}
#github-logo{
  width: 15vh;
  padding: 20px;
}

#github-btn-color:hover,
#github-logo:hover{
  text-decoration: underline;
}

#textimg1{
  margin-top: 40px;
}

/* IPHONE PRO MAX */
/* @media screen and (max-width: 480px){
  .section__pic-container img{
    margin: 2px;
    padding: 0 184px;
    width: 50%;
  }
  #gdsc{
    width: 275px;
    margin: 6px 0;
    }

  #gdsc:hover{
    width: 275px;
  }

  
    .about-details-container{
    padding: 0 27px;
  
  }

  .about-containers{
        padding-left: 26px;
  }

  .details-container{
    padding-left: 20px;
    margin: 7px;
  }
  .details-container img{
    width: 65px;
  }
} */
