@import url('https://fonts.cdnfonts.com/css/marriage-moment-personal-use');

body {
    z-index: 1;
    margin: 0;
    padding: 0;
    background-color: white;
    background-attachment:fixed ; 
    background-position: center; 
}

header{
    width: 100%;
    height: 100px;
}

a:-webkit-any-link {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

/*HEADER*/ 
.navbar{
    width: 100%;
    height: 100px;
}

.navbar div{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Logo header*/   
.navbar img{
    width: auto;
    height: 60px;
}

.visually-hidden{
    color: black;
}
/*END HEADER*/ 

#citation{
    width: 80%;
    text-align: center;
    margin: 15px auto 15px auto;
}

#citation h3{
    width: 100%;
    margin: 0;
    font-size: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 20;
    font-style: oblique;
}

.container{
    width: 100%;
    height: 600px;
    padding: 0.1px;
}

/*CROSS*/ 
.cross{
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;
    position: absolute;

}

/*CROSS BOTTOM*/ 
.card-cross-bottom{
    clip-path: polygon(50% 1%, 0.5% 100%, 99.5% 100%);
    width: 100%;
    height: 300px;
    bottom: 0;
    left: 0;
    position: absolute;
}

.card-cross-bottom img{
    object-fit: cover;
    clip-path: polygon(50% 1%, 0.5% 100%, 99.5% 100%);
    width: 100%;
    height: 300px;
}

.text-card-bottom{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 300px;
    margin: 0;
    position: relative;
}

.title-card-bottom{
    /* Centra verticalmente e orizzontalmente */
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 3;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 60px;
    color: white;
    filter: opacity(0);
}

.subtitle-card-bottom{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 10px 0 0 0;
    padding: 0;
    z-index: 1;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 25px;
    color: white;
    filter: opacity(0);
}

.card-cross-bottom:hover .img-card{
    filter: brightness(0.4);
    transition: all 1s ease-in-out;
}

.card-cross-bottom .img-card{
    bottom: 0;
    height: 300px;
    position: absolute;
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    clip-path: polygon(50% 1%, 0.5% 100%, 99.5% 100%);
}

.card-cross-bottom:hover .title-card-bottom{
    filter: opacity(1);
    transition: all 2s ease-in-out;
}

.card-cross-bottom:hover .subtitle-card-bottom{
    filter: opacity(1);
    transition: all 3s ease-in-out;
}

/*CROSS TOP*/ 
.card-cross-top{
    clip-path: polygon(50% 99%, 0.5% 0, 99.5% 0);
    width: 100%;
    height: 300px;
    padding: 0;
    margin: 0;
    border: 0;
    top: 0;
    position: absolute;
}

.card-cross-top img{
    object-fit: cover;
    clip-path: polygon(50% 99%, 0.5% 0, 99.5% 0);
    width: 100%;
    height: 300px;
}

.text-card-top{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 300px;
    margin: 0;
    position: relative;
}

.title-card-top{
    /* Centra verticalmente e orizzontalmente */
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 3;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 60px;
    color: white;
    filter: opacity(0);
}

.subtitle-card-top{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 10px 0 0 0;
    padding: 0;
    z-index: 1;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 25px;
    color: white;
    filter: opacity(0);
}

.card-cross-top:hover .img-card{
    filter: brightness(0.4);
    transition: all 1s ease-in-out;
}

.card-cross-top .img-card{
    top: 0;
    height: 300px;
    position: absolute;
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    clip-path: polygon(50% 99%, 0.5% 0, 99.5% 0);
}

.card-cross-top:hover .title-card-top{
    filter: opacity(1);
    transition: all 2s ease-in-out;
}

.card-cross-top:hover .subtitle-card-top{
    filter: opacity(1);
    transition: all 3s ease-in-out;
}

/*Cross LEFT*/ 
.card-cross-left{
    clip-path: polygon(0 99.5%, 0 0.5%, 99% 50%);
    width: 50%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    left: 0;
    position: absolute;
}

.card-cross-left img{
    object-fit: cover;
}

.text-card-left{
    display: flex;
    justify-content: left;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
}

.title-card-left{
    /* Centra verticalmente e orizzontalmente */
    position: absolute;
     text-align: left;
    width: 90%;
    top: 50%;
    left: 10%;
    transform: translate(0%, -50%);
    margin: 0;
    padding: 0;
    z-index: 4;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 60px;
    color: white;
    filter: opacity(0);
}

.subtitle-card-left{
    position: absolute;
    text-align: left;
    width: 90%;
    top: 55%;
    left: 10%;
    transform: translate(0%, -50%);
    margin: 10px 0 0 0;
    padding: 0;
    z-index: 1;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 25px;
    color: white;
    filter: opacity(0);
}

.card-cross-left:hover .img-card{
    filter: brightness(0.4);
    transition: all 1s ease-in-out;
}

.card-cross-left .img-card{
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    clip-path: polygon(0 99.5%, 0 0.5%, 99% 50%);
}

.card-cross-left:hover .title-card-left{
    filter: opacity(1);
    transition: all 2s ease-in-out;
}

.card-cross-left:hover .subtitle-card-left{
    filter: opacity(1);
    transition: all 3s ease-in-out;
}

/*Cross RIGHT*/ 
.card-cross-right{
    clip-path: polygon(100% 99.5%, 100% 0.5%, 1% 50%);
    width: 50%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    right: 0;
    position: absolute;
}

.card-cross-right img{
    object-fit: cover;
}

.text-card-right{
    display: flex;
    justify-content: left;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
}

.title-card-right{
    /* Centra verticalmente e orizzontalmente */
    position: absolute;
    text-align: right;
    width: 90%;
    top: 50%;
    right: 10%;
    transform: translate(0%, -50%);
    margin: 0 0 0 0;
    padding: 0;
    z-index: 1;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 60px;
    color: white;
    filter: opacity(0);
}

.subtitle-card-right{
    position: absolute;
    text-align: right;
    width: 90%;
    top: 55%;
    right: 10%;
    transform: translate(0%, -50%);
    margin: 10px 0 0 0;
    padding: 0;
    z-index: 1;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 25px;
    color: white;
    filter: opacity(0);
}

.card-cross-right:hover .img-card{
    filter: brightness(0.4);
    transition: all 1s ease-in-out;
}

.card-cross-right .img-card{
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    clip-path: polygon(100% 99.5%, 100% 0.5%, 1% 50%);
}

.card-cross-right:hover .title-card-right{
    filter: opacity(1);
    transition: all 2s ease-in-out;
}

.card-cross-right:hover .subtitle-card-right{
    filter: opacity(1);
    transition: all 3s ease-in-out;
}

/*Title-container*/
.title-container{
    width: 80%;
    margin: 0 10% 0;
    padding: 150px 0 50px 0;
    display: flex;
    justify-content: left;
    justify-content: center;
    align-items: center;
}

.title-container img{
    width: auto;
    height: 50px;
    margin-right: 15px;
    
}

/*Footer-container*/
.footer-container{
    padding-bottom: 150px;
}

.footer-container img{
    width: auto;
    height: 50px;
    margin-right: 15px;
}

.footer-container a{
    display: flex;
    justify-content: left;
    justify-content: center;
    align-items: center;
}

#error-container{
    display: flex;
    justify-content: left;
    justify-content: center;
    align-items: center;
}

#error-container img{
    width: auto;
    height: 50px;
    margin-right: 15px;
}

/*Container-Cover*/
.container-cover{
    height: auto;
    margin: 5% 0 0 0;
}

.container-cover h1{
    font-family: "Poiret One", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 30px;
    color: black;
    text-align: center;
}

.container-cover h4{
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    color: black;
    text-align: center;
    margin: 0 20% 0;
    padding-bottom: 50px;
}

.container-cover h5{
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    color: black;
    text-align: center;
}

/*Form*/
form {
    background-color: #fff;
    padding: 2%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 40%;
    margin: 5% 30% 5% 30%;
}
label {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: black;
    display: block;
    margin-top: 15px;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  display: inline-block;
  margin-right: 15px;
}

.radio-group label{
    margin-top: 5px;
}

.radio-group input{
    margin-top: 5px;
    width: auto;
    border-radius: 4px;
    border: 1px solid #ccc;
}

small{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10px;
    color: black;
    display: block;

}

input, textarea, select {
    width: 96%;
    padding: 8px;
    margin: 5px 0 0px ;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #0056b3;
}
.sezione-nascosta {
    display: none;
    margin-top: 15px;
}

/*Footer*/
footer{
    position: sticky;
    height: 150px;
    text-align: center; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-direction: column;
    margin: 5% 0 1% 0;
}

#messaggio-risposta{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    text-align: center;
}

.table-footer{
    width: 100%;
}

.table-footer img{
    width: 40px;
    height: auto;
}

.table-footer th{
    width: auto;
    height: auto;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    color: rgb(0, 0, 0);
    font-size:  15px;
}

.table-footer a{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.table-footer p{
    margin: 0;
    text-align: center;
}

.table-footer br{
    display: none;
}

.sub-div{
    width: 100%; 
    height: 50px; 
    line-height: 50px;
}

.sub-div p{
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    margin: 0;
}

.contacts-mobile{
    display: none;
}