static/css/about.css

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}

.portfolio-container {
    height:150vh;
    width: 100%;
    display: flex;
    background-color:#262525;
    color: #fff;

}

.navlist {
    display: flex;
    gap: 3.5rem;
    height: 15vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
}

.navlist li {
    list-style: none;
}

.navlist li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;
    position: relative;

}

.navlist li a::after,
.navlist .active::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height: .1rem;
    left: 0;
    bottom: -1px;
    transform: scaleX(0);
    transition: transform .5s;
}


.navlist li a:hover::after,
.navlist .active::after {
    transform: scaleX(1);
}


.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    /* Align it to the right */
}

.navlist {
    display: flex;
    gap: 3.5rem;
}




.about-container {
    display: flex;
    justify-content: space-between; /* Places left and right containers */
    align-items: center;
    width: 100%;
    height: 100vh; /* Full viewport height */
    padding: 20px; /* Adds spacing */
}



.left-section {
    width: 30%;
    display: flex; /* Ensure flexbox is used */
    align-items: center; /* Centers the image vertically */
    height: 100%;
    padding-top: 250px;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}


.right-section {
    width: 70%;
    justify-content: center;
    align-items: center;
    height:100%;
    padding-top: 160px;

    

}

.avatar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px cyan;
    display: flex; /* Ensures internal centering */
    justify-content: center;
    align-items: center;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    align-items: center;
}

.intro-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
}

.about-heading {
    font-size: 4rem ;
    color: white;
    padding-bottom: 30px;
}
.about-heading span{
    color: cyan;
}


.description {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    margin-bottom: 20px;
    padding-right: 5px;
}

/* Read More Button */
#read-more-btn {
    background-color: cyan;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

#read-more-btn:hover {
    background-color: #00a3a3;
}

/* Extra Info (Initially Hidden) */
.extra-info {
    display: none;
    padding-top: 10px;
    padding-left: 5px;

}

.section-title{
    margin-bottom:5px;
}

.extra-info.show {
    display: block;
}

.education {
    width: 80%;
}

.education-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.edu-info {
    width: 75%;
}

.edu-info h3 {
    font-size: 18px;
    font-weight: bold;
}

.edu-info p {
    font-size: 16px;
}

.edu-date {
    text-align: right;
    font-weight: bold;
    font-size: 12px;
}

    



@media(max-width: 1047px){

	.navlist {
        display: flex;
        flex-direction: column;
        position: absolute;
        background-color: #262525;
        top: 0;
        left: -100%; 
        width: 100%;
        height: 100vh; /* Full height */
        z-index: 1000;
        justify-content: center; /* Center items vertically */
        align-items: center; /* Center items horizontally */
        transition: left 0.5s ease; /* Add smooth transition for sliding */
    }

    
    .navlist.active {
        left: 0; /* Slide it into view from the left */
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
        font-size: 2rem;
        color: cyan;
        margin-top: 10px;
		margin-left: 20px;
        position: absolute;
        top: 1rem;
        left: 1rem;
        cursor: pointer;
        z-index: 1001; /* Make sure it stays above the navlist */
    }

    /* Menu items alignment */
    .navlist li {
        list-style: none;
        margin: 1.rem 0;
    }

    .navlist li a {
        color: #ffffff;
        font-size: 1.5rem;
        text-decoration: none;
        text-align: center;
    }

    
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .left-section {
        width: 100%;
        height: auto; /* Ensures a proper height */
        display: flex;
        flex-direction: column; /* Stacks elements vertically */
        justify-content: center; /* Centers content vertically */
        align-items: center; /* Centers content horizontally */
        padding: 50px 20px; /* Reduced padding for responsiveness */
        position: relative; /* Ensures proper positioning */
        text-align: center; /* Centers text */
    
        
    }
    .portfolio-container{
        min-height: 170vh;
    }
    
           
    .right-section {
        width: 100%;
        justify-content: center;
        align-items: center;
        height:150vh;
        padding-top: 5px;
    }
    
    .avatar-wrapper {
        position: relative;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 0 20px cyan;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    
    
    .extra-info {
        display: none;
        padding-top: 10px;
        padding-left: 5px;
        text-align:start;
    
    }
    
    .section-title{
        margin-bottom:5px;
        text-align:start;
    }
    
    .extra-info.show {
        display: block;
    }
    
    .education {
        width: 100%;
    }
    
    .education-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }
    
    .edu-info {
        width: 75%;
    }
    
    .edu-info h3 {
        font-size: 15px;
        font-weight: bold;
        padding-bottom: 3px;
    }
    
    .edu-info p {
        font-size: 16px;
    }
    
    .edu-date {
        text-align: right;
        font-weight: bold;
        font-size: 10px;
        padding-right:5px;
    }
}    