@charset "UTF-8";


html {
  font-size: 16px;
}

body {
  color: #444444;
  letter-spacing: 0.03em;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.1;
  font-weight: 500;
}
.bg-petrolio{background-color: #083B4C;}

.titolotestata{
    font-size: 9vh;
  line-height: 1.2;
  color: #fff;
  transform: translateY(110%);
  -webkit-text-stroke: 2px white;
}

/* carousel*/
.carousel-item:before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background:#e5d8d8;
  opacity: 0.5;
  z-index: 1;
}
#cmslideh {
    /*height: 85vh;*/
    height: 75vh;
    overflow: hidden;
    background: #000;
}

#cmslideh .carousel-inner,
#cmslideh .carousel-item {
    height: 100%;
}

/* TRANSIZIONE MODERNA */
#cmslideh .carousel-item {
    opacity: 0;
    transform: scale(1.12);
    transition:
        opacity 1.8s ease,
        transform 7s ease;

    display: block;
    position: absolute;
    inset: 0;
}

/* slide attiva */
#cmslideh .carousel-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* immagini */
#cmslideh .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter:
        brightness(.82)
        contrast(1.05)
        saturate(1.1);
}

/* overlay cinematografico */
#cmslideh::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.15),
            rgba(0,0,0,.35)
        );
    z-index: 2;
    pointer-events: none;
}








/* Menu */
#mod-menu1 {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#mod-menu1 > li {
    position: relative;
}

#mod-menu1 > li > a,
#mod-menu1 > li > button .mod-menu__heading {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .3px;
    transition: all .3s ease;
    position: relative;
    text-transform: uppercase;
}

#mod-menu1 > li > a:hover,
#mod-menu1 > li > button .mod-menu__heading:hover {
    color:#D6B56A;}


#mod-menu1 .deeper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* SUBMENU */
#mod-menu1 .mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 240px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all .25s ease;

    z-index: 9999;

    display: block !important;
    pointer-events: none;
}

/* HOVER ATTIVO */
@media (min-width: 992px) {

    #mod-menu1 .deeper:hover > .mod-menu__sub,
    #mod-menu1 .deeper:focus-within > .mod-menu__sub {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

}

#mod-menu1 .mod-menu__sub[aria-hidden="true"] {
    display: block !important;
}
/*sotto menu*/
ul.mod-menu__sub{background-color: #083B4C; padding: 15px 10px;}
ul.mod-menu__sub li{
    padding: 10px 5px;
}
ul.mod-menu__sub li a, ul.mod-menu__sub li a:link{
    text-decoration: none; color: #fff; text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}


.animated-toggler{
    width:42px;
    height:42px;
    background:none;
    border:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.animated-toggler span{
    display:block;
    width:28px;
    height:2px;
    background:#fff;
    border-radius:5px;
    transition:.3s;
}

/* menu aperto */
.animated-toggler[aria-expanded="true"] span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.animated-toggler[aria-expanded="true"] span:nth-child(2){
    opacity:0;
}

.animated-toggler[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}
#navmobile {
    padding: 20px;
      /*scroll verticale*/
  max-height: calc(100dvh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Liste */
#navmobile ul,
#navmobile li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Voci principali */
#navmobile li {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Link */
#navmobile a,
#navmobile .mod-menu__toggle-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}




        .hero {
            min-height: 100vh;
            position: relative;
            color: white;
            display: flex;
            align-items: center;
            overflow: hidden;

            background:
                linear-gradient(
                    rgba(0,0,0,.42),
                    rgba(0,0,0,.48)
                ),
                url("https://test8.bix.it/images/home/grupposantander.png")
                center / cover;
        }

        .hero-content {
            max-width: 850px;
            padding-top: 80px;
        }


        .hero h1 {
            font-size: clamp(3.5rem, 7vw, 7rem);
            line-height: .95;
            margin-bottom: 35px;
            text-align: center;
        }

        .hero-scroll {
            position: absolute;
            bottom: 35px;
            left: 50%;
            transform: translateX(-50%);
            font-size: .65rem;
            text-transform: uppercase;
            letter-spacing: .2em;
            opacity: .7;
        }

        
