body, html {  
    height: 100%;  
    margin: 0;  
    font-family: Arial, sans-serif;  
    overflow: hidden;  
}  

.background {  
    background-image: url('fondo.jpg');  
    background-size: cover;  
    background-position: center;  
    height: 100%;  
    position: relative;  
    color: white;  
    animation: fadeIn 2s;  
    display: flex;  
    flex-direction: column;  
    align-items: center;
    justify-content: center; 
}  

@keyframes fadeIn {  
    from { opacity: 0; }  
    to { opacity: 1; }  
}  

header {  
    background: rgba(0, 0, 0, 0.7);  
    padding: 20px;  
    text-align: center;  
    position: absolute;  
    width: 100%;  
    top: 20px;  
    z-index: 1;  
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);  
    border-radius: 10px;  
}  

.logo {  
    cursor: pointer;  
    z-index: 10;  
    transition: transform .3s;  
}  

.logo:hover {  
    transform: scale(1.2);  
}  

.logo-text {  
    margin: 10px 0;  
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .7);  
    color: white;  
    font-size: 24px;  
    font-weight: bold;  
}  

.navbar {  
    list-style-type: none;  
    padding: 0;  
    margin-top: 20px;
}  

.navbar li {  
    display: inline;  
    margin: 0 15px;  
}  

.navbar a {  
    color: white;  
    text-decoration: none;  
    font-weight: bold;  
    transition: color .3s;  
}  

.navbar a:hover {  
    color: #FFD700;  
    text-decoration: underline;  
}  

.button-container {  
    position: absolute;  
    bottom: 20px;  
    left: 50%;  
    transform: translateX(-50%);  
    text-align: center;  
    background: rgba(0, 0, 0, .438);  
    padding: 200px;  
    border-radius: 10px;  
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);  
    width: 90%; 
    max-width: 500px; 
}  

.button {  
    background-color: rgb(12, 126, 17);  
    color: white;  
    border: none;  
    padding: 15px 30px;  
    margin: 10px;  
    cursor: pointer;  
    border-radius: 5px;  
    text-decoration: none;  
    display: inline-block;  
    transition: background-color .3s, transform .3s;  
}  

.button:hover {  
    background-color: rgb(0, 0, 0);  
    transform: scale(1.05);  
}  

@media (max-width: 600px) {  
    .navbar li {  
        display: block;  
        margin: 5px 0; 
    }  

    .logo-text {  
        font-size: 20px;  
    }  

    .button {  
        padding: 10px 20px; 
        font-size: 14px;  
    }  
}  

 
@media (max-width: 400px) {  
    .logo {  
        height: 50px; 
    }  

    .logo-text {  
        font-size: 18px; 
    }  

    .button-container {  
        padding: 15px; 
    }  
}
