body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    max-width: 150px; /* Ajusta el tamaño de acuerdo a tus necesidades */
       height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

section {
    padding: 40px;
    margin-bottom: 60px; /* Espacio entre el contenido y el footer */
}

section#inicio {
    padding: 40px;
    margin-bottom: 10px; /* Ajusta el margen inferior para reducir el espacio */
}

section#contacto {
    padding: 40px;
    
}

footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
/* Media Query para dispositivos móviles */
@media only screen and (max-width: 600px) {
    .logo-container {
        position: relative;
        margin-bottom: 10px;
        text-align: center; /* Centra el logo en dispositivos móviles */
        top: 70px;
        
        
    }
    h1 {
        margin-top: 20px; /* Ajusta el espacio entre el título y el logo */
    }
    .logo {
        max-width: 150px; /* Hace que el logo sea 100% del ancho disponible */
        height: auto;
        width: 100%;
        
    }

}

