/* IMPOSTAZIONI DI BASE */


/* TAVOLOZZA COLORE */
:root{
    --primary: #007FFF ;
    --light1: #FFFEF8;
    --black: #1E1E1E;
    --secondary: #0D00A4;
    --accent: #FF9FE5;
    }


    
    /* RESET */
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    a{
        text-decoration: none;
    }
    
    li{
        list-style-type: none;
    }
    
    li:hover{
        text-decoration: underline;
    }
    
    /* UTILITY */
    
    html {
        scroll-behavior: smooth;
    }
    
    .res{
        width: 100%;
        max-width: 200px;
    }
    
    .container {
        max-width: 1440px;
        margin: 0 auto;
    }

    /* LINK */

    #stagione {
        scroll-margin-top: 100px;
      }
      
      #fondazione {
        scroll-margin-top: 150px;
      }
      
      #news {
        scroll-margin-top: 120px;
      }

      #contatti{
        scroll-margin-top: 150px;
      }
    
    /* TIPOGRAFIA */
    
    .stile1 {
        font-family: "Roboto Condensed", sans-serif;}
    
    .stile2{
        font-family: "EB Garamond", serif;
        font-style: italic;
        font-weight: 500;
        font-size: 17px;
    }
    
    .stile3{
        font-family: "EB Garamond", serif;
        font-style: italic;
        font-weight: 100;
        font-size: 205px;
    }
    
    /* HEADER */
    header.header {
        max-width: 1440px;
        display: flex;
        align-items: flex-start;
        padding: 20px;
        font-family: "Roboto Condensed", sans-serif;
        font-weight: 600;
        background: #fff;
        z-index: 10; /* Assicura che l'header sia sopra il contenuto */
    }
    
    .fixed{
        position: fixed;
        width: 100%;
        z-index: 1000; /* Posiziona l'header sopra il resto del contenuto */
    }
    
    .header__logo img{
        filter: invert(1);
    }

    .mobile-menu{
        display: none;
    }
    
    /* HAMBURGER */
    
    
    
    .header__menu{
        display: flex;
        margin-left: 65%;
    }
    
    .menu__1{
        margin-right: 60px;
    }
    
    .menu__2{
        padding-right: 10px;
    }
    
    .menu__1>li>a, 
    .menu__2>li>a {
        color: var(--black);
    }
    
    .hero {
        position: relative;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: calc(155px);
        overflow: hidden; /* Per contenere gli elementi delle slide */
    }
    
    .hero {
        background: none;
    }
    
    .hero__slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.7s ease-in-out;
    }
    
    .hero__slide.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero__background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: cover;
        z-index: -1;
    }
    
    .hero__content {
        position: absolute;
        bottom: 0px;  
        left: 0px;   
        background: #fff;
        padding: 20px;
        max-width: 450px;
        z-index: 2;
    }
    
    /* Rotazione automatica con CSS puro */
    @keyframes slideRotation {
        0%, 28% {
            opacity: 1;
            pointer-events: auto;
        }
        33%, 100% {
            opacity: 0;
            pointer-events: none;
        }
    }
    
    .hero__slider .hero__slide:nth-child(1) {
        animation: slideRotation 20s infinite;
    }
    
    .hero__slider .hero__slide:nth-child(2) {
        animation: slideRotation 20s infinite 5s;
    }
    
    .hero__slider .hero__slide:nth-child(3) {
        animation: slideRotation 20s infinite 10s;
    }
    
    .hero__slider .hero__slide:nth-child(4) {
        animation: slideRotation 20s infinite 15s;
    }
    
    
    .hero__slider .hero__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.7s ease-in-out;
        pointer-events: none;
    }
    
    .hero__slider .hero__slide.active,
    .hero__slider .hero__slide:nth-child(1) { 
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero__background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: cover;
        z-index: -1;
    }
    
    /* Animazione per rotazione automatica */
    @keyframes slideRotation {
        0%, 28% {
            opacity: 1;
            pointer-events: auto;
        }
        33%, 100% {
            opacity: 0;
            pointer-events: none;
        }
    }
    
    /* Applicazione animazioni */
    .hero__slider .hero__slide:nth-child(1) {
        animation: slideRotation 15s infinite;
    }
    
    .hero__slider .hero__slide:nth-child(2) {
        animation: slideRotation 15s infinite 5s;
    }
    
    .hero__slider .hero__slide:nth-child(3) {
        animation: slideRotation 15s infinite 10s;
    }
    
    .hero__slider .hero__slide:nth-child(4){
        animation: slideRotation 20s infinite 15s;
    }
    
    .hero__button{
        position: absolute;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: white;
        font-family: "EB Garamond";
        font-size: 24px;
        text-align: center;
        line-height: 47px;
        border-radius: 50%;
        transition: all 0.3s ease-in-out;
    }
    
    .hero__button a{
        color: var(--black);
    }
    
    
    .hero__button:hover a {
       color: var(--secondary);
    }
    
    /* TIPOGRAFIA */
    
    .title{
    font-size: 30px;
    font-family: "Roboto Condensed", sans-serif;
    padding-bottom: 5px;
    }
    
    .subtitle{
        font-size: 15px;
        font-family: "Eb Garamond", serif;
        font-weight: 100;
        font-style: italic;
        color: var(--secondary);
    }
    
    .headline{
        padding-top: 15px;
        font-size: 14px;
        font-family: "Roboto Condensed", sans-serif;
    }
    
    h1,h2,h3,h4,h5,h6{
        font-family: "Roboto Condensed", sans-serif;
    }
    
    /* PROVA CALENDARIO */
    
    .stagione{
        padding: 20px;
    }
    
    
    .stagione__header p{
        font-family: "Roboto condesed";
        max-width: 450px;
        padding-bottom: 20px;
        font-size: 15px;
    }
    
    .stagione__maggio h2,.stagione__giugno h2,.stagione__luglio h2{
        padding: 10px;
        border-bottom: 2px solid var(--black);
    }   
    
    .calendario{
        display: flex;
        gap: 10px;
        margin-left: 30%;
        margin-top: 20px;
        margin-bottom: 5px;
        align-items: center;
    }
    
    /* Modifica le transizioni per renderle più fluide */
    .calendario > div:not(.calenario__button) {
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
        opacity: 1;
        transform: translateX(0);
        flex: 0 0 auto;
    }
    
    .calendario > div.slide-entering-right {
        opacity: 0;
        transform: translateX(60px);
    }
    
    .calendario > div.slide-entering-left {
        opacity: 0;
        transform: translateX(-60px);
    }
    
    .calendario > div.slide-exiting-right {
        opacity: 0;
        transform: translateX(60px);
    }
    
    .calendario > div.slide-exiting-left {
        opacity: 0;
        transform: translateX(-60px);
    }
    
    .calendario {
        overflow: hidden; /* Nasconde i contenuti che escono dal box */
        position: relative; /* Per posizionamento corretto degli elementi */
    }
    
    .calendario > div.slide-entering-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    /* Stile per slide in uscita verso destra */
    .calendario > div.slide-exiting-right {
        opacity: 0;
        transform: translateX(30px);
    }
    
    /* Stile per slide in uscita verso sinistra */
    .calendario > div.slide-exiting-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    
    
    .calenario__button{
        bottom: 30px;
        right: 30px;
        width: 30px;
        height: 30px;
        background:var(--black);
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        color: var(--light1);
        font-family: "EB Garamond" serif;
        flex-shrink: 0;
    
    }
    
    .calendario > div {
        position: relative;
        overflow: hidden; /* Importante per contenere l'overlay */
    }
    
    .calendario img{
        width: 270px;
        height: 300px;
        object-fit: cover;
    }
    
    
    .calendario > div:hover h4,
    .calendario > div:hover p {
        text-decoration: underline;
    }
    
    .stagione__luglio .calendario{ 
        margin-left: 427px;
    }

    .stagione__luglio .calenario__button{
        display: none;
    }
    
    
    /* TIPOGRAFIA CALENDARIO */
    .stagione h1{
        font-size: 205px;    
    }
    
    .calendario p{
        font-size: 17px;
        font-family: "Eb Garamond", serif;
        font-weight: 100;
        font-style: italic;
        color: var(--secondary);
    }
    
    .calendario h4{
        font-size: 18px;
        font-family: "Roboto Condensed", sans-serif;
    }
    
    .calendario>div>a{
        text-decoration: none;
        color: var(--black);
    }
    
    /* INFO */
    
    .info{
        padding: 20px;
        display: flex; }
        
    .info__fondazione{
        padding-right: 20px;
        max-width: 500px;
        margin-left: 33%;
    }
    
    .info__biglietteria{
        padding-left: 20px;
        max-width: 350px;
    }
    
    .info__fondazione>li:hover, .info__biglietteria>li:hover{
    text-decoration: underline;
    }
    
    /* INFO TIPOGRAFIA*/
    
    .info h3{
        font-family: "Roboto Condensed", sans-serif;    
        font-weight: 600;
        border-bottom: 2px solid var(--black);
        padding-bottom: 5px;
    }
    
    .info p{
        font-size: 14px;
        font-family: "Roboto Condensed", sans-serif;
        padding-top: 20px;
    }
    
    .info__fondazione>li>a, .info__biglietteria>li>a{
        color:var(--secondary);
        font-family: "Eb Garamond", serif;
        font-weight: 100;
        font-style: italic;
        text-decoration: none;
    }
    
    .info__fondazione>li, .info__biglietteria>li {
        padding-top: 10px;
    }
    
    /* NEWS */
    
    .news {
        padding: 20px;
    }
    
    .news__header {
        border-bottom: 2px solid var(--black);
        padding-bottom: 5px;}
    
    .news__carosello{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .container__news{
        display: flex;
        justify-content: center;
        border-bottom: 2px solid var(--black);
        padding-bottom: 30px;
        margin: 0;
      }
    
    .news__button{
        display: flex;
        justify-content: center;
        padding:  5px 10px;
        width: 33%;
        border-radius: 50px;
        border: none;
        background-color: #000000;
        color: #fff;
        font-size: 10px;
        
      }
    
    .news__button>a>h2{
        text-decoration: none;
        color: var(--light1);
        font-weight: 100;
        font-style: italic;
        font-family: "EB Garamond", serif;
    }
    
    .news__button:hover{
    text-decoration: underline;
    }
    /* COLONNE NEWS */
    
    .colonna__header{
        padding-bottom: 10px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        color: var(--black); 
        width: 100%;
        gap: 10px;
    
    }
    
    .colonna__data{
        height: 30px; 
    
    }
    
    .colonna__data>p{
        color: var(--secondary);
    }
    .colonna__img{
        width: 100%;
    
    }
    
    .colonna__img>img{
        width: 100%;
      }
    
    
    
    
    .colonna__header>a>h2{
        color: var(--black);
        text-decoration: none;
        font-size: 20px;
    }
    
    .colonna:hover .colonna__header a h2 {
        text-decoration: underline;
    }
    
    
    
    
    
    /* NEWSLETTER */
    
    .newsletter{
        margin-bottom: 30px;
    }
    
    .newsletter__header{
        padding: 10px;    
    }
    
    .newsletter__header>h1{
        font-size: 55px;
    }
    
    .newsletter__container {
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .newsletter__left {
        flex: 1;
        min-width: 250px;
    }
    
    .newsletter__left h3{
        font-family: "EB Garamond", serif;
        font-weight: 100;
        font-style: italic;
        font-size: 18px;
    }
    
    .newsletter__right {
        flex: 2;
        min-width: 450px;
    }
    
    .form__row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form__group {
        flex: 1;
    }
    
    input[type="text"],
    input[type="email"] {
        width: 100%;
        padding: 12px;
        background-color: #e9e9e9;
        border: none;
        font-size: 14px;
        color: #333;
        font-family: "Roboto Condensed", sans-serif;
    }
    
    .checkbox__container {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .custom__checkbox {
        display: inline-block;
        width: 24px;
        height: 24px;
        background-color: #fff;
        border: 1px solid #ccc;
        margin-right: 10px;
        position: relative;
    }
    
    .checkbox__container input {
        position: absolute;
        opacity: 0;
        align-content: center;
    }
    
    .checkmark {
        position: absolute;
        top: 2px;
        left: 8px;
        width: 7px;
        height: 15px;
        border: solid black;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
    
    .privacy__text {
        flex: 1;
        font-size: 14px;
        line-height: 1.4;
        font-family: "Eb Garamond", serif;
        font-style: italic;
        margin-right: 15px;
    }
    
    .submit__button {
        background-color: #e6e6e6;
        color: #333;
        padding: 10px 20px;
        border: none;
        border-radius: 25px;
        font-size: 14px;
        cursor: pointer;
        font-family: "EB Garamond", serif;
        float: right;
        width: 60%;
        font-style: italic;
    }
    
    .submit__button:hover {
        background-color: #d9d9d9;
        text-decoration: underline;
    }
    
    
    
    /* FOOOTER */
    
    .footer {
    background-color: #1E1E1E;
    color: #FFFEF8;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr; /* Mappa più piccola, contenuto più grande */
    gap: 20px;
    align-items: start;
}

.one {
    grid-column: 1/2;
}

.one iframe {
    width: 100%;
    height: 300px; /* Ridotta da 500px a 300px */
    max-width: 400px; /* Larghezza massima per la mappa */
}

.two {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Tre colonne per il contenuto */
    gap: 20px;
}
    
    /* TIPOGRAFIA FOOTER  */
    .footer__2 h4{
        font-family: "Roboto Condensed", sans-serif;
        font-size: 18px;
        padding-bottom: 10px;
    }
    
    .contatti p {
        font-family: "Eb Garamond", serif;
        font-weight: 100;
        font-style: italic;
        padding-bottom: 5px;
        line-height: 18px;
    }
    
    .social a{
        color: var(--light1);
        font-size: 1.5em;
        padding-right: 5px;
        padding-bottom: 10px;
        padding-top: 5px;
    }
    
    .contatti h4{
        margin-bottom: 15px;
        }
    
    .social h4{
        margin-bottom: 15px;
        }
    
    .trasparenza h4{
    margin-bottom: 15px;
    }
    
    .social a:hover {
        color: var(--primary);
    }
    .trasparenza{
        font-family: "Eb Garamond", serif;
        font-weight: 100;
    }
    
    .trasparenza a{
        font-family: "Eb Garamond", serif;
        font-weight: 100;
        font-style: italic;
        text-decoration: underline;
        color: var(--primary);
    }
    
    

/* MEDIA PER DISPOSITIVI MEDIUM */
@media screen and (max-width: 992px) {
    /* HEADER - mantenuto come nell'originale */
    .header__menu {
        display: flex;
        margin-left: 40%;
    }
    
    
    
    .menu__2 {
        padding-right: 20px;
    }

    /* STAGIONE */
    .stagione__header h1 {
        font-size: 100px;
    }

    /* CALENDARIO */
    .calendario {
        display: flex;
        gap: 10px;
        margin-left: 0;
        margin-top: 20px;
        margin-bottom: 5px;
        align-items: center;
        position: relative; 
        padding: 0 40px; 
    }

    .calendario>img{
        width: 270px;
        height: 300px;
        object-fit: cover;
    }
    


    
    .calenario__button {
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        line-height: 30px;
        z-index: 50; 
    }
    
    .calendario .calenario__button:first-child {
        left: 0;
    }
    
    .calendario .calenario__button:last-child {
        right: 0;
    }
    
    .calendario > div:not(.calenario__button) {
        flex: 0 0 auto;
        max-width: calc(33.333% - 20px);
    }

      /* Fix for July section */
      .stagione__luglio .calendario {
        margin-left: 47px;
        margin-right: 0; /* Assicura che non ci sia margine a destra */
        display: flex;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 5px;
        align-items: center;
        width: 95%; /* Imposta la larghezza al 100% del contenitore */
        box-sizing: border-box; /* Assicura che il padding sia incluso nella larghezza */
        overflow-x: hidden; /* Impedisce lo scorrimento orizzontale */
        justify-content: center; /* Centra gli elementi */
        padding: 0; /* Rimuove il padding se presente */
    }
    
    /* NEWS */

    .news__carosello {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    
    .news__carosello .colonna:last-child {
        display: none;
    }
    
    /* INFO */

    .info{
        padding: 20px;
        display: flex; }
        
    .info__fondazione{
        padding-right: 20px;
        max-width: 500px;
        margin-left: 0%;
    }
    
    .info__biglietteria{
        padding-left: 20px;
        max-width: 350px;
    }

    /* FOOTER */
   

    #stagione {
        scroll-margin-top: 120px;
      }
      
      #fondazione {
        scroll-margin-top: 150px;
      }
      
      #news {
        scroll-margin-top: 120px;
      }

      #contatti{
        scroll-margin-top: 150px;
      }
    
}


/* MEDIA PER DISPOSITIVI MOBILI */




@media (max-width: 768px) {
    
    html, body {
        overflow-x: hidden;
    }

  
        /* HEADER */
    
        .header__menu {
            display: none;
            cursor: pointer;
            margin-left: auto;
            margin-right: 20px;
        }

        .icon-hamburger {
            width: 30px;
            height: 23px;
            position: relative;
        }

        .icon-hamburger span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: var(--black);
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

        .icon-hamburger span:nth-child(1) {
            top: 0px;
        }
        
        .icon-hamburger span:nth-child(2),
        .icon-hamburger span:nth-child(3) {
            top: 10px;
        }
        
        .icon-hamburger span:nth-child(4) {
            top: 20px;
        }
        
        .icon-hamburger.open span:nth-child(1) {
            top: 10px;
            width: 0%;
            left: 50%;
        }

        .icon-hamburger.open span:nth-child(2) {
            transform: rotate(45deg);
        }
        
        .icon-hamburger.open span:nth-child(3) {
            transform: rotate(-45deg);
        }
        
        .icon-hamburger.open span:nth-child(4) {
            top: 10px;
            width: 0%;
            left: 50%;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 75px;
            left: 0;
            width: 100%;
            background: white;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 999;
        }
        
        .mobile-menu.open {
            display: block;
        }
        
        .mobile-menu li {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        
        .mobile-menu li:last-child {
            border-bottom: none;
        }
    

        /* HERO */
        .hero__button{
            display: none;
        }
        
        .hero__content{
            width: 100%;
        }
    
        .hero__content p{
            display: none;
        }

        .header__icon {
            display: block;
            cursor: pointer;
            align-self: center;
            margin-left: auto;
            margin-right: 20px;
        }
        

        /* HAMBURGER */
        .icon-hamburger {
            width: 30px;
            height: 23px;
            position: relative;
        }
        
        .icon-hamburger span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: var(--black);
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }
        
        .icon-hamburger span:nth-child(1) {
            top: 0px;
        }
        
        .icon-hamburger span:nth-child(2),
        .icon-hamburger span:nth-child(3) {
            top: 10px;
        }
        
        .icon-hamburger span:nth-child(4) {
            top: 20px;
        }
        
        .icon-hamburger.open span:nth-child(1) {
            top: 10px;
            width: 0%;
            left: 50%;
        }
        
        .icon-hamburger.open span:nth-child(2) {
            transform: rotate(45deg);
        }
        
        .icon-hamburger.open span:nth-child(3) {
            transform: rotate(-45deg);
        }
        
        .icon-hamburger.open span:nth-child(4) {
            top: 10px;
            width: 0%;
            left: 50%;
        }
        
        .mobile-menu {
            display: none;
            position: fixed;
            top: 75px;
            left: 0;
            width: 100%;
            background: white;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 999;
        }
        
        .mobile-menu.open {
            display: block;
        }
        
        .mobile-menu li {
            padding: 15px 0;
  

        }
        
        .mobile-menu li>a {
            text-decoration: none;
            color: var(--black);
        }


        .mobile-menu li>a:hover {
            text-decoration: underline;
        }

    
        /* STAGIONE */

        .stagione__header h1{
            font-size: 50px;
            border-top: #000000 2px solid;
        }
        .calendario {
            display: flex;
            gap: 10px;
            margin-left: 0;
            margin-top: 20px;
            margin-bottom: 5px;
            align-items: center;
            padding: 0 40px;
            overflow: hidden;
            width: 100%;
        }
        
        .calendario > div:not(.calenario__button) {
            flex: 0 0 100%;
            margin: 0 auto;
            max-width: 270px; /* Larghezza della card */
        }
        
        /* Assicurati che le immagini siano responsive */
        .calendario img {
            width: 100%;
            height: auto;
            max-height: 300px;
            object-fit: cover;
        }
        
        .calenario__button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            line-height: 30px;
            z-index: 50;
        }
        
        .calendario .calenario__button:first-child {
            left: 5px;
        }
        
        .calendario .calenario__button:last-child {
            right: 5px;
        }
        
        .stagione__luglio .calenario__button {
            display: block;
        }
        
        .stagione__luglio .calendario {
            margin-left: 0;
            justify-content: center;
        }

        /* INFO */

        .info {
            flex-direction: column;
        }

        .info__fondazione{
            padding-bottom: 15px;
        }

        .info__fondazione p{
            overflow: hidden;
            display: -webkit-box;
        }

        .info__biglietteria{
            padding-left: 0px;
        }

        
    
        /* NEWS */
    
        .news__carosello {
            grid-template-columns: 1fr;
        }
    
        .news__carosello .colonna:nth-child(2) {
            display: none;
        }

        .news__button {
            width: 100%;
        }


        /* NEWSLETTER */

        .newsletter__header{
            padding: 20px;
        }

        .newsletter h1{
            font-size: 30px;
        }

        .newsletter__container {
            padding-top: 0px;
        }

        .newsletter__right{
                min-width:100%
        }

        .form__row{
            flex-direction: column;
        }

        .checkbox__container {
            flex-direction: column;
            gap: 15px;
        }

        .newsletter__left h3 {
            font-size: 15px;
        }

        .privacy__text{
            font-size: 12px;
            margin-left: 0px;
        }

        .submit__button{
            width: 100%;
            align-self: center;
        }
        
        /* FOOTER */

            .footer {
        grid-template-columns: 1fr; /* Una sola colonna su mobile */
        gap: 15px;
    }
    
    .one {
        grid-column: 1/2;
        order: 2; /* Mappa va sotto il contenuto */
    }
    
    .one iframe {
        height: 200px; /* Ancora più piccola su mobile */
        max-width: 100%;
    }
    
    .two {
        grid-column: 1/2;
        order: 1; /* Contenuto va sopra */
        grid-template-columns: 1fr; /* Una colonna per il contenuto */
        gap: 20px;
    }
    
    /* Riorganizza gli elementi in ordine logico */
    .contatti {
        order: 1;
    }
    
    .social {
        order: 2;
        grid-template-columns: repeat(5, auto);
        justify-content: start;
        gap: 15px;
    }
    
    .social h4 {
        grid-column: 1/6;
    }
    
    .trasparenza {
        order: 3;
    }
    
    /* Ottimizza testi per mobile */
    .footer h4 {
        font-size: 16px;
    }
    
    .contatti p,
    .trasparenza p,
    .trasparenza li {
        font-size: 18px;
        line-height: 1.4;
    }
}

        
    
    


