/* BODY */

@font-face {
    font-family: Comico;
    src: url(webfonts/Comico-Regular.woff2);
}

body {


    font-family: Comico;
    color: white;
    background-color: black;

    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    box-sizing: border-box;

    padding: 40px 7% 25px;

    background-color: #000000;
    color: white;

    font-family: "Cabin Sketch", sans-serif;

}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 35px;
}

.footer-column a {
    color: white;
    text-decoration: none;

    font-size: 0.8rem;
    letter-spacing: 1px;

    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 0.5;
}

.footer-bottom {
    border-top: 1px solid #505050;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: white;
}


/* TITRES */

h1 {
    font-size: 5rem;
    animation: apparition 2s ease forwards;
}

h2 {
    font-size: 3rem;
    opacity: 0;
    animation: apparition 3s ease forwards;
    animation-delay: 3s;
}

h3 {
    font-size: 3rem;
    opacity: 0;
    animation: apparitionh3 1.5s ease forwards;
    animation-delay: 6s;
}


/* POSITION DES TITRES */

h1,
h2,
h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    margin: 0;

    transform: translate(-50%, -50%);
}

/* KEYFRAMES */

@keyframes apparition {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes apparitionh3 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* BOUTON */

.more-details {
    position: fixed;
    top: calc(50% + 80px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: linear-gradient(135deg,
            rgba(35, 57, 100, 0.95),
            rgba(10, 22, 48, 0.95));

    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid rgba(150, 180, 255, 0.35);
    border-radius: 50px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.25);

    opacity: 0;
    animation: boutonApparition 1.5s ease forwards;
    animation-delay: 7.5s;

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;

    z-index: 10;
}

/* SURVOL */

.more-details:hover {
    background: linear-gradient(135deg,
            rgba(65, 95, 155, 0.95),
            rgba(20, 40, 80, 0.95));

    border-color: rgba(180, 205, 255, 0.7);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 25px rgba(65, 100, 180, 0.25);

    transform: translate(-50%, -3px);
}

/* CLIC */

.more-details:active {
    transform: translate(-50%, 0);
}

/* FADE IN */

@keyframes boutonApparition {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}





/* RESPONSIVE */

@media screen and (max-width: 1024px) {



    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }



    /* FOOTER */

    .footer {
        padding: 30px 5% 20px;
    }

    .footer-column a {
        font-size: 0.75rem;
    }
}



@media screen and (max-width: 600px) {


    h1 {
        font-size: 3rem;
        width: 90%;
    }

    h2 {
        font-size: 1.7rem;
        width: 85%;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.8rem;
        width: 90%;
        line-height: 1.3;
    }




    /* FOOTER */

    .footer {
        padding: 20px 5% 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 15px;
        padding-bottom: 20px;

        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column a {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        padding-top: 15px;
    }

    .footer-bottom p {
        font-size: 0.65rem;
    }
}




@media screen and (max-width: 380px) {

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .footer-column a {
        font-size: 0.6rem;
    }

}