body {
    margin: 0;
    font-size: 16px;
}

.container div {
    /*border: 1px solid rgb(5, 5, 5);*/
}

#messageBienvenue {
    font-size: 1.6rem;
}

.section-bienvenue {
    background: linear-gradient(
        to right,
        rgba(139, 202, 245, 0.2),
        rgba(144, 205, 247, 0.2)
    );
    padding: 3rem;
    border-radius: 5%;
    box-shadow: none;
    border-right: 2px solid white;
    border-bottom: 3px solid white;
}

#horaire-rencontres {
    text-align: left;
    margin: 6% auto;
    font-size: 1.2rem;
    width: 70vw;
    background: linear-gradient(
        to right,
        rgba(139, 202, 245, 0.2),
        rgba(144, 205, 247, 0.2)
    );
    padding: 1.5rem;
    border-radius: 5%;
    border-right: 2px solid white;
    border-bottom: 3px solid white;
}

#titre-rencontres {
    font-size: 1.5rem;
}

#titre-recents {
    margin: 3% auto 0 auto;
    font-size: 1.8rem;
}

.bloc-milieu {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
    background: linear-gradient(
        to right,
        rgb(199, 230, 235),
        rgb(76, 172, 236)
    );
    grid-template-columns: 1fr;

    display: flex;
    flex-direction: column;
    z-index: 1;
}

.bloc-milieu .section-bienvenue {
    max-width: 30rem;
    margin-top: 5%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.bloc-milieu .section-bienvenue p {
    font-size: 1.3rem;
}

.video-frame {
    position: relative;
    display: flex;
    flex-direction: column;
}

.video {
    max-height: 25rem;
    max-width: 35rem;
}

.sous-titre {
    font-size: 1.4rem;
    padding: min(2vw, 1rem);
    border-radius: 8px;

    height: auto;
    width: 15rem;

    margin-left: 7%;
    background-color: rgb(170, 218, 226);
    cursor: pointer;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.sous-titre-blog:hover {
    transition: 0.4s;
    color: rgb(40, 109, 213);
}

h2 a {
    width: 15rem;
    padding: min(2vw, 1rem);
}

.sous-titre:hover {
    transition: 0.5s;
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/*Bouton Youtube*/

.video-frame .fa-youtube-play {
    margin-left: 12%;
    margin-top: 1.2rem;

    font-size: 3rem;
    position: absolute;
    background-color: white;
    border-radius: 10px;
    color: red;
    z-index: 4;
    position: absolute;
    opacity: 0.7;
}

.bloc-milieu iframe {
    width: 85vw;
    height: 45vw;
    box-shadow: 0 0 20px white;
}

.video-frame .fa-youtube-play:hover {
    background-color: white;
    border-radius: 10px;
    color: red;
    position: absolute;
    box-shadow: 0px 1px 1px 0px black;
    opacity: 1;
}
/*Fin bouton Youtube*/

.post-frame {
    position: relative;
    display: flex;
    flex-direction: column;
}

.post-frame a {
    text-decoration: none;
    color: black;
}

.post-frame figcaption {
    color: black;
    font-size: 1.5rem;
    padding: 0.4rem;
    display: inline-block;
}

.video-frame a {
    text-decoration: none;
    color: black;
}

.post-image {
    height: 100%;
    width: 40rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

figcaption {
    text-align: center;
    font-size: 14px;
    color: #888;
    font-size: 1.5rem;
}

#image-div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#image-div a {
    position: relative;
}

.separator {
    margin-left: 2%;
    margin-right: 2%;
    background: white;
    height: 3vw;
    margin-top: 4rem;
    margin-bottom: 1rem;
    border-radius: 100% 1% 50%;
    background: linear-gradient(
        to right,
        rgb(236, 242, 243),
        rgb(160, 206, 236)
    );
}

.separator:last-child {
    opacity: 0;
}

.vl {
    border-left: 1px solid white;
    height: 60%;
    margin: auto auto;
    opacity: 0.4;
}

#versetDuJour {
    margin: auto auto auto 1%;
    border: 2mm ridge #7ec3eb;
    padding: 0 1rem 1rem 1rem;
    max-width: 23%;
    border-block: 2mm solid #7ec3eb;
    writing-mode: horizontal-tb;
    box-shadow: 0 0 20px white;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
}

#versetDuJour a {
    text-decoration: none;
    color: blue;
}

#titreVersetDuJour {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;

    text-decoration: underline;
}

#poweredBy {
    font-size: 0.8rem;
    float: right;
}

.section-haut {
    flex-direction: row;
}

@media (max-width: 690px) {
    .section-haut {
        flex-direction: column !important;
    }

    .section-bienvenue {
        margin: 5% 5% !important;
    }

    #versetDuJour {
        margin: 10% auto 0 auto !important;
        width: 75vw;
        max-width: 100%;
    }

    .post-image {
        height: 45vw;
        width: 85vw;
    }

    .post-frame figure {
        margin: auto auto;
    }
}

.post-views {
    z-index: 3;
    padding: 0.25rem;
    margin: 0;
    color: black;
    background: rgb(255, 255, 255, 0.8);
    font-size: 0.8rem;
    border-radius: 0.3rem;
}

.shareButton {
    z-index: 3;
    padding: 0.33rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0;
    color: black;
    background: rgb(255, 255, 255, 0.8);
    font-size: 0.8rem;
    border-radius: 50%;
}

.post-info {
    position: absolute;
    right: 0.3rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 0.3rem;
    margin-right: 3rem !important;
    margin-bottom: 1rem !important;
}

.shareButton {
    cursor: pointer;
}

.post-views {
    font-size: 14px;
}

.post-image { 
    box-shadow: 0 0 20px white !important;
}

@media (min-width: 691px) {
    .bloc-milieu video {
        border: 1rem solid rgb(140, 211, 240, 0.7);
    }
    .bloc-milieu image {
        border: 1rem solid rgb(140, 211, 240, 0.7);
    }
    .bloc-milieu iframe {
        border: 1rem solid rgb(140, 211, 240, 0.7);
    }
    .bloc-milieu img {
        border: 1rem solid rgb(140, 211, 240, 0.7);
    }

    .post-image {
        height: 100%;
        width: 40rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    }

    .post-views {
        right: 20px;
        bottom: 1.9rem;
    }

    .post-infos {
        margin-right: 1.5rem;
        bottom: 2rem;
    }
}
