body {
    font-family: cursive; 
    position: relative;  
    min-height: 100vh;    
    margin: 20px auto;    
    padding: 60px 20px 20px; 
    background-color: black; 
    max-width: 1200px;        
    border-radius: 10px;       
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

#menu {
    background-color: black; 
    padding: 18px;           
    text-align: center;       
    position: fixed;          
    top: 0;                   
    left: 0;                 
    width: 100%;            
    z-index: 1000;           
}

#menu a {
    color: whitesmoke;              
    margin: 0 45px;          
    text-decoration: none;   
    font-size: 25px;         
}

.gallery {
    display: flex;           
    flex-wrap: wrap;         
    justify-content: center; 
    gap: 20px;               
    padding-top: 50px;       
}

.hover-box {
    position: relative;      
    width: 200px;            
    height: 300px;          
    overflow: hidden;        
    border-radius: 10px;     
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
    display: block;          
    text-decoration: none;  
    color: inherit;        
}

.hover-box img {
    width: 100%;            
    height: 100%;            
    object-fit: fill;       
    transition: opacity 0.3s ease; 
    display: block;          
}

.hover-box .info {
    position: absolute;     
    top: 0; left: 0;         
    width: 100%; height: 100%; 
    color: whitesmoke;       
    background-color: rgba(0,0,0,0.8); 
    display: flex;           
    flex-direction: column;  
    justify-content: center; 
    align-items: flex-start; 
    padding: 10px;           
    opacity: 0;              
    transition: opacity 0.3s ease; 
    box-sizing: border-box;  
    overflow-y: auto;        
}

.hover-box:hover .info {
    opacity: 1; 
}

.hover-box .info h2 {
    margin-bottom: 10px; 
}

.hover-box .info p {
    font-size: 13px; 
    margin: 5px 0;   
}

.superman-bg { background-color: rgba(0,0,0,0.8); } 
.spiderman-bg { background-color: rgba(0,0,0,0.8); }
.wonder-woman-bg { background-color: rgba(0,0,0,0.8); }
.captain-america-bg { background-color: rgba(0,0,0,0.8); }
.starfire-bg { background-color: rgba(0,0,0,0.8); }
.doctor-strange-bg { background-color: rgba(0,0,0,0.8); }

p{
    color: whitesmoke;
    font-size: 18px;
}

h4{
    color: whitesmoke;
    font-size: 28px;
    text-decoration: underline;
}

.character-img {
    display: block;
    max-width: 100%;
    margin: 10px auto;
    border-radius: 8px;
}

.DC{
    background-image: url('images/dc.png'); 
    background-repeat:repeat; 
    background-size: cover; 
    background-position: bottom
}

.Marvel{
    background-image: url('images/marvel.png'); 
    background-repeat:repeat; 
    background-size: auto; 
    background-position: bottom
}