.landing-page{
    width:100%;
    padding:10px;
    min-height:100vh;
    box-sizing: border-box;
}

.landing-page-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin:0 auto;
}
.landing-page-text{
    text-align: center;
}

.landing-page-text h2{
    color: var(--gray-500);
}
.profile{
    width:100%;
}

.profile img{
    width:100%;
}

#about, #recent-projects, #recent-blog{
    scroll-margin-top: 100px;
}
.about-me-section h1{
    color:var(--gray-700);
}
.about-me-section p{
    width:100%;
    max-width:400px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.blog-section h1{
    color:var(--gray-700);
}
.blog-section h2{
    color:var(--gray-500);
}


.container{
    width:100%;
}

.latest-project-group{
    display:flex;
    flex-direction: column;
}

.project-section h1{
    color:var(--gray-700);
}
.project-section h2{
    color:var(--gray-500);
}
.project-card{
    width:100%;
    box-sizing:border-box;
    margin-bottom:8px;
    overflow: hidden;
    cursor:default;
    display:flex;
    align-items: center;
    flex-direction: column;
}

.project-image-wrapper{
    height:clamp(300px, 80vw, 600px);
    width:clamp(300px, 80vw, 600px);
    position:relative;
    overflow:hidden;
    cursor: pointer;
        border-radius: 6px;

}

.project-overlay{
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.7);
    position:absolute;
    top:0;
    transform: translateY(-100%);
    transition:transform 0.3s ease;
    color:var(--gray-50);
    font-size:24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}
.project-image-wrapper:hover .project-overlay{
transform: translateY(0);
}
.project-image-wrapper:hover img{
transform:scale(1.1,1.1);
}
.project-image-wrapper a{
    width:100%;
    height:100%;
    display: block;
}
.project-image-wrapper img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition:transform 0.3s ease;
}

@media (width >= 768px){
    .container{
        max-width: 1200px;
        margin: 0 auto;

    }
    .blog-grid{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5px;
    }
    .blog-section{
        max-width: 1200px;
        display:block;
    }

    
    .project-section{
        width:100%;
        margin: 0 auto;

    }
    .latest-project-group{
        position:relative;
        margin-top:30px;
        height:300px;
    }
    .project-card{
        position:absolute;
        width:300px;
        border-radius: 0;
        top:0;
        transition: transform 0.3s ease;
    }

    .project-image-wrapper{
        width:300px;
        height:300px;
    }
    .project-card p{
        display: none;
    }

    .project-card:nth-child(1){
        transform: translateX(-50%) rotate(2deg);
        left:5%;
        z-index: 5;
        display: none;
    }
    .project-card:nth-child(2){
        transform: translateX(-50%)  rotate(-2deg);
        left:25%;
        z-index: 4;
    }
    .project-card:nth-child(3){
        transform: translateX(-50%)  rotate(4deg);
        left:50%;
        z-index: 3;
    }
    .project-card:nth-child(4){
        transform: translateX(-50%)  rotate(-4deg);
        left:75%;
        z-index: 2;
    }
    .project-card:nth-child(5){
        transform: translateX(-50%) rotate(6deg);
        left:95%;
        z-index: 5;
        display:none;
    }
    .project-card:hover{
        z-index:10;
        transform:translateX(-50%) rotate(0deg);
    }
    .landing-page-flex{
        flex-direction: row;
    }
    .landing-page-text{
        width:100%;
    }
    .landing-page .profile{
        width: 500px;

    }
    .landing-page-text{
    text-align: left;
}
.landing-page{
    margin-top:24px;
}
}

@media (width >= 1024px){
    .project-card:nth-child(1){
        display: block;
    }
    .project-card:nth-child(5){
        display:block;
    }
}

.tech-stack table{
    padding:6px;
    margin: 0 auto;
    border-collapse: collapse;
    color:var(--gray-900);
}

.tech-stack h1{
    color:var(--gray-700);
}

.tech-stack h2{
    color:var(--gray-500);
}
.tech-stack th, td{
    padding:12px 16px;
    text-align: center;
}

.tech-stack tr:nth-child(even){
    background-color: var(--gray-100);
}

.tech-stack th svg{
    display: block;
    width:16px;
    height:16px;
    margin: 0 auto;
}

.tech-stack-fav{
    color: var(--gold-500);
    filter:drop-shadow(2px 2px 4px var(--gold-100))
}
.tech-stack-know{
    color: var(--navy-300);
}
.tech-stack-used{
    color: var(--green-300);
}

.tech-stack td:nth-child(1) {  
    font-weight: 600;
}
