html {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    background-image: url('background.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#box {
    padding: 48px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    border: 2px solid red;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    color: white;
    margin: 10% 20%;
}

#buttons .button {
    border: silver 2px solid;
    background-color: transparent;
    padding: 8px 16px;
    font-size: 1.2em;
    color: white;
    border-radius: 8px;
    margin: 32px auto;
    display: block;
    width: 80%;
    text-align: center;
    text-decoration: none;
}

#buttons .button:hover {
    border-color: red;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    margin: 0 auto;
    padding: 16px 5%;
    border-top: 1px red solid;
    color: white;
}

footer span.legal {
    float: right;
}

a {
    color: white;
}

@media (orientation: landscape) {
    body {
        background-position: center center;
    }
}

@media (orientation: portrait) {
    body {
        background-position: center left;
    }
}

@media (max-width: 480px) {
    #box {
        margin: 64px 16px;
        padding: 16px;
    }

    footer span.legal {
        float: none;
        display: block;
    }
}

@media (max-height: 480px) {
    #box {
        margin: 32px;
        padding: 16px;
    }
}