/*=======  GENERAL START========*/
:root{
    --background: #0D2229;
    --backgroundProject: #255b7413;
    --backgroundBtn: #00ffb30a;
    --backgroundBtnHover: #293A42;
    --btnStroke: #3E98C2;
    --btnStrokeHover: #3e98c256;
    --layoutLines: #293A42;
    --projectShadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.500);
    --projectShadowHover: inset 0 0 9px 1px rgba(0, 0, 0, 0.600);
    --btn: 0 0 5px 1px var(--btnShadow1),
    0 0 3px 1px var(--btnShadow2);
    --lines: #3f3f3f;
    --textColor: #D4EDFC;
}
/*=======  GENERAL END========*/

/*======= MAIN START ========*/

    .project{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;  
    }
    
    .preview-project{
        display: grid;
        align-items: center;
        row-gap:5px;
        box-shadow: var(--projectShadow);
        padding: 5px;
        border-radius: 10px;
        margin: 5px 5px;
        min-width: none;
        max-width: 350px;
        background-color: var(--backgroundProject);
    }

    .preview-project:hover{
        scale: 1.02 1.02;
        box-shadow: inset 0 0 10px 3px var(--projectShadowHover);
        transition: 500ms;
    }

    .info{
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 350px;
        min-width: 270px;
        height: fit-content;
    }

    .info .project-title{
        font-size: 16pt;
        text-align: center;
        width: 80%;
    }

    .description .text{
        padding: 5px 10px;
        text-align: justify;
    }

    .slider{
        min-width: 300px;
        max-width: 350px;
        height: 200px;
        display: flex;
        justify-content: center;
        align-self: center;
    }

    .slider img {
        min-width: 70%;
        max-width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }

    .seemore-btn{
        padding: 5px 26px;
        margin-top: 10px;
        margin-bottom: 5px;
        border-radius: 30px;

        text-align: center;
        text-decoration: none;
        border: 2px solid var(--btnStrokeHover);
        background-color: var(--backgroundBtn);
        font-size: 14pt;
        font-weight: bold;
    }

    .seemore-btn:hover {
        border: 2px solid var(--btnStroke);
        background-color: var(--backgroundBtnHover);
        transition-duration: 900ms;
        box-shadow: 0 0 5px 1px var(--btnShadow1),
        0 0 3px 1px var(--btnShadow2);
    }

    @media(max-width:600px) {
        .preview-project{
            grid-template-columns: 1fr;
            max-width: 300px;
        }
    
        .info .project-title {
            width: 90%;
            font-size: 14pt;
        }
    
        .description{
            font-size: 10pt;
            max-width: 300px;
            min-width: 250px;
        }
    
        .slider{
            min-width: 280px;
            max-width: 300px;
            height: 140px;
        }
        .slider img{
            width: 100%;
            height: 100%;
        }
    
    
    
    }
/*======= MAIN END ========*/
/*======= RESPONSIVITY START ========*/

@media(max-width:768px) {
    .info .project-title{
        width: 80%;
        font-size: 14pt;
    }

    .description{
        font-size: 12pt;
        max-width: 300px;
        min-width: 250px;
    }
    .seemore-btn{
        font-size: 14pt;
    }
}
@media(max-width:600px) {
    .preview-project{
        grid-template-columns: 1fr;
    }

    .info .project-title{
        width: 80%;
        font-size: 12pt;
    }

    .description{
        font-size: 10pt;
        max-width: 300px;
        min-width: 250px;
    }

    #slider{
        min-width: 280px;
        max-width: 300px;
        height: 140px;
    }
    #slider img{
        width: 100%;
        height: 100%;
    }
    .seemore-btn{
        font-size: 12pt;
    }

}
@media(max-width:450px) {
    .preview-project{
        grid-template-columns: 1fr;
    }

    .preview-project{
        padding: 5px 2px;
        max-width: 240px;
        justify-content: center;
    }

    .info .project-title{
        width: 75%;
        font-size: 10pt;
    }

    .description{
        font-size: 8pt;
        max-width: 220px;
        min-width: 200px;
    }

    #slider{
        min-width: 220px;
        max-width: 260px;
        height: 120px;
    }
    #slider img{
        width: 100%;
        height: 100%;
    }

    .seemore-btn{
        font-size: 10pt;
    }

}

/*======= RESPONSIVITY END ========*/