*{margin:0;padding:0;scroll-behavior: smooth}

@font-face {
    font-family: 'Poppins';
    src: url("../font/Poppins/Poppins-Medium.ttf");
}


@font-face{
    font-family: 'Franchise';
    src: url("../font/franchise/Franchise-Free-Bold.ttf");
}
body{
    color: #10293C;
    font-family: 'Poppins';
    background-color: #FBFBFD;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: inherit;
}
.ul_visible{
    display: none;
}
span{
    color: #F39C12;
}
#active{
    color: white;
}
input{
    outline: none;
}

.alert{
    padding: 1em;
    margin-top: 1vh;
    border-radius: 0.7vh;
    margin-bottom: 4vh;
}
.danger{
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}
.success{
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* ###########
    NAV
########## */
#burger{
    display: none;
}
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 18vh;
    background-color: #F39C12;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Franchise';
    text-transform: uppercase;
    z-index: 9999;
}
nav div{
    width: 50%;
    margin-left: 20%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav a{
    width: 10%;
    margin-left: 10%;
    font-size: 1.3em;
}
nav a{
    position: relative;
}
nav a:hover{
  color: white;
  transition: 0.2s;
}
nav ul a:hover:not(#main_menu){
    color: orange;
    transition: 0.2s;
}
nav ul#main_menu:hover{
    color: white;
    transition: 0.2s;
}
nav ul{
    list-style-type: none;
    margin-left: 10%;
}
nav div > ul > li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav div > ul > li img{
    margin-left : 1em;
    cursor: pointer;
    padding: 3vh 0;
}
nav ul ul{
    display: none;
    position: absolute;
    top: 12vh;
    width: auto;
    margin: 0;
    background-color: white;
    border-radius: 0.5vh;
    font-size: 0.9em;
    padding: 1em 0;
    line-height: 2.2em;
}
nav ul:hover ul{
    display: block;
}
nav ul ul li a#active{
    color: #F39C12;
}
nav a img{
    width: 70%;
}


/* ###########
    HEADER
########## */

header{
    height: 60vh;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: 100% 10%;
    background-color: #929292 !important;
    background-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 13vh;
}

.dark{
    width: 50%;
    height: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0.8967787798713235) 0%, rgba(0,0,0,0.11806729527748594) 100%);
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
}

.dark .info{
    width: 80%;
    margin: auto;
}
.dark .info h1{
    font-weight: 400;
}
.dark .info p{
    font-size: 0.8em;
    opacity: 0.7;
}

.dark a{
    margin-top: 5vh;
    border: none;
    border-radius: 1vh;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: #2A2A34;
    padding: 1vh 2vh;
    font-size: 1em;
    cursor: pointer;
    background-color: white;
}
.dark a img{
    margin-right: 1vw;
}

header .center h1{
    text-align: center;
    width: 100%;
    font-size: 1.7em;
    color: white;

}

.icon{
    /* width: 70%; */
    margin-top: 5vh;
    display: flex;
    justify-content: center;
}
.icon a{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 600;
    padding: 1vh 1em;
    background: #154467;
    min-height: 6vh;
    border-radius: 4em;
    color: white;
    font-size: 0.9em;
    margin: 0 1em;
}
.icon.baisse{
    margin-top: calc(5vh + 8px);
}
.icon a img{
    width: 2em;
    margin-right: 1em;
    margin-left: 0;
}
header .icon a:nth-child(2){
    background: white; 
    color: #154467;
}
/* ###########
    HOME
########## */
article{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10vh;
    flex-wrap: wrap;
}
.genres{
    display: flex;
    justify-content: space-around;
    width: 70%;
    margin: 3vh auto;
    font-size: 1.1em;
    
}
.genres strong{
    border-bottom: 4px solid transparent;
}
.genres strong:hover{
    border-color: #F39C12;
    cursor: default;
    transition: 0.3s;
    
}
article#blue{
    background-image: url('../img/background.svg');
    background-size: cover;
    height: 70vh;
    padding-top: 10vh;
}
article#blue p{
    color: white;
    font-weight: lighter;
}
article#learn{
    width: 90%;
    margin: 10vh auto;
    justify-content: space-between;
    align-items: flex-start;
}
article#learn h3{
    width: 100%;
    margin-bottom: 4vh;
    text-align: center;
}
article#learn p{
    width: 45%;
    text-align: justify;
}

article#cards{
    justify-content: center;
    align-items: stretch;
}
article#cards h2{
    text-align: center;
}

.card h4{
    margin-top: 3vh;
    font-size: 1.3em;
    font-style: italic;
}
.card h5{
    color: #747A84;
    font-size: 1em;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 3vh;
}
.card{
    width: 30%;
    text-align: center;
    position: relative;
    padding-bottom: 10vh;
    margin: 0 2%;
    box-shadow: 0 5px 45px 5px rgba(0, 0, 0, 0.13);
}

.card .header{
    /* height: 30vh; */
    width: 100%;
    padding-bottom: 0;
    margin: 0;
}
.card .header img{
    height: 100%;
    width: 100%;
    margin: 0;
}
.card a{
    border: 3px solid #1DA757;
    border-radius: 1vh;
    padding: 1vh;
    color: #1DA757;
    font-weight: 600;
    text-align: center;
    display: block;
    position: absolute;
    bottom: 2vh;
    width: 50%;
    left: 25%;
}
.card p{
    width: 80%;
    margin: auto;
    font-weight: 300;
    padding-bottom: 5vh;
}
.card p b{
    font-weight: 500;
}
article h2{
    color: #F39C12;
    margin-bottom: 3vh;
    width: 100%;
}
article img{
    width: 20%;
    margin-left: 10%;
}
article section{
    width: 55%;
}

/* ### CAROUSSEL ## */

#carousel {
    position: relative;
    width:60%;
    margin:0 auto;
    margin-bottom: 5vh;
    }
    
    #slides {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 250px;
    }
    
    #slides ul {
    list-style: none;
    width:100%;
    height:250px;
    margin: 0;
    padding: 0;
    position: relative;
    }
    
     #slides li {
    width:100%;
    height:250px;
    float:left;
    text-align: center;
    position: relative;
    font-family:lato, sans-serif;
    }
    /* Styling for prev and next buttons */
    .btn-bar{
        max-width: 346px;
        margin: 0 auto;
        display: block;
        position: relative;
        top: 40px;
        width: 100%;
    }
    
     #buttons {
    padding:0 0 5px 0;
    float:right;
    }
    
    #buttons a {
    text-align:center;
    display:none;
    font-size:50px;
    float:left;
    outline:0;
    margin:0 60px;
    color:#154467;
    text-decoration:none;
    padding:9px;
    width:35px;
    }
    
    .quote-phrase, .quote-author {
    font-family:sans-serif;
    font-weight:300;
    display: table-cell;
    vertical-align: middle;
    padding: 5px 20px;
    font-family:'Lato', Calibri, Arial, sans-serif;
    }
    
    .quote-phrase {
    height: 200px;
    font-size:24px;
    color:#10293C;
    font-style:italic;
    }
    
    .quote-marks {
    font-size:30px;
    padding:0 3px 3px;
    position:inherit;
    }
    
    .quote-author {
    font-style:normal;
    font-size:20px;
    color:#F39C12;
    font-weight:400;
    height: 30px;
    }
    
    .quoteContainer, .authorContainer {
    display: table;
    width: 100%;
    }
    

/* ###########
    catalogue
########## */
.white{
    position: absolute;
    width: 100%;
    height: 40vh;
    background-color: white;
    z-index: -30;
}
article#catalogue{
    width: 100%;
    margin: 0;
    position: relative;
    display: flex;
    align-items: inherit;
    text-align: center;
}
article#catalogue img#background_produit{
    width: 40%;
    height: 100vh;
    float: left;
    margin: 0;
}
article#catalogue img#background_produit:nth-child(2){
    width: 60%;
}
article#catalogue section{
    position: absolute;
    top: 10vh;
    left: 0;
    width: 50%;
    height: 100%;
}
article#catalogue section:last-child{
    left: 50%;
}

article#catalogue section .rectangle .line{
    height: 25vh;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#backserie{
    padding-top: 35;
}
article#catalogue section .rectangle .line div{
    width: 20%;
}
article#catalogue section .rectangle .line div img{
    width: 50%;
    margin: auto;
}
article#catalogue section .rectangle .line img#backserie{
    width: 80%;
    margin: 0 auto;
}
article#catalogue section .rectangle div h4{
    font-size: 0.7em;
}
article#catalogue section:nth-child(2) div{
    color: white;
}
article#catalogue section .rectangle h3{
    height: 6vh;
    width: 80%;
    margin: auto;
    padding-bottom: 1em;
}
article#catalogue section .rectangle p{
    height: 4vh;
    width: 80%;
    margin: auto;
}
article#catalogue section a{
    min-width: 40%;
}
article#catalogue section:last-child .rectangle{
    color: white;
}
article#catalogue section:last-child a{
    background-color: white;
    color: #154467;
} 
article#catalogue img.check-catalogue{
    width: 1em;
    margin-right: 1vh;
    margin-left: -1vh;
}
article#catalogue .icon{
    position: absolute;
    bottom: 20vh;
    left: 29%;
    margin: 0;
    z-index: 99;
}


/* ###########
    FORMATION
########## */
article#formation{
    width: 90%;
    margin: 5vh auto;
    justify-content: center;
    align-items: stretch;
}
article#formation h3{
    width: 100%;
    margin-bottom: 5vh;
}
article#formation .card{
    width: 25%;
    margin-top: 10vh;
    border-radius: 1vh;
}
article#formation .card h4{
    margin-bottom: 5vh;
    font-style: normal;
}
article#formation .card h5{
    width: 90%;
    margin: auto;
    font-style: normal;
    font-weight: normal;
}

article#formation .card a{
    box-sizing: border-box;
    width: 80%;
    left: 10% !important;
}
article#formation .card img{
    border-radius: 1vh 1vh 0 0;
}

/* ###########
    WEBSERIE
########## */

article#webserie{
    width: 90%;
    margin: 10vh auto;
}
article#webserie h3{
    margin-top: 10vh;
    width: 100%;
}
article#webserie iframe{
    width: 100%;
}
article#webserie #watch_youtube{
    background: #1a1a1a;
    display: flex;
    align-items: center;
    border-radius: 1vh; 
    color: white;
    padding: 1em 2em;
    margin-top: 5vh;
}
article#webserie #watch_youtube img{
    width: 3em;
    margin: 0;
    margin-right: 1em;
    border-radius: 2em;
}

article#webserie .episode{
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 3vh auto;
    background-color: #154467;
    color: white;
    position: relative;
    border-radius: 1vh;
    justify-content: space-evenly;
    padding: 3vh 0;
    cursor: pointer;
}

article#webserie .episode .number{
    width: 5%;
    text-align: center;
    font-size: 2em;
}
article#webserie .episode img{
    width: 15%;
    margin: 0;
}

article#webserie .episode .desc{
    width: 60%;
}
article#webserie .episode .duration{
    position: absolute;
    right: 1em;
    top: 1vh;
}
article#webserie .episode:nth-child(odd){
    background-color: #10293C;
}

.modale-background{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.6;
    z-index: 99999;
    display: none;
}
.modale{
    display: none;
    transition: 1s;
    position: fixed;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    z-index: 999999;
    border: 5px solid white;
}
.modale .close{
    position: absolute;
    top: -1em;
    left: -1em;
    background: black;
    border-radius: 1em;
    padding: 1vh;
    cursor: pointer;
}
.modale iframe{
    width: 100%;
    height: 100%;
}


/* ###########
    CONNEXION
########## */
article#connexion,
article#inscription{
    margin: 20vh 0;
}
article#inscription section div{
    position: relative;
}
article#inscription section span.reduction{
    position: absolute;
    right: 0;
    top: 0;
    color: white;
    background-color: red;
    padding: 1vh;
}
article#connexion form{
    width: 30%;
    box-shadow: 0 5px 45px 5px rgba(0, 0, 0, 0.13);
    padding: 2em;
    border-radius: 1vh;
}
article#connexion form h2,
article#inscription form h4{
    text-align: center;
    margin-bottom: 5vh;
}
article#connexion form label,
article#connexion form input,
article#connexion form a,
article#inscription form label,
article#inscription form input,
article#inscription form a{
    width: 80%;
    display: block;
    margin: auto;
    text-indent: 0;
}
article#connexion form label,
article#inscription form label{
    font-weight: 600;
    font-size: 0.7em;
}
article#connexion form input,
article#inscription form input{
    border: 1px solid black;
    border-radius: 2em;
    padding: 1.5vh;
    box-sizing: border-box;
    display: block;
    margin-bottom: 3vh;
}
article#connexion form a,
article#inscription form a{
    font-size: 0.6em;
    text-decoration: underline;
    text-align: right;
    display: block;
    font-weight: 600;
}
article#connexion form a:last-of-type{
    text-align: left;
    font-size: 0.8em;
}

article#connexion form input[type="submit"],
article#inscription form input[type="submit"]{
    width: 80% !important;
    margin-top: 3vh !important;
    margin-bottom: 3vh !important;
}

article#connexion input[type="checkbox"]
{
    width: 5%;
    margin: 0;
}
/* ###########
    INSCRIPTION
########## */

article#inscription{
    justify-content: space-evenly;
}
article#inscription section,
article#inscription form{
    width: 30%;
}

article#inscription section div,
article#inscription form{
    box-shadow: 0 5px 45px 5px rgba(0, 0, 0, 0.13);
    padding: 2em;
    border-radius: 1vh;
    text-align: center;
}
article#inscription section div h2{
    font-size: 1.2em;
    font-weight: 600;
    color: inherit;
    width: 60%;
    margin: auto;
    border-bottom: 3px solid #F39C12;
    margin-bottom: 3vh;
}
article#inscription p#prix{
    font-size: 1.5em;
    position: relative;
}
article#inscription p#prix.old{
    opacity: 0.6;
    position: relative;
}

p#prix img{
    position: absolute;
    left: 5%;
    bottom: 0;
    width: 70%;
}
article#inscription span{
    display: block;
    text-align: center;
    font-size: 1.8em;
    font-weight: 600;
    margin: 3vh 0;
}
article#inscription p#prix span{
    margin: 0;
    display: inline;
    font-size: 2em;
    color: inherit;
    font-weight: 600;
}
article#inscription p#asterix{
    text-align: right;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 3vh;
}
article#inscription h3{
    text-align: left;
    font-size: 1em;
}   
article#inscription h3 img{
    width: 1em;
    margin: 0 1em 0 0;
}
article#inscription form{
    text-align: left;
}
article#inscription form h4{
    color: #F39C12;
    font-size: 1.2em;
}
article#inscription form p{
    font-size: 0.8em;
    margin-bottom: 3vh;
}










/* ###########
    CONTACT
########## */
article#contact{
    display: block;
    margin: 0;
}
article#contact form,
article#contact iframe{
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: 8%;
}
article#contact p{
    margin-bottom: 5vh;
}
article#contact form input,
article#contact form label,
article#contact form textarea{
    width: 100%;
    border: none;
    background-color: inherit;
    font-family: inherit;
    font-size: inherit;
}
article#contact form input{
    border-bottom: 1px solid grey;
    margin-bottom: 2vh;
}
article#contact form label{
    font-weight: 300;
    font-size: 0.8em;
}
article#contact form input[type="submit"],article#connexion form input[type="submit"],
article#inscription form input[type="submit"]{
    background: #10293C;
    color: white;
    border-radius: 3em;
    border: none;
    padding: 1vh 0;
    width: 30%;
    display: block;
    margin: auto;
}
article#contact iframe{
    height: 100vh;
}
/* ###########
    FOOTER
########## */
footer{
    clear: both;
    background: #F39C12;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}
footer div{
    width: 30%;
    font-size: 0.8em;
    height: 70%;
    text-align: center;
}
footer div:last-child{
    text-align: right;
}
footer div img{
    width: 2em;
    margin: 1em;
}

/* ###########
    HOVER
########## */
input[type="submit"]:hover,
footer div img:hover,
.card:hover,
.icon a:hover,
article#inscription section div:hover,
article#inscription form:hover{
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.20);
    transition: 0.2s;
}
footer p:hover,
footer a:hover{
    font-weight: bold;

}

/* ## STRIPE ## */
.StripeElement {
    box-sizing: border-box;
  
    height: 40px;
  
    padding: 10px 12px;
  
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: white;
  
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
  }
  
  .StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
  }
  
  .StripeElement--invalid {
    border-color: #fa755a;
  }
  
  .StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}


#payment-form button{
    background: #32325d;
    padding: 1vh;
    border-radius: 3px;
    color: white;
    border: none;
    display: block;
    margin: 3vh auto;
    font-weight: bold;
    cursor: pointer;
}
.bloc-choix{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5vh;
}

.choix{
    border: 1px solid black;
    display: flex;
    align-items: center;
    width: 45%;
    text-align: center;
    padding: 1vh;
    border-radius: 1vh;
    cursor: pointer;
}
.choix input,
.choix label{
    margin: 0 !important;
}
.choix input{
    width: 1em !important;
}
.choix label{
    width: 80%;
}

button.payer{
    display: block;
    margin: auto;
    border: none;
    padding: 1vh;
    border-radius: 1vh;
    font-weight: bold;
    background: #154467;
    color: white;
    cursor: pointer;
}

.form-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 40%;
}
.form-container form{
    width: 40%;
}
.form-container h4{
    width: 100%;
    margin-bottom: 5vh;
}
.form-container form button{
    background: #10293C;
    color: white;
    border-radius: 3em;
    border: none;
    padding: 1vh 2vh;
    display: block;
    margin: auto;
    cursor: pointer;
    font-weight: bold;
}
.form-container form p{
    margin-bottom: 0 !important;
    text-align: center;
}

.form-container form button:hover{
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.20);
    transition: 0.2s;
}