/*=======  GENERAL START========*/
:root{
    --background: #0D2229;
    --backgroundProject: hsla(199, 52%, 30%, 0.075);
    --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 ========*/


.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.preview-project{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    row-gap:5px;
    box-shadow: var(--projectShadow);
    padding: 5px;
    border-radius: 10px;
    margin: 5px 0;
    min-width: none;
    max-width: 650px;
    background-color: var(--backgroundProject);
}

.msg{
    display: flex;
    justify-self: center;
    align-self: center;
    max-width: 300px;
    padding: 10px 10%;
}

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

.info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    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-self: 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 9px 1px var(--layoutLines);
}

/*======= 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 ========*/