* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}



body {
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #186A6F;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

#contenedor {
    text-align: center;
    margin: 20px auto;
    min-height: 300px; 
    padding: 0 20px;
}

#fotoFary {  
    width: 100%;       
    max-width: 800px; 
    height: auto;    
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

#fotoFary.invisible {
    opacity: 0;
    visibility: hidden;
}

#botones {
    text-align: center;
    margin: 30px auto 60px auto;
}

button#mostrarOcultar {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 15px 45px; 
    font-size: 1.3rem; 
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button#mostrarOcultar:hover {
    background-color: #0056b3;
}

button#mostrarOcultar:active {
    transform: scale(0.98); 
}

footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid #eee;
    background-color: #fafafa;
    font-size: 0.9rem;
    color: #666;
}

footer address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-style: normal;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer img {
    width: 24px;
    margin-top: 5px;
}