/*------------------------------------*\
    $Base / Version mobile
\*------------------------------------*/

/* Masquer la vidéo sur les petits écrans (mobiles) */
@media screen and (max-width: 767px) {
    #video-container {
        display: none;  /* Masque la vidéo */
    }

    main {
        opacity: 1;  /* Assure que le contenu principal est visible immédiatement */
        transition: opacity 1s ease-in-out;  /* Transition en fondu pour le contenu */
    }
}

/* Pour les écrans plus grands (PC) : vidéo visible et transition de contenu */
@media screen and (min-width: 768px) {
    #video-container {
        display: block;  /* La vidéo est visible sur PC */
    }

    main {
        opacity: 0;  /* Le contenu est caché au début */
        transition: opacity 1s ease-in-out;
    }
}

/* Le conteneur de la vidéo */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999; /* Assurez-vous que la vidéo soit au-dessus du contenu */
}
  
/* Vidéo en plein écran */
#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour que la vidéo remplisse l'écran sans déformation */
    opacity: 1;
    transition: opacity 1s ease-in-out; /* Transition de fondu pour la vidéo */
}



body {

    background-color: #ffb831;
}

header {
    background-size: 100%;
    display: flex;
}

footer {
    width: 100%;
    height: 375.867px;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #443000;
    margin-bottom: 0px;
    position: relative;
    background: linear-gradient(to bottom, #ffb831,#fff);
}

#footerblock {
    width: 100%;
    display: flex;
    gap: 10%;
}

#colonne1 {
    height: 345.867px;
    width: 36%;
    display: flex;
    flex-direction: column;
    margin-left: 5%;
}

#colonne1 img {
    margin-top: 66%;
    width: 250%;
}

#colonne1 p {
    text-align: center;
    position: relative;
    left: 28%;
    top: 16%;
}

#colonne2 {
    height: 345.867px;
    width: 45%;
    display: flex;
    flex-direction: column;
    position: relative;
    left: 25%;
    text-align: center;
}
#colonne2 h1 {
    font-size: 109%;
    margin-top: 25%;
}

.renderfooter {
    position: relative;
    left: -39%;
    height: 229px;
    top: 117px;
}
footer a {
    text-decoration: none;
    color: #3535db;
    font-size: 88%;
}

footer a:hover {
    color: #fa0000;
}

#derniereligne {
    display: flex;
    justify-content: center;
    height: 30px;
    background-color: #ffb831;
    color: white;
    font-size: 100%;
}

ul {
    list-style: none;
}

ul a {
    text-decoration: none;
}

.nav__link {
    color: black;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #f59701;
    border-radius: 50%;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 60% 60%;
}

.navbar-brand img {
    width: 50px;
    border-radius: 30%;
}

.navbar-brand2 img {
    width: 120px;
}

/*couleur fond nav*/
.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: #ffb831;
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
}
/*bouton rechercher*/
.btn.btn-outline-success {
  color: black;
}

.btn.btn-outline-success:hover {
    color: white;
}

.btn-outline-success {
    --bs-btn-color: #f59701;
    --bs-btn-border-color: #f59701;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #f59701;
    --bs-btn-hover-border-color: #f59701;
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #f59701;
    --bs-btn-active-border-color: #f59701;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f59701;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f59701;
    --bs-gradient: none;
}
.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
    background-color: #ffb831;
}

.presentation {
    width: 100%;
    height: 70px;
    color: #cc8600;
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, white,white 60%,#ffb831);
}

.presentation h1 {
    font-size: 80%;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-top: 3px;
}

.conteneurjeu1 {
    background-color: #ffb831;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5%;
}

.conteneurjeu2 {
    background-color: #ffb831;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.conteneurjeu3 {
    background-color: #ffb831;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.conteneurjeu4 {
    background-color: #ffb831;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.conteneurjeu5 {
    background-color: #ffb831;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.conteneurjeu6 {
    background-color: #ffb831;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.textjeux {
  background-color: #ffb831;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  color: white;
}

.textjeux h1 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 150%; 
}

.jeu {
    width: 40%;
    margin-left: 2%;
    border: solid 2px white;
    border-radius: 3px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: #a67820 1px 1px 5px;
}

.jeu:hover {
    transform: scale(1.05);
}


.jeu img {
    width: 100%;
}

.jeu h2 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
    font-size: 92%;
    text-align: center;
}

.jeu p {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
    font-size: 90%;
    text-align: center;
}

.degradecouleur {
    width: 100%;
    height: 70px;
    color: #cc8600;
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #ffb831,#00b6dd);
}

.orionblock img {
    width: 100%;
}

.carreorion p {
    width: 53%;
    background-color: #ffb831;
    font-size: 79%;
    height: auto;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 85%;
    left: 44%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    box-shadow: 1px 1px 1px #816329;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carreorion p:hover{
    transform: scale(1.05);
}

.orionblock h1 {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 115%;
    width: 75%;
    display: flex;
    justify-content: center;
    top: -8%;
    position: absolute;
    left: 5%;
}

.orionblock {
    background-color: #00b6dd;
    color: white;
    position: relative;
}

.titre{
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 110%;
    color: white;
    display: flex;
    justify-content: center;
}

.resultatrecherche {
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 110%;
    color: #443000;
    display: flex;
    margin-left: 2%;
    margin-top: 6px;
  }
.titrerecherche {
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 171%;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.titrerecherche img {
    width: 60%;
    display: flex;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 19px;
}

.titreformulaire {
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 171%;
    color: white;
    display: flex;
    justify-content: center;
}

tr {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #443000;
}

tr:hover {
    background-color: #ffd88e;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 100%;
    color: white;
    margin-top: 6%;
    margin-bottom: 3px;
}

#texte {
    border-radius: 6px;
}
.form-group {
    display: flex;
    margin-bottom: 10px;
}

.form-group .btn {
    margin-top: 20px;
    box-shadow: #443000 1px 1px 3px;
    color: #443000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-group .btn:hover {
    box-shadow: #ffffff 1px 1px 3px;
    color: #ffffff;
    transform: scale(1.05);
}

.form-group-age {
    display: flex;
    margin-bottom: 10px;
    margin-left: 8%;
}

.form-group-jeu {
    display: flex;
    margin-bottom: 10px;
    margin-right: 9%;
}

#prenom {
    border-radius: 6px;
}

#age {
    border-radius: 6px;
}

.degradecouleur2 {
    width: 100%;
    height: 70px;
    color: #cc8600;
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #ffb831,#2354f3);
}

.degradecouleur3 {
    width: 100%;
    height: 130px;
    color: #cc8600;
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #ffb831,#75cffc);
}

.retour {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 119%;
    color: #3535db;
    margin-left: 2%;
}

.retour a {
    text-decoration: none;
}
.retour :hover{
    color: #fa0000;
}

.tables {
    display: flex;
    margin: 0 auto;
    align-items: center;
    flex-direction: column;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 119%;
    color: #3535db;
}

.tables a:hover {
    color: #fa0000;
}

.tables a {
    margin-bottom: 1%;
    margin-top: 30px;
}  

table {
    margin: 0 auto;
    width: 99%;
}

#ajouter a {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 119%;
    color: #3535db;
}

#ajouter {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 119%;
}

select {
    margin-bottom: 15px;
}
/*------------------------------------*\
        / Version pc
\*------------------------------------*/
@media screen and (min-width: 577px) {
    body {
        width:100%;
    }
    .container-fluid {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        gap: 22%;
    }
    .carousel-control-next-icon, .carousel-control-prev-icon {
        display: inline-block;
        width: 60%;
        height: 15%;
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 60% 60%;
    }
    .carousel-indicators [data-bs-target] {
        box-sizing: content-box;
        flex: 0 1 auto;
        width: 19%;
        height: 5px;
        padding: 0;
        margin-right: 3px;
        margin-left: 3px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #fff;
        background-clip: padding-box;
        border: 0;
          border-top-width: 0px;
          border-top-style: none;
          border-top-color: currentcolor;
          border-bottom-width: 0px;
          border-bottom-style: none;
          border-bottom-color: currentcolor;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        opacity: .5;
        transition: opacity .6s ease;
    }
    .presentation {
        width: 100%;
        height: 110px;
        color: #cc8600;
        display: flex;
        justify-content: center;
        text-align: center;
        background: linear-gradient(to bottom, white,white 60%,#ffb831);
    }
    .presentation h1 {
        font-size: 140%;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        margin-top: 2%;
    }
    .textjeux {
        background-color: #ffb831;
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        color: white;
    }
    .textjeux h1 {
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 300%;
    }
    .jeu h2 {
        font-family: "Lato", sans-serif;
        font-weight: 700;
        font-style: normal;
        color: white;
        font-size: 150%;
        text-align: center;
    }
    .jeu p {
        font-family: "Lato", sans-serif;
        font-weight: 700;
        font-style: normal;
        color: white;
        font-size: 120%;
        text-align: center;
    }
    .degradecouleur {
        width: 100%;
        height: 130px;
        color: #cc8600;
        display: flex;
        justify-content: center;
        text-align: center;
        background: linear-gradient(to bottom, #ffb831,#00b6dd);
    }
    .degradecouleur2 {
        width: 100%;
        height: 130px;
        color: #cc8600;
        display: flex;
        justify-content: center;
        text-align: center;
        background: linear-gradient(to bottom, #ffb831,#2354f3);
    }
    .degradecouleur3 {
        width: 100%;
        height: 130px;
        color: #cc8600;
        display: flex;
        justify-content: center;
        text-align: center;
        background: linear-gradient(to bottom, #ffb831,#75cffc);
    }
    .orionblock h1 {
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 357%;
        width: 75%;
        display: flex;
        justify-content: center;
        top: -7%;
        position: absolute;
        left: 4%;
    }
    .carreorion p {
        width: 53%;
        background-color: #ffb831;
        font-size: 274%;
        height: auto;
        display: flex;
        justify-content: center;
        position: absolute;
        top: 85%;
        left: 44%;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        box-shadow: 1px 1px 1px #816329;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #colonne1 {
        height: 345.867px;
        width: 36%;
        display: flex;
        flex-direction: column;
        margin-left: 7%;
    }
    #colonne1 img {
        margin-top: 25%;
        width: 87%;
        position: relative;
    }
    #colonne1 p {
        text-align: start;
        font-size: 111%;
        position: relative;
        left: -6%;
    }
    #colonne2 h1 {
        font-size: 222%;
        margin-top: 29%;
    }
    footer a {
        text-decoration: none;
        color: #3535db;
        font-size: 121%;
    }
    .renderfooter {
        position: relative;
        left: -40%;
        height: 248px;
        top: 98px;
    }
    #derniereligne {
        display: flex;
        justify-content: center;
        height: 30px;
        background-color: #ffb831;
        color: white;
        font-size: 124%;
    }
    .titreformulaire {
        width: 100%;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 300%;
        color: white;
        display: flex;
        justify-content: center;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 150%;
        color: white;
        margin-top: 3%;
        margin-bottom: 3px;
    }
    .form-group-age {
        display: flex;
        margin-bottom: 10px;
        margin-left: 45px;
    }
    .form-group .btn {
        margin-top: 20px;
        box-shadow: #443000 1px 1px 3px;
        color: #443000;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        font-size: 100%;
    }
    .titrerecherche {
        width: 100%;
        font-family: "Lato", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 300%;
        color: white;
        display: flex;
        justify-content: center;
    }
    .titrerecherche img {
        width: 30%;
        display: flex;
        margin: 0 auto;
        margin-top: 10px;
        border-radius: 38px;
    }
    .form-group-jeu {
        display: flex;
        margin-bottom: 10px;
        margin-right: 4%;
    }
}