/* Paleta de colores */
:root {
    --white: #ffffff;
    --black: #000000;
    --grey: #757575;
    --greyLight: #dfe4ea;
    --greyBlue: #22205F;
    --greyNight: #0B141F;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: "Fs_r";
    src: url("../asset/fonts/fs_r.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TGSPerfectCondensed';
    src: url('../asset/fonts/TGSPerfectCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../asset/fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* ==========================
        NAVEGACIÓN
============================= */
.nav_first {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.nav_pri_first {
    display: flex;
    align-items: flex-start; 
    width: 100%;
}

.nav_pri_first a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav_pri_first a:hover {
    color: #22205F;
}

/* Parte izquierda con logo */
.nav_left_first {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav_center_first {
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin-left: 50px;
}

.nav_column_first {
    display: flex;
    list-style: none;
    padding: 0;
    text-align: left;
    gap : 80px;
}

.nav_right_first {
    margin-left: auto;
    position: relative;
    display: flex; 
    list-style: none;
    gap: 94px;
    padding: 0;
}

.nav_icon_first { 
    position: fixed;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--greyBlue);
    padding: 21px 14px 2px;
    border-radius: 0 0 18px 18px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    z-index: 10;
}





/* ==========================
        SUBMENUS
============================= */
.dropdown_first {
    display: none;
    position: absolute;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.submenu_dropdown_first {
    position: absolute;
    top: 0;
    right: -80%;
    list-style: none;
    display: none;
}

/* Mostrar submenús cuando el usuario pase el mouse sobre el menú padre */
.menu_item_first:hover > .dropdown_first,
.submenu_item_first:hover > .submenu_dropdown_first {
    display: block;
}

.submenu_item_first {
    position: relative;
}

/* Ajustar los enlaces del submenú */
.dropdown_first li {
    padding: 8px 15px;
    white-space: nowrap;
}



/* ==========================
        HERO
============================= */

.hero_bg1 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    color: white;
}

.hero_bg1 img {
    width: 105%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(0.9); 
    transform: translateX(-3.7%); 
}

.hero_bg1 h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}



/* ==========================
        BODY
============================= */
.hero_texto1 {
    padding: 60px 10%; 
    color: #000; 
    text-align: justify;
    margin-top: -94px;
}

/* Línea separadora */
.hero_texto1::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: 40px;
}

.hero_texto1 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px; 
    color: #22205F; 
}

.hero_texto1 p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero_texto1 strong {
    color: #22205F; 
}



.container_history {
    display: flex;
    align-items: start;
    gap:  10px;

}

.text_history {
    display: flex;
    flex-direction: column;
}

.year {
    font-weight: bold;
    font-size: 24px;
    color: #2E2E75; /* Ajusta el color según el diseño */
    margin-bottom: 5px; /* Espaciado entre el año y el párrafo */
}



.hero_texto2 {
    padding: 60px 10%; 
    color: #000; 
    text-align: justify; 
    margin-top: -94px;
}

/* Línea separadora */
.hero_texto2::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: 40px;
}

.hero_texto2 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px; 
    color: #6D6DAA; 
}


.circle {
    padding-left: 318px;
}

/* Estilos para las noticias */





/* ==========================
        FOOTER
============================= */

footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    font-size: 1rem;
}

.footer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: var(--black);
    color: var(--white);
    flex-wrap: wrap;
    text-align: center;
}

.footer_contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(70px);
}

/* Redes Sociales */
.footer_social h3,
.footer_legal h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--greyLight);
    display: inline-block;
}

.social_icons {
    display: flex;
    gap: 10px;
}

.social_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--greyLight);
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
    font-size: 1.2rem;
    color: var(--black);
    text-decoration: none;
}

.social_icon:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Colores específicos para cada red social */
.fb:hover { background-color: #3b5998; color: var(--white); }
.ig:hover { background: linear-gradient(45deg, #fccc63, #bc2a8d, #e95950); color: var(--white); }
.tw:hover { background-color: #1da1f2; color: var(--white); }
.yt:hover { background-color: #ff0000; color: var(--white); }
.sp:hover { background-color: #1db954; color: var(--white); }
.fl:hover { background-color: #ff0084; color: var(--white); }

.footer_legal ul {
    list-style: none;
    padding: 0;
}

.footer_legal ul li {
    margin-bottom: 8px;
}

.footer_legal ul li a {
    color: var(--white);
    text-decoration: none;
}

.footer_legal ul li a:hover {
    text-decoration: underline;
    
}

/* Descarga de Apps */
.footer_apps {
    display: flex;
    gap: 10px;
}

.footer_apps img {
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.footer_apps img:hover {
    transform: scale(1.1);
}

.footer_copy a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold; 
}

/* ==========================
      RESPONSIVIDAD
============================= */

@media (max-width: 720px) {
    .container_history {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hero_texto2{
        padding: 0 10%;
        margin-top: -60px;
    }
    .hero_texto2 h2{
        margin-top: 0;
    }
    .container_history img{
        margin: 14px 0;
    }

    .hero_texto1{
        padding: 0 10%;
        margin-top: -60px;
    }
    .hero_texto1 p{
        font-size: 1rem;
    }
    .hero_texto1 h2{
        font-size: 1.5rem;
        text-align: start;
    }
    .hero_texto1 h2:nth-child(1){
        margin-top: 0;
    }

    .hero_texto2{
    text-align: start;
    }
}

@media (max-width: 500px) {
    .historia_miami{
        padding: 0 10%;
        margin-top: 0px!important;
    }
    
}

/* Estilos para la sección de noticias */
.section_five {
    padding: 0px 0;
}

.nav_bg_five {
    padding: 0px 0;
    margin-bottom: 30px;
}

.nav_title_container_five {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav_title_five {
    color: #22205F;
    font-size: 2rem;
    margin: 0;
    text-align: start;
}

.nav_content_five {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilos para mensajes de error o sin resultados */
.no-resultados, .error {
    text-align: center;
    color: var(--grey);
    font-size: 1.1rem;
    padding: 20px;
    grid-column: 1 / -1;
}

/* Estilos para el botón Ver más */
.ver-mas-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.ver-mas-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--greyBlue);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;

}


