/**************
* Les vidéos *
**************/

.main{
    padding: 4rem 10%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
/* Style du champ select */
.filtres {
    width: 18rem; 
    padding: .75rem; 
    border: 1px solid var(--bleu-fonce); 
    border-radius: 0;
    color: var(--bleu-fonce); 
    background-color: transparent; 
    cursor: pointer;
    appearance: none; 
    background-image: url(../images/select-arrow.svg); 
    background-position: calc(100% - .75rem) center;
    background-repeat: no-repeat; 
}
/* Style lorsque le select est en focus */
.filtres:focus {
    outline: none; 
    border-color: var(--rose); 
    box-shadow: 0 0 0 1px var(--rose); 
}

/* Responsive desktop */
@media screen and ( min-width:1300px ) {
    .main{
        margin-top: 10vh;
        position: relative;
    }
    .main::before{
        position: absolute;
        content: url(../images/tubes-rose.svg);
        left: 5%;
        top: 5rem;
    }
}


/* videos */
.videos{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding-top: 2rem;
}
.video{
    width: 100%;
    box-shadow: var(--ombre1);
}
.video__image-conteneur{
    overflow: hidden;
    width: 100%;
    height: 13rem;
}
.video__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}
.video:hover .video__image{
    transform: scale(1.1);
    filter: contrast(1.2);
}
.video__contenu{
    padding: 1.5rem;
}
.video__titre{
    color: var(--bleu-fonce);
    margin-bottom: .875rem;
    font-size: 1.25rem;
}
.video__texte{
    margin-bottom: .875rem;
    color: var(--gris);
}
@media screen and ( min-width:840px ) {
    .video{
        max-width: 20rem;
    }
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .videos{
        gap: 3rem;
    }
    .video__contenu{
        padding: 2rem;
    }
    .video{
        max-width: initial;
        width: calc(33% - 2rem);
    }
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .page-numbers:not(.next, .prev) {
    padding: 0.5rem .75rem;
    margin: 0 0.25rem;
    color: var(--rose);
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid var(--rose);
}
.pagination .page-numbers:not(.next, .prev):hover {
    background-color: var(--rose);
    color: var(--blanc);
}
.pagination .page-numbers:not(.next, .prev).current{
    background-color: var(--rose);
    color: var(--blanc);
}
.pagination .prev,
.pagination .next {
    color: var(--gris);
    margin: 0 0.5rem;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .pagination .page-numbers:not(.next, .prev)  {
        margin: 0 0.5rem;
    }
    .pagination .prev,
    .pagination .next {
        margin: 0 1rem;
    }
}

