@font-face {
    font-family: 'Lilita One';
    font-style: normal;
    font-weight: 200;
    src: url('LilitaOne-Regular.ttf') format('truetype'); 
}

html {
    font-family: "Lilita One", sans-serif;
    color: white;
}

body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    margin: 0;

    overflow: hidden;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;

    width: 100%;
    height: 100vh;
    background-image: url('../Images/background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

h1 {
    font-size: 6vw;
    margin: 1vw;
}

h2 {
    font-size: 3vw;
}

a {
    text-decoration: underline;
    color: white;
    font-size: 1vw;
    margin-top: 1vw;
    margin-bottom: 2vw;
}

img {
    width: 20vw;
    aspect-ratio: 1 / 1;
}

#modes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 1vw;
}

button {
    width: 15vw;
    height: 10vh;
    border: none;
    border-radius: 1vw;

    font-family: "Lilita One";
    font-size: 2vw;
    transition: transform 0.2s ease-in-out;
}

button:hover {
    transform: scale(1.05);
}

@media (orientation: portrait) {
    h1 {
        font-size: 6vh;
        margin: 0;
    }  
    
    img {
        width: 25vh;
    }

    h2 {
        font-size: 5vh;
        margin: 0;
    }

    #modes {
        flex-direction: column;
        gap: 1vh;
    }

    button {
        width: 80vw;
        height: 8vh;
        border-radius: 1vh;
        font-size: 3vh;
    }

    a {
        font-size: 3vh;
        margin-top: 1vh;
        margin-bottom: 2vh;
    }
}