/*
FFFFFF = Blanc
272727 = Noir
*/

@font-face{
	font-family: 'Switzer-Bold';
	src: url('fonts/Switzer-Bold.otf') format(opentype);
}

@font-face{
	font-family: 'Switzer-Regular';
	src: url('fonts/Switzer-Regular.otf') format(opentype);
}

body {
    background-color: #FFFFFF;
    color: #272727;
    font-family: Switzer-Bold;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: crosshair;
    box-sizing: border-box;
}

::selection {
    background-color: #FFFFFF;
    color: #FFFFFF;
}

a {
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
    font-family: Switzer-Bold;
}

a:hover {
    color: #141414;
    font-family: Switzer-Bold;
}

#conteneur_all {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2.4vw;
    text-align: center;
}

/* Liens */
#link, #link2 {
    font-size: 2.5vw;
    padding: 1vw 2vw;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

#link:hover, #link2:hover {
    background-color: #FFFFFF;
    color: #272727;
}

/* Conteneur image */
#conteneur_img {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

#conteneur_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texte en bas */
#bottom {
    position: fixed;
    display: flex;
    justify-content: center;
    font-size: 1vw; /* Augmenté pour meilleure lisibilité */
    color: #FFFFFF;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: 3vh;
    text-align: center;
    font-family: Switzer-Regular;
}

/* === MEDIA QUERIES === */

/* Pour tablettes */
@media screen and (max-width: 1024px) {
    #link, #link2 {
        font-size: 3vw;
        padding: 2vw 3vw;
    }
    #bottom {
        font-size: 1.2vw;
    }
}

/* Pour téléphones */
@media screen and (max-width: 768px) {
    #conteneur_all {
        gap: 5vw;
    }
    #link, #link2 {
        font-size: 4vw;
        padding: 3vw 5vw;
    }
    #bottom {
        font-size: 1.5vw;
        bottom: 5vh;
    }
}

/* Pour petits téléphones */
@media screen and (max-width: 480px) {
    #link, #link2 {
        font-size: 5vw;
        padding: 4vw 6vw;
    }
    #bottom {
        font-size: 2vw;
        bottom: 6vh;
    }
}
