html, body {
    margin: 0;
    padding: 0;
    background-color: #e6e6e6;
}

body {
    padding-bottom: 10em;
}

.hide {
    display: none;
}

.banner-text {
    background-color: #313139;
    width: 60vw;
    height: 3em;
    line-height: 3em;
    margin: 1em auto;
    color: white;
    text-align: center;
    border-radius: .5em;
    overflow: hidden;
    display: flex;
}

.banner-text .icon {
    background-color: #22A093;
    display: inline-block;
    padding: .25em 1em 0;
    width: 3em;
}

.banner-text .icon i {
    font-size: 2em;
}

.banner-text .text {
    margin-left: 1em;
    flex-grow: 1;
    text-align: center;
}

.datetime {
    color: #22A093;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    margin: 5em 0;
}

.datetime .date {
    margin-top: .5em;
}

.datetime .time {
    font-size: 4em;
}

.buttons {
    width: 60vw;
    margin: auto;
}

.button {
    text-decoration: none;
    width: 100%;
    height: 5em;
    line-height: 5em;
    display: block;
    text-align: center;
    color: white;
    font-size: 3em;
    border-radius: .5em;
    margin: .5em 0;
    text-transform: uppercase;
    font-weight: bold;
    border: 0;
}

.green {
    background-color: #8DC73F;
}

.red {
    background-color: #991D25;
}

.back {
    width: 10em;
    font-size: 1em;
    margin: auto;
}

.form {
    background-color: #313139;
    width: 60vw;
    margin: 1em auto;
    color: white;
    border-radius: .5em;
}

.form input {
    font-size: 1.5em;
    border: 0;
    border-radius: .25em;
}

.form input[readonly] {
    background-color: #313139;
    color: white;
}

.form p {
    display: flex;
    align-items: baseline;
    margin: 0 1em;
}

.form p label {
    flex: none;
    margin-right: 1em;
    width: 20%;
}

.form p input {
    margin: .5em 0;
    flex: 1 1 auto;
    width: 80%;
}

.qrcode {
    margin: 1em auto;
    text-align: center;
}

.errore, .success {
    width: 60vw;
    margin: 1em auto;
    color: white;
    border-radius: .5em;
    padding: 1em;
    text-align: center;
    font-size: 2em;
}

.errore {
    background-color: #991D25;
}

.success {
    background-color: #8DC73F;
}

.language {
    position: absolute;
    top: 0;
    right: 0;
}

.language img {
    width: 4em;
}

.footer {
    background-color: #22A093;
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
}

.footer p {
    color: white;
    padding: 1em 0 0 0;
    margin: 0;
}

.logo-ms, .logo-utax {
    height: 60px;
    margin: .5em;
}

/* SMARTPHONE VERTICALE */
@media (max-width: 600px) {
    .portrait .banner-text {
        width: 90vw;
    }

    .portrait .banner-text .icon {
        width: 1.5em;
    }

    .portrait .banner-text .icon i {
        font-size: 1.3em;
    }

    .portrait .buttons {
        width: 90vw;
    }

    .portrait .form {
        width: 90vw;
    }

    .portrait .errore,
    .portrait .success {
        width: 80vw;
        font-size: 1.5em;
    }

    .portrait .language {
        bottom: 4em;
        top: auto;
    }

    .portrait .datetime {
        margin: 1em 0;
        display: flex;
        justify-content: space-around;
    }

    .portrait .datetime .date {
        margin-top: .5em;
    }

    .portrait .datetime .time {
        font-size: 2em;
    }

    .portrait .button {
        height: 2em;
        line-height: 2em;
        font-size: 2em;
    }

    .portrait .form input {
        min-width: 5em;
    }

    .portrait .form p label {
        width: 5em;
    }

    .portrait .footer p {
        font-size: .8em;
    }

    .portrait .logo-ms, .logo-utax {
        height: 30px;
        margin: .25em;
    }
}

.columns {
    display: flex;
    width: 80vw;
    margin: 0 auto;
    gap: 1em;
}

/* TABLET ORIZZONTALE */
@media (min-width: 900px) {
    .landscape .datetime {
        margin: 1em 0;
    }

    .landscape .columns .form,
    .landscape .columns .banner-text {
        width: 45vw;
    }

    .landscape .columns .buttons {
        width: 25vw;
    }

    .landscape .button {
        height: 4em;
        line-height: 4em;
        font-size: 2em;
    }

    .landscape .button.back {
        height: 2em;
        line-height: 2em;
        width: 100%;
    }
}

/* SMARTPHONE ORIZZONTALE */
@media (max-width: 900px) {
    .landscape .datetime {
        margin: 1em 0;
    }

    .landscape .logo-ms,
    .landscape .logo-utax {
        height: 30px;
        margin: .25em;
    }

    .landscape .datetime {
        margin: .25em 0 0;
        display: flex;
        justify-content: space-around;
    }

    .landscape .datetime .time {
        font-size: 1.5em;
    }

    .landscape .button {
        height: 3em;
        line-height: 3em;
        font-size: 1.5em;
    }

    .landscape .form {
        margin: .2em 0;
        padding-bottom: .5em;
    }

    .landscape .form p input {
        margin: .2em;
    }

    .landscape .form,
    .landscape .banner-text {
        width: 65%;
    }

    .landscape .buttons {
        width: 35%;
    }

    .landscape .button.back {
        height: 2em;
        line-height: 2em;
        width: auto;
    }

    .landscape .footer {
        display: flex;
        justify-content: space-around;
    }
}
