/* Importar fuente inspirada en Mario Wonder */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

body {
    background-color: #74B9FF;
    font-family: 'Nunito Sans', sans-serif;
    color: #ffffff;
    text-align: center;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, #120907, #122643);
    background-size: cover;
    min-height: 100%;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    body {
        background-size: cover;
    }

    #loadingGif {
        width: 120px;
        max-width: 80%;
    }

    #progressBarContainer {
        width: 80%;
        height: 8px;
    }
}

@media (max-width: 480px) {
    body {
        background-size: cover;
        /* Asegura que el fondo no se repita */
    }

    #loadingGif {
        width: 100px;
        max-width: 80%;
    }

    #progressBarContainer {
        width: 80%;
        max-width: 280px;
        height: 8px;
    }
}

@media (max-width: 360px) {
    body {
        background-size: cover;
        /* Asegura que el fondo no se repita */
    }

    #loadingGif {
        width: 80px;
        max-width: 70%;
    }

    #progressBarContainer {
        width: 70%;
        height: 6px;
    }
}

#loadingContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}


#loadingGif {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    max-width: 80%;
}


#progressBarContainer {
    width: 90%;
    max-width: 350px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
}


#progressBar {
    width: 0%;
    height: 100%;
    background-color: #ffcc00;
    transition: width 0.3s ease;
}


@media (max-width: 768px) {
    #loadingGif {
        width: 120px;
        max-width: 80%;
    }

    #progressBarContainer {
        width: 80%;
        height: 8px;
    }
}

@media (max-width: 480px) {
    #loadingGif {
        width: 100px;
        max-width: 80%;
        /* Evita que el GIF se desborde */
    }

    #progressBarContainer {
        width: 80%;
        max-width: 280px;
        height: 8px;
    }
}

@media (max-width: 360px) {
    #loadingGif {
        width: 80px;
        max-width: 70%;
        /* Ajusta el tamaño para pantallas muy pequeñas */
    }

    #progressBarContainer {
        width: 70%;
        height: 6px;
    }
}


.logo {
    width: 140px;
    height: 70px;
}

/* -------- NAVBAR -------- */

.navbar {
    background: #A71B21 !important;
    padding: 15px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid #FFD700;
}

.navbar-toggler-icon {
    background-color: #FFD700;
    border-radius: 10%;
    width: 30px;
    height: 30px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: #FFD700;
}

/* Logo */
.navbar-brand {
    color: #fff !important;
    font-weight: bold;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.1);
    color: #FFD700;
}

/* Estilos del menú */
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Efecto en hover */
.navbar-nav .nav-link:hover {
    color: #FFD700;
    text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
    background-color: rgba(255, 215, 0, 0.2);
}

/* Estilo del botón de búsqueda */
.btn-outline-success {
    color: #fff !important;
    border-color: #FFD700 !important;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: #FFD700 !important;
    color: #000 !important;
    border-color: #FFD700 !important;
}

/* Dropdown */
.dropdown-menu {
    background-color: #E63946;
    border: none;
}

.dropdown-item {
    color: #fff !important;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #FFD700 !important;
    color: #000 !important;
}

/* Navbar responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #E63946;
        padding: 10px;
        border-radius: 5px;
    }

    .navbar-nav .nav-link {
        text-align: center;
        display: block;
    }
}

/* Estilo general para el footer */
.footer {
    border-top: 5px solid #FFD700;
    background-color: #023C7C;
    color: #ffffff;
    padding: 30px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer .footer-social {
    display: flex;
    gap: 15px;
}

.footer .footer-social a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}

.footer .footer-form input {
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.footer .footer-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer .footer-form button:hover {
    background-color: #0056b3;
}

.footer .footer-links {
    display: flex;
    gap: 30px;
}

.footer .footer-links h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    margin-bottom: 5px;
}

.footer .footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer .footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}


/* -------- BOTONES -------- */
.btn-outline-success {
    background-color: #FFD700;
    border: 3px solid #D35400;
    color: #000;
    font-weight: bold;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-outline-success:hover {
    background-color: #D35400;
    color: #fff;
}

.mario {
    width: 400px;
    height: 350px;
}

/* -------- FOOTER -------- */

.footer {
    background: #023C7C;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 1rem;
    width: 100%;
    margin-top: auto;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.container {
    flex: 1;
}


.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}


.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #FFD700;
    color: #000;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s, transform 0.3s;
}

.footer-social a:hover {
    background-color: #D35400;
    color: #fff;
    transform: scale(1.1);
}


.footer-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-form input {
    padding: 10px;
    border-radius: 10px;
    border: none;
    flex: 1;
    min-width: 200px;
}

.footer-form button {
    background-color: #FFD700;
    border: none;
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-form button:hover {
    background-color: #D35400;
    color: #fff;
}

/* Links del footer */
.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    /* Asegura que los links sean responsive */
}

.footer-links div {
    min-width: 150px;
}

.footer-links h5 {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    margin-bottom: 8px;
    /* Espacio entre links */
}

.footer-links a:hover {
    color: #FFD700;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    font-size: 0.9rem;
    width: 100%;
    margin-top: 20px;
    /* Espacio antes del copyright */
}

/* Adaptabilidad para pantallas pequeñas */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-form {
        width: 100%;
    }

    .footer-form input {
        width: 100%;
    }

    .footer-social {
        justify-content: center;
    }
}
/* Estilo adicional para mejorar el diseño */
.launch-section {
    background: linear-gradient(to right, #120907, #122643);
    padding: 60px 0;
}

/* Estilización de los títulos */
.section-title, 
.launch-title {
    font-family: 'Bungee', cursive;
    color: #FFD700;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.launch-title {
    font-size: 2rem;
    text-align: center;
}

/* Estilización del contenido */
.launch-description {
    font-size: 1.1rem;
    color: #f8f9fa;
    line-height: 1.8;
    text-align: justify;
}

/* Lista sin puntos ni cheques */
.features-list, .launch-specifications {
    font-size: 1rem;
    line-height: 1.7;
    color: #f8f9fa;
    padding-left: 0;
    list-style: none;
}

.features-list li,
.launch-specifications li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

/* Imagen con estilo */
.launch-image {
    display: flex;
    justify-content: center;
}

.launch-image img {
    max-width: 90%;
    border-radius: 12px;
}

/* Estilo uniforme para imágenes adicionales */
.extra-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permite que las imágenes se acomoden en dispositivos pequeños */
    gap: 15px;
    margin-top: 20px;
}

.extra-images img {
    width: 200px; /* Tamaño uniforme */
    height: 150px; /* Tamaño uniforme */
    border-radius: 8px;
    box-shadow: none; /* Se eliminó la sombra */
}

/* Botón de llamada a la acción */
.btn-primary {
    background-color: #FFD700;
    border-color: #FFD700;
    font-size: 1.2rem;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #D35400;
    border-color: #D35400;
    transform: scale(1.05);
}

/* Ajuste de imagen especial */
.img3 {
    width: 250px;
    height: 250px;
    border-radius: 10px;
}

/* Responsividad */
@media (max-width: 992px) {
    .launch-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .launch-description {
        font-size: 1rem;
        text-align: center;
    }

    .launch-image img {
        max-width: 100%;
    }

    .extra-images img {
        width: 180px; /* Reducimos el tamaño en pantallas medianas */
        height: 130px;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .launch-title {
        font-size: 1.6rem;
    }

    .launch-description {
        font-size: 0.95rem;
    }

    .extra-images img {
        width: 160px; /* Ajuste en pantallas pequeñas */
        height: 120px;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .launch-title {
        font-size: 1.4rem;
    }

    .launch-description {
        font-size: 0.9rem;
    }

    .extra-images img {
        width: 140px; /* Más pequeño en dispositivos móviles */
        height: 100px;
    }

    .btn-primary {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}
