*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.7em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
li{font-size: 1.25em;}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

button{
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.5em);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5em);
    color: white;
    background-color: #4e606c;
}


button:hover{
    background-color: #3f4d56
}

.container{
    max-width: 1400px;
    margin: auto;
}

.color-acento{color: #4e606c; }

header{
    background-color: rgb(245,245,245)

}

header .logo{
    margin: 0;
    padding: 40px 30px;
    font-weight: bold;
    color: black;
    font-size: 10px;
    display: flex;
    align-items: center;
}

.logo img{
    height: 70px;
    margin-right: 10px;
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

header a:hover{
    color: white;
}

footer p{
    color: rgb(100,100,100);
}



@media (min-width:720px){
    header{
        position: fixed;
        width: 100%;
    }


    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }

}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 250px;
    padding-bottom: 150px;
}

.contact-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}


footer .imagenesFooter {
    display: flex;
    justify-content: center;
    background-color: rgb(230,230,230);
    padding-top: 120px;
}

footer img {
    height: 95px;
    margin: -75px 180px;
}

.container9{
    margin-top: 50px;
    text-align: center;
    font-size: 10px;

}


body{
    background-color: rgb(230,230,230);
}

#hero2{
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-position: center center;
    background-image:linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ) 
    ,url("Patio.jpg");
}

/* Reset general */
body, h2, form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Sección de contacto */
.contact-section {
    background-color: #fff; /* Fondo blanco para la sección */
    padding: 2rem; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra para profundidad */
    width: 600px; /* Ancho fijo */
    text-align: center; /* Centramos el texto */
    
}

/* Estilo del título */
.contact-section h2 {
    margin-bottom: 1.5rem; /* Espacio inferior */
    color: #333; /* Color del texto */
}

/* Estilo del formulario */
.formulario form {
    display: flex;
    flex-direction: column; /* Coloca los elementos en columna */
    gap: 1rem; /* Espacio entre los elementos del formulario */
}

/* Estilo de los inputs */
.formulario input[type="email"],
.formulario textarea,
.formulario input[type="submit"] {
    padding: 0.75rem; /* Espaciado interno */
    border: 1px solid #ccc; /* Borde gris */
    border-radius: 5px; /* Bordes redondeados */
    font-size: 1rem; /* Tamaño de fuente */
    outline: none; /* Sin contorno al enfocar */
    transition: border-color 0.3s; /* Transición suave para el borde */
}

/* Estilo específico para el textarea */
.formulario textarea {
    height: 100px; /* Altura del textarea */
    resize: none; /* Desactivar el redimensionamiento */
    font-family: 'Roboto', sans-serif;
}

/* Cambiar el borde al enfocar */
.formulario input[type="email"]:focus,
.formulario textarea:focus {
    border-color: #506dc3; /* Color de borde al enfocar */
}

/* Estilo del botón de envío */
.formulario input[type="submit"] {
    background-color: #506dc3; /* Color de fondo azul */
    color: white; /* Color del texto */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    font-weight: bold; /* Texto en negrita */
}

/* Cambiar color del botón al pasar el cursor */
.formulario input[type="submit"]:hover {
    background-color: #415798; /* Color más oscuro al pasar el ratón */
}

/* Estilo del contenedor del checkbox */
.checkbox-container {
    display: flex; /* Usar flexbox */
    align-items: center; /* Alinear verticalmente */
    gap: 0.5rem; /* Espacio entre checkbox y texto */
    text-align: left; /* Alinear texto a la izquierda */
}

/* Estilo del checkbox */
.formulario input[type="checkbox"] {
    margin-right: 0.5rem; /* Espacio a la derecha del checkbox */
}

/* Estilo de los enlaces */
.formulario a {
    color: #506dc3; /* Color azul */
    text-decoration: none; /* Sin subrayado */
}

.formulario a:hover {
    text-decoration: underline; /* Subrayado al pasar el ratón */
}
