/* ======== RESET ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.montserrat-light {
    font-family: 'Montserrat', serif;
    font-weight: 300; /* Ligero */
}

.montserrat-bold {
    font-family: 'Montserrat', serif;
    font-weight: 700; /* Negrita */
}

.montserrat-italic {
    font-family: 'Montserrat', serif;
    font-style: italic;
}
body {
    overflow-x: hidden; /* Oculta desbordamiento horizontal */
    line-height: 1.5;
    background: #0e944f;
    color: #333;
    font-family: 'Montserrat', serif;
    font-weight: 400; /* Cambia el peso según prefieras (100–900) */
    font-style: normal; /* Cambia a 'italic' si necesitas cursiva */
    font-optical-sizing: auto; /* Mejora la nitidez en fuentes escaladas */
    
}



/* ======== ENCABEZADO ======== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: #0e944f;
    /* Color del encabezado */
    color: white;
    height: 100px;

}

/* Logo y Título */
.box-encabezado {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#logo-chico-cpbn {
    width: 50px;
    /* Tamaño del logo */
    height: auto;
    padding: 3px;
    margin-left: auto;
}

.h1 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}


/*=========Formas============*/

.forma-encabezado-amarilla {
    background: #ffd500;
    border-radius: 0 200px 200px 0;
    height: 100%;
    width: 100%;
}

.forma-encabezado-blanca {
    background: white;
    width: 90%;
    height: 100%;
    border-radius: 0 200px 200px 0;
    display: flex;
}

/* Menú en desktop */

nav{
    height: 100px;
    width: 100%;
    border-radius: 0 200px 200px 0;
    align-items: center;
    display: flex;
}
.enlace{
    position: absolute;
    padding: 20px 50px;
}

nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: #333;
    font-size: 15px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}
li a.active, li a:hover{
    background: #FFC107;
    transition: .5s;
}
.checkbtn{
    font-size: 50px;
    color: #000;
    float: left;
    line-height: 80px;
    margin-left: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

/*-- ======== 2. SVG de fondo ======== --*/
.fondo-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;

}




/* ===== Pie de página ===== */
footer {
    background: #000; /* Color de fondo del footer */
    color: #fff;      /* Color del texto del footer */
    text-align: center;
    padding: 1rem;
    width: 100%; /* Asegura que ocupe todo el ancho */
  }
/* Responsive Styles */
@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
} 
@media (max-width: 1390px) {
    .forma-encabezado-amarilla {
        background: #ffd500;
        border-radius: 0 200px 200px 0;
        height: 100%;
        width: 50%;
    }

    .forma-encabezado-blanca {
        background: white;
        width: 90%;
        height: 100%;
        border-radius: 0 200px 200px 0;
        display: flex;
        
    }
}

@media (max-width: 1500px){
    .checkbtn{
        display: block;
    }
    ul{
        
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #FFD500;
        
        left: -100%;
        text-align: left;
        transition: all .5s;
        
    }
    nav ul li{
       
        display: block;
        margin: 30px 0;
        line-height: 50px;
        background: #0e944f;
        border-radius: 0 200px 200px 0;
    }
    nav ul li a{
        font-size: 65px;
        width: auto;
        border-radius: 0 200px 200px 0;
        background: #f4f4f4;
        text-decoration: none;
        display: flex;
    }
    li a:hover, li a.active{
        background: none;
        color: #f4f4f4;
    }
    #check:checked ~ ul{
        left:0;
        background: #ffd500;
        padding: 1rem;
        position: fixed; /* Fijo en pantalla */
        top: 0;         /* Se pega a la parte superior */
        left: 0;        /* Asegura que inicie desde el borde izquierdo */
        width: 100%;    /* Ocupa todo el ancho */
        z-index: 999;   /
    }
    @media (max-width: 650px){
        h1{
            display: none;
        }

   }
}