@font-face {
    font-family: blu-light;
    src: url(https://res.berramatteo.it/caratteri/generale/generale_light.ttf) format('truetype');
}

@font-face {
    font-family: blu-light;
    src: url(https://res.berramatteo.it/caratteri/generale/generale_semibold.ttf) format('truetype');
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

html {    
    background: #00618c;
}

body {
    cursor: default;
    
    font-family: blu-light, Verdana, Arial;
    font-size: 100%;
    color: #ffffff;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    
    background-image: url("https://res.berramatteo.it/sfondi/2.jpeg");
}

p {
    margin: 0;
}

a,
a:link,
a:visited {
    color: #ffffff;
    text-decoration: underline;
    
    transition: all 0.1s;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: #ffffffb5;
    text-decoration: none;
}

.recipiente {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    width: 90%;
    max-width: 30em;
}

.logo {
    margin-bottom: 2em;
}

.logo a {
    display: block;
    width: 85%;
    margin: 0 auto;
}

.logo img {
    display: block;
    width: 100%;
}

.contenuto {
    width: 100%;
    
    border: none;
    border-radius: 9px;
    background-color: #202020;
    box-shadow: 0 1px 13px 3px rgba(0, 0, 0, 0.19);
}

.modulo {
    padding: 2.5em 1em;
}

.modulo h1 {
    font-size: 2em;
    line-height: 100%;
    font-weight: bold;
    text-align: center;
    margin: 0 0 0.3em 0;
}

.modulo p {
    text-align: center;
    margin: 0 0 2.5em 0;
}

.modulo form input {
    display: block;
    margin: 0 auto;
    outline: none;

    padding: 0.35rem 0.7rem;
    background-color: transparent;
    font-family: blu-light, Verdana, Arial;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    
    transition: all 0.3s;
}

.modulo form input:focus {
    border-color: #2f7199 !important;
}

.modulo form input[type="text"] {
    margin-bottom: 0.5em;
}

.modulo form input[type="text"],
.modulo form input[type="password"] {
    border: none;
    border-bottom: solid 1px #797979;
}

.modulo form input[type="text"]::placeholder,
.modulo form input[type="password"]::placeholder {
    color: #797979;
}

.modulo form input[type="submit"] {
    margin-top: 1em;
    
    cursor: pointer;
    border: solid 1px #ffffff;
    border-radius: 5px;
    text-transform: uppercase;
}

.modulo form input[type="submit"]:hover,
.modulo form input[type="submit"]:focus {
    background-color: #ffffff14;
}

.modulo form input[type="submit"]:active {
    background-color: #ffffff26;
}

.avviso {
    position: relative;
    
    padding: 0.7em 1em;
    margin-top: 0.5em;
    
    animation: comparsa 0.5s;
}

@keyframes comparsa {
    from {
        opacity: 0;
        top: 1.5em;
    }
    to {
        opacity: 1;
        top: 0;
    }
}

.rosso {
    background-color: #ef442d;
}

.verde {
    background-color: #39a825;
}

.avviso p {
    text-align: center;
}

.torna {
    margin-top: 0.9em;
}

.torna p {
    font-size: 0.8em;
}

.profilo {
    padding: 2em 1em;
    
    text-align: center;
}

.profilo .foto {
    margin: 0 auto;
    
    width: 7em;
    height: 7em;
    border: solid 1px #797979;
    border-radius: 50%;
    background-color: #797979;
    
    overflow: hidden;
}

.profilo .foto p {
    padding: 0.3em 0;
    background-color: #00000069;
    
    text-transform: uppercase;
    font-size: 0.8em;
    line-height: 100%;
}

.profilo h1 {
    margin: 0;

    font-size: 2em;
    font-weight: bold;
}

.profilo h2 {
    margin: 0;

    font-size: 1.3em;
    font-weight: normal;
}

.profilo h3 {
    margin: 0.6em 0 1.5em 0;

    font-size: 1.1em;
    font-weight: bold;
}

.profilo h4 {
    margin: 0;
    
    font-size: 1em;
    font-weight: normal;
}

.profilo .cambia {
    margin-top: 2.3em;
}