*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-family-corsivo: "Luxurious Script", cursive;
    --font-family-titolo: "Lato", sans-serif;
    --font-family-testo: "Calibri", sans-serif;

    --font-size-xbig: 5.5rem;
    --font-size-big: 3.7rem;
    --font-size-medio: 2.5rem;
    --font-size-norma: 2rem;
    --font-size-small: 1.5rem;

    --font-weight-slim: 100;
    --font-weight-norm: 400;
    --font-weight-bold: 900;

    --gap-xbig: 10rem;
    --gap-big: 5rem;
    --gap-lg: 3.5rem;
    --gap-md: 2.5rem;
    --gap-sm: 1rem;

    --color-bianco: #ffffff;
    --color-grigio: #cccccc;
    --color-nero: #3f3f3f;
    --color-rosso: #7d0201;
    --color-accent: rgb(125, 2, 1);
    /*--color-sezAtt: #c0c089;*/
    --color-sezAtt: #c0c089;

    --time-anima: 0.5s;
}
/* --------------------------- html --------------------------- */

html {
    font-size: 62.5%; /* = 10px */
}
body {
    font-family: var(--font-testo);
    font-size: var(--font-size-norma);
    font-weight: var(--font-weight-slim);
    color: var(--color-font-testo);
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
b {
    font-weight: bold;
}
.elenco {
    list-style-type: disc;
    list-style-position: inside;
    list-style-image: none;
}
img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-family-titolo);
    font-weight: var(--font-weight-slim);
}
.titolo,
.titoloAttivita {
    color: var(--color-rosso);
}
p {
    font-family: var(--font-family-testo);
    font-size: var(--font-size-norma);
    font-weight: var(--font-weight-slim);
    line-height: 3rem;
    padding-bottom: 2rem;
    color: #000;
}
.testo,
.small,
li,
a {
    font-family: var(--font-family-testo);
}
.txtce {
    text-align: center;
}
.accent {
    font-size: var(--font-weight-bold);
    color: var(--color-rosso);
}
.giustificato {
    text-align: justify;
}
button {
    position: relative;
    width: 100px;
    padding: 5px 10px;
    font-size: var(--font-size-norma);
    border-radius: 1rem;
}
.btn {
    cursor: pointer;
}
.nowrap {
    white-space: nowrap;
}
.hideSmScreen,
.showBigScreen {
    display: none;
}
.centraItems {
    display: flex;
    align-items: center;
    justify-content: center;
}
.separatore {
    position: relative;
    margin: var(--gap-md) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-rosso);
}
.linee {
    position: relative;
    width: 100%;
    max-width: 10rem;
    height: 0.1rem;
    background-color: var(--color-rosso);
}

.asteriscoLinee {
    margin: 0 15px;
    opacity: 1;
}
.bgGrigio {
    background-color: #eeeeee;
}
.paddingT {
    padding-top: 3rem;
}
.paddingTB {
    padding: 3rem 0;
}
.marginT {
    margin-top: 4rem;
}
.marginTB {
    margin: 3rem auto;
}
.marginB {
    margin-bottom: 2rem;
}
.marginAuto {
    margin: 0rem auto;
}
.sepFooter {
    color: var(--color-bianco);
}
.asteriscoLineeFooter {
    margin: 0 15px;
    opacity: 1;
    color: #fff;
}
.lineeFooter {
    position: relative;
    width: 100%;
    max-width: 10rem;
    height: 0.1rem;
    background-color: #fff !important;
}
@media screen and (min-width: 900px) {
    .showSmScreen {
        display: none;
    }
    .hideSmScreen {
        display: block;
    }
}
@media screen and (min-width: 1500px) {
    .showBigScreen {
        display: block;
    }
}
/* --------------------------- head --------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-nero);
    opacity: 0;
    z-index: -1;
    transform: scale(0);
    transition: opacity 0.5s;
}
.header.aperto::before {
    opacity: 0.8;
    transform: scale(100);
}
.topPage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap-sm);
    background-color: var(--color-nero);
    color: var(--color-bianco);
    transition: all var(--time-anima);
}

.boxLogo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.logo {
    width: 5rem;
    height: 5rem;
    background-color: var(--color-bianco);
    border-radius: 50%;
    padding: 0.5rem;
    transition: all var(--time-anima);
}
.testoLogo {
    transition: all var(--time-anima);
}

.nav {
    position: absolute;
    top: 3.5rem;
    left: 0;
    transform: translateY(-92%);
    width: 100%;
    padding: 4rem 0;
    text-align: center;
    font-family: var(--font-family-testo);
    font-size: var(--font-size-norma);
    font-weight: var(--font-weight-slim);
    background-color: inherit;
    color: var(--color-grigio);
    transition: all var(--time-anima);
    z-index: -1;
}
.nav.aperto {
    transform: translateY(-0%);
}
.navList {
    display: flex;
    flex-direction: column;
}
.navItem {
    padding: 1.5rem 1.5rem;
    border-bottom: none;
    transition: all var(--time-anima);
}
.nav.aperto .navItem {
    border-bottom: solid 1px #d4d4d4;
}
.sezAttiva {
    background-color: #b33d3d;
    color: #fff;
    opacity: 1;
}

.navItem:hover {
    background-color: #952f2f;
    color: #fff;
}
.btnApriMenu {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 8rem;
    background-color: inherit;
    border-radius: 50%;
    z-index: -1;
    color: #fff;
    font-size: var(--font-size-small);
    transition: all var(--time-anima);
}
.btnApriMenu > div {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}
.icoBtnChiudiMenu {
    display: none;
}
.nav.aperto .icoBtnChiudiMenu {
    display: block;
}
.nav.aperto .txtBtnApriMenu {
    display: none;
}
.boxLang {
    display: flex;
    gap: 1rem;
    font-family: var(--font-family-testo);
    font-size: var(--font-size-small);
    color: var(--color-nero);
}
.btnLang {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #fff;
    transition: all var(--time-anima);
}
.btnLang.attivo {
    background-color: #ccc;
}
@media screen and (min-width: 900px) {
    .nav {
        position: relative;
        top: initial;
        width: initial;
        z-index: initial;
        background-color: none;
        transform: initial;
        background-color: transparent;
        padding: 0;
        transform: initial;
    }
    .navList {
        background-color: none;
        flex-direction: initial;
        border: none;
        gap: 2rem;
    }
    .sezAttiva,
    .navItem:hover {
        background-color: transparent;
    }

    .sottolineaSezAttiva {
        position: absolute;
        bottom: 5px;
        height: 3px;
        background: var(--color-sezAtt);
    }
    .btnApriMenu {
        display: none;
    }
}
.header.fissaBarra .topPage {
    background-color: var(--color-rosso);
}

/* --------------------------- page --------------------------- */
main {
    margin-top: 6.5rem;
}
.container {
    width: 95%;
    margin: var(--gap-big) auto;
}
.boxDiviso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.boxDivisoFooter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}
.boxIntroHome {
    position: relative;
    width: 100vw;
    height: 90vh;
    background-size: cover;
    background: url("../ima/banner/bgHome.jpg") center no-repeat;
}
.bandaDescBanner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--gap-big) 0;
    text-align: center;
}
.logoBanner {
    margin-bottom: var(--gap-md);
    transform: translateY(5rem);
    background-color: #fff;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn-GiuSu 1.5s forwards;
}
.txtBanner {
    font-family: var(--font-family-titolo);
    font-size: var(--font-size-big);
    font-weight: var(--font-weight-slim);
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    color: #fff;
    animation: fadeIn-SuGiu 1s forwards;
    animation-delay: 1s;
}
.btn-desc {
    font-family: var(--font-family-testo);
    font-size: var(--font-size-norma);
    font-weight: var(--font-weight-norm);

    color: var(--color-rosso);
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    align-self: center;
    justify-content: center;
}
.boxThumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-small);
    font-family: var(--font-family-testo);
}
.titoloAttivita {
    font-weight: var(--font-weight-norm);
    margin-bottom: 2rem;
}
/* --------------------------- staff --------------------------- */
.rowStaff {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4rem;
}
.staffCv {
    width: 90%;
    margin: 0 auto;
    flex: 2;
    text-align: justify;
}
.nomeStaff {
    margin-bottom: 3rem;
    text-align: center;
}
.nomeStaff h2 {
    font-weight: var(--font-weight-norm);
}
.fotoStaff {
    width: 100%;
    flex: 1;
}

.boxMap {
    width: 100%;
    height: 100%;

    margin: 0px;
    padding: 0px;
}
.container-mappa {
    height: 100vh;
    background-color: #ccc;
}
@media screen and (min-width: 900px) {
    .rowStaff {
        flex-direction: row;
        gap: 4rem;
    }
    .staffCv {
        width: 70%;
        padding-right: 4rem;
    }
}
@media screen and (min-width: 1500px) {
    .staffCv {
        padding-right: 15rem;
    }
}
/* --------------------------- footer --------------------------- */
footer {
    position: relative;
    margin-top: 0rem;
    padding: 2rem 0;
    background-color: var(--color-nero);
    color: var(--color-bianco) !important;
    font-family: var(--font-family-testo);
    text-align: center;
}
footer p {
    color: var(--color-bianco) !important;
}
.listSocialIco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem;
}
.socialIco {
    width: 4rem;
    opacity: 0.7;
    cursor: pointer;
}
.formContatti {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}
.inputBox {
    width: 100%;
    padding: 0.7rem 1.5rem;
    font-size: var(--font-size-norma);
    font-family: var(--font-testo);
    font-weight: var(--font-weight-slim);
    background-color: #5a5a5a;
    border: 2px solid #5a5a5a;
    border-radius: 1rem;
    color: var(--color-bianco);
}

.boxCheckBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    font-size: 1.8rem;
}
.btnInviaForm {
    position: relative;
    margin-top: 1rem;
}
#messErrorPrivacy {
    font-size: 1.8rem;
    position: relative;
    top: -3rem;
    width: 100%;
    text-align: center;
    color: #c0c089;
}
::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}
:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}
::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}
.blu {
    color: #84a7d4;
}
.giallo {
    color: #c0c089;
}
#messGrazie,
#messErroreInvio {
    display: none;
}
.copyright {
    margin-top: 2rem;
    font-size: var(--font-size-small);
    font-family: var(--font-family-testo);
    letter-spacing: 2px;
}
.alive {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #8b8b8b;
    font-size: 1.5rem;
}

.alive:hover {
    color: #fff;
}

.pec {
    font-size: 1.7rem;
}
.indice {
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-norma);
    white-space: nowrap;
    font-size: 1.7rem;
    line-height: 3rem;
}
@media screen and (min-width: 340px) {
    .pec,
    .indice {
        font-size: 2rem;
    }
}
@media screen and (min-width: 900px) {
    .marginTB {
        margin: 5rem auto;
    }
    .boxDiviso,
    .boxDivisoFooter {
        width: 90%;
        flex-direction: row;
        gap: 3rem;
    }

    .boxDiviso > div,
    .boxDivisoFooter > div {
        flex: 1;
    }
    .boxDesc {
        padding: 0 2rem;
    }
    .boxInverso {
        display: flex;
        flex-direction: column-reverse;
    }
}
@media screen and (min-width: 1200px) {
    .boxDiviso,
    .boxDivisoFooter {
        width: 70%;
        flex-direction: row;
        gap: 3rem;
    }
}
/* --------------------------- animazioni --------------------------- */
@keyframes fadeIn-GiuSu {
    0% {
        transform: translateY(6rem);
        opacity: 0;
    }
    50% {
        transform: translateY(6rem);
        opacity: 1;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

@keyframes fadeIn-SuGiu {
    0% {
        transform: translateY(0rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}
.barraCookie {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 4rem 1rem 1rem;
    width: 90%;
    z-index: 90;
    margin: 0 auto;
}
.barraCookie a,
.barraCookie a:hover {
    font-weight: bold;
    color: #fff;
}
.barraCookie p {
    width: 100%;
    margin: 0 auto;
    font-size: 0.8em;
    color: #fff;
}
.chiudiCookie {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #ccc;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}
h5 {
    font-weight: bold;
}
a.cookie {
    color: #1b28d8;
}
