/* nosotros 1.css */
/* Importación de las fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&family=Quicksand:wght@400;700&display=swap');

:root {
    --header-height: 150px; /* Nueva variable para la altura del header */
    --color-primary: #519259; /* Definiendo el color primario */
    --background-dark: #214034; /* Color de fondo oscuro */
    --background-light: #BBE124; /* Color de fondo claro */
    --text-dark: #fff; /* Color de texto oscuro */
    --text-light: #214034; /* Color de texto claro */
}

/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

/* Encabezado y navegación */
header {
    background-color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    background-color: #fff;
}

.logo {
    width: 255px;
    height: 74px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 550;
    font-size: 20px;
}

.hero-content {
    display: flex; /* Cambiado de grid a flex */
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Ajuste adicional para centrar el contenido */
    width: 100%; /* Asegura que ocupa el 100% del ancho */
    max-width: 100%; /* Asegura que ocupa el 100% del ancho */
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    background-color: var(--background-dark);
    color: var(--text-dark);
    overflow: hidden; /* Para evitar el scroll */
    padding-top:30px
}

.info-section {
    flex: 1;
    padding-right: 25px;
    margin-left: 55px;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
h2{
    font-size: 30px;
    font-weight: 100;
    margin-bottom: 20px;
}
p {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 100;
}

.rounded-rectangle {
    width: 600px; /* Ancho ajustado */
    height: 450px; /* Alto ajustado */
    background-color:  #F8CF17;
    border-top-left-radius: 225px; /* Ajuste para bordes redondeados */
    border-bottom-left-radius: 225px; /* Ajuste para bordes redondeados */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    justify-content: flex-end; /* Aligns the inner-rectangle to the right */
    align-items: center;
    padding: 20px;

    margin: 0; /* Elimina cualquier margen adicional */
}

.inner-rectangle {
    width: 500px; /* Ancho reducido */
    height: 281.25px; /* Alto reducido manteniendo la proporción 16:9 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-rectangle img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ajusta el tamaño de la imagen sin cortarla */
    background: none; /* Asegura que la imagen no tenga fondo */
}

/* Sección Nosotros */
#nosotros {
    padding: 50px 20px;
    background-color: var(--background-dark);
    color: var(--text-dark);
    text-align: center;
}

#nosotros h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

#nosotros p {
    font-size: 19px;
    margin-bottom: 20px;
}


.hidden-nav {
    display: none;
}