/* ------------------------------------------------------------------- 
 * ## Grid Videos Home
 * ------------------------------------------------------------------- */

.section-videos{
    background:#fff;
    /* background:#c24040; */
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
   
}

.grid-videos{
    position: relative;
    width:100%;
    max-width: 1200px;
    gap:5px;
    display: grid;
    justify-items:stretch;
    /* grid-template-columns:repeat(4,minmax(320px,1fr)); */
    grid-template-columns:repeat(4,1fr);
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    grid-auto-rows:auto;
    margin: 40px auto;
}


.box{
    position: relative;
    color: #010507;
    padding: 1rem;
    justify-self: stretch;
    font-size: 1.2rem;
    /* box-shadow: rgb(0 0 0 / 5%) 0px 0px 0px 1px; */
    /* border: medium solid rgb(7, 234, 222); */
    display: grid;
    grid-template-rows: 150px max-content;
    align-items: stretch;
}
@media (max-width: 860px){
    .grid-videos{
        width:95%;
        grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
        grid-auto-rows:180px;
    }

}

@media (max-width: 650px){
    .grid-videos{
        width:95%;
        grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
        grid-auto-rows:200px;
    }

}

@media (max-width: 539px){
    .box{
        font-size: 1.2rem;
        padding:0.3rem;
    }
    .grid-videos{
        width:95%;
        grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
        grid-auto-rows:180px;
    }
    

}

@media (max-width: 430px){
    .grid-videos{
        width:90%;
        grid-template-columns:1fr 1fr;
        grid-auto-rows:150px;
    }
    .box{
        font-size: 1rem;
    }

    .gallery-content {
        margin-top: -30rem;

    }

}


/* .box{
    position: relative;
    color: white;
    padding: 1rem;
    background-color: rgb(61, 8, 207);
    border: medium solid rgb(7, 185, 176);
    display: grid;
    align-items: center;
    justify-items: center;
} */






.box p{
    align-self: end;
    margin:0px;
    margin-top: 0.5rem;
}

