@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: 0;
    padding: 0;
}

body {
    background-image: url('background-image.gif');
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
}

body header {
    background-color: rgb(220, 52, 52);
    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: 20vh;
    font-size: 30px;
    font-family: "Stack Sans Text";
}

.error-message {
    color: red;
}

body input {
    margin-top: 7vh;
    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: 4vh;
    font-size: 20px;
    border-style: none;
    color: white;
    font-family: 'Stack Sans Text', sans-serif;
}

body form button {
    color: white;
    margin-top: 6vh;
    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;
    padding: 10px 0px;
    color: white;
}

footer p {
    align-items: center;
    text-align: center;
    font-family: 'Stack Sans Text', sans-serif;
}

@media screen and (max-width: 700px) {
    body main p {
        display: block;
        font-size: 20px;
        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: 15px;
    }

    .warning {
        margin-top: 5vh;
        font-size: 13px;
    }

    footer {
        padding: 10px 0px;
    }

    footer p {
        font-size: 10px;
    }

    .error-message {
        font-size: 18px;
    }
}

@media screen and (max-height: 800px) {
    body main p {
        margin-top: 10vh;
    }
}

@media screen and (max-width: 700px) and (orientation: portrait) {
    body {
        background-color: rgb(0, 0, 0);
    }

    footer {
        position: fixed;
    }

    body form button {
        margin-bottom: 6vh;
    }
}

@media screen and (max-width: 700px) and (orientation: landscape) {
    * {
        padding: 0px !important;
        margin: 0px;
    }

    body {
        background-size: cover;
        width: 100vw;
        height: 100svh;
        background-size: auto;
    }

    body header {
        width: 100vw;
    }
}
