
html, body {
    
    margin: 0;
    padding: 0; 
    background-color: black;
    font-family: "Syne";
    font-optical-sizing: auto;
    color: #FFFFFF;
}

/* links properties */

a {
    text-decoration: none;
    color: #FFFFFF;
}

#link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#txtlink:hover {
    text-decoration: none;
    background-color: #FFFFFF;
    color: #000000;
    padding-left: 2px;
    padding-right: 2px;
}

#creditlink {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* top nav */

h1 {
    font-weight: 400;
    font-size : 30px;
    margin: 0;
    padding: 0;
}

.name {
    position: fixed;
    top: 10px;
    left: 2vw;  
}

.projects {
    position: fixed;
    top: 10px;
    right: 2vw;
}


/* scrolling gallery */
.gallery {
    display: flex;
    justify-content: center; /* optionnel : centre le contenu si nécessaire */
    align-items: center; /* optionnel : aligne verticalement */
    margin: 0;
    padding: 0;
}

img {
    height: 100vh; /* Assure la hauteur des images */
    display: inline-block; /* Important pour white-space: nowrap */
    margin: 0; /* Supprime les marges par défaut */
    padding: 0; /* Supprime les padding par défaut */
    border: none; /* Supprime les bordures éventuelles */
    transition: opacity 0.5s ease-in;
    
}

.scroll-container {
    overflow-x: auto; /* Scrolling horizontal */
    white-space: nowrap;
    margin: 0; /* Supprime les marges */
    padding: 0; /* Supprime les padding */
}

/* scroll arrow*/

.scroll-arrow {
        position: fixed;
        font-size: 2.8rem; /* Taille des flèches */
        cursor: pointer;
        opacity: 1;
        transition: opacity 0.3s ease; /* Transition pour disparaître */
        z-index: 1000; /* Toujours au-dessus */
    }

    /* Flèche verticale : bas à droite */
    .scroll-arrow.vertical {
        bottom: 20px;
        right: 20px;
    }

   /* Flèche horizontale : au milieu, à droite */
   .scroll-arrow.horizontal {
    bottom: 9%; /* Centré verticalement */
    right: 20px;
    
}

    /* Masquer les flèches */
    .scroll-arrow.hidden {
        opacity: 0;
        pointer-events: none; /* Désactive les interactions quand invisible */
    }



/* bottomblock */

.bottomblock {
    position: absolute;
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    padding-bottom: 30px;
}


h2 {
    font-weight: 400;
    font-size : 24px;
    margin: 0;
}

p {
    font-weight: 200;
    font-size : 14px;
    margin: 0;   
}

.title {
    display: flex;
    flex: 0.7;
    margin: 0;
    margin-left: 2vw;   
}

.technical {
    display: flex;
    flex: 1;
    margin: 0;
    margin-left: 2vw;  
}

.description {
    display: flex;
    flex: 2;  
    margin: 0;
    margin-left: 2vw; 
}

.credits {
    display: flex;
    flex: 1;
    margin: 0;
    margin-left: 3vw; 
    margin-right: 2vw; 
}

@media only screen and (max-width: 768px) {
    section.bottomblock {
        flex-direction: column;
        width: 85vw;   
    }

    h1 {
        font-size: 25px;
    }
    
    .name {
        left: 4vw;
    }

    .projects {
        right: 4vw;
    }

    .title {
        margin-left: 0;
        margin-left: 30px;  
    }
    
   .technical{
        margin-left: 0;
        margin-left: 30px;
        margin-bottom: 0;
        padding-bottom: 0;
   }
    
    .description {
        margin-left: 0;
        margin-left: 30px;
        padding-top: 20px;
        padding-bottom: 20px;    
    }

    .credits {
        margin-left: 0;
        margin-left: 30px;
    }

    .scroll-arrow {
        font-size: 3.1rem;
    }

    .scroll-arrow.horizontal {
        bottom: 9.8%;
    }
    
}