/************************************************
COMMUN
*************************************************/

ul {
    list-style: none inside none !important;
}

a {
    text-decoration: none !important;
    font-family: "Orbitron", sans-serif;
}

.off-screen-menu {
    display: none;
}


body {
    background-color: #1B1B1B !important;
}




/************************************       
FLAF
***************************************/
.presentation-title h2 {
    text-align: center;
}

.row-formulaire-2 {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
}

.formulaire-flaf {
    background: url(../images/flafbackground.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: none;
    font-family: "Orbitron", sans-serif;
    color: white;
    font-weight: bold;
    font-size: larger;
    border-radius: 2rem;
}

.voile-noire {
    background-color: #2a2a2a55;
    padding: 2rem;
    box-shadow: 0 0 8px var(--white-color), inset 0 0 8px var(--white-color), 0 0 16px #5eba47, inset 0 0 16px #5eba47, 0 0 32px #5eba47, inset 0 0 32px #5eba47 !important;
}


.animate-form {
    display: block;
    animation: fflapf 2s ease-in-out;
}

@keyframes fflapf {
    0% {
        transform: translateX(100%) scaleX(0.7) scaleY(0.7) scaleZ(0.7);
    }

    100% {
        transform: translateX(0) scaleX(1.0) scaleY(1.0) scaleZ(1.0);
    }
}


.flaf-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
}

.flaf-form,
.flaf-form-2 {
    flex: 49% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.flaf-form textarea,
.flaf-form-2 textarea {
    width: 500px;
    padding: 1rem;
    margin: 0rem 2rem 1.5rem 2rem;
}

.flat-form textarea {
    margin-right: 1rem;
}

.flat-form-2 textarea {
    margin-left: 1rem;
}

.flaf-form input,
.flaf-form-2 input,
.flaf-form select,
.flaf-form-2 select {
    height: 2rem;
    padding: 5px;
    width: 300px;
    margin-bottom: 1.5rem;
    border: none;
    text-align: center;
}


#bouton-12 {
    text-align: center;
    width: 20%;
    padding: 1rem;
    border-radius: 12rem;
    border: 4px solid white;
    font-family: "Orbitron", sans-serif;
}

.bouton-1 {
    padding: 1rem;
}

.bouton-1:hover,
.bouton-2:hover,
#bouton_envoyer:hover {
    cursor: pointer;
}

#bouton_envoyer {
    margin-top: 1rem;
    font-family: "Orbitron", sans-serif;
    padding: 1rem;
    border-radius: 2rem;
}

.flaf-logo {
    animation: footer 10s linear;
    animation-iteration-count: infinite;
}

/****** ANIMATION VIDEO ****/

.video-fade-in {
    animation: arrivefondu 1s ease-out forwards;
}

@keyframes arrivefondu {
    0% {
        opacity: 0;
        transform: scale(0.8);

    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/**********************************************************
AJOUT & AMELIORATION HOVER CSS / ANIMATION FORMULAIRE
********************************************************/
/*

Pour cette partie du code, nous avons utilisé plusieurs parties d'un modèle présent sur ce site : https://freefrontend.com/css-hover-effects/
Plus précisement, les effets Hover présent sur cette page Code-Pen qui ont été malgré tout retoucher pour mieux correspondre à ce qu'on
recherchait : https://codepen.io/t_afif/pen/poawLeQ et https://codepen.io/t_afif/pen/JjrNroB

*/
input:focus {
    outline: none;
}

/****************************
4 premiers champs input & select 
********************************/
/*
#nom,
#prenom,
#email {
    padding-bottom: 1rem !important;
}

#nom {
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: white;

    --c: linear-gradient(#3E78D2 0 0);
    padding-bottom: .15em;
    background: var(--c), var(--c);
    background-size: 7.5em 0.2em;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    transition: .3s linear, background-size .3s .2s linear;
}

#nom:focus {
    background-size: 80% .2em;
    background-position: 10% 100%, 90% 100%;
}

#prenom {
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: white;

    --c: linear-gradient(#cbcbcb 0 0);
    padding-bottom: .15em;
    background: var(--c), var(--c);
    background-size: 7.5em 0.2em;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    transition: .3s linear, background-size .3s .2s linear;
}

#prenom:focus {
    background-size: 80% .2em;
    background-position: 10% 100%, 90% 100%;
}

#email {
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: white;

    --c: linear-gradient(#EF3D76 0 0);
    padding-bottom: .15em;
    background: var(--c), var(--c);
    background-size: 7.5em 0.2em;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    transition: .3s linear, background-size .3s .2s linear;
}

#email:focus {
    background-size: 80% .2em;
    background-position: 10% 100%, 90% 100%;

}

#test-1 {
    margin-top: 5px;
}

#plateforme {
    outline: none;

    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #FEBB44;
    background-color: #0000;
} */


/* CHAMP EN COMMENTAIRE PARCE QUE ON UTILISE BOOSTRAP */



/****************************
TEXTAREA
********************************/

#avis,
#recommandations {
    outline: none;
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    font-weight: 300;

    --c: #3f7b35;
    --b: .1em;
    --d: 20px;
    --_s: calc(var(--d) + var(--b));
    color: black;
    border: solid #0000;
    border-width: var(--b) var(--b) var(--_s) var(--_s);
    background: conic-gradient(at left var(--d) bottom var(--d), #ffffff 90deg, rgb(255 255 255 / 0.3) 0 225deg, rgb(255 255 255 / 0.6) 0) border-box, conic-gradient(at left var(--_s) bottom var(--_s), #0000 90deg, var(--c) 0) 0 100% / calc(100% - var(--b)) calc(100% - var(--b)) border-box;
    transform: translate(calc(var(--d) / -1), var(--d));
    clip-path: polygon(var(--d) 0%, var(--d) 0%, 100% 0%, 100% calc(100% - var(--d)), 100% calc(100% - var(--d)), var(--d) calc(100% - var(--d)));
    transition: 1s;
}

#avis:focus,
#recommandations:focus {
    transform: translate(0, 0);
    clip-path:
        polygon(0% var(--d),
            var(--d) 0%,
            100% 0%,
            100% calc(100% - var(--d)),
            calc(100% - var(--d)) 100%,
            0% 100%);
}



/*********************
RGPD
*******************/

.important {
    color: #fffb05;
}

.important:hover {
    cursor: pointer;
    text-decoration: underline;
}

#bouton_envoyer:hover {
    color: white;
    background-color: black;
    border-color: white;
}

/****************************************
                ANIMATION BOUTON 
*******************************************/

.glissade-droite {
    animation: glissade-right 5s ease-out forwards;
}

.glissade-gauche {
    animation: glissade-left 5s ease-out forwards;
}


@keyframes glissade-right {
    0% {
        display: none;
        transform: translateX(200%) scaleX(0.7) scaleY(0.7) scaleZ(0.7);
    }

    10% {
        display: none;
    }

    100% {
        display: block;
        transform: translateX(0) scaleX(1.0) scaleY(1.0) scaleZ(1.0);
    }
}

@keyframes glissade-left {
    0% {
        display: none;
        transform: translateX(-200%) scaleX(0.7) scaleY(0.7) scaleZ(0.7);
    }

    10% {
        display: none;
    }

    100% {
        display: block;
        transform: translateX(0) scaleX(1.0) scaleY(1.0) scaleZ(1.0);
    }

}

/*********************
KART FREEDY
*********************/

.pixelf {
    width: 5%;
    position: absolute;
    top: 1px;
    left: 450px;
    animation: vroum 4s 5s forwards;
}

.leftpixelf {
    width: 5%;
    position: absolute;
    top: -5px;
    left: 715px;
    animation: leftvroum 4s 5s forwards;
}

@keyframes vroum {
    0% {
        display: block;
    }

    100% {
        display: none;
        left: -400px;
    }
}

@keyframes leftvroum {
    0% {
        display: block;
    }

    100% {
        display: none;
        left: 1300px;
    }
}


/*********************
LIVRE OUVRABLE

NOUS NOUS SOMMES INSPIRÉ DE CETTE VIDEO QUE NOUS AVONS ADAPTÉ / https://www.youtube.com/watch?v=9CAqojHY42o&t=
*********************/

.video-anim {
    display: flex;
    justify-content: center;
}

.card {
    position: relative;
    width: 350px;
    height: 450px;
    background-color: #000000;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.4);
    transform: perspective(2000px) rotateZ(0);
    transform-style: preserve-3d;
    transition: all 1s ease;
}

.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rebeccapurple;
    border-radius: 10px;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: all 2s ease;
    z-index: 5;
}

.card img {
    width: 100%;
    border-radius: 1rem;
    height: 100%;
}


.ajout-1 {
    transform: perspective(2000px) rotateZ(-90deg);
}


.ajout-2 {
    transform: rotateY(-135deg);
}

.test-4 {
    transform: rotate(90deg);
    position: relative;
    left: -25px;
    top: 100px;
    width: 440px;
}