html { 
     background-image: linear-gradient(180deg, rgb(27, 3, 38), rgb(3, 2, 12));
    font-family: 'Courier New', Courier, monospace;
    background-repeat:no-repeat;
    height: 125%;
    width:100%;
    background-attachment: fixed;
    
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(42, 6, 90); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(152, 140, 235); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(152, 140, 235); 
}
}
#main { 
    display:flex;
    flex-direction:column;
    background-color: rgba(0, 0, 0, 0.413);
    align-items: center;
    color:rgb(130, 113, 196);
    margin-left:10%;
     margin-right:10%;
     border-style:solid;
     border-color:rgb(42, 6, 90);
     /* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(42, 6, 90); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(152, 140, 235); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(111, 101, 177); 
}
     
    
}
#content{ 
    padding:15px;
}
#buttons {
   
    display: flex;
    direction:row;
    width:100%;
    
}
.tab {
   
    display: flex;
    direction:row;
    width:100%;
    
}
#socials {
    display: flex;
    direction:row; 
     width:100%;
}
#webrings {
    display: flex;
   flex-direction: column;
     width:100%;
}
#header { 
    width:100%
}
button { 
    font-family: 'Courier New', Courier, monospace;
    height:25px;
    width:100px;
    flex-grow: 1;
    color:rgb(152, 140, 235);
    border-style: hidden;
    background-image: linear-gradient(180deg, rgb(42, 6, 90), rgb(16, 20, 60));
}
button:hover{ 
    color:rgb(111, 99, 183);
        background-image: linear-gradient(180deg, rgb(29, 4, 61), rgb(10, 12, 43));
}
#webby { 
    max-height: 350;

}
.tab button.active {
 color:rgb(111, 99, 183);
        background-image: linear-gradient(180deg, rgb(29, 4, 61), rgb(10, 12, 43));
}
.GALLERY { 
    padding-left:10px;
    padding-right:10px;
 gap: 10px; 
  width:100%
    height:auto%;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-y:scroll;
    overflow-x:hidden;
   
    
 

}

.im { 
 
  display: block;
    max-width:100%;
    max-height:100%;
    border-style:hidden;
    border-radius: 15px;;
    -webkit-transition-duration: 0.3s;
  
  
}
.im:hover { 
      filter: brightness(50%);
        transform: scale(1.1);
}



@media (max-width: 900px) {
    .GALLERY {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    

    button {
        height: 40px; 
        font-size: 1.1rem;
    }
}


@media (max-width: 768px) {
    .GALLERY {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    
    #main {
        margin-left: 5%;
        margin-right: 5%;
        width: 90%; 
    
    
    #buttons, .tab {
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    button {
        min-width: 45%; 
        flex-grow: 1; 
    }
}
}

