:root{
    --grey: #363636;
    --grey-opaque: #363636a5;
    --white: #F4F4F4;
    --dark-blue: #2F515F;
    --light-blue: #62A8C5;
    --input-white: #F8FAFC;
    --label-grey: #6F7482;
    --input-grey: #B8BCCA;
    --powered-grey: #666666;
    --footer-white: #ECECECEE;
}
@font-face{
    font-family:"Mattone";
    src: url('/fonts/CLT Mattone/Mattone-Regular.otf') format('opentype');
    font-style: normal;
}
@font-face{
    font-family:"Cabinet Grotesk";
    src: url('/fonts/CabinetGrotesk_Complete/CabinetGrotesk-Regular.otf') format('opentype');
    font-style: normal;
}
.hidden{
    display: none;
}
html{
    font-family: "Cabinet Grotesk", Helvetica, sans-serif;
    height: auto;
    overflow-x: hidden;
}
body{
    margin: 0;
    width: 100vw;
}
#layout{
    width: 95%;
    margin: 0% 2.5%;
}
#header, h1{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#header img{
    width: 203px;
}
#header span{
    font-size: 14px;
    font-family: "Mattone", Helvetica, sans-serif;
    color: var(--grey);
}
#thumbnail{
    width: 100%;
    border-radius: 10px;
}
h1 div{
    margin-top: 35px;
    margin-bottom: 70px;
    max-width: 1100px;
    text-align: center;
    font-weight: normal;
    font-size: 21px;
}
#mission-vision{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mission-vision > div{
    width: 40.5%;
    padding: 40px 4%;
    min-height: 330px;
    background-color: var(--grey);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    border: solid var(--grey) 2px;
}
#mission-vision > div:hover{
    border: solid var(--light-blue) 2px;
    background-color: var(--white);
}
#mission-vision > div:hover .title{
    color: var(--white);
    background-color: var(--light-blue);
}
#mission-vision > div:hover .subtitle, #mission-vision > div:hover .text{
    color: var(--light-blue);
}
#mission-vision > div .title{
    background-color: var(--white);
    color: var(--grey);
    border-radius: 25px;
    padding: 2px 10px;
    font-size: 21px;
}
#mission-vision > div .subtitle{
    color: var(--white);
    font-weight: bold;
    font-size: 21px;
}
#mission-vision > div .text{
    color: var(--white);
    font-size: 19px;
}
#h2{
    background: rgb(2,0,36);
    background: linear-gradient(0deg, var(--dark-blue), var(--light-blue));
    min-height: 570px;
    margin-left: -6vw;
    margin-right: -6vw;
    margin-top: -350px;
    margin-bottom: -150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 250px;
    font-weight: normal;
    text-align: center;
    color: var(--white);
}
#h2 h2{
    font-weight: bold;
    font-size: 26px;
}
#h2 h3{
    font-weight: normal;
    width: 80%;
    font-size: 18px;
}
#days{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}
#days:hover{
    cursor: pointer;
}
#days .day{
    max-height: 525px;
    width: 16%;
    text-decoration: none;
}
#days .day .title{
    color: var(--white);
    text-decoration: none;
    padding: 5px;
    border-radius: 20px;
    border: solid var(--white) 2px;
    font-size: 16px;
    margin-bottom: 10px;
}
#days .day .image{
    width: 100%;
    height: 290px;
    border-radius: 15px;
    border: solid transparent 2px;
}
#days .day:hover .image{
    background-image: url("/images/prenota.png");
    border: solid var(--white) 2px;
}
#days .day .text{
    color: var(--light-blue);
    text-decoration: underline;
    font-size: 16px;
}
#fif{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
}
#fif > a{
    width: 70%;
    min-width: 600px;
    padding: 2.5% 20px;
    border: solid var(--light-blue) 2px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    position: relative;
    text-decoration: none;
}
#fif > a img{
    width: 40%;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
}
#fif > a .text{
    color: var(--light-blue);
    font-size: 18px;
    width: 55%;
    text-decoration: none;
}
#fif > a .info{
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 18px;
    text-decoration: underline;
    color: var(--light-blue);
}
#fif > a .info:hover{
    color: var(--grey);
}
#form-background{
    width: 100%;
    height: 562px;
    background-image: url("/images/form-background.jpeg");
    background-size: cover;
    border-radius: 10px;
}
#form-container{
    position: relative;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, var(--grey-opaque), var(--light-blue));
    width: 80%;
    padding: 30px 2.5%;
    height: 480px;
    margin-left: 7.5%;
    margin-top: -450px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}
#form-container .mobile-title{
    display: none;
}
#form-container img{
    width: 304px;
    height: 482px;
    border-radius: 10px;
}
#form-container > div{
    width: calc(100% - 350px);
    height: 482px;
}
#form-container > div .title, #form-container > div .text{
    color: var(--white);
    text-align: center;
}
#form-container > div .title{
    font-size: 32px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}
#form-container > div .text{
    font-size: 21px;
}
#form{
    position: absolute;
    bottom: 34px;
    right: 20px;
    max-width: calc(100% - 400px);
    max-height: 266px;
    background-color: var(--white);
    padding: 20px 10px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 10px;
}
#form div{
    width: 47.5%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
#form div label{
    font-size: 10px;
    color: var(--label-grey);
}
#form div input{
    width: 90%;
    background-color: var(--input-white);
    color: var(--label-grey);
    font-size: 10px;
    padding-top: 4px;
    padding-bottom: 6px;
    margin-bottom: 5px;
    margin-top: 5px;
    border: none;
}
#form div input::placeholder{
    color: var(--input-grey);
}
#form div.checkbox{
    visibility: hidden;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 70%;
}
#form div.checkbox input{
    width: 10%;
}
#form div.checkbox label{
    width: 80%;
}
#submit{
    background-color: var(--light-blue);
    color: var(--white);
    border-radius: 25px;
    padding: 2px 10px;
    border: solid var(--light-blue) 2px;
    margin-top: 10px;
}
#submit:hover{
    background-color: var(--white);
    color: var(--light-blue);
    cursor: pointer;
}
#error{
    color: red;
}
#success{
    color: green;
}
h4{
    text-align: center;
    font-size: 21px;
    margin-top: 100px;
    margin-bottom: 200px;
    font-weight: normal;
}
h4 span{
    font-style: italic;
}
#footer{
    background: linear-gradient(0deg, var(--dark-blue), var(--light-blue));
    color: var(--footer-white);
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2.5%;
    padding-bottom: 1%;
}
#footer:hover{
    background: var(--footer-white);
}
#foot1{
    font-size: 28px;
    font-weight: bold;
}
#footer:hover #foot1, #footer:hover #foot2{
    color: var(--light-blue);
}
#foot2{
    margin-top: 50px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    font-size: 21px;
}
#foot2 .vat{
    visibility: hidden;
}
#foot .address{
    text-align: end;
}
#powered{
    font-size: 10px;
    width: 90%;
    text-align: end;
    margin-top: 30px;
}
#footer:hover #powered, #footer:hover #powered a{
    color: var(--powered-grey);
}
#powered a{
    color: var(--footer-white);
}
#mobile-powered{
    display: none;
}

@media screen and (max-width: 1200px){
    #mission-vision > div .subtitle{
        font-size: 18px;
    }
    #mission-vision > div .text{
        color: var(--white);
        font-size: 17px;
    }
    #fif > a .text{
        font-size: 16px;
    }
    #fif > a .info{
        font-size: 16px;
    }
    #form-container > div .title{
        font-size: 26px;
    }
    #form-container > div .text{
        font-size: 18px;
    }
}

@media screen and (max-width: 992px){
    #form-container > div .title{
        font-size: 24px;
    }
    #form-container > div .text{
        font-size: 14px;
    }
}

@media screen and (max-width: 768px){
    #layout{
        width: 80%;
        margin: 0% 10%;
    }
    #header img{
        width: 100px;
    }
    #header{
        min-height: 100px;
        justify-content: space-between;
    }
    #header span{
        font-size: 16px;
    }
    h1 div{
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    #mission-vision{
        flex-direction: column;
    }
    #mission-vision > div{
        width: 100%;
        max-width: 100%;
        padding: 40px 0;
        margin-bottom: 20px;
        min-height: 175px;
    }
    #mission-vision > div .title{
        margin-bottom: 30px;
    }
    #mission-vision > div .subtitle{
        font-size: 16px;
        margin-bottom: 10px;
    }
    #mission-vision > div .text{
        color: var(--white);
        font-size: 16px;
    }
    #h2{
        padding-top: 20px;
        min-height: auto;
        margin-top: 0px;
        margin-bottom: 0px;
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        background: var(--light-blue);
    }
    #h2 h2{
        width: 100%;
        font-size: 18px;
    }
    #h2 h3{
        width: 100%;
        font-size: 14px;
    }
    #days{
        background: rgb(2,0,36);
        background: linear-gradient(90deg, var(--dark-blue), var(--light-blue));
        margin-top: -1px;
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        flex-wrap: wrap;
        padding-bottom: 30px;
    }
    #days .day{
        width: 47%;
        margin-top: 30px;
    }
    #days .day .title{
        font-size: 14px;
    }
    #days .day .image{
        height: 200px;
        margin-bottom: 10px;
    }
    #days .day .text{
        color: var(--white);
        font-size: 14px;
    }

    #fif{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #fif > a{
        width: auto;
        min-width: 80%;
        max-width: 100%;
        padding: 15px 10px;
        padding-bottom: 30px;
        align-items: normal;
    }
    #fif > a img{
        object-fit: cover;
    }
    #fif > a .text, #fif > a .info{
        font-size: 12px;
    }
    #fif > a .info{
        bottom: 10px;
        right: 20px;
    }
    #form-background{
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        height: 150px;
        border-radius: 0px;
    }
    #form-container{
        width: 90vw;
        padding: 0px;
        height: auto;
        margin-left: -5vw;
        margin-right: 0px;
        margin-top: -130px;
        margin-bottom: 0px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #form-container .mobile-title{
        display: block;
        color: var(--white);
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin-top: 20px;
        margin-bottom: 20px;
        width: auto;
        height: auto;
    }
    #form-container img{
        width: 90%;
        height: 150px;
        object-fit: cover;
    }
    #form-container > div{
        width: 90%;
        height: auto;
        margin-top: 20px;
    }
    #form-container > div .title{
        display: none;
    }
    #form-container > div .text{
        font-size: 14px;
        width: 100%;
    }
    #form{
        position: static;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: auto;
        background-color: transparent;
        padding: 0px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        border-radius: 0px;
        margin-top: 40px;
    }
    #form div label{
        color: var(--white);
        margin-bottom: 5px;
    }
    #form div input{
        width: 90%;
        background-color: white;
        color: var(--powered-grey);
        margin-left: 0px;
        border: none;
        border-radius: 5px;
        margin-bottom: 15px;
    }
    #submit{
        margin-top: 20px;
        margin-bottom: 10px;
    }
    h4{
        font-size: 12px;
        margin-top: 100px;
        margin-bottom: 100px;
        padding: 0% 10%;
    }
    #footer:hover{
        background: white;
    }
    #footer{
        background: white;
        width: 100%;
        padding: 5% 0%;
        border-top: 2px solid var(--light-blue);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #foot1{
        width: 70%;
        font-size: 20px;
        color: var(--light-blue);
    }
    #foot2{
        width: 50%;
        margin-top: 20px;
        display: block;
        font-size: 18px;
        color: var(--light-blue);
    }
    #foot2 .address{
        text-align: center;
    }
    #powered{
        display: none;
    }
    #mobile-powered{
        display: block;
        width: 70%;
        font-size: 14px;
        text-align: center;
        margin-top: 30px;
        color: var(--light-blue);
    }
    #mobile-powered a{
        color: var(--light-blue);
    }
}

@media screen and (max-width: 600px){
    #layout{
        width: 80%;
        margin: 0% 10%;
    }
    #header img{
        width: 100px;
    }
    #header{
        min-height: 100px;
        justify-content: space-between;
    }
    #header span{
        font-size: 12px;
    }
    h1 div{
        font-size: 14px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    #mission-vision{
        flex-direction: column;
    }
    #mission-vision > div{
        width: 90%;
        max-width: 100%;
        padding: 40px 5%;
        margin-bottom: 20px;
        min-height: 175px;
    }
    #mission-vision > div .title{
        margin-bottom: 30px;
    }
    #mission-vision > div .subtitle{
        font-size: 12px;
        margin-bottom: 10px;
    }
    #mission-vision > div .text{
        color: var(--white);
        font-size: 12px;
    }
    #h2{
        padding-top: 20px;
        min-height: auto;
        margin-top: 0px;
        margin-bottom: 0px;
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        background: var(--light-blue);
    }
    #h2 h2{
        width: 100%;
        font-size: 14px;
    }
    #h2 h3{
        width: 100%;
        font-size: 10px;
    }
    #days{
        background: rgb(2,0,36);
        background: linear-gradient(0deg, var(--dark-blue), var(--light-blue));
        margin-top: -1px;
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        flex-wrap: wrap;
        padding-bottom: 30px;
    }
    #days .day{
        width: 47%;
        margin-top: 30px;
    }
    #days .day .title{
        font-size: 10px;
    }
    #days .day .image{
        height: 200px;
        margin-bottom: 10px;
    }
    #days .day .text{
        color: var(--white);
        font-size: 10px;
    }

    #fif{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #fif > a{
        width: auto;
        min-width: 80%;
        max-width: 100%;
        padding: 15px 10px;
        padding-bottom: 30px;
        align-items: normal;
    }
    #fif > a img{
        object-fit: cover;
    }
    #fif > a .text, #fif > a .info{
        font-size: 7px;
    }
    #fif > a .info{
        bottom: 10px;
        right: 20px;
    }
    #form-background{
        width: 81vw;
        margin-left: -10vw;
        padding-left: 10vw;
        padding-right: 10vw;
        height: 150px;
        border-radius: 0px;
    }
    #form-container{
        width: 90vw;
        padding: 0px;
        height: auto;
        margin-left: -5vw;
        margin-right: 0px;
        margin-top: -130px;
        margin-bottom: 0px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #form-container .mobile-title{
        display: block;
        color: var(--white);
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        margin-top: 20px;
        margin-bottom: 20px;
        width: auto;
        height: auto;
    }
    #form-container img{
        width: 90%;
        height: 150px;
        object-fit: cover;
    }
    #form-container > div{
        width: 90%;
        height: auto;
        margin-top: 20px;
    }
    #form-container > div .title{
        display: none;
    }
    #form-container > div .text{
        font-size: 10px;
        width: 100%;
    }
    #form{
        position: static;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: auto;
        background-color: transparent;
        padding: 0px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        border-radius: 0px;
        margin-top: 40px;
    }
    #form div label{
        color: var(--white);
        margin-bottom: 5px;
    }
    #form div input{
        width: 90%;
        background-color: white;
        color: var(--powered-grey);
        margin-left: 0px;
        border: none;
        border-radius: 5px;
        margin-bottom: 15px;
    }
    #submit{
        margin-top: 20px;
        margin-bottom: 10px;
    }
    h4{
        font-size: 12px;
        margin-top: 100px;
        margin-bottom: 100px;
        padding: 0% 10%;
    }
    #footer:hover{
        background: white;
    }
    #footer{
        width: 100%;
        padding: 5% 0%;
        border-top: 2px solid var(--light-blue);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #foot1{
        width: 70%;
        font-size: 16px;
    }
    #foot2{
        width: 50%;
        margin-top: 20px;
        display: block;
        font-size: 14px;
    }
    #foot2 .address{
        text-align: center;
    }
    #powered{
        display: none;
    }
    #mobile-powered{
        display: block;
        width: 70%;
        font-size: 10px;
        text-align: center;
        margin-top: 30px;
        color: var(--light-blue);
    }
}
