@font-face {
    font-family: "Dinot";
    src: url("font/DINOT-CondBold.woff2") format("woff2");
}

.messageMail{
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #E61B00;
    font-size: 20px;
    padding: 10px;
}

.messageMail.green{
    color: green;
}

*{
    font-family: Dinot, sans-serif;
    margin: 0;
}
main{
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    height: 100vh;
    background-color: #000;
}
.content{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    width: 100%;
    height: 100%;
}
body{
    overflow-y: hidden;
}
video#vidMobile{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    width: 100%;
    height: auto;
    overflow-y: hidden;
    z-index: -1;
}
video#vid{
    display: none;
}

button#onclick{
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    width: 12vh;
    height: 12%;
    right: 4%;
    top: 36%;
    border: none;
}
button#onclick:before, button#onclick:after{
    content: none;
}
.boutons{
    position: absolute;
    left: 50%;
    bottom: 4%;
    display: flex;
    transform: translateX(-50%);
    z-index: 10;
    width: 100vw;
    justify-content: space-around;
}
.red{
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    user-select: none;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    outline: none;
    z-index: 1;
    background: #181818;
    color: #fff;
    box-shadow: -4.95px -4.95px 11px 0 rgba(39, 39, 39, 0.8), 8.192px 5.736px 12px 0 rgba(6, 6, 6, 0.6);
    width: 100px;
    height: 50px;
    font-size: 13px;
    border: none;
    margin: 10px 0 0;
    padding: 0;
}
.red:before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 15px;
    background-color: #101010;
    background-image: linear-gradient(to right, #f92231 0%, #101010 50%, #f92231 100%);
    background-size: 200%;
    background-repeat: no-repeat;
    transition: all 0.5s ease-in-out;
    content: '';
    z-index: -2;
}

.red:after{
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    display: block;
    border-radius: 15px;
    background: #181818;
    content: '';
    z-index: -1;
}

.texteVideo{
    display: none;
}

.logos{
    left: 50%;
    transform: translateX(-50%);
    bottom: 18%;
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.logos div{
    width: 40%;
    line-height: 0.7;
}
.logos div:last-of-type{
    text-align: right;
}

.logos img{
    height: 30px;
}

.logos a{
    font-size: 10px;
    color: #fff;
    text-decoration: none;
}

.popUp{
    position: absolute;
    left: 50%;
    top: 50%;
    max-height: 80vh;
    max-width: 450px;
    overflow: auto;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.7s;
    border: 1px solid #E61B00;
    background-color: #181818;
    border-radius: 20px;
    padding: 20px 30px;
    width: 60%;
}

.popUp .rowTitle{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    color: #fff;
}


.popUp .rowTitle .texte{
    text-transform: uppercase;
    font-size: 20px;
}

.popUp .rowTitle .cross{
    width: 20px;
    height: 20px;
    position: relative;
}


.popUp .rowTitle .cross span{
    width: 25px;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
}

.popUp .rowTitle .cross span:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}

.popUp .rowTitle .cross span:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}


.popUp.active{
    transform: translate(-50%, -50%) scale(1);
}

.hidden{
    width: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.rowRadio{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 15px;
}

.rowRadio div{
    display: flex;
    width: 50%;
    align-items: center;
    position: relative;
}

.Yam66{
    justify-content: end;
}

.rowRadio img{
    width: 80%;
    height: auto;
}

.rowRadio input{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.rowRadio label{
    margin-left: 5px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    transition: background-color 0.7s;
}

.rowRadio input[type="radio"]:checked+label{
    background-color: #E61B00;
}
.row{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.row input, .row textarea, .row select{
    border: 1px solid #E61B00;
    width: calc(50% - 30px);
    background-color: #181818;
    padding: 10px 10px;
    font-size: 10px;
    border-radius: 10px;
    color: #fff;
}

.row select{
    width: calc(50% - 10px);
    text-transform: uppercase;
}

.dateCircuDiv{
    position: relative;
    width: calc(50% - 10px);
}

.labelDateCircu{
    position: absolute;
    left: 0;
    top: 0;
    width: cacl(100% -22px);
    height: 100%;
    font-size: 8px;
    text-transform: uppercase;
    display: flex;
    padding-left: 10px;
    align-items: center;
    color: #fff;
    z-index: -1;
}

#dateCircu{
    width: calc(100% - 22px);
    color: transparent;
    background-color: transparent;
}

#dateCircu::-webkit-calendar-picker-indicator {
    filter: opacity(0);
}

#dateCircu:focus, #dateCircu.active{
    color: #fff;
    background-color: #181818;
}

#dateCircu:focus::-webkit-calendar-picker-indicator, #dateCircu.active::-webkit-calendar-picker-indicator {
    color-scheme: dark;
    filter: opacity(1);
}

.greyCard{
    margin-bottom: 15px;
}

.greyCard label{
    color: #fff;
    text-transform: uppercase;
    position: relative;
    font-size: 10px;
    max-width: 100%;
    display: inline-block;
    padding-right: 20px;
}

.greyCard label:after{
    position: absolute;
    content: '';
    right: 0;
    height: 15px;
    width: 15px;
    top: calc(50% + 1px);
    transform: translateY(-50%);
    background-image: url("src/download.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}

.greyCard input{
    display: none;
}



option{
    text-transform: uppercase;
}

.row input::placeholder, .row textarea::placeholder{
    color: #fff;
    text-transform: uppercase;
}


.row input:focus, .row textarea:focus, .row select:focus {
    outline: none;
}
.row.one input, .row.one textarea, .row.one select{
    width: 100%;
}

.part{
    max-height: 0;
    overflow-y: hidden;
    opacity: 0;
    transition: opacity 0.7s, max-height 0s 0.7s;
}

.onPart1 .part1, .onPart2 .part2, .onPart3 .part3, .onPart4 .part4{
    max-height: 3000px;
    transition: opacity 0.7s 0.7s, max-height 0s 0.7s;
    opacity: 1;
}

.texteAndReturn{
    display: flex;
    align-items: center;
}

#return{
    margin-right: 5px;
    background-color: transparent;
    border: none;
    font-size: 25px;
    color: #fff;
    padding-bottom: 5px;
}

.onPart1 #return{
    display: none;
}

.submitOrsuivant{
    display: flex;
    justify-content: center;
}
.photos p{
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 15px;
}

.photos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.photos div{
    width: calc(50% - 5px);
    height: 75px;
    margin-bottom: 10px;
    position: relative;
}
.photos input{
    display: none;
}

.photos label{
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid #E61B00;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photos label.active:after{
    content: none;
}

.photos label:after{
    position: absolute;
    content: '';
    background-image: url("src/photo.png");
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.part4 p{
    color: #fff;
    margin-bottom: 15px;
    font-size: 12px;
}

.message{
    color: #E61B00;
}

/*// TABLETTE*/
@media only screen and ( min-width: 768px ) {
    .messageMail{
        left: unset;
        top: unset;
        bottom: 0;
        right: 7vw;
        text-align: right;
        padding: 20px 0;
    }

    button#onclick{
        top: 31%;
        right: 4.5%;
        height: 16%;
        width: 16vh;
    }

    .bottom_home{
        display: flex;
        flex-direction: row;
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 86%;
        align-items: end;
        justify-content: space-between;
    }

    .texteVideo{
        text-transform: uppercase;
        display: initial;
        color: #fff;
        font-size: 32px;
    }

    .boutons{
        position: initial;
        transform: unset;
        width: unset;
    }


    .boutons button, .boutons a{
        margin-left: 15px;
        width: 100px;
        font-size: 15px;
    }

    .logos{
        position: initial;
        transform: unset;
        flex-direction: column;
        width: auto;
    }
    div.yam66{
        margin-bottom: 15px;
    }

    .logos div{
        width: unset;
        line-height: 1.4;
    }

    .logos div:last-of-type{
        text-align: left;
    }

    .logos img{
        height: 60px;
    }

    .logos a{
        font-size: 18px;
    }

}

/*// ECRAN 720P*/
@media only screen and ( min-width: 1280px ) {
    video#vid{
        display: initial;
        overflow-y: hidden;
        z-index: -1;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        width: 100%;
        height: auto;
        overflow-y: hidden;
    }
    video#vidMobile{
        display: none;
    }
    .logos a{
        transition: color 0.7s;
    }
    .logos a:hover{
        color: #E61B00;
    }

    .bottom_home{
        z-index: 1;
    }

    .boutons a, .boutons button{
        width: 150px;
    }

    .red:hover:before{
        background-position: 80% 0;
    }



    button#onclick{
        width: 18.5vh;
        height: 18.5%;
        right: 25.9%;
        top: 30%;
    }

    .row input, .row textarea, .row select{
        font-size: 16px;
    }

    .cross{
        cursor: pointer;
        transition: transform 0.7s;
    }

    .cross:hover{
        transform: rotate(90deg);
    }

    .greyCard label{
        cursor: pointer;
        font-size: 16px;
        padding-right: 30px;
    }

    .greyCard label:after {
        height: 20px;
        width: 20px;
    }


    .rowRadio *{
        cursor: pointer;

    }

    .rowRadio label{
        margin-left: 10px;
    }

    form .red{
        font-size: 16px;
        width: 130px;
    }

    .photos p {
        font-size: 16px;
    }

    .photos div{
        height: 120px;
    }

    .photos label{
        font-size: 16px;
    }

    .photos label:after{
        height: 50px;
        width: 50px;
    }

    .part4 p{
        font-size: 16px;
    }

    .labelDateCircu{
        font-size: 16px;
    }

    #return{
        cursor: pointer;
    }
}