
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0 0;
    margin: 0 0;
    box-sizing: border-box;
    font-family: Roboto,Helvetica, sans-serif;
    font-weight: 300;
}

html,body {
    width: 100%;
    height: 100lvh;
    background-image: url("../img/musicainvilla/Foto-Villa.jpg");
    background-color: #283583;
    background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  position: fixed;
  pointer-events: none;
}
.mainpage {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

b {
    font-weight: 800;
    width: min-content;
    text-transform: uppercase;
}

.banner {
    background-color: #283583;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}

.banner span {
    color: #be965c;
    font-size: 16px;
    text-align: center;
}

.banner span b {
    font-weight: 800;
    font-size: 35px;
}

.banner img {
    height: 70px;
    width: auto;
}

.banner img#logo {
    height: 140px;
    width: auto;
    margin-top: 55px;
    z-index: 10;
}

.content {
    height: 100%;
    width: 100%;
    background-color: transparent;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0 0 0;
    overflow-y: hidden;
    pointer-events: none;
}



.list-event {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    padding-bottom: 150px;
    z-index: 5;
    pointer-events: all;
}

.eventcontainer {
    width: 1200px;
    height: 100%;
    background-color: rgba(40,53,131,.75);
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 30px 0 30px;
}

.eventcontainer .header {
    width: 80%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #fff;
    flex-shrink: 0;

}

.eventcontainer .header img {
    height: 100px;
}



.evento {

    width: 100%;
    height: 420px;
    margin-top: 30px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    border-bottom: 4px solid #be965c;
    gap: 10px;


}




.evento .evento-titolo {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.evento .evento-titolo span {
    font-size: 30px;
    color: #be965c;
}

.evento .evento-titolo span.ore {
    font-size: 20px;
} 

.evento-content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 10px;

}


.foto-evento {
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 50px;
    overflow: hidden;
}

.foto-evento img {
    width: auto;
    height: 350px;
    flex-shrink: 0;
    background-color: transparent;
}

.descrizione-evento {
    width: 100%;
    height: 100%;
    flex-shrink: 1;
    color: #fff;
    font-size: 25px;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.descrizione-evento span {
    font-size: 40px;
    font-weight: 400;
}


.evento.info {
    height: auto;
}

.descrizione-evento.info {
    height: auto;
}

.descrizione-evento.info span {
    font-size: 24px;
    color: #fff;
}

.descrizione-evento.info span b {
    font-size: 30px;
    color: #fff !important;
    
}

.descrizione-evento a,.descrizione-evento.info span a {
    text-decoration: none;
    color: #be965c;
}

@media screen 
and (max-width: 1200px) {

    .banner {
        height: 160px;
    }

    .banner img#logo {
        height: 100px;
        width: auto;
        margin-top: 5px;
        z-index: 10;
    } 


    .banner span {
        font-size: 25px;
        padding: 0 40px;
        font-weight: 600;
    }

    .eventcontainer {
        width: 90%;
    }

    .eventcontainer .header {
        width: 90%;
        height: auto;
    }

    .eventcontainer .header img {
        height: 120px;
    }


    .evento-content {
        height: auto;
        padding: 10px 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .evento .evento-titolo {
        width: 100%;
        height: auto;
        padding: 10px 0;
     
    }

    .evento .evento-titolo span {
        font-size: 55px;
        text-align: center;
        font-weight: bolder;
    }

    .evento .evento-titolo span.ore {
        font-size: 40px;
    }
    .evento {
        height: auto;
    }

    .descrizione-evento {
        order: 1;
        width: 100%;
        height: auto;
        padding: 10px 10px 50px 10px;
    }

    .descrizione-evento span {
        font-size: 40px;
    }

    .descrizione-evento span b {
        font-size: 46px;
    }

    .descrizione-evento.info span {
        font-size: 30px;
        color: #fff;
    }
    .descrizione-evento.info span b {
        font-size: 40px;
        color: #be965c;
    }

    .descrizione-evento a,.descrizione-evento.info span a {
        text-decoration: none;
        color: #be965c;
    }

    .foto1 {
        order: 2;
        height: 350px;
        width: auto;
      /* margin-right: 5%; */
        border-radius: 5px 5px;
    }

    .foto2 {
        order: 3;
        height: auto;
        width: 40%;
        margin-left: 5%;
        border-radius: 5px 5px;
    }

    .foto-evento img {
        border-radius: 5px 5px;
    }

    .prenotazione-evento {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 40px;
        
        
    }

    .prenotazione-evento span {
        font-size: 45px;
        color: #FFF;
        text-align: center;

    }

    .prenotazione-evento a {
        color: #fff;
        font-size: 40px;
        text-decoration: none;
        text-align: center;
        font-weight: bolder;
        padding: 15px 20px;
        background-color: rgba(190,150,92,.8);
        border-radius: 10px 10px;
        border: 1px solid #be965c;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;

    }

    .prenotazione-evento a.no-style  {
        color: #fff;
        font-size: 40px;
        text-decoration: none;
        text-align: center;
        font-weight: bolder;
        
    }

    .prenotazione-evento a img {
        height: 30px;
        margin-right: 30px;
    }

    .prenotazione-evento a.location-villa img {
        height: 50px;;
    }

    .prenotazione-evento a.location-villa b {
        text-transform: uppercase;
        width: fit-content;
        padding: 0 10px;
    }
}

@media screen 
and (min-width: 1200px)
and (-webkit-min-device-pixel-ratio: 1) {

    .foto1 {
        order: 1
    }

    .foto2 {
        order: 3
    }

    .descrizione-evento {
        order: 2
    }


.descrizione-evento span {
    font-size: 24px;
}
.prenotazione-evento {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    
    
}

.prenotazione-evento span {
    font-size: 20px;
    color: #FFF;
    text-align: center;

}

.prenotazione-evento a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    font-weight: bolder;
    padding: 15px 20px;
    background-color: rgba(190,150,92,.8);
    border-radius: 10px 10px;
    border: 1px solid #be965c;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: 25px;

}

.prenotazione-evento a.no-style  {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    font-weight: bolder;
    
}

.prenotazione-evento a img {
    height: 25px;
    margin-right: 25px;
}

.prenotazione-evento a.location-villa img {
    height: 30px;
}

.prenotazione-evento a.location-villa b {
    text-transform: uppercase;
    width: fit-content;
    padding: 0 10px;
}


.evento {
    height: auto;
}
}