*  {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background: white;
    color: black;
    background-image: url(img/Fond2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-size: 16px;
    font-family: sans-serif;
}
a {
    color: black;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    margin: auto;
}
/*Nav-style Navegation*/
.nav-main  {
    position: fixed;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 20px 0;
}
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand img {
    width: 120px;  /* Ajusta el tamaño según necesites */
    height: auto;
}
/*NAV FEFT*/
.nav-main ul {
    display: flex;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;

}
.nav-main ul li {
    padding: 10px;
    display: inline;
    margin: 0 15px;
}
.nav-main ul li a:hover {
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}
.nav-main ul li a:hover {
    border-bottom: 2px solid black;
}
.nav-main ul.nav-menu {
    flex: 1;
    margin-left: 20px;
}

.menu-btn {
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 30px;
    z-index: 2;
    font-size: 2rem;
}
.nav-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-menu.show {
    transform: translateX(0);
}
.P-p {
    font-size: 28px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/*SHOWCASE*/
hr {
    margin: 10px 0;
}
.showcase {
    width: 100%;
    height: auto;
    min-width: 600px;
    padding: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.btn {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    background: #0275d8;
    color: #ffffff;
    font-size: 15px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #025aa5;
    transform: scale(1.05);
}
.showcase h2,
.showcase p {
    margin-bottom: 10px;
} 




/* Social */
.Social-dos {
    margin: 50px;
}
.Social-dos p {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px
}
.Links-dos {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Links-dos a { 
    margin: 0 30px;
}
.Links-dos a i {
    font-size: 3rem;
}
.Links-dos {
    display: flex;
    gap: 20px;
}

.Links-dos a {
    font-size: 40px;  /* Tamaño de los íconos */
    color: black;     /* Color inicial */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.Links-dos a:hover {
    transform: scale(1.2); /* Efecto de zoom al pasar el mouse */
}

.fa-facebook { color: #1877F2; }  /* Azul de Facebook */
.fa-whatsapp { color: #25D366; }  /* Verde de WhatsApp */
.fa-instagram { color: #E4405F; }  /* Rosa de Instagram */

/*Footer-Links*/
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
.footer-section a {
    color: white;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f4c542;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {.menu-btn {
    display: block; /* Asegúrate de que sea visible */
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 30px; /* Tamaño del ícono */
    background: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
    padding: 10px;
    border-radius: 5px;
    color: white; /* Color del ícono */
    cursor: pointer;
    z-index: 1100; /* Asegúrate de que esté por encima de otros elementos */
}
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}


/*  navegación en móviles */
@media (max-width: 700px) {
    .nav-main ul.nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 50, 0, 0.95); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
    }

    .nav-main ul.nav-menu.show {
        transform: translateX(0);
    }

    .nav-main ul.nav-menu li {
        padding: 15px;
        font-size: 22px;
    }

    .nav-main ul.nav-menu li a {
        color: white;
        font-weight: bold;
        font-size: 24px;
    }

    .menu-btn {
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 5px;
        color: white;
        z-index: 1100;
    }
}


/* ✅ Estilos para PC (menú completo) */
@media screen and (min-width: 1025px) {
    .nav-menu {
        display: flex; 
        justify-content: space-around;
        flex: 1;
        transform: none;
    }

    .menu-btn {
        display: none; /* Se oculta el botón hamburguesa */
    }
}

/* ✅ Estilos para Tablet y Móvil (menú hamburguesa) */
@media screen and (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 50, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.show {
        transform: translateX(0);
    }

    .menu-btn {
        display: block; /* Se muestra el botón hamburguesa */
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        z-index: 1100;
    }
}
@media screen and (min-width: 1025px) {
    .Noticias {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* ✅ Contenedor principal */
.container {
    max-width: 1100px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* ✅ Títulos */
h1 {
    text-align: center;
    color: #0275d8;
    margin-bottom: 20px;
}

h2 {
    color: #0275d8;
    border-bottom: 2px solid #0275d8;
    padding-bottom: 5px;
    margin-top: 20px;
}

/* ✅ Párrafos */
p {
    margin: 10px 0;
    line-height: 1.6;
}

/* ✅ Listas */
ul {
    margin: 10px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

/* ✅ Secciones */
section {
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 500px) {
    .Links a {
        font-size: 30px; /* Reduce el tamaño de los íconos */
        margin: 0 10px; /* Reduce el espacio entre los íconos */
    }
}

@media (max-width: 500px) {
    p {
        font-size: 16px; /* Reduce el tamaño de la fuente */
        line-height: 1.8; /* Aumenta el espacio entre líneas */
        margin: 10px 15px; /* Agrega márgenes laterales */
        text-align: center;
    }
}
@media (max-width: 500px) {
    .container {
        padding: 15px; /* Reduce el padding interno */
        width: 95%; /* Asegúrate de que el contenedor no ocupe todo el ancho */
    }
}

@media (max-width: 500px) {
    section {
        padding: 10px; /* Reduce el padding interno */
        margin-bottom: 20px; /* Agrega espacio entre secciones */
    }
}