:root {
    --blu-rotary: #00205B;
    --oro-rotary: #FDB927;

    /* Override dei precedenti */
    --giallo: var(--oro-rotary);
    --arancione: var(--blu-rotary);
}

.bg-rotary-blu {
    background-color: var(--blu-rotary) !important;
}

.bg-rotary-oro {
    background-color: var(--oro-rotary) !important;
}

.text-rotary-blu {
    color: var(--blu-rotary) !important;
}

.text-rotary-oro {
    color: var(--oro-rotary) !important;
}



* {
    font-family: "Montserrat", sans-serif;
}

#top {
    position: sticky;
    top: 0;
    z-index: 400000;
    h4 {
        color: var(--arancione);
        font-weight: 400;
        font-size: 18px;
    }

    .text-arancione {
        color: var(--arancione)
    }
}

.bg-arancione {
    background: var(--arancione);
}

.bg-giallo {
    background: var(--giallo);
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: -1;
    }
    .video-overlay {
        position: relative;
        z-index: 1;
    }
}

.about-section {
    background: url("../img/foto.jpg") center center no-repeat;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: start;
    position: relative;
}

.about-content {
    padding: 20px;
}

.about-content-top {
    min-height: 300px;
}

.hover-opacity {
    opacity: 1;
    transition: all linear 0.3s;
    &:hover {
        opacity: 0.5;
    }
}

#concorso-caseario {
    height: 80vh;
    background-position: center;
    background-size: cover;
}


.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 200000000;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    background: var(--giallo);
    .overlay-content {
        position: relative;
        top: 25%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }
    a {
        padding: 4px;
        text-decoration: none;
        font-size: 20px;
        color: #818181;
        display: block;
        transition: 0.3s;
        text-align:left;
        &:hover, &:focus {
            color: #454545;
        }
    }
    h2 {
        margin-top:30px;
        font-size:26px;
    }
    .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
    }
}

.box-white {
    height:50vh;
    width: 100%;
    display: block;
}

.bg-marrone {
    background: #B98533;
}

.bg-verde {
    background: #9C9B64;
}

.testo-articolo {
    img {
        position: relative;
        top:300px;
        max-width: 100%;
        height: auto !important;
    }
    a {
        color:inherit;
    }
}

.testo-colonne {
    column-count: 2;
    column-gap: 10px;
}

@media screen and (min-width: 992px) {
   .menu-mobile {
       position: absolute;
       top:6px;
   }
}

@media screen and (max-width: 991px) {
    .menu-mobile {
        position: absolute;
        right: 15px;
        top: 150px;
    }
    .testo-colonne {
        column-count: 1;
    }
    .about-content {
        h2 {
            font-size:40px;
        }
    }
    .about-content-top {
        min-height: 200px;
    }
}

.scopri-button {
    background: #fff;
    padding: 10px;
    text-transform: uppercase;
    color: #000;
}

.scopri-chi-siamo {
    position: absolute;
    bottom:20px;
}


.social-line {
    img {
       position: inherit !important;
    }
}

.no-padding {
    padding: 0 !important;
}

a[data-fancybox="gallery"] {
    background: #000;
    transition: all linear 0.3s;
    &:hover {
        opacity: 0.4;
    }
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff6600;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-arancione {
    background: var(--oro-rotary);
}
.bg-giallo {
    background: var(--blu-rotary);
}
.text-arancione {
    color: var(--oro-rotary);
}

.video-home {
    height: 700px;
    overflow: hidden;
    video {
        height: 114vh;
    }
}

.logo-menu-overlay {
    position: absolute;
    top: 60px;
    left: 20px;
}


.blog-page-header {
    height: 450px;
}

a:hover {
    color: inherit !important;
}

@media screen and (max-width: 991px) {
    .video-home {
        height: auto;
        overflow: hidden;
        video {
            height: auto;
        }
    }
}
