#background{
position: fixed;
width: 100%;
height: 100%;
min-width: 100%;
min-height: 100%;
max-width: 100%;
max-height: 100%;
background: linear-gradient(#7fbde6,#fff);
}
#background img{
width: 100%;
}
#background .nuvola-1{
position: absolute;
width: 20%;
left: 5%;
top: 5%;
}
#background .nuvola-2{
position: absolute;
width: 20%;
right: 5%;
top: 15%;
}
#background .erba{
position: absolute;
width: 100%;
bottom: -5%;
z-index: 0;
}
#background .icon{
position: absolute;
width: 18%;
left: 5%;
bottom: 5%;
z-index: 2;
}
#background .colonna{
position: absolute;
width: 17%;
right: 4%;
bottom: 3%;
}
#form-container{
width: 90%;
max-width: 500px;
left: 50%;
margin: 5% 0;
transform: translateX(-50%);
padding: 1%;
border: 1px solid #ccc;
background: white;
z-index: 2;
}
#form-container .title-container{
width: 100%;
border-bottom: 1px solid #ccc;
}
#form-container .title-container .title{
width: 50%;
padding: 5% 0;
text-align: center;
font-size: 20px;
line-height: 20px;
border-bottom: 3px solid transparent;
color: black;
}
#form-container .title-container .title.selected{
color: rgba(0,121,194);
border-color: rgba(0,121,194);
}
#form-container #form{
position: relative;
float: left;
width: 100%;
margin-top: 4%;
}
#form-container #form .input{
width: 48%;
margin-bottom: 4%;
}
#form-container #form .input.privacy{
width: 100%;
}
#form-container #form .input.name, #form-container #form .input.email{
margin-right: 4%;
}
#form-container #form .input label{
font-size: 13px;
font-weight: 300;
}
#form-container #form .input input{
width: 96%;
font-size: 16px;
font-weight: 400;
padding: 1% 2%;
border-bottom: 1px solid #ccc;
}
#form-container #form .input input:valid{
border-color: black;
}
#form-container #form .input.privacy input{
width: 20px;
height: 20px;
padding: 0;
margin: 0;
background: transparent;
border: 1px solid #ccc;
border-radius: 4px;
z-index: 1;
transition: .3s;
}
#form-container #form .input.privacy input:checked{
border-color: rgba(0, 150, 64);
}
#form-container #form .input.privacy input:checked ~ .checked{
display: block;
background: rgba(0, 150, 64);
border-color: rgba(0, 150, 64);
border-radius: 4px;
}
#form-container #form .input.privacy .checked{
position: absolute;
width: 20px;
height: 20px;
display: none;
z-index: -1;
}
#form-container #form .input.privacy label{
width: calc(100% - 30px);
margin-left: 10px;
}
#form-container #form .input.privacy label a{
color: #999;
}
#form-container #form .input.submit{
width: 50%;
left: 25%;
margin-top: 2%;
}
#form-container #form .input.submit input{
padding: 5%;
background: rgba(0,121,194);
color: white;
border: 2px solid rgba(0,121,194);
cursor: pointer;
}
@media (max-width: 768px){
#background .erba{
width: 200%;
}
#background .icon{
width: 30%;
left: 5%;
bottom: 2%;
z-index: 2;
}
#background .colonna{
width: 25%;
right: 5%;
bottom: 2%;
}
#form-container{
width: 80%;
max-width: unset;
padding: 5%;
}
#form-container .title-container .title{
font-size: 14px;
}
#form-container #form .input label{
font-size: 9px;
}
#form-container #form .input input{
font-size: 11px;
padding: 2%;
}
#form-container #form .input.privacy label{
font-size: 10px;
}
}