@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Hegarty&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    margin: 0px;
    padding: 0px;
}

body {
    background-image: url('background-image.gif');
    background-size:cover;
    background-attachment: fixed;
    background-color: rgb(0, 0, 0);
    height: 100vh;
    width: 100vw;
}

body header {
    z-index: 10;
    background-color: rgb(220, 52, 52);
    top: 0px;
    color: white;
    padding: 20px;
    font-size: 50px;
    font-family: "BBH Sans Hegarty", sans-serif;
    display: block;
    text-shadow: rgb(0, 0, 0, 150) 3px 4px 4px;
}

body header, body main {
    align-items: center;
    text-align: center;
    justify-content: center;
}

body main p, .error-message {
    color: white;
    margin-top: 23vh;
    font-size: 30px;
    font-family: "Stack Sans Text";
}

.error-message {
    color: red;
}

body input {
    margin-top: 10vh;
    font-size: 20px;
    width: 700px;
    height: 50px;
    border-style: none;
    outline-style: none;
    border-radius: 3px;
}

body form {
    display: block;
}

body form select {
    background-color: #0854c5;
    border-radius: 3px;
    padding: 20px 60px;
    margin-top: 6vh;
    font-size: 20px;
    border-style: none;
    color: white;
    font-family: 'Stack Sans Text', sans-serif;
}

body form button {
    color: white;
    margin-top: 8vh;
    margin-bottom: 5vh;
    width: 305px;
    height: 67px;
    background-color: red;
    border-radius: 3px;
    border-style: none;
    font-family: 'Stack Sans Text', sans-serif;
    font-size: 25px;
}

.warning {
    color: white;
    font-size: 20px;
    font-family: "Stack Sans Text";
    margin-top: 7vh;
    display: none;
}

footer {
    z-index: 10;
    background-color: rgb(220, 52, 52);
    /* position:fixed;
    bottom: 0px; */
    width: 100vw;
    height: 20px;
    padding: 10px 0px;
    top: 30vh;
    bottom: 0vh;
    position: relative;
}

footer p {
    color: white;
    align-items: center;
    text-align: center;
    font-family: 'Stack Sans Text', sans-serif;
}

@media screen and (max-width: 700px) {
    body {
        background-repeat: repeat-y;
        background-attachment: none;
    }

    body main p {
        display: block;
        font-size: 27px;
        padding: 20px;
    }

    body header {
        font-size: 30px;
    }

    body input {
        /*margin-top: vh;*/
        width: 350px;
        height: 36px;
    }

    body form select {
        padding: 5px;
        margin-top: 5vh;
        font-size: 20px;
    }

    body form button {
        margin-top: 5vh;
        width: 196px;
        /* height: 36px; */
        font-size: 20px;
        margin-bottom: 6vh;
    }

    .warning {
        margin-top: 5vh;
        font-size: 13px;
    }

    footer {
        padding: 10px 0px;
        width: 100%;
        height: 15px;
        top: 100vh;
        bottom: 0px;
        position: absolute;
    }

    footer p {
        font-size: 10px;
        top: 0px;
        bottom: 50%;
    }

    .error-message {
        font-size: 18px;
    }
}

@media screen and (max-height: 800px) {
    body main p {
        margin-top: 10vh;
    }
    body form button {
        margin-bottom: 2vh;
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
    /* * {
        padding: 0px !important;
        margin: 0px;
    }*/

    body {
        background-size: cover;
        width: 100vw;
        height: 100vh;
        background-repeat: no-repeat;
        /* background-size: auto; */
        background-attachment: fixed;
    }

    body header {
        width: 100vw;
    }
}
