body,
html {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    background-size: cover;
    overflow: hidden;
    scroll-behavior: smooth;
    user-select: none;
    -webkit-tap-highlight-color: transparent !important;
}

body {
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

#main {
    display: block;
    position: fixed;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

select {
    padding: .5vh;
    border: none;
    border-radius: .5vh;
    font-size: 2vh;
    font-weight: bold;
    text-align: center;
}

select img {
    width: 3vh;
    aspect-ratio: 1/1;
    border-radius: .5vh;
}

.alert {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10000;
    padding: 1.5vh;
    font-weight: bold;
    text-align: center;
    font-size: 1.5vh;
    animation: alert 6s linear forwards;
}

.alert .close {
    position: absolute;
    right: 2vw;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert-success {
    background-color: #a9ffcd;
    color: #2ecc71;
}

.alert-error {
    background-color: #ffb0a7;
    color: #e74c3c;
}

@keyframes alert {
    0% {
        transform: translateY(-10vh);
    }

    5% {
        transform: translateY(0);
    }

    95% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10vh);
    }
}