
body {
    display:block;
    position:relative;
    width:100%;
    min-width:600px;
    margin:0 auto;
    height:100vh;
    min-height:650px;
    font-family: "Montserrat", sans-serif;
background: blu;
  }

  .sinistra {
    position: fixed;
    top: 0;
    left: 0;
    aspect-ratio: 1335 / 2000;
    height: 100vh;
    min-height: 1000px;
    z-index: -1;
}

.sinistra::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://www.badgalari.com/parts/pics/sinistra.png);
    background-size: cover;
    background-position:left;
    background-repeat: no-repeat;
    opacity: 0.3;
}




  .destra {
    position: fixed;
    top: 0;
    right: 0;
    aspect-ratio: 1335 / 2000;
    height: 100vh;
    min-height: 1100px;
    z-index: -1;
}

.destra::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://www.badgalari.com/parts/pics/destra.png);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    opacity: 0.3;
}

@media (max-width: 1300px) {
    .sinistra::before {
        transform: translateX(-10%);
        opacity: 0.25;
    }

    .destra::before {
        transform: translateX(10%);
         opacity: 0.25;
    }
}


@media (max-width: 1000px) {
    .sinistra::before {
        transform: translateX(-20%);
        opacity: 0.15;
    }

    .destra::before {
        transform: translateX(20%);
         opacity: 0.15;
    }
}

@media (max-width: 970px) {
    .sinistra::before {
        transform: translateX(-10%);
        opacity: 0.2;
    }

    .destra::before {
        transform: translateX(20%);
         opacity: 0;
    }
}

  




.intestazione {
    display:block;
    position: relative;
    margin-top:2%;
    margin-left: auto;
    margin-right: auto;
    background-color: viole;
    width:60%;
}

@media (max-width: 1000px) {
    .intestazione {
    width:80%;
}
}

.nome {
    display: block;
    position: relative;
    width: 31rem;
    background:re;
    margin-left: auto;
    margin-right: auto;
}

.contenitoreicone {
    display: block;
    position: relative;
    background: blac;
    width:50%;
    margin-left:10%;
    margin-top:5px;
    text-align:center;
}

.hpi {
    display: inline-flex;
    position:relative;
    height:21px;
    width: auto;
    margin-right:10px;
    opacity:.8;
    padding:12px;
    border-radius:15px;
    border:4px solid rgb(255 255 255 / 80%);
    transition: all 0.3s;
}

.gia {
    background:#c0c3e6;
        box-shadow:0 10px 20px rgb(156 158 188 / 30%);
}

.tic {
    background:#e89fd3;
        box-shadow:0 10px 20px rgb(188 128 171 / 30%);
}

.fot {
    background:#9ad1ec;
        box-shadow:0 10px 20px rgb(125 172 195 / 30%);
}

.hpi:hover {
    opacity:1;
    border:4px solid rgb(255 255 255 / 100%);
}





.intestazione h3 {
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.7rem;
    background: linear-gradient(45deg, #daa4bf, #daa4bf,#9bd4f1);
    -webkit-background-clip: text;
    background-clip: text;  
    color: transparent;    
    text-align: right;
    background: yello;
    width:80%;
    margin-left:20%;
    margin-top:10px;
}

@media (max-width: 1101px) {
    .intestazione h3 br {
        display:none;
    }
}

.intestazione p {
    color:black;
    font-weight:300;
    font-size:.9rem;
    line-height:1.07rem;
    text-align:left;
    
}

.intestazione p b {
    font-weight:500;
}





.filter-bar {
    margin-top:40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: blu;
    width:500px;
    margin-left:auto;
    margin-right:auto;
    padding-right:20px;



  }
  
  #searchInput {
    padding: 10px 20px 10px 37px;
    font-size: 16px;
    width: 200px;
    background:rgb(255 255 255 / 60%);
      font-family: "Montserrat", sans-serif;
      border:3px solid rgb(128 128 128 / 46%);
      border-radius:30px;;
      font-size:.9rem;
      color:grey;
      font-weight:400;
      font-style:oblique;
      box-shadow:0 15px 30px rgb(123 90 111 / 20%);
  }

  .search-icon {
     position:relative;
    left: 32px;
     opacity:.3;
    }




  
  .search-button {
    padding: 10px 0;
      width:110px;
    cursor: pointer;
    margin-left: 10px;
     font-family: "Montserrat", sans-serif;
     border:3px solid rgb(187 139 163 / 55%);
     border-top-left-radius:30px;
      border-bottom-left-radius:30px;
      font-size:.9rem;
      color:grey;
      font-weight:600;
       text-align:center;
          transition: all 0.3s;
        box-shadow:0 15px 30px rgb(123 90 111 / 20%);
  }

.search-button:hover {
    color:white;
    background:#dda7c2;
    border:3px solid rgb(187 139 163 / 100%);
    box-shadow:0 15px 30px rgb(142 88 115 / 50%);

}

  .reset-button {
    padding: 10px 0;
      width:110px;
    cursor: pointer;
    margin-left: 4px;
     font-family: "Montserrat", sans-serif;
     border:3px solid rgb(77 150 187 / 55%);
      border-top-right-radius:30px;
      border-bottom-right-radius:30px;
      font-size:.9rem;
      color:grey;
      font-weight:600;
       text-align:center;
    transition: all 0.3s;
    box-shadow:0 15px 30px rgb(123 90 111 / 20%);
  }

.reset-button:hover {
        color:white;
    background:#5fb9e7;
         border:3px solid rgb(77 150 187 / 100%);
        box-shadow:0 15px 30px rgb(51 105 132 / 50%);
}
  
  
  .hidden {
    display: none;
}




.search-result-message {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 20px;
height:40px;
    background-color: re;

    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.search-result-message p {

    font-weight:700;
    color:#7c7c7c;
    font-size:.9rem;
}





.contenitoreanteprime {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    position: relative;
    width: 90%;
    background: re;
    margin-left: auto;
    margin-right: auto;
    margin-top:-25px;
    padding-top:40px;
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 40px;
    font-family: "Montserrat", sans-serif;
    border-top:4px solid rgb(128 128 128 / 10%);
    border-bottom:4px solid rgb(128 128 128 / 10%);
}

.video-preview {
    display: inline-block;
    width: 320px;
    padding: 6px;
    text-align: left;
    color: black;
    font-family: "Montserrat", sans-serif;
    vertical-align: top;
    margin-bottom: 2%;
}

@media (max-width: 738px) {
    
        .video-preview {
        width: 480px;
       }
}


.video-thumbnail {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
        width: 100%;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    display: block;
    border-radius: 15px;
    opacity:.9;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
}

.video-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    font-size: 10px;
    font-weight:400;
    color: white;
    border-radius: 5px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    background: rgba(0, 0, 0, 0.26);
    width:50px;
    height:50px;
    line-height:50px;
    border-radius:100%;
    cursor: pointer;
    color:white;
    text-align:center;
}





.message-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    height:30px;
    line-height:100px;
    box-sizing: border-box;
    padding:0 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top:5px;
    font-size: .8rem;
    color:white;
    font-weight:300;
    font-family: "Montserrat", sans-serif;
    border: none;
}

.message-icon {
    display: inline-block;
    position: relative;
    top:5px;
    margin-right:10px;
}

.video-code {
    color:white;
    font-weight:600;

}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black !important;
}



.copy-btn svg {
    width: 20px;
    height: 20px;
    transition: stroke 0.2s ease-in-out;
}

.copy-btn:hover svg {
    stroke: black;
}




.get-it-btn {
    font-family: "Montserrat", sans-serif;
background: rgb(194,84,139);
background: -moz-linear-gradient(45deg, rgba(194,84,139,1) 0%, rgba(236,123,179,1) 50%, rgba(194,84,139,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(194,84,139,1) 0%, rgba(236,123,179,1) 50%, rgba(194,84,139,1) 100%);
background: linear-gradient(45deg, rgba(194,84,139,1) 0%, rgba(236,123,179,1) 50%, rgba(194,84,139,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c2548b",endColorstr="#c2548b",GradientType=1);
    color: white;
    font-size: .9rem;
    font-weight:400;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width:100%;
    height:30px;
    line-height:30px;
    box-sizing: border-box;
    padding:0 10px;
    margin-top:-5px;
    text-transform:uppercase;
    box-shadow:0 8px 13px rgb(236 123 179 / 50%);
    border-bottom:2px solid rgb(255 255 255 / 50%);
            transition: all 0.3s;
}



.get-it-btn:hover {
  background: rgb(58,157,222);
background: -moz-linear-gradient(45deg, rgba(58,157,222,1) 0%, rgba(94,184,244,1) 50%, rgba(58,157,222,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(58,157,222,1) 0%, rgba(94,184,244,1) 50%, rgba(58,157,222,1) 100%);
background: linear-gradient(45deg, rgba(58,157,222,1) 0%, rgba(94,184,244,1) 50%, rgba(58,157,222,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a9dde",endColorstr="#3a9dde",GradientType=1);
    transform:scale(.9);
box-shadow:0 5px 8px rgb(58 157 221 / 30%);
}

.of-tasto {
    position:relative;
    height:17px;
    margin-left:10px;
    top:2px;
}



.video-info h3 {
    font-size: 1.1rem;
    line-height: 1.1rem;
    font-weight:600;
    margin: 17px 0;
    color: #2e2e2e;
}

.video-info p {
    margin-top:-6px;
    font-size: .85rem;
    line-height:1rem;
    font-weight:300;
    margin-bottom: 10px;
    color: black;
}



  .lightbox { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index:10;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 80%; 
    min-width:600px;
    max-width:800px;
    height: auto; 
    background-color: #000;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 40px 100px rgb(0 0 0 / 20%);
    border:4px solid rgb(255 255 255 / 85%);
}


#lightbox-video {
    width: 100%;  
    height: auto; 
    max-height: 80vh; 
    min-height:335px;
    object-fit: cover; 
}


.close-lightbox {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    overflow: visible;
    z-index:20;
}


@media (max-width: 780px) {
    .close-lightbox {
        display: none;
    }
}






#Diritti {
    display: block;
    position: relative;
    width: 70%;
    background: re;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size:11px;
    line-height:13px;
    color:black;
    font-weight:300;
    padding-bottom:40px;
}

#Diritti a {
    text-decoration:none;
    font-weight:600;
        color:#d6679e;
        transition: all 0.3s;
}

#Diritti a:hover {
    color:black;
}

#Diritti b {
    text-decoration:none;
    font-weight:500;
}

@media (max-width: 704px) {
    #Diritti br {
        display:none;
    }
}

.contenitoreiconecontatti {
    display:block;
    position:relative;
    background:blac;
    height:16px;
    margin-top:10px;
}

.iccon {
    height:100%;
    margin:0 10px;
    filter: invert(1);
    opacity:.5;
    transition: all 0.3s;
}

.iccon:hover {
    opacity:.7;
}




@media (max-width: 600px) {


    

    .sinistra::before {
        opacity: 0;
    }

    .contenitoreicone {
        margin-left:7%;
        width:60%;
    }
    
    .hpi {
         height:30px;
         padding:16px;
    }

    .intestazione {
        margin-top:2%;
        margin-left:10%;
         width:80%;
        background:re;
    }

    .intestazione h3 {
        width:90%;
        margin-left:10%;
    }

    .intestazione p {
        text-align:left;
    }

    .video-preview {
        margin-bottom:7%;
    }

    .lightbox-content {
        width: 100%;
        border:0 solid rgb(255 255 255 / 0%);
    }

    .video-duration {
        font-size: 14px;
        font-weight:400;
    }

    .message-row {
        height:50px;
        line-height:50px;
        font-size:1.1rem;
        font-weight:400;
    }    

    .message-icon {
        transform:scale(2);
        margin-left:20px;
        opacity:.4;
    }

    .video-code {
        font-size:1.2rem;
    }

    .copy-btn {
        transform:scale(1.8);
        margin-right:20px;
    }

    .get-it-btn {
        font-size: 1.2rem;
        width:100%;
        height:50px;
        line-height:50px;
    }

      .of-tasto {
          height:21px;
          top:3px;
     }

    

    .video-info h3 {
        font-size: 1.2rem;
        line-height: 1.3rem;
        color: #2e2e2e;
    }

    .video-info p {
        font-size: 1rem;
        line-height:1.1rem;
        font-weight:400;
        color: #2e2e2e;
    }



    

}






body {
    opacity:0;
    -webkit-animation:fadeIn 2s ease-in-out forwards;
    -moz-animation:fadeIn 2s ease-in-out forwards;
    -o-animation:fadeIn 2s ease-in-out forwards;
    animation:fadeIn 2s ease-in-out forwards;
    }
                          
    @-webkit-keyframes fadeIn {
    0% {
    opacity:0;
    }               
    100% {
    opacity:1;
    }
    }
                          
    @-moz-keyframes fadeIn {
    0% {
    opacity:0;
    }
    100% {
    }
    }
                          
    @-o-keyframes fadeIn {
    0% {
    opacity:0;
    }          
    100% {
    opacity:1;
    }
    }
                          
    @keyframes fadeIn {
    0% {
    opacity:0;
    }                 
    100% {
    opacity:1;
    }
    }






    input:focus {
        outline: 3px solid rgb(255 255 255 / 0%); 
        
    }

    button:focus {
        outline: 3px solid rgb(255 255 255 / 0%); 
       
    }

    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
       
    }

