:root {
    --main-text-color: black;
    --container-bg-color:#9af;
    --background-gradient: linear-gradient(to bottom, #4facfe, #090250) no-repeat fixed;
    
}

*{
    box-sizing: border-box;
}

html, body{
    margin:0;
    height : 100%;
    background: var(--background-gradient);
}

body{
    font-family: Helvetica, Arial , sans-serif;
    color: var(--main-text-color);
}

nav{
    width:100%;
    text-align: right;
    color: white;
    padding: 10px;
    height: 60px;
    background-color: black;
    margin-bottom: 0px;
    border-radius: 8px;
    padding-right: 40px;
    position: sticky;
    top: 0;
    & li{
        display: inline-block;
        height: 100%;
        margin-left: 21px;
    }
    & a{
        color: white;
        font-size: 16px;
        text-decoration: none;  
        &:hover{
            text-decoration: underline;
        }
    }
}

.col{
    display: inline-block;
    width: calc(33.33% - 22px);
    vertical-align: top;
    min-height: 200px;
}

.column-span-1{
    grid-column: span 1;
}

.column-span-2{
    grid-column: span 2;
}

.column-span-3{
    grid-column: span 3;
}   

.column-span-4{
    grid-column: span 4;
}

.column-span-5{
    grid-column: span 5;
}

.column-span-6{
    grid-column: span 6;
}

footer{
    text-align: center;
    color: white;
    background-color: black;
    border-radius: 8px;
    padding: 15px;
    position: fixed;
    bottom:0;
    width: 100%;
}

.text-box{
    background-color : white;
    border-radius: 8px;
    padding : 10px;
    color:black;
    padding-left : 20px;
    font-size: 25px;
}

.main-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 100px, 100px;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 30px;
    max-width:1600px;
    margin: auto;
    background-color: #9af;
    gap: 2%; 
    padding-bottom: 80px;
}

mark{
    background-color: gray;
    border-radius: 15px;
    padding: 10px;
}


.profile-picture {
    aspect-ratio: 1/1;
    width: 100%;
    background-color: white;
    border-radius: 13%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    overflow: hidden;
    & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
    &:hover{
        filter : blur(5px);
    }
}


.portfolio-button {
    background-color: blue;
    color: white;
    border-radius: 8px;
    text-align: center;
    padding: 5px;
    text-decoration: none;
}

.top-banner {
    width: 100%;
    height: 250px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    margin: 0;
}

.banner-overlay {
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3px;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-image {
    background: #e0e0e0;
    border-radius: 12px;
    aspect-ratio: 16/10;
    max-width: 100%;
    height:auto;
    object-fit: cover;
}

.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
    max-width: 1200px;
    margin: 0;
}


.profile-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    line-height: 0; 
    & img {
    width: 100%;
    height: auto;
    display: block;
    }
}

.aspirations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.grid-item {
    border-radius: 24px;
    max-height: 250px;
    overflow: hidden; 
}

.resume-grid{
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 10px;
    gap: 30px;
}

.content-box {
    background: white;
    border-radius: 30px;
    padding: 30px;
}

@media screen and (max-width: 1000px) {
    .column-span-3 {
        grid-column: span 6;
    }
    .portfolio-button{
        padding: 10px;
        text-align: center;
        grid-column: span 6;
        margin-top: 40px;
    }
    nav{
        text-align: center;
        padding: 10px;
        width:100%;
        border-radius: 0px;
    }
    footer{
        border-radius: 0px;
    }

    .project-grid{
        grid-template-columns: 1fr 1fr;
    }
    p{
        grid-template-columns: 6fr;
    }
    .main-section{
        border-radius: 0px;
    }
}

@media screen and (max-width: 768px) {
    .column-span-2 {
        grid-column: span 6;
    }
    .top-banner {
        height: 50%;
    }
        .project-grid{
        grid-template-columns: 1fr;
    }
    .skills{
        grid-column: span 6;
    }
    .education{
        grid-column: span 6;
    }
}