/* Stili per lo sfondo */
html, body {
    overflow-x: hidden;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
}

#background-wrapper, #background-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

#background-image {
    background-image:url('../public/bg.jpg');
}

/* Stili per il menu */
#navPC {
    display: flex;
    /* align-items: center; */
    background-color: #aab9af;
    color: #fff;
    height: 4rem;
}
#navPC ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-grow: 1;
    flex-basis: 0;
}
#navPC ul li {
    flex: 1;
    text-align: center;
}
#navPC ul li a {
    font-family: 'Poppins', sans-serif;
    color: #f2ebd1;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
}

.logoPC {
    width: 18.2rem;
    display: flex;
    justify-content: center;
    align-items: start;
}

#navMobile {
    background-color: #aab9af;
    color: #fff;
    width: 3rem;
    height: 100%;
}
#navMobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#navMobile ul li {
    text-align: center;
    background-color: #aab9af;
    width: 3.5rem;
    height: 3.5rem;
    margin: 1.1rem;
}
#navMobile ul li a {
    font-family: 'Poppins', sans-serif;
    color: #f2ebd1;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
    margin: auto;
}

.logoMobile {
    width: 19rem;
    display: flex;
    justify-content: center;
    align-items: start;
}

/* Varie */
#motto {
    font-family: 'Poppins', sans-serif;
    color: #175047;
    font-size: 1.9rem;
    font-weight: 600;
    margin-right: 2rem;
    text-align: right;
}

/* Countdown */
#counter {
    width: 30rem;
    float: right;
}

#prenotaBiglietto {
    width: 100%;
    display: block;
    float: right;
    text-align: center;
    margin-top: 1rem;
}

#prenotaBigliettoMobile {
    width: 100%;
    display: block;
    float: right;
    text-align: center;
    margin-top: 1rem;
}

#prenotaBiglietto button {
    background-color: #aab9af;
    border: 0 none; 
    font-family: 'Poppins', sans-serif; 
    color: #175047; 
    padding: 0.7rem; 
    border-radius: 0.5rem; 
    font-weight: 600;
    font-size: 2.5rem;
}

#prenotaBigliettoMobile button {
    background-color: #aab9af;
    border: 0 none; 
    font-family: 'Poppins', sans-serif; 
    color: #175047; 
    padding: 0.7rem; 
    border-radius: 0.5rem; 
    font-weight: 600;
    font-size: 2.5rem;
}

#prenotaBiglietto button span{
    font-size: 1.5rem;
    display: block;
    margin-top: -9px;
}

#prenotaBigliettoMobile button span{
    font-size: 1.5rem;
    display: block;
    margin-top: -9px;
}

#bannerTop1 {
    float: left;
    max-width: 19%;
    position: absolute;
    top: 4rem;
}
#bannerTop1Mobile {
    float: left;
    max-width: 19%;
    display: none;
}
#bannerTop1 img{
    max-width: 86%;
	padding:0;
}
.square {
    background-color: #175047;
    height: 5rem;
    width: 5rem;
    padding-left: 0.8rem;
}
.square p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #f2ebd1;
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: -0.1rem;
}
.square span {
    font-family: 'Poppins', sans-serif;
    color: #f2ebd1;
    display: inline-block;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2rem;
}

/* Footer */
footer {
    height: 5rem;
}

.footerBox {
    background-color: #aab9af;
    height: 100%;
    width: auto;
}

.footerBoxMobile {
    height: 100%;
    width: auto;
}

.footerBox span {
    font-family: 'Poppins', sans-serif;
    color: #175047;
    font-weight: 600;
    font-size: 3rem;
}

.footerBox svg, .footerBoxMobile svg {
    color: #175047;
	fill: #175047;
    width: 100%;
    height: 100%;
}

@media (max-width: 1180px) {
    #motto {
        text-align: center;
    }

    #counter {
        margin: auto;
        margin-top: 11rem;
        float: none;
    }

    #prenotaBiglietto button{
        font-size: 1.5rem;
    }

    #prenotaBigliettoMobile button{
        font-size: 1.5rem;
    }

    #prenotaBiglietto button span {
        font-size: 1rem;
        margin-top: -5px;
    }

    #prenotaBigliettoMobile button span {
        font-size: 1rem;
        margin-top: -5px;
    }
    nav ul li a {
        font-size: 1.3rem;
    }

    .footerBox span {
        font-size: 2rem;
    }
}


#navMobile { display: none; }
footer { width: 100%; }
.footerBoxMobile { display: none;}
#mobileBox { display: none;}

@media (max-width: 1030px) {
    #background-wrapper, #background-image {
        background-position: left top;
    }

    #background-image {
        background-image:url('../public/bgMobile.jpg');
    }

    #navPC { display: none; }

    #navMobile { display: block; }
    
    footer { width: auto; }

    #prenotaBiglietto {display: none;}

    .footerBoxMobile { display: block;}
    #mobileBox {
        background-color: #aab9af;
        display: block;
        margin-top: 13rem;
        width: calc(100% - 7.2rem);
    }

    #mobileBox span:first-child {
        font-weight: 600;
        font-size: 1.1rem;
    }

    #mobileBox span:last-child {
        font-weight: 600;
        font-size: 1.3rem;
    }

    #bannerTop1 {
        display: none;
    }
    #bannerTop1Mobile {
        display: block;
        text-align: center;
        max-width: calc(100% - 3.9rem);
        margin-left: 0.8rem;
    }
    #bannerTop1Mobile img{
        width: 35%;
    }
    #motto { display: none; }

    #counter {
        /*transform: scale(0.7);*/
        width: calc(100% - 3rem);
        margin-top: 0.25rem;
        float: left;
    }

    footer {
        height: 1.8rem;
    }

    .footerBox {
        display: none !important;
    }
}

@media only screen and (min-width: 471px) and (max-width: 1030px) {
	#background-image {
        background-image:url('../public/bg.jpg');
    }

    .square {
        margin: auto;
    }

    #mobileBox span:first-child {
        font-weight: 600;
        font-size: 1.6rem;
    }

    #mobileBox span:last-child {
        font-weight: 600;
        font-size: 1.3rem;
    }
}

@media (max-width: 470px) {
    .square {
        height: 3.8rem;
        width: 3.8rem;
        padding-left: 0.7rem;
    }

    .square span {
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .square p {
        font-size: 0.7rem;
    }
}

.modal-content {
    background-color: #aab9af;
}
  