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

html {
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-y: none;
}

body {
    margin: 0;
    background-color: #6367FF;

    display: flex;
    justify-content: center;
}

input, button {
    transition: transform 0.2s ease;
}

input:hover, button:hover {
    transform: scale(1.01);
}

h1 {
    margin: 20px;
    text-align: center;
    font-size: 72px;
    color: #FFDBFD;
}

h2 {
    margin: 10px;
    text-align: center;
    font-size: 48px;
    color: #FFDBFD;
}

#playerCountInput {
    width: 500px;
    height: 45px;
    outline: none;
    border: none;
    border-radius: 10px;
    background-color: #8494FF;

    font-family: "Lilita One", sans-serif;
    font-size: 32px;
    text-align: center;
    color: #FFDBFD;
}

#playerCountInput::-webkit-outer-spin-button,
#playerCountInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#playerCountInput[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#playerNameList {
    width: 90vw;
    margin: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.Player {
    width: 250px;
    height: 45px;

    background-color: #FFDBFD;
    text-align: center;

    font-family: "Lilita One", sans-serif;
    font-size: 20px;

    border-radius: 10px;
    outline: none;
    border: none;
}

#cardDeckList {
    width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.Deck {
    width: 200px;
    height: 200px;
    background-color: #FFDBFD;
    border-radius: 10px;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
}

.Deck > img {
    width: 80%;
    height: 80%;
}

#PlayButton {
    margin: 20px;
    width: 500px;
    height: 45px;
    border: none;
    border-radius: 10px;
    background-color: #FFDBFD;

    font-family: "Lilita One", sans-serif;
    font-size: 32px;
    text-align: center;
}

.App {
    width: 1920px;
    min-height: 1080px;

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

    font-family: "Lilita One", sans-serif;
}

#CreditsButton {
    width: 5vw;
    aspect-ratio: 1 / 1;
    position: fixed;

    background-color: #FFDBFD;
    border-radius: 10px;
    border: none;

    top: 5px;
    left: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#CreditsButton > img {
    width: 80%;
    aspect-ratio: 1 / 1;
}

@media (orientation: portrait) {
    h1 {
        margin: 20px;
        font-size: 40px;
    }

    h2 {
        margin: 10px;
        font-size: 30px;
    }

    #playerCountInput {
        width: 300px;
        height: 35px;
    }

    .Player {
        width: 200px;
        height: 35px;
        font-size: 15px;
    }

    .Deck {
        width: 80px;
        height: 80px;
    }

    .Deck > img {
        width: 80%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #PlayButton {
        width: 300px;
        height: 35px;
        font-size: 25px;
    }

    #CreditsButton {
        width: 10vw;
        height: auto;
        aspect-ratio: 1 / 1;
        position: fixed;

        background-color: #FFDBFD;
        border-radius: 10px;
        border: none;

        top: 5px;
        left: 5px;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    #CreditsButton > img {
        width: 90%;
        aspect-ratio: 1 / 1;
    }
}