/*STYLES DE LA PAGE D'ACCUEIL*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*BOUTON POUR REMONTER LA PAGE*/

.home {
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 6;
}

.home a {
    font-size: 2rem;
    margin: 0px;
    list-style: none;
}

.home i {
    color: #950101;
}

.home i:hover {
    color: #ff0606;
    transition: 1s;
}

/*APPARITION AU DÉFILEMENT*/

.reveal {
    transform: translateY(30px);
    opacity: 0;
}


.reveal-visible {
    transform: translateY(0);
    opacity: 1;
    transition: 1s cubic-bezier(.5, 0, 0, 1);
}


/*SCROLL BAR*/

.scrollbar {
    position: fixed;
    bottom: 0;
    background: linear-gradient(46.68deg, #950101, #ff0606);
    height: 8px;
    border-radius: 0px 50px 50px 0px;
}


/*PAGE D'ACCUEIL*/

.introduction {
    background-color: black; /*pour éviter les erreurs de contraste*/
    background-image: url('images/home.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    height: 92vh;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.introduction h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    font-family: "Lacquer", sans-serif;
}

.introduction p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.book {
    background-color: #950101;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.book:hover {
    background-color: #ff0606;
}


.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 30px;
    display: block;
    text-align: center;
    font-size: 2rem;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 35px;
    height: 35px;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    z-index: 9;
    left: 50%;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation: fade_move_down 4s ease-in-out infinite;
    animation: fade_move_down 4s ease-in-out infinite;
}


/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }


    50% {
        opacity: 1;
    }


    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}


@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }


    50% {
        opacity: 1;
    }


    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}


@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }


    50% {
        opacity: 1;
    }


    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}


/*SECTION PRÉSENTATION*/

.presentation {
    padding: 15px;
    padding-bottom: 0;
}

.txt_presentation {
    max-width: 1200px;
    padding: 0 20px;
    font-size: 1rem;
    border-left: 5px solid #3D0000;
    background-color: #F6F5F2;
    display: flex;
    justify-content: space-around;
    margin: auto;
}

.info {
    max-width: 600px;
}

.txt_presentation li a {
    color: #000;
    margin: 0;
    font-size: 1rem;
    text-decoration: none;
}

.txt_link {
    color: black;
    font-weight: bold;
}

.txt_presentation li a:hover {
    text-decoration: underline;
}

.txt_presentation h2 {
    margin-bottom: 0;
    margin-left: 15px;
}

.js-slider {
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
    color: white;
    margin: auto;
}

.js-photos {
    position: relative;
    display: flex;
    width: max-content;
    transition: left 0.3s ease;
    left: -600px;
}

.js-photo {
    flex-shrink: 0;
    position: relative;
    width: 600px;
    height: 400px;
}

.pirate {
    background-image: url(images/slider-pirate.jpeg);
    background-size: cover;
    background-position: center;
}

.spy {
    background-image: url(images/slider-spies.jpeg);
    background-size: cover;
}


.library {
    background-image: url(images/slider-library.jpeg);
    background-size: cover;
    background-position: center;
}

.circus {
    background-image: url(images/slider-circus.jpeg);
    background-size: cover;
}

.jungle {
    background-image: url(images/slider-jungle.jpeg);
    background-size: cover;
    background-position: center;
}

.js-navigation {
    position: absolute;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.js-btn-decale-droite,
.js-btn-decale-gauche {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #950101;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 2px white;
    cursor: pointer;
}

.js-btn-decale-gauche {
    left: initial;
    right: 0;
}


.container_presentation {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
    color: white;
}

.intro_darkred {
    max-width: 300px;
    background-color: #3D0000;

}

.intro_red {
    max-width: 300px;
    background-color: #950101;
}

p {
    font-size: 1.2em;
    padding: 15px;
}

.container_presentation h3 {
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
}

.container_presentation i {
    font-size: 5rem;
    margin-top: 25px;
}

/*SECTION FAQ*/

details {
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 0.5rem 0.5rem 0.5rem;
    margin-bottom: 20px;
    color: white;
    overflow: hidden;

}

details[open] {
    padding: 0.5em;
}

details[open] summary {
    border-bottom: 1px solid #ffffff;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

summary {
    position: relative;
    font-weight: bold;
    color: white;
}

summary::marker {
    content: none;
}

summary::before,
summary::after {
    content: '';
}

summary::before,
summary::after {
    width: .75em;
    height: 0;
    border-bottom: 2px solid;
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    transform: translateY(-50%);
}

summary::after {
    transform: rotate(90deg);
    transform-origin: 50% 50%;
}

[open] summary::after {
    transform: rotate(0deg);
}


.faq {
    background-color: #3D0000;
    padding: 20px 0;
}


.accordeon {
    margin: 0 auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.faq-title {
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 2.2rem;
    text-align: center;
    color: white;
}

/*SECTIONS NOUVEAUTÉS & OPTIONS*/

.concept-title {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.title-line {
    width: 100%;
    border-bottom: 2px solid #000;
}

.concept-cards h3 {
    background-color: #3D0000;
    border: solid white;
    padding: 15px;
    font-size: 1.3rem;
    width: 200px;
    margin: 0;
    position: relative;
    bottom: 40px;
    color: white;
    text-align: center;
}

/*certains bouts de code sont sur la feuille de style générale. Je ne sais pas si j'ai bien fait de les séparer mais pour le coup les lignes ci-dessus s'appliquent uniquement sur cette page.*/

.read_more2 {
    color: #645959;
    text-decoration: underline;
    margin-left: 0;
    position: relative;
    bottom: 35px;
}



@media screen and (width <=1700px) {

    .txt_presentation {
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .js-slider {
        width: 100%;
        max-width: 600px;
    }
}

@media screen and (width <=800px){
        
    .container_presentation {
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }
}


@media screen and (width <=700px){     
    .js-slider {
        display: none;
    }
}
