/* GENERAL 

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}
*/
#import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
 *{
    margin: 0;
    padding: 0;
} 
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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 */
ul{ margin:0; padding:0;}
nav,
ul.nav-links {
    display: flex;

}

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

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

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

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

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

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

.section-container{
    display: flex;
}


/* Profile Section */

#profile{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
    height: 80%;
    width: 100%;
    margin-bottom: 2rem;
    
}

.section-pic-container{
    display:flex;
    height: 400px;
    width: 400px;
}

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

.section-text-p{
font-weight: 600;
}

.section-text-p1{
    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;
    margin-top: 1rem;
    gap: 1rem;
}

/*ICON*/
.icon{
    cursor: pointer;
    height: 2rem;
    object-fit: contain; /* Ensure the aspect ratio is preserved */
    }
    

/* Buttons */

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

.btn{
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color{
    border: rgb(53, 53, 53) 0.1rem solid;
    color: white;
    background: rgb(53,53,53);
}
.btn-color:hover{
   cursor: pointer;
}
.btn-color:hover{
    background: #8ad403;
}


/* ABOUT */
#about {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    width: 100%; /* Ensure it spans the full container */
    padding: 2rem; /* Adjust spacing for breathing room */
    box-sizing: border-box; /* Prevent padding from affecting centering */
}


.section-container {
    width: 100%; /* Allow the slider to take up the entire parent width */
    display: flex;
    justify-content: center; /* Center the slider */
}

.slider-container {
    width: 50%;
    margin: 0 auto; /* Center the slider */

}

 

.about-containers{
    padding-top: 2rem;
    gap: 2rem;
    display: flex;
    margin-bottom: 2rem;
}

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

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


/* PROJECTS SECTION */

#projects {
    position: relative;
    display: flex;
    flex-direction: column; /* Stack content */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    padding: 2rem; /* Add spacing for breathing room */
    box-sizing: border-box;
    height: auto; /* Adjust height dynamically */
    width: 100%;
    padding-bottom: 2rem;
}

.video {
    max-width: 600px; /* Set a maximum width */
    width: 100%; /* Ensure it adjusts for smaller screens */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the video */
    border-radius: 10px; /* Optional: Rounded corners */
}


/* CONTACT */

#contact{
    position: relative;
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
    width: 100%;
}

.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{
    width: 40px; /* Set a fixed width */
    height: 40px; /* Set a fixed height */
    object-fit: contain; /* Maintain the aspect ratio of the image */
    margin-right: 10px; /* Optional: Add spacing between the icon and text */
    display: inline-block; /* Prevent block-level behavior */
    cursor: default;

}

.contact-section-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    display: inline-block;
}

/* FOOTER SECTION */
footer{
    height: 26vh;
    margin: 0 1rem;
}

footer p{
    text-align: center;
}