@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;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
    background-image: url('bg.png'); /* Le chemin vers ton image */
    background-size: cover;      /* L'image remplit tout l'écran sans se déformer */
    background-position: center;  /* L'image est centrée */
    background-repeat: no-repeat; /* L'image ne se répète pas en mosaïque */
    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;
}

.alexsachandra {
    position: fixed;       
    top: 20px;             
    left: 20px;            
    z-index: 100;          
    
    text-decoration: none; 
    color: black;          
    font-family: 'crash test', sans-serif;
    font-size: 55px;
}

.power {
    position: fixed;       
    top: 70px;             
    left: 20px;            
    z-index: 100; 
    text-decoration: none; 
    color: black;          
    font-family: 'creato', sans-serif;
    font-size: 14px;

}

.panneau {
    position: absolute;
    bottom: 0;          
    left: 50%;         
    transform: translateX(-50%); 
    height: 120vh;       
    width: 500px;
    display: block;
    
}



.p1, .p2, .p3, .p4, .p5, .baton, .goutte2, .goutte5 {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.titre {
    position: absolute;
    color: rgb(47, 45, 45);
    font-family: 'crash test', sans-serif;
    text-decoration: none;
    z-index: 10;
    white-space: nowrap;
    pointer-events: auto;
}



.aboutme {
    bottom: 63.2%;
    left: 51%;
    transform: translate(-50%, -50%) rotate(-17deg);
    font-size: 50px;
}


.audiovisuel {
    bottom: 52.5%;
    left: 48%;
    transform: translate(-50%, -50%) rotate(-3deg);
    font-size: 50px;
}


.ecrits {
    bottom: 44.5%;
    left: 49.5%;
    transform: translate(-50%, -50%) rotate(-3deg);
    font-size: 45px;
}

.contact {
    bottom: 36.5%;
    left: 49%;
    transform: translate(-50%, -50%) rotate(-7deg);
    font-size: 45px;
}

.mixedmedia {
    bottom: 26%;
    left: 57.5%;
    transform: translate(-50%, -50%) rotate(2.5deg);
    font-size: 50px;
}


.panneau-aboutme, 
.panneau-audiovisuel, 
.panneau-ecrits, 
.panneau-contact, 
.panneau-mixedmedia {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Important : pour que le 15% du texte soit calculé sur toute la hauteur */
    pointer-events: none;
}



.titre:hover {
    color: black !important;
    cursor: pointer !important;
}

.audiovisuel:hover ~ .goutte2 { 
    display: none; 
}

.mixedmedia:hover ~ .goutte5 { 
    display: none;

}


.aboutme:hover { transform: translate(-50%, -50%) rotate(-20deg); }
.aboutme:hover ~ .p1 { transform: translateX(-50%) rotate(-3deg); }

.audiovisuel:hover { transform: translate(-50%, -50%) rotate(1deg); }
.audiovisuel:hover ~ .p2 { transform: translateX(-50%) rotate(3deg); }

.ecrits:hover { transform: translate(-50%, -50%) rotate(-6deg); }
.ecrits:hover ~ .p3 { transform: translateX(-50%) rotate(-2deg); }

.contact:hover { transform: translate(-50%, -50%) rotate(-10deg); }
.contact:hover ~ .p4 { transform: translateX(-50%) rotate(-3deg); }

.mixedmedia:hover { transform: translate(-50%, -50%) rotate(0deg); }
.mixedmedia:hover ~ .p5 { transform: translateX(-50%) rotate(-3deg); }


