
@font-face {
    font-family: "crash test";
    src: url('Crashtestdummy.woff') format('woff'),
        url('Crashtestdummy.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "creato";
    src: url('CreatoDisplay-Regular.woff') format('woff'),
        url('CreatoDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}



.alexsachandra {
    position: fixed; top: 20px; left: 20px; z-index: 100;
    color: black;
    background-color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'crash test', sans-serif; font-size: 55px;
}

.power {
    position: fixed; top: 70px; left: 20px; z-index: 100;
    text-decoration: none; color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255, 0.9);
    font-family: 'creato', sans-serif; font-size: 14px;
}


.titre {
    font-family: "creato", bold;
    font-size: 50px;
    padding-top: 250px;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(seamless.jpg);
    background-repeat: repeat;
    background-size: 200px;
    background-attachment: fixed;

}

a, button, input[type="submit"] {
    cursor: url('souris.png'), pointer;
}


*, html, body, input, textarea, a, button, label, span {
    cursor: url('souris.png'), auto !important;
}

.book {
    width: 800px;
    height: 500px;
    border: 2px solid black;
    background: white;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px 10px black;
    border: 5px solid black;
}



input {
    display: none;
}


.pages {
    display: flex;
    width: 100%;
    height: 100%;
}


.page {
    display: none;
    width: 100%;
    height: 100%;
    padding: 20px;
    font-size: 18px;
}


#page1:checked ~ .pages .page:nth-child(1),
#page2:checked ~ .pages .page:nth-child(2),
#page3:checked ~ .pages .page:nth-child(3),
#page4:checked ~ .pages .page:nth-child(4),
#page5:checked ~ .pages .page:nth-child(5),
#page6:checked ~ .pages .page:nth-child(6),
#page7:checked ~ .pages .page:nth-child(7),
#page8:checked ~ .pages .page:nth-child(8),
#page9:checked ~ .pages .page:nth-child(9),
#page10:checked ~ .pages .page:nth-child(10),
#page11:checked ~ .pages .page:nth-child(11){
    display: block;
}


label {
    position: absolute;
    bottom: 10px;
    background: #333;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

label:hover {
    background: #555;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.image{
    height: 450px;
}

@keyframes clignotement {
    0% {
        filter: brightness(0.95); /* Sombre (50% de luminosité) */
    }
    50% {
        filter: brightness(1); /* Plus clair (120% de luminosité) */
    }
    100% {
        filter: brightness(0.95); /* Retour au sombre */
    }
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5;
    /* On applique l'animation ici */
    animation: clignotement 0.1s ease-in-out infinite;
}