.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;

    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

#word-cloud {
    width: clamp(10rem, 80%, 30rem);
    margin: auto auto;
    display: block;
    background-color: #c5ac87;
    border-radius: 15%;
    margin-top: 2rem;
}

#grid {
    display: flex;
    flex-direction: column;
    column-gap: 2rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

#text {
    margin-right: 2rem;
    width: 20vw;
}

#integration {
    width: 70%;
    margin: auto auto;
}

/* Style the textarea to look like a code editor */
#editorcss,
#editorhtml {
    width: clamp(531px, calc(531px + 17vw), 750px);
    height: 6rem;
    margin-right: 3rem;
}

.BibleViewer {
    margin-top: 20px;
    justify-content: space-between;
    padding: 20px;
    border-radius: 20px;
    background-color: transparent;
}

#bible-content {
    background-repeat: repeat-y; /* Repeats only vertically */
    background-size: 100% auto; /* Stretches horizontally, keeps vertical aspect ratio */
    min-width: 99vw;
    min-height: 65rem;
}

#verses-container {
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
/* Style des colonnes */
.header .column {
    flex: 1;
    padding: 10px;
    text-align: center;
}

/* Pour donner un peu de style aux textes */
.header h1,
.header p {
    margin: 0;
}

.dropdown {
    margin-top: 20px;
}

/* Style du texte */
option {
    padding: 10px;
}

.verse {
    font-size: large;
    margin-right: 5%;
    margin-left: 7%;
    cursor: pointer; /* Make verses clickable */
}

.verse.highlight {
    background-color: rgb(255, 255, 0, 0.6);
    transition: background-color 0.3s ease;
    border-radius: 6px;
    padding: 0.5rem;
}

#voice-select {
    width: 15rem;
}
.select2-selection__rendered {
    font-size: 1.7rem;
}

.select2-container--default .select2-results__option {
    font-size: 1.5rem;
    text-align: center;
}

.container-arrows {
    display: flex;

    grid-template-columns: auto auto;

    position: relative; /* Définit le conteneur comme cadre de positionnement */

    width: 100%; /* Largeur du conteneur */

    height: 200px; /* Ajustez la hauteur selon vos besoins */

    overflow: hidden;

    position: relative; /* Définit le conteneur comme cadre de positionnement */

    left: 50%; /* Centre horizontalement */

    transform: translate(-50%, -10%);
    /* Corrige le point d'ancrage pour être parfaitement centré */
    display: flex;
    position: fixed;
    z-index: 1000;

    pointer-events: none;
}

.arrow-left {
    position: absolute;
    /* Positionne la flèche par rapport au conteneur */
    bottom: 20px;
    left: 20px;
    padding: 8px;
    border: 0.5px solid black;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
    box-shadow: 0.5px 0.5px;
    transition: transform 0.2s, background-color 0.2s;
    pointer-events: all;

    opacity: 50%;
}

.arrow-left:hover,
.arrow-right:hover {
    background-color: #ddd;
    transform: scale(1.2);
    transition: background-color 0.3s ease, transform 0.3s ease; /* Ajout d'une transition fluide */
    opacity: 100%;
}

.arrow-right {
    position: absolute;
    /* Positionne la flèche par rapport au conteneur */
    bottom: 20px;
    right: 20px;
    padding: 8px;
    border: 0.5px solid black;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
    box-shadow: 0.5px 0.5px;
    transition: transform 0.2s, background-color 0.2s;
    pointer-events: all;
    opacity: 50%;
}

select {
    border-color: black !important;
    width: 90%;
    border-radius: 10x;
    background-color: transparent;
    transition: transform 0.2s, background-color 0.2s;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    /* Largeur du dropdown */
}

select #chapter:hover,
select #book:hover {
    border: 2px solid grey;
    transform: scale(1.2);
    transition: background-color 0.3s ease, transform 0.3s ease; /* Ajout d'une transition fluide */
}

#play-pause-container {
    position: relative;
    width: 40px; /* Set button width */
    height: 40px; /* Set button height */
    display: flex;
    align-items: center;
}

#read-all,
#pause-reading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Adjust icon size */
    cursor: pointer;
}

.single-verse {
    margin-left: 1rem;
    z-index: 10;
}

@media screen and (min-width: 601px) {
    .header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row;
        padding: 2rem;
        margin: 0 1rem;
        /* background-color: #f0f0f0;
        border-bottom: 2px solid #ccc;
        border-radius: 20px;
        box-shadow: 3px 3px; */
    }

    #langue-site select {
        background-color: white;
        width:fit-content !important;
        margin-left: 1rem !important;
        margin-right: 10vw !important;
        margin-top: 1.2rem !important;
        padding: 0.2rem !important;
        border-radius: 15% !important;
    }

    .container-arrows {
        top: 50%; /* Centre verticalement */
    }

    #menu-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        column-gap: 1.5rem;
        align-items: center;
    }
}

@media screen and (max-width: 601px) {
    .header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: column;
        padding: 2rem;
        margin: 0 1rem;
        /* background-color: #f0f0f0;
        border-bottom: 2px solid #ccc;
        border-radius: 20px;
        box-shadow: 3px 3px; */
    }

    #langue-site select {
        background-color: white;
        width:fit-content !important;
        margin-left: 1rem !important;
        margin-right: 5vw !important;
        margin-top: 1rem !important;
        padding: 0.05rem !important;
        border-radius: 15% !important;
    }

    .container-arrows {
        bottom: 1%;
    }

    #menu-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        column-gap: 1.5rem;
        align-items: center;
    }
}

@media screen and (max-width: 918px) {
    #text {
        width: 100%;
    }

    #grid {
        flex-direction: column;
    }

    #integration {
        width: 100%;
    }

    #editorcss,
    #editorhtml {
        width: 100%;
        margin-right: 5rem !important;
    }

    #bible-content {
        width: 96vw;
    }
}

@media screen and (min-width: 919px) {
}
