body {
    background-image: url(assets/img/background/about-background.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'GenshinFont', sans-serif;
    margin: 0;
}

header {
    background: linear-gradient(to bottom, #000000 85%, #ffffff00 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    justify-items: center;
    position: relative;
}

.paimon-peek {
    max-width: 350px;
    width: 30vw;
    display: flex;
    margin-top: auto;
    margin-bottom: 45px;
    justify-self: end;
}

.grid-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 40px;
    min-width: 300px;

    h2 {
        font-size: 20px;
    }
}

.abby-peek {
    max-width: 350px;
    width: 30vw;
    display: flex;
    margin-top: auto;
    margin-bottom: 45px;
    justify-self: start;
}

main div:not(.navigate) {
    max-width: 600px;
    margin: 20px auto 20px auto;
    padding: 20px;
    border-radius: 30px;
    background-color: #0e0e0e;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 5px 5px #5194B390;
    transition: all 0.3s ease;

    p {
        text-align: center;
        font-size: 16px;
    }

    li {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

main div:not(.navigate):hover,
main div:not(.navigate) :focus {
    box-shadow: 20px 20px 10px #5194B3;
    transform: translate(-5px, -5px);

}

.navigate {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;

}

.home-button {
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 20px;
}

.home-icon {
    width: 100px;
    display: flex;

}

#genshin-impact-button {
    width: 200px;
    margin: 20px;
    transition: all 0.3s ease;
}

#wuthering-waves-button {
    width: 200px;
    margin: 20px;
    transition: all 0.3s ease;
}

.home-button:hover,
#genshin-impact-button:hover,
#wuthering-waves-button:hover {
    transform: scale(1.05);
}

footer {
    background: linear-gradient(to bottom, #00000000 0%, #000000ff 20%);
    margin-top: 50px;
    height: 250px;
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: 250px;
    position: relative;
    color: white;
}

.left {
    margin-top: 40px;
    margin-left: 20px;
    grid-column: 1;
    grid-row: 1;
    justify-self: end;

    .designed {
        font-size: 12px;
    }

    .victor {
        font-size: 15px;
        margin-top: 10px;
        color: #ffffff;
    }
}

.victor:hover {
    color: #8e8e8e;
    text-decoration: none;
}

.paimon-footer {
    grid-column: 2;
    grid-row: 1;
    width: 300px;
    position: absolute;
    bottom: 0;
}

.right {
    margin-top: 60px;
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;


    a,
    p {
        margin-left: 40px;
    }

    a {
        margin-top: 20px;
        margin-bottom: 20px;
        color: #ffffff;
        display: flex;
    }

     a:hover {
        color: #8e8e8e;
        text-decoration: none;
    }
}

.ARR-footer {
    justify-self: end;
    font-size: 10px;
    margin-top: auto;
}

/* === ANIMATION AU SCROLL === */
.fade-in-up-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(1px);
    transition: all 0.8s ease-out;
}

/* Lorsque visible, animation vers l'état normal */
.fade-in-up-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-0 {
    transition-delay: 0s;
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}