main {
    height: auto !important;
}

.conteneur-video-personnalisee {
    width: 100%;
    display: flex;
    margin: 0;
    justify-content: center;
}

.sous-menu-box-l {
    margin-top: 60px;
    margin-bottom: 60px;
    width: 70%;
}

.sous-menu-box-l > h1 {
    color: white;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: x-large;
}

.sous-menu-box-l > p {
    color: white;
    font-size: medium;
    width: 40%;
    margin: 0;
    padding: 0;
}

.box-video-personnalisee-presentation {
    display: flex;
    margin-top: 20px;
    margin-left: 40%;
    width: 33%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: space-around;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    z-index: 5;
    border-bottom: solid 1px #E80675;
}

.box-video-personnalisee-presentation > h1 {
    color: white;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: x-large;
}

.element-video-perso > div > span {
    position: absolute;
    color: red;
    font-size: xx-small;
    margin-top: -15px;
}

.box-video-personnalisee-presentation > span > img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.box-video-personnalisee-presentation > span {
    color: white;
    margin: 0 0 10px 0;
    padding: 0;
    height: 20px;
    font-size: large;
    display: none;
    align-items: center;
    cursor: pointer;
}

.btn-submit-form {
    opacity: 0;
    pointer-events: none; /* Pour désactiver les interactions avec le bouton quand il est invisible */
    transition: opacity 0.3s ease; /* Ajoute une transition pour un effet plus fluide */
}

.btn-submit-form {
    cursor: pointer;
    position: absolute;
    top: 118%;
    left: 0%;
    padding: 10px 20px;
    font-size: large;
    color: #E80675;
    border-radius: 5px;
    border: solid 1px transparent;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit-form:hover {
    background-color: #141414 !important;
    border-color: #E80675;
}

.box-video-personnalisee-presentation > h1 > span {
    color: #E80675;
    margin: 0 0 10px 0;
    padding: 0;
    text-decoration: none;
    font-size: xx-large;
}

.box-video-personnalisee-choix {
    margin: 20px;
}

.element-video-perso {
    margin-top: 30px;
    height: 120px;
}

.element-video-perso > img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

#commentaire {
    width: 300px;
    height: 100px;
    position: relative;
    z-index: 1;
}

.element-video-perso > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 30px;
    width: 30%;
}

.element-video-perso > div > label {
    width: 280px;
    height: 30px;
    display: inline-block;
    text-align: center;
    color: white;
    border-radius: 5px;
    background-color: #1e1e1e;
    line-height: 30px; /* Centrer verticalement */
    margin-bottom: 20px;
}

.element-video-perso > div > select {
    width: 280px;
    height: 30px;
    text-align: center;
    color: black;
    font-weight: bold !important;
    font-size: medium;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
}

.taille-fleche {
    width: 30px;
    height: 30px;
    margin-right: 50px !important;
}

.flex-row-video-perso {
    flex-direction: row !important;
    align-items: center !important;
    height: auto;
    width: 60% !important;
    justify-content: flex-start !important;
}

.flex-row-video-perso > label {
    margin: 0 !important;
}

.flex-row-video-perso > textarea {
    margin: 0 20px !important;
}


@media only screen and (max-width: 450px) {
    main {
        margin-top: 60px;
    }

    .sous-menu-box-l {
        margin-top: 0;
        width: 90%;
    }

    .sous-menu-box-l > p {
        width: 90%;
        font-size: small;
    }

    .sous-menu-box-l > h1 {
        font-size: medium;
    }

    .box-video-personnalisee-presentation {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        top: 0px;
        position: sticky;
        background-color: rgba(0, 0, 0, 0.8);
        margin-bottom: 20px;
        min-height: 130px;
    }

    .box-video-personnalisee-presentation > h1 {
        margin-top: 20px;
        margin-right: 20px;
        font-size: medium;
        width: 90%;
    }

    .btn-submit-form {
        top: 71px;
        left: 222px;
    }

    .element-video-perso > img {
        width: 80px;
        height: 80px;
    }

    .element-video-perso > div {
        margin-left: 20px;
        justify-content: flex-start;
    }

    .element-video-perso > div > select {
        width: 200px;
        font-size: small;
    }

    .element-video-perso > div > label {
        width: 200px;
    }

    .taille-fleche {
        display: none !important;
    }

    .flex-row-video-perso {
        margin-top: 0;
        height: auto;
    }

}

@media only screen and (max-width: 950px) and (min-width: 451px) {
    .box-video-personnalisee-presentation {
        margin-left: 43% !important;
    }

    .box-video-personnalisee-presentation > a {
        left: 249px !important;
    }
}

@media only screen and (max-width: 1500px) and (min-width: 851px) {
    .element-video-perso  > div > select {
        width: 210px;
    }

    .element-video-perso  > div > label {
        width: 210px;
    }

    .box-video-personnalisee-presentation > h1 {
        font-size: medium;
    }

    .box-video-personnalisee-presentation > h1 > span {
        font-size: large;
        margin-left: 5px;
    }

    .box-video-personnalisee-presentation > a {
        left: 321px;
        top: 29px;
        width: 50px;
        height: 50px;
    }

    .box-video-personnalisee-presentation > a > img {
        width: 35px;
        height: 30px;
    }

}