* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

main {
    height: 100vh;
    width: 100vw;
    background: url("../images/background.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/*header {
    display: none;
}*/

#black-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 20, 33);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

#black-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

#images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Les images */
.sheikah {
    width: 70%;
    height: auto;
    max-width: 120px;
    transition: transform 1s ease;
}

#left-image {
    position: relative;
    margin-right: -30px;
    z-index: 1;
    transform: translateX(0);
}

#center-image-shine {
    position: absolute;
    top: 15%;
    left: 30%;
    opacity: 0;
    z-index: 1;
}

#center-image {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

#right-image {
    position: relative;
    margin-left: -30px;
    z-index: 1;
    transform: translateX(0);
}

#blue-band {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 3%;
    background-color: rgb(179, 228, 255);
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: width 1s ease-out;
}

#color-circle {
    position: fixed;
    width: 44px;
    height: 44px;
    background-color: rgb(88, 88, 255);
    border-radius: 50%;
    animation: colorChange 2s infinite alternate;
}

@keyframes colorChange {
    0% {
        background-color: rgb(88, 88, 255);
    }
    100% {
        background-color: lightblue;
    }
}

/* Triforce */
nav {
    padding-left: 15px;
    display: flex;
    height: 172px;
    width: 215px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Triangles */
nav > a {
    display: flex;
    justify-content: center;
    width: 100px;
    height: 86px;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #eeb43d;
    text-decoration: none;
    position: relative;
}

nav > a:nth-of-type(1) {
    margin: 0px 10px;
}

nav > a > p {
    margin: 25px;
    color: rgb(60, 60, 60);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1); /* Fond totalement noir */
    pointer-events: none;
    mix-blend-mode: multiply;
}