﻿body {
    font-family: Georgia, serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #820B15; /*#B90F1C;*/
    color: white;
}

#banner-img {
    width: 25%;
}

p {
    text-align: center;
}

button {
    display: flex;
    justify-content: center;
    width: 15em;
    font-size: 1em;
    padding: 1em 0.5em;
    border-radius: 0.4em;
    border: 0 solid white;
    background-color: white;
    color: black;
}

button:disabled,
button[disabled] {
    background-color: white;
    color: black;
}

/**********************************************************************/

.loader {
    width: 40px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side, green 90%, #0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    20% {
        background-position: 0% 0%, 50% 50%,100% 50%
    }

    40% {
        background-position: 0% 100%, 50% 0%,100% 50%
    }

    60% {
        background-position: 0% 50%, 50% 100%,100% 0%
    }

    80% {
        background-position: 0% 50%, 50% 50%,100% 100%
    }
}

/**********************************************************************/

#snackbar {
    visibility: hidden;
    width: 70%;
    /*            margin-left: -125px;*/
    background-color: #FEFE9C;
    color: #590810;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    /* left: 15%;*/
    bottom: 30px;
    font-size: 17px;
    border: 1px solid #D14F2F;
}

    #snackbar.show {
        visibility: visible;
        /*
            -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
            animation: fadein 0.5s, fadeout 0.5s 2.5s;
            */
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/**********************************************************************/
p {
    margin: 0.2em 0;
}

/* For phones: */
p {
    font-size: 1.7em;
}

/* For tablets: */
@media screen and (min-width: 768px) {
    p {
        font-size: 1.7em;
    }
}

/* For desktops: */
@media screen and (min-width: 1000px) {
    p {
        font-size: 1.4em;
    }
}

input {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

input[type="radio"] {
    width: 0.75em;
    height: 0.75em;
    margin: 0.2em 0.1em 0.1em 0.1em;
}

.header {
    font-family: Arial;
}

label {
    font-size: 1.2em;
    font-family: Arial;
}

.radio-con {
    display: flex;
    align-items: center;
}
