.canvas-cont {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    filter: blur(10px);
  }
  
  #canvas3d {
    width: 100%;
    height: 100%;
    background-color: transparent;
    
  }

  .button{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
  }
  /* CSS */
  .button-68 {
    appearance: none;
    backface-visibility: hidden;
    background-color: #27ae60;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(39, 174, 96, .15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
  }
  
  .button-68:hover {
    background-color: #1e8449;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
  }
  
  .button-68:active {
    transform: translateY(2px);
    transition-duration: .35s;
  }
  
  .button-68:hover {
    box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
  }

section{
    height: 100vh;
}

h1{
    z-index: 10;
    font-size: 8vw;
}

p{

    font-size: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.col{
    z-index: 2;
}

.container {
    margin: 0 auto;
    width: 100%;
    height: 100%;
  
  }
  
.row {
    display: flex;
    padding: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
}



.sfocato{
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    transition: backdrop-filter 0.3s ease-in-out;
}

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    will-change: filter;
  }



.first .row{
    display: block;
    height: auto;
}


.first .container{
    text-align: center;
    align-content: center;
    position: relative;
    z-index: 2;
}

.first h3{

    font-size: 20px;
}

.first .logo{
    width: 30%;
    min-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.videoCartone{
    filter: drop-shadow(0 0 0.75rem black);
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}



.grasscontainer{
    position: absolute;
    width: 100%;
    z-index: 0;
}

.grass {
    position: relative;
    object-fit: fill;
    height: auto;
    width: 100%;
    user-select: none;
    filter: blur(2px);
    -webkit-filter: blur(2px);
    margin-top: -160%;
    padding: 0;
    bottom: 0;
    will-change: filter;
    z-index: 1;
}

.desktop-hidden{
    display: block;
}

.mobile-hidden{
    display: none;
}

.third{
    z-index: 5;
    height: 110vh;
    background-image: url("../assets/SABBIA-mobile.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: -10px;
}

.third .container{
    margin-top: -10px;
}

.minerals{
 margin-top: -50vh;
}

.shape {
    position: relative;
    bottom: -10%;
    left: 5vw;
    width: 10vh;
    opacity: 0.8;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: bottom left;
}


.shape-md {
    top: -40.5vh;
    left: 48.5vw;
    width: 10vh;
    transform-origin: top;
}

.shape-lg {
    top: 20vh;
    left: 10vw;
    width: 17vh;
    transform-origin: bottom right;
}

.shadow-white{
    text-shadow:1px 1px 10px #fff, 1px 1px 10px #ccc;
}
.shadow-white{
    text-shadow:1px 1px 10px black, 1px 1px 10px var(--darkgray);
}

.fourth {
    z-index: 1;
    background-image: url("../assets/PIETRA-mobile.png");
    background-color: black;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;

}


.fourth .container p{
    z-index: 10;
}

.fifth{
    z-index: 5;
    background-color: black;

}

.fifth .container {
    margin-top: 0;
    background-color: transparent;
    background-image: url("../assets/CAVERNA-mobile.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;

}

.section .container{
    -webkit-mask-image: -webkit-gradient(linear, left 10%, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient( left 70%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));

}

h1.dark {
    color: white;
}

p.dark{
    color: #eceaea;
    
}

.text-container{
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(255,255,255,0.1);
    padding: 5px;  
}

.blk-layer{
    background-size: cover;
    background-color: rgba(0,0,0,0.6);
}

@media only screen and (min-width: 768px) {

    .first .row{
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .mobile-hidden{
        display: block;
    }
    .grass{
        width: 100%;
        margin-top: -50%;
    }

    .desktop-hidden{
        display: none;
    }

    h1{
        font-size: 2em;
    }

    .third{
        background-image: url('../assets/SABBIA.png');
    }

    .fourth{
        background-image: url('../assets/PIETRA.png');
    }

    .first h3{
        font-size: 1.2rem;
    }

    p{
        max-width: 600px;
        font-size: 1.2rem;
    }

    .fifth .container{
        background-image: url('../assets/CAVERNA.png');
    }

  }

@media only screen and (min-width: 800px) {

    
}
    
@media only screen and (min-width: 1024px){


    

    h1{
        font-size: 1.8rem;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    p{
        font-size: 1rem;
    }

    .grass{
        width: 100%;
        margin-top: -50%;
    }

    .first .container{
        width: 80%;
    }

    .third{
    background-size: 100% 120%;
    margin-top: -70px;
    }

    .fourth {
        height: 110vh;
        background-color: black;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
        mask-image: linear-gradient(linear, right 5%, right top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
        -webkit-mask-image: -webkit-gradient(linear, right 5%, right top, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, -10)));
        margin-top: -100px;
    
    }

    .fourth .col{
        margin-top: -10%;
    }

    .fifth{
        height: 110vh;
        margin-top: -10%;
        background-image: linear-gradient(transparent,black 20%);
        -webkit-mask-image: -webkit-gradient(linear, left 10%, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
        mask-image: linear-gradient( left 70%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    }



    .minerals{
        margin-top: -70vh;
        margin-left: auto;
        margin-right: auto;
        max-width: 60vw;
    }

    .secondCloud{
        margin-top: -4vw;
    }
    
}