*{
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

/* ##### Stile della Navbar ##### */
.navbar {
    width: 100vw;
    height: 7vh;
    background-color: #15285b;
    display: flex;
    position: fixed;
    z-index: 3;
    color: whitesmoke;
    font-family: 'Nexa', sans-serif;
    font-weight: lighter;
}

.navbar_menu{
    height: auto;
    width: 35vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2vw;
}

.navbar_menu a{
    margin-right: 15px;
    padding: 3px;
    color: whitesmoke;
    text-decoration: none;
    font-weight: bold;
}

.navbar_menu a:hover{
    border-bottom: solid 2px whitesmoke;
}

.navbar_titolo{
    height: auto;
    width: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2vw;
}

.navbar_social{
    height: 7vh;
    width: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar_social img{
    width: 3vw;
}

.tasto_menu_responsive{
    display: none;
}

.menu_responsive{
    display: none;
}

/* ##### Evento ##### */
    .banner {
        margin-top: 7vh;
        background-color: whitesmoke;
        width: 300vw;
        height: 7vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        z-index: 2;
        font-family: 'Nexa', sans-serif;
        font-weight: bold;
    }

    .scorrimento {
        display: inline-block;
        animation: scroll 30s linear infinite;
    }

    .scorrimento span {
        margin-right: 200px; /* distanza tra le frasi */
        font-size: 1.7vw;
    }

    .scorrimento_phone {
        display: none;
        animation: scroll 5s linear infinite;
    }

    .scorrimento_phone span {
        margin-right: 90px; /* distanza tra le frasi */
        font-size: 5vw;
    }

    @keyframes scroll {
        from {
        transform: translateX(0);
        }
        to {
        transform: translateX(-50%);
        }
    }



/* ############### HOME ############## */


/*##### MAIN #####*/

.container_brochure{
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    z-index: 2;
    background-image: url('/img/img_varie/sfondo_1.webp');
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Nexa', sans-serif;
}

.spazio_sopra{
    display: flex;
    height: 12vh;
    width: 100vw;
}

.cont_card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: 100vw;
}

.group_card{
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 70vh;
    width: 100vw;
}

.group_card_phone{
    display: none;
}

.card {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 65vh;
    width: 23vw;
    background-color: white;
    border-radius: 35px;
    border: solid 3px white;
    cursor: pointer;text-align: center;
    transition: transform 0.3s ease;
}

.card span{
    font-size: 1.3vw;
}

.card:hover{
    transform: scale(1.05);
}

.nome_card{
    font-size: 1.7vw;
    color: transparent;
    font-weight: bold;
    width: 100vw;
    z-index: 3;
    border-radius: 35px;
}

.card:hover .nome_card{
    transition: calc(0.7s);
    background-color: rgb(255, 255, 255, 0.8);
    color: black;
    /* font-size: 2vw; */
}

.intestazione-card{
    color: white;
    font-size: 2.5vw;
    font-weight: bold;
}

/*### Modale Descrizione###*/

/* MODALE */
.modal {
    z-index: 3;
    display: none; /* nascosto di default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    color: whitesmoke;
}

.modal-content {
    display: flex;
    flex-direction: row;
    background-color: rgba(21, 40, 91, 0.95);
    padding: 30px;
    border-radius: 25px;
    width: 80vw;
    text-align: center;
    box-shadow: 0 3px 15px rgb(255, 255, 255);
    animation: fadeIn 0.3s ease;
}

.modal-content h2{
    font-size: 2vw;
}

.modal-content p{
    font-size: 1.1vw;
}

.modal-contenuto{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 60%;
    z-index: 2;
}

.close {
    z-index: 3;
    float: right;
    font-size: 3vw;
    cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/*##### CONTATTACI #####*/

.container_contattaci{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 10vw;
    width: 100vw;
    color: black;
    text-align: center;
}

.contatta{
    display: flex;
    flex-direction: column;
}

.contatta h2{
    font-size: 1vw;
    font-weight: bold;
}

.contatta a{
    color: blue;
}

.recapito:hover{
    transition: calc(0.7s);
    text-decoration: underline;
}


/*### FONT ###*/

@font-face {
    font-family: 'Coco Gothic';
    src: url('/font/coco_gothic/Coco-Gothic-Light-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('/font/nexa/Nexa-ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}