body {
    text-align: center;
    font-size: 15px;
    background-image: url('background.gif');
    background-size: cover; /* Ensures the background image covers the whole page */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 100%; /* Ensures the body takes up the entire viewport height */
    
    
}



.slider img {
    width: auto;
    max-width: 300px;
    height: 100px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid black;
    background-color:rgba(0, 0, 0, 0.801);
    overflow: flex;

}

button {
    padding: 10px 10px;
    margin: 30px 0px 30px 30px;
    cursor: pointer; 
    height:fit-content;
    color: hotpink;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Silkscreen', sans-serif;

}   

button:hover{
    background-color: rgba(255, 0, 255, 0.418);
}

.silderbackground {
    background-color: rgba(255, 255, 255, 0.801);
    border-radius: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-style: groove;
    padding-left: 20px;
    padding-right: 20px;
    border-color: hotpink;
    display: flex;
    align-items: center;
    justify-content: left;

}




canvas {
    width: 100%; /* Adjust if necessary */
    max-width: 500px; /* Maximum canvas width */
    height: auto; /* Keeps the aspect ratio of the canvas */
    border: 2px solid hotpink; /* Adds border for visibility */
}


.slider {
    width: 800px;
    margin: auto;
    height: 300px;
    overflow: auto;  
    border: 2px solid hotpink;
    margin-bottom: 50px;
    
}

h2{
    color: hotpink;
}
    /* width */
::-webkit-scrollbar {
width: 1px;
height: 12px;
 }
      
      /* Track */
::-webkit-scrollbar-track {
 box-shadow: inset 0 0 10px rgb(0, 0, 0); 
 border-radius: 10px;
}
       
      /* Handle */
::-webkit-scrollbar-thumb {
background: rgb(0, 0, 0); 
border-radius: 10px;
        
 }
      
      /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #ff6600; 
 }
