/* Fonts */

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNova-Regular.woff2') format('woff2');
         /* url('path/to/font.woff') format('woff'); */
    /* Add additional font formats if needed */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProximaNova-bold';
    src: url('../fonts/ProximaNova-Bold.woff2') format('woff2');
         /* url('path/to/font.woff') format('woff'); */
    /* Add additional font formats if needed */
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HappyMorning';
    src: url('../fonts/HappyMorning.woff2') format('woff2'),
         url('../fonts/HappyMorning.woff') format('woff');
    /* Add additional font formats if needed */
    font-weight: 400;
    /* font-style: normal; */
    font-display: swap;
}




* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    scroll-behavior: smooth;

    font-family: "ProximaNova";

}



html, body,

.fullheight-scroll .container,

.third-scroll .container,

.h-100 {

    height: 100%;

}



img {

    width: 100%;

}



ul:not(.normal-list) {

    list-style: none;

}

.normal-list {

    padding-left: 1.5rem;

}



a {

    text-decoration: none;

    color: currentColor;

}



/* Typhography */

h1, h2, h3, h4, h5, h6 {

    font-family: "ProximaNova-bold";

}



.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.first-scroll .big-paragraph,
.main-title {
    text-shadow: 0 0 5px #000;
}

.main-title-home {
    font-family: 'HappyMorning';
    font-weight: 400 !important;
    font-size: 5.2rem;
}

.secondary-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.prefooter .secondary-title {
    font-size: 2.2rem;
}



p, .normal-list li {

    line-height: 1.4;

}

p.big-paragraph {

    font-size: 1.4rem;

}

/* END - Typhography */



/* Utilities */

.m-3p {

    /* max-width: 1600px;

    margin: auto; */

    margin: 3%;

}

.nrx_btn {
    color: #fff;
    display: inline-block;
    border: 1px solid currentColor;
    background-color: transparent;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}



.nrx_btn-primary {

    background-color: rgba(40, 40, 40, 0.9);

    border-color: rgba(40, 40, 40, 0.9);

}



.white { color: #fff; }

.gray { color: grey; }

/* END - Utilities */



#wrapper {

    position: relative;

}



header {

    width: 100%;

    position: absolute;

    top: 0;

    left: 0;

    z-index: 1;

}



.home-logo {

    width: 300px;

    margin: auto;

}



.fullheight-scroll {

    height: 100vh;

    position: relative;

    overflow-y: hidden;

}



.position-absolute.position-absolute-center {

    top: 50%;

    transform: translate(0, -50%);

    z-index: 1;

}



.first-scroll .video-container {

    height: 100%;

    width: 177.77777778vh; /* 100 * 16 / 9 */

    min-width: 100%;

    min-height: 56.25vw; /* 100 * 9 / 16 */

    position: absolute;

    left: 50%; /* % of surrounding element */

    top: 50%;

    transform: translate(-50%, -50%); /* % of current element */

}



.third-scroll {

    min-height: 750px;

    height: 70vh;

    background-image: url('../assets/img-statua.jpg');

    background-size: cover;

    background-position: center center;

}

.fourth-scroll {
    min-height: 750px;
} 



.progetto-title {

    position: absolute;

    bottom: 10%;

}



.glass {

    background-color:  rgba(150, 150, 150, 0.5);

    border-radius: 5px;

    color: #fff;

}



footer {

    /* background-color: #464646;

    color: #fff; */

}



.contacts .nrx_col-3 {
    /* padding-top: 3%;
    display: flex;
    justify-content: center; */
}



.business-data {

    background-color: grey;

}



.prefooter {

    margin-top: 0;

}



.slider-glass {

    background-color: #eee;

}



.fourth-scroll.fullheight-scroll {

    background-image:  url("../assets/img-lavori.jpg");

    background-position: center center;

    background-size: cover;

}



.arrow-down {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, -0%);
}



/* Menu */

#open-menu, #close-menu {

    cursor: pointer;

}



.close-menu-container {

    width: 100%;

    position: absolute;

    top: 0;

    left: 50%;

    transform: translate(-50%, 0);

}



.primary-menu {

    height: 0;

    overflow: hidden;

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 9999;

    transition: 0.3s ease-in-out;

    font-family: "ProximaNova-bold";

    font-size: 2rem;

    font-weight: 700;

}

.primary-menu.open {

    height: 100vh;

}



.primary-menu .menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

.primary-menu .menu-container li {
    margin: 10px 0 10px 0;
}


.page-artista .first-scroll,
.page-progetto .first-scroll,
.background-placeholder {
    background-image: url('../assets/header-pag-3.jpg');
    background-position: top center;
    background-size: cover;
}
.page-progetto .first-scroll {
    background-image: url('../assets/header-pag-4.jpg');
}

.background-placeholder {
    background-image: url('../assets/Wayfarer1.jpg');
}

.first-scroll-opera  {
    background-image: url('../assets/hero1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

footer .partner-logo {
    max-width: 200px;
    height: auto;
}
footer .partner-logo:nth-child(2) {
    max-width: 100px;
}

footer .fifa-logo {
    max-width: 270px;
    height: auto;
    margin: auto;
}


/* Slideshow container */

.slideshow-container {

    /* max-width: 1000px; */

    position: relative;

    margin: auto;

}



.mySlides {

    display: none;

}



/* Next & previous buttons */

.prev, .next {

    cursor: pointer;

    position: absolute;

    top: 50%;

    width: auto;

    margin-top: -22px;

    padding: 16px;

    color: white;

    background-color: gray;

    font-weight: bold;

    font-size: 18px;

    transition: 0.6s ease;

    border-radius: 3px;

    user-select: none;

}



  .next {

    right: 0;

    /* border-radius: 3px 0 0 3px; */

  }



  .prev:hover, .next:hover {

    background-color: gray;

  }



  .dot {

    cursor: pointer;

    height: 15px;

    width: 15px;

    margin: 0 2px;

    background-color: #bbb;

    border-radius: 50%;

    display: inline-block;

    transition: background-color 0.6s ease;

  }



  .active, .dot:hover {

    background-color: #717171;

  }



  /* Fading animation */

  .fade {

    animation-name: fade;

    animation-duration: 1.5s;

  }



  @keyframes fade {

    from {opacity: .4}

    to {opacity: 1}

  }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.z-index-up {
    position: relative;
    z-index: 2;
}

/* hide arrow down other than the first one */

section:not(.first-scroll) .arrow-down {
    display: none;
}

/* Glass video */
.video-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup-close {
    cursor: pointer;
    top: 5%; 
    right: 5%; 
    z-index: 11;
}

/* tablet */
@media screen and ( min-width: 768px ) and (max-width: 1024px) {

    .first-scroll .justify-content-center {
        justify-content: center;
    }

    .first-scroll .white {
        padding-left: 25px;
    }

    .fullheight-scroll:not(.first-scroll) {
        height: auto;
    }

    .third-scroll .nrx_col-4 {
        width: 50%;
        margin-left: 2rem;
    }
}


/* mobile */
@media screen and (max-width: 767px) {

    .fullheight-scroll:not(.first-scroll) {
        height: auto;
    }

    header .logo-header {

        width: 50%;

    }



    header .menu-btn {

        width: 50%;

    }



    .fullheight-scroll:not(.first-scroll) { /* Per evitare che il video non abbia un'altezza di 100%*/

        height: auto;

    }



    .half-paragraph {

        padding-bottom: 6rem;

    }



    .reverse-row-mobile {

        flex-wrap: wrap-reverse;

    }



    .mySlides > .row {

        flex-wrap: wrap-reverse;

    }



    .prev, .next {

        top: 25%;

    }



    .arrow-down {

        bottom: 5px;

    }

    section:not(.first-scroll) .arrow-down {

        display: none;

    }



    .page-artista .first-scroll .white,
    .page-progetto .first-scroll .white,
    .first-scroll-opera .white {
        text-align: center;
    }

    .page-artista .first-scroll {
        background-position: 75%;
    }

    .contacts .nrx_col-3 {
        text-align: center;
    }

    .third-scroll {
        background-position: 75%;
    }

    footer h3 {
        text-align: center;
    }

    footer > .container {
        padding: 0 20px 0 20px;
    }

    footer .nrx_col-6:nth-child(2) {
        margin-top: 50px;
    }
}