@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
body{
    background:linear-gradient(25deg,#a6bff5,lightblue);
}
.gallery div{
    height: 340px;
    width:900px;
    display:flex;
    overflow-x: scroll;
}
.gallery div{
    width: 100%;
    display:grid;
    grid-template-columns: auto auto auto;
    grid-gap:25px;
    padding: 10px;
    flex :none;
}
.arrow{
    /* transform: rotateX('45deg'); */
  /* transform: rotate(45deg); */
  /* transform: rotateY(45deg); */
  transition: all 3s ease;
  animation-name: arr;
  animation-duration: 6s;
  animation-timing-function: linear;
  position: relative;
  
  animation-iteration-count:infinite;
}
@keyframes arr{
  
    0%{
        transform: rotateX(0deg);
    }
    20%{
        transform: rotateX(45deg);
    }
    40%{
        transform: rotateX(90deg);
    }
    50%{
        transform: rotateX(135deg);
    }
    60%{
        transform: rotateX(180deg);
    }
    70%{
        transform: rotateX(225deg);
    }
    80%{
        transform: rotateX(270deg);
    }
    90%{
        transform: rotateX(315deg);
    }
    100%{
        transform: rotateX(360deg);
    }
    
    } 
.gallery h1{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #1045f6;
    text-shadow: 1px 1px 1px rgb(25, 190, 255);
    font-size: xx-large;
}
nav{
    padding: 30px;
}
hr{
    color: black;
    background-color: black;
}
.ayush h1{
    font-family: Poppins;
    color: rgb(0, 0, 0);
    font-size: xxx-large;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 2px 2px #b4c8fe;
    margin-bottom: 30px;
    margin-top: 40px;
  }
/* .ayush2{

    display: flex;
    justify-self: left;
    text-align: left;
    align-items: left;
} */
.gallery div iframe{
width: 100%;
transition: tranform 0.5s;
}
::-webkit-scrollbar{
    padding-left:10px ;
    width: 8px;
    border-radius: 14px;
    background-color: black;
}::-webkit-scrollbar-thumb{
    background:linear-gradient(45deg,rgb(0, 191, 255),blue);
    border-radius: 12px;
    padding-top: 10px;
    
}

::-webkit-scrollbar-track{
    background:linear-gradient(20deg,white,lightblue);
    border-radius: 12px;
}
.gallery-wrap{

   background-color:azure; 
padding-top: 40px;
padding-bottom: 30px;
 display: flex;
align-items: center;
justify-content: center;
margin: 10% auto;

border-radius: 2px;
width: 90%;
transition: all 3s ease;
animation-name: gallerywrap;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count:infinite;
}
/* .gallery-wrap::before{
content: '';
position: absolute;
width: 100px;
height: 140%;
background-color: rgb(0, 13, 255);
box-shadow: 0 0 20px black;

}
.gallery-wrap::after{
    content: '';
position: absolute;
inset: 10px;
background-color: white;
border-radius: 16px;
}*/
@keyframes gallerywrap{
    0%{
        box-shadow: 0 0 3px blue,
    0 0 3px blue, 0 0 5px blue,
    0 0 5px blue, 0 0 5px blue;  
    }
    50%{
        box-shadow: 0 0 3px #a6bff5,
        0 0 3px #a6bff5, 0 0 5px #a6bff5,
        0 0 5px #a6bff5, 0 0 5px #a6bff5;
    }
    100%{
        box-shadow: 0 0 3px blue,
    0 0 3px blue, 0 0 5px blue,
    0 0 5px blue, 0 0 5px blue;  
    }
} 
#backBtn,#nextBtn{
    cursor: pointer;
    width: 30px;
}
.gallery div iframe:hover{
    height: 250;
    cursor:pointer;
    transform: scale(1.1);
    box-shadow: 0 0 5px blue,
    0 0 5px blue, 0 0 5px blue,
    0 0 5px blue, 0 0 5px blue; 
border-radius: 2px;
}
@media (width<800px){
    .gallery div{
        height: 280px;
        width:900px;
        display:flex;
        overflow-x: scroll;
    }
    .gallery-wrap{
        width: 100%;
    }
    
    .gallery div{
        width: 100%;
        display:grid;
        grid-template-columns: auto ;
        grid-gap:25px;
        padding: 10px;
        flex :none;
    }
    .gallery div iframe{
        width: 330;
    }
}
/* .gallery-wrap{
    scrollbar-width: normal;
    scrollbar-color: azure blue;
} */