/* Reseteo general */
*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h1 img {
    padding-top: 25px;
    width: 150px;
    height: 100px;
}

.html {
    font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.navbar {
    box-shadow: 0px 5px 10px 0px #aaa;
    width: 100%;
    background: #fff;
    color: #000;
    opacity: 0.85;
    z-index: 100;
    position: fixed; /* Mantener el navbar fijo */
    top: 0;
    left: 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
}
.logo {
    order: 1;
    font-size: 2.3rem;
}

/* Estilos para el menú con 3 opciones y separadores */
.menu-items {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    list-style: none;
}

.menu-items li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Línea separadora después del primer y segundo elemento */
.menu-items li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #ccc;
}

.menu-items a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    padding: 0 15px;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu-items a:hover {
    color: #117964;
}

/* Estilo especial para Cerrar sesión */
.menu-items li:last-child a {
    color: #d32f2f;
}

.menu-items li:last-child a:hover {
    color: #b71c1c;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .menu-items {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    
    .menu-items li {
        width: 100%;
        padding: 10px 0;
    }
    
    /* Eliminar líneas verticales en móvil */
    .menu-items li:not(:last-child)::after {
        content: none;
    }
    
    /* Agregar bordes inferiores en móvil */
    .menu-items li:not(:last-child) {
        border-bottom: 1px solid #eee;
    }
    
    .menu-items a {
        padding: 8px 0;
        width: 100%;
    }
}



.navbar a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #117964;
}

/* Ajuste para que el contenido no se superponga */
body {
    padding-top: 64px; /* Agrega un padding en el body igual a la altura del navbar */
}

/* Responsivo */
@media (max-width: 768px) {
    .navbar {
        opacity: 0.95;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 64px;
        padding: 0 20px;
    }

    /* Configuración del input checkbox */
    .navbar-container input[type="checkbox"] {
        position: absolute;
        height: 32px;
        width: 32px;
        top: 16px;
        left: 16px;
        z-index: 3;
        opacity: 0;
        cursor: pointer;
    }

    /* Configuración del ícono de hamburguesa */
    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    /* Ajustes del logo */
    .navbar-container .logo {
        order: 3; /* Para mantener el logo al final */
        margin-right: 0;
        margin-left: auto;
    }

    /* Ajustes del menú desplegable */
    .navbar .menu-items {
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 100px;
        background: #fff;
        height: 100vh;
        width: 250px;
        transform: translateX(-100%);
        display: flex;
        flex-direction: column;
        padding-left: 40px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0px 10px 0px #aaa;
        overflow-y: auto;
        z-index: 1;
    }

    .navbar .menu-items li {
        list-style: none;
        margin-left: 1.5rem;
        font-size: 1.3rem;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    

    /* Mostrar el menú cuando el checkbox está activado */
    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    /* Animación del ícono de hamburguesa cuando está activo */
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }
}

/* Estilos de Login */
.login-box {
    width: 500px;
    position: relative;
     color: #2c2c84;
    padding: 50px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.login-box h1 {
    font-size: 40px;
    border-bottom: 6px solid #fcaf50;
    margin-bottom: 50px;
    padding: 13px 0;
}

.textbox {
    width: 100%;
    overflow: hidden;
    font-size: 20px;
    padding: 8px 0;
    margin: 8px 0;
    border-bottom: 1px solid #fcaf50;
}

.textbox i {
    width: 26px;
    float: left;
    text-align: center;
}

.textbox input {
    border: none;
    outline: none;
    background-color: transparent;
    color: #000;
    font-size: 18px;
    width: 80%;
    float: left;
    margin: 0 10px;
}

.btn {
    width: 100%;
    background-color: transparent;
    border: 2px solid #fcaf50;
    color: #333;
    padding: 5px;
    font-size: 18px;
    cursor: pointer;
    margin: 12px 0;
}

.btn:hover {
    background-color: #fcaf50;
    color: #000;
    transition: .5s;
}

.btn:active {
    background-color: #000;
    color: #fcaf50;
}

@media (max-width: 768px) {
    .login-box {
        width: 90%;
        padding: 30px;
        margin-top: 100px; /* margen adicional para espacio con el navbar */
    }

    .login-box h1 {
        font-size: 32px;
    }

    .textbox {
        font-size: 18px;
    }

    .textbox input {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
    }
}




/*Dashboard*/


    .responsive-iframe-container {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* Relación de aspecto 16:9 */
        margin: 20px auto; /* Espaciado superior e inferior */
        max-width: 1140px; /* Tamaño máximo del iframe */
    }
    
    .responsive-iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /*Contenido*/



    main {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh; /* Ajusta esta altura según el espacio que quieras en el main */
    }
    
    .container-form {
        text-align: center;
        background-color: #ffffff;
        border-radius: 12px;
        padding: 40px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        max-width: 400px;
        width: 90%;
        margin: 50px;
    }
    

h1 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 25px;
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;

}


select {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    color: #333;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; /* Añadido transición */
}

/* Efecto al pasar el cursor */
select:hover {
    background-color: #e0f7fa; /* Cambia el color de fondo al pasar el cursor */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra más grande */
    transform: scale(1.02); /* Un leve escalado */
}


.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.button {
    display: inline-block;
    border-radius: 10%;
    background-color: #ffd100;
    color: #000000;
    text-align: center;
    font-size: 1.1em;
    text-decoration: none;
    width: 150px;
    height: 90px;
    transition: background-color 0.3s, transform 0.3s;
}


.button:hover {
    background-color: #ffd000a1;
    transform: scale(1.1);
}

.buttons a {
    font-size: 15px; /* Tamaño de letra reducido */
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .button {
        font-size: 12px;
        width: 130px;
        height: 80px;
    }
    .container-form {
        padding: 40px;

    }
}
 
@media (max-width: 500px) {
    .button {
        font-size: 10px;
        width: 130px;
        height: 80px;
    }
    .container-form {
        padding: 10px;

    }
}


    /*FOOTER*/
    footer{
        width:100%;
        background-color:#121619;
        color:#fff;
        }
        
        .top_header{
        padding:2rem;
        display:flex;
        align-items:center;
        justify-content:center;
        position:relative;
        }
        
        .top_header section{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        }
        
        .top_header span{
        padding:0 1rem;
        }
        
        .top_header .fa{
        color: #f4f4f4;
        font-size:25px;
        }
    
        footer .border-shape {
        width: 40%;
        }
        
        footer .border-shape::before {
        width: 100%;
        left:120px;
        }
        
        footer .border-shape::after {
        width: 100%;
        right:120px;
        }
        
        footer .bottom_content section{
        padding:1.5rem 2rem;
        display:flex;
        align-items:center;
        justify-content:Center;
        }
        
        .bottom_content a{
        margin:0 20px;
        color:rgba(255,255,255,0.7);
        transition:0.5s;
        font-size:35px;
        }
    
        .bottom_content a:hover{
            font-size:40px;
            }
        
        .bottom_content a:hover{
        color:rgba(255,255,255,1);
        }
        
        
        .copyright{
        padding:0.8em 0;
        background-color:#1e1e1e;
        text-align:center;
        color:rgba(255,255,255,0.7);
        font-size:12px;
        }
        
        
        
        @media (max-width:820px){
        .top_header{
        padding:1rem;
        display:block;
        }
        
        .top_header section{
        margin:40px 0;
        align-items:left;
        justify-content:left;
        }
        footer .bottom_content section{
        padding:1rem;
        display:block;
        }
        .bottom_content {
            display: flex; /* Habilita flexbox */
            justify-content: center; /* Centra horizontalmente */
            padding: 20px; /* Espaciado opcional */
        }
        footer .bottom_content section a{
        padding:1rem;
        font-size:25px;
        }
    
        .bottom_content a:hover{
            font-size:29px;
            }
        }

        /*Buttons de descarga*/
/* Estilo para el contenedor principal */
main {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column; /* Organiza los elementos en columna */
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Estilo para la sección de formularios y botones */
.download-section {
    display: flex;
    justify-content: space-around; /* Espacio entre los formularios */
    gap: 30px; /* Espaciado entre los formularios */
    flex-wrap: wrap; /* Permite que los formularios se acomoden en múltiples líneas si es necesario */
    margin-top: 20px;
    width: 100%;
    max-width: 1200px; /* Limita el ancho de la sección */
}

/* Estilo para cada formulario */
.form-descarga {
    background-color: #f9f9f9;
    padding: 20px;
    border: 2px solid #ddd; /* Borde gris claro */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaciado entre los elementos del formulario */
    width: 300px; /* Ancho fijo para cada formulario */
    min-width: 250px; /* Evita que los formularios sean demasiado pequeños */
}

/* Estilo para los labels */
.form-descarga label {
    font-size: 14px;
    color: #555;
}

/* Estilo para los inputs */
.form-descarga input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilo para los botones */
.btn-download {
    background-color: #4caf50; /* Color de fondo verde */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Efecto hover para el botón */
.btn-download:hover {
    background-color: #388e3c;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Efecto active para el botón */
.btn-download:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .download-section {
        flex-direction: column;
        align-items: center;
    }

    .form-descarga {
        width: 90%; /* Ocupa el 90% del ancho disponible en pantallas pequeñas */
    }
}

