*{
    margin:0;
    padding:0;
}

@font-face {
    font-family: menu;
    src: url(../font/Staatliches-Regular.ttf);
}

@font-face {
    font-family: bod;
    src: url(../font/BarlowCondensed-Bold.ttf);
}

html{
scroll-behavior: smooth;
overflow-y: auto;

}


.scroll{

    background-color: rgba(31, 29, 29, 0.80);
    transition: background-color 1s;
}

.scroll-transparent{
    background-color: transparent;
    transition: background-color 1s;
}



.navbar{

    width:100%;
    height:min-content;
    position:fixed;
    top:0;   
    display: flex;
    flex-direction: column;
    z-index:200;
    
}

.navbar ul{
    display: flex;
    position: relative;
    width: 100%;
    height:auto;
    min-height: 5vw;
    left: 6.5vw;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding-bottom: 1vw 0 1vw 0;
   
}


.navbar a{
    color:white;
    list-style: none;
    padding:2vw;
    font-family: menu;
    font-size: 3vw;
    text-decoration: none;
    
}

.navbar .internal-link:hover{
    opacity: 0.6;
}
.navbar .shop:hover{
    opacity: 0.6;
}

.shop{
    position: absolute;
    right: 10vw;
    list-style: none;
}

#list-shop{
    position: relative;
    left: 5vw;
}
.mobile{
    flex-direction:column-reverse;
    justify-content:center;
    align-items:center;
}

#menu{
    display:none; 
    cursor:pointer;
}
#menu i{

    font-size:4vw; 
    color:white;
    position:relative;
    padding: 1vw;
}


.immagini{
    width:100%;
    max-width: 100%;
    height:100%;
}

section{
    margin-top:-5px;
    position: relative;
    display: flex;
}



.title{
    text-align: center;
    font-size: 10vw;
    font-family: bod;
}

.card h2{
    width:22vw;
    font-size: 2vw;
    font-family: bod;
    line-height: 1;
}

.card{
    position:absolute;
    bottom:6vw;
    height: auto;
    z-index:100;
    width:auto;
    color:white;
}
footer{
    width:100%;
    height: calc(12vw + 2vh);
    position: relative;
        
}
#footer-contaner{
    background-image: url(../img/footer.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height:100%;
    width: 100%;
    display: flex;
    position: relative;
    bottom: 0;
}


#certificato{
    
    width: 20%;
    background-image: url(../img/berkeley.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center;
    position:relative;
}

#descrizione{
    
    width: 60%;
    height: 100%;
    position: relative;
    bottom:0;
}

.descrizione-wrapper{
    position: relative;
    padding:2% 2% 0 2%;
    bottom: 0;
}
.descrizione-link{
    display: flex;
    align-items: center;
    justify-content: center;
}
.descrizione-link a,p{
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 2vw;
    padding: 0 1% 0 1%;
    font-family: bod;
}

.descrizione-info span{
   display: block;
   text-align: center;
   color: white;
   font-size: 2vw;
   font-family: bod;
   text-decoration: none;
   white-space:break-spaces;
}

.social-wrapper{
    display:flex; 
    justify-content: center; 
    align-items: center;
    position:relative;
    margin: 1.5% 0 0.5% 0;
}

.social-wrapper a{
    margin: 0 2% 0 2%;
}

#ig,#yt,#fb{
    color:white;
    font-size: 2vw;
}
#logo{
    width: 16%;
    background-image: url(../img/logo-smeraldina.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center; 
}

.right{
    right: 8vw;
    
}

.left{
    left:13vw;
}

.animation-right{
animation: animate-right 1s linear;
}
@keyframes animate-right {
    0%{
       right: 18vw;
       opacity: 0;
      
    }
   
    100%{
        
        right: 8vw;
        opacity: 1;
         
    }
}

.animation-left{
    animation: animate-left 1s linear;
    }
    @keyframes animate-left {
        0%{
           left: 22vw;
           opacity: 0;
          
        }
       
        100%{
            
            left: 13vw;
            opacity: 1;
             
        }
    }

@media screen and (max-width: 767px){
    
    body{
        background-color: rgba(31, 29, 29, 0.90)
    }
    section{
   
        margin:0vw 3vw 2vw 3vw;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    section::after{
        content:"";
        position:absolute;
        background:linear-gradient(rgba(0, 0, 0, 0.01),rgba(0, 0, 0, 0.01),rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 1));
        top: 1px;
        bottom: 0;
        width:100%;
        height: 100%;
        opacity: 0.70;
    }
    
    #cool::after{
        opacity: 0.70;
        
    }
    
    header{
      
        margin:7.8vw 3vw 1vw 3vw;
    }

   
    .card{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }
    .card h2{
        width: 44vw;
        line-height: 1.2;
        text-align: center;
        font-size: 2vw;
    }
    .navbar{
        left:0;
        
    }

    .navbar ul{
        left:0;
    }
    .navbar li:not(:nth-child(6)) {
        margin: 1vw;
    }
   
    .navbar ul li:nth-child(6) {
        margin-left: 0;
    }
    .navbar a{
        font-size: 5vw;
    }
    .descrizione-info span{
        line-height: 1.5;
    }

    .social-wrapper{
        margin-top: 0.5vw;
    }

    #ig,#yt,#fb{
        color:white;
        font-size: 3.2vw;
    }


}

.menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    visibility:hidden;
  }
  .menu-btn__burger {
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255,101,47,.2);
    transition: all .5s ease-in-out;
  }
  .menu-btn__burger::before,
  .menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255,101,47,.2);
    transition: all .5s ease-in-out;
  }
  .menu-btn__burger::before {
    transform: translateY(-6px);
  }
  .menu-btn__burger::after {
    transform: translateY(6px);
  }

  .menu-btn.open .menu-btn__burger {
    transform: translateX(-33px);
    background: transparent;
    box-shadow: none;
  }
  .menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(22px, -22px);
  }
  .menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(22px, 22px);
  }