@media only screen and (max-width: 500px) {
    .modal {
        height: 100% !important;
    }

    #conteneur-accueil {
        width: 90% !important;
        align-items: center;
    }

    #box-accueil > h2 {
        color: white;
        width: 90%;
        text-align: center;
        font-size: xx-large;
    }

    #box-accueil > p {
        font-size: large;
        text-align: center;
    }

    #box-btn {
        flex-direction: column;
        align-items: center;
    }

    #box-btn > button {
        font-size: medium;
        margin-bottom: 30px;
        width: 70%;
    }

    #conteneur-about {
        width: 90%;
    }

    #boxAbout > h3 {
        margin-left: 0;
        text-align: center;
    }

    #boxAbout > p {
        margin-left: 0;
    }

    #btn-accept-cookies {
        width: 100%;
    }

    #btn-continue-without-accept {
        width: 100%;
    }

    #random-text {
        margin-left: 25px !important;
        margin-right: 25px !important;
        margin: 20px;
    }

    .modal {
        background-color: rgba(0, 0, 0, 9);
    }
}

@media only screen and (max-width: 900px) and (min-width: 501px) {
    .modal {
        min-height: 0;
        padding-top: 0;
        background-color: rgba(0, 0, 0, 0, 9);
    }

    #modal-cookie {
        height: 100% !important;
    }

    .box-cookies {
        height: 200px;
    }

    .cookie-content {
        padding: 0 !important;
        height: 80%;
    }

    #box-accueil > h2 {
        font-size: x-large;
        margin-bottom: 0;
    }

    #box-accueil > p {
        font-size: medium;
        margin-top: 10px;
    }

    .modal-cookies {
        height: auto;
    }

    .cookie-content {
        padding: 20px !important;
    }

    .cookie-content > p {
        padding-left: 20px !important;
    }

    #btn-accept-cookies {
        width: 100%;
    }

    #btn-continue-without-accept {
        width: 100%;
    }

}