:root {
    --mplus-rounded: 'M PLUS Rounded 1c', sans-serif;
    --nunito-sans: 'Nunito Sans', sans-serif;
    --prompt: 'Prompt', sans-serif;
    --roboto: 'Roboto', sans-serif;
    --rubik-glitch: 'Rubik Glitch', sans-serif;
    --primary-color: #206C20;
    --background-color: #FBF5F5;
    --text-color: #333;
    --hover-color: #1a5a1a;
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}


body {
    min-height: 100vh;
    box-sizing: border-box;
}

.header__completo {
    width: 100%;
    margin-bottom: -10%;
}


.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #2F3339;
    padding: 1% 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.header .logo {
    display: flex;
    align-items: center;
    margin-top: 1%;
}

.logo {
    font-size: 1.5em;
    text-transform: uppercase;
    color: #ffff;
    font-weight: 700;
}

.navegation ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    scrollbar-width: thin;
    /* Opciones: auto, thin */
    scrollbar-color: #888 #f1f1f1;
    /* thumb color y track color */
}

.navegation .btn-empleados{
    background-color: #2A8D2A;
    padding: 5px;
    border-radius: 5px;
    color: #ffff;
    text-decoration: none;
}

.header .navegation ul li {
    float: left;
    position: relative;
}

.btn-sistema {
    background-color: #2A8D2A;
    padding: 5px;
    border-radius: 5px;
    color: #ffff;
    text-decoration: none;
    margin-left: 5px;
}

.header .navegation ul li a {
    font-size: 1.125em;
    color: #ffff;
    text-decoration: none;
    display: block;
    padding-right: 2.45em;
    transition: all .2s ease;
}

nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    /* Ajusta el tamaño de la línea según sea necesario */
    left: 0;
    width: 70%;
    height: 2px;
    /* Ajusta el grosor de la línea según sea necesario */
    background-color: #206C20;
}

.header .navegation ul li ul {
    position: absolute;
    right: 0;
    width: 300px;
    background-color: #2F3339;
    display: none;
    overflow-y: auto;
    /* Agregado para permitir el desplazamiento vertical */
    max-height: 300px;
    /* Ajusta según sea necesario */
    z-index: 2;
}

.header .navegation ul li ul li a {
    font-size: 15px;
    text-transform: capitalize;
    padding: 15px;
    display: block;
}

.header .navegation ul li ul li ul {
    position: absolute;
    top: 0;
    right: 300px;
    width: 300px;
    background-color: rgba(1, 1, 1, 0.7);
}

.header .navegation ul li ul li {
    width: 100%;
}

.header .navegation ul li:hover>ul {
    display: initial;
}

#toggle,
.header label {
    display: none;
    cursor: pointer;
}

.menu {
    width: 45px;
    height: 35px;
}

/*FOOTER*/

.footer {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.footer-gral {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.footer-gral img {
    width: 150px;
    /* Ajusta el tamaño de la imagen */
    height: auto;
}

.redes i {
    font-size: 24px;
    color: #333;
    margin-left: 15px;
    /* Espacio entre los iconos */
    cursor: pointer;
}

.redes i:hover {
    color: #0e950e;
    /* Cambia el color al pasar el ratón */
}

.footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}


/*BANNER PRINCIPAL*/
.banner {
    position: relative;
    height: 500px;
    /* Ajusta según sea necesario */
    width: 100%;
    background-image: url(../assets/debito.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15%;
}

/*section principal*/

.nueva-tarjeta {
    text-align: center;
}

.nueva-tarjeta h3 {
    font-size: 20px;
    margin-bottom: 5%;
    color: black;
    text-align: center;
    font-weight: bold;
}


/*INICIO CONTAINER*/

.inicio {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
    background-color: #FBF5F5;
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
}

.inicio-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    flex: 1;
    gap: 15%;
    flex-wrap: wrap;
}

.inicio-container img {
    width: 20%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.inicio-container p {
    font-size: 20px;
    font-weight: bold;
    color: #206C20;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*SECTION METODOS*/
.metodos {
    margin-top: 5%;
    padding: 50px 0;
}

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

.iconos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.icono-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(33.333% - 20px);
    min-width: 200px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.icono-item:hover {
    transform: translateY(-5px);
}

.icono-item i {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.icono-item p {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

/*SECTION HOMEBANKING*/

.visualizacion {
    margin: 5% auto;
    padding: 50px;
    background-color: var(--background-color);
    width: 90%;
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}

.gral {
    text-align: center;
}

.gral h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: bold;
}

.gral a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.gral a:hover {
    color: var(--primary-color);
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5%;
    background-color: white;
    margin: 5%;
    padding: 3%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.lista ul li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-color);
}

.lista ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.lista p {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.0625rem;
    margin-top: 1.5rem;
}

.imagen img {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.imagen img:hover {
    transform: scale(1.05);
}









/*SECCION DE MEDIAQUERiES*/

@media only screen and (max-width: 480px) {

    /* Ajustes para pantallas pequeñas */
    .header .logo {
        font-size: 1.2em;
    }

    .header .navegation ul li a {
        font-size: 0.9em;
    }

    .btn-sistema {
        font-size: 0.8em;
        padding: 3px;
    }

    .presentation {
        flex-direction: column;
        gap: 2%;
        padding: 3%;
    }

    .box-text h1 {
        font-size: 1.5rem;
    }

    .box-img img {
        width: 280px;
    }

    .inicio-container p {
        font-size: 18px;
        width: 80%;
    }

    .inicio-container img {
        width: 50%;
        height: auto;
    }

    .icono-item {
        width: 100%;
    }
}


@media screen and (max-width: 768px) {

    .header {
        position: fixed;
        background-color: #2F3339;
    }

    header {
        width: 100%;
    }

    .header .logo {
        display: flex;
        align-items: center;
    }

    .header .logo h1 {
        font-size: 12px;
        margin-left: 15px;
    }

    .banner {
        margin-top: -20%;
    }


    .footer-gral {
        flex-direction: column;
        align-items: center;
    }

    .redes {
        margin-top: 15px;
    }

    .icono-item {
        width: calc(50% - 15px);
    }

    .visualizacion {
        padding: 30px;
    }

    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .gral h3 {
        font-size: 1.25rem;
    }

    .gral a {
        font-size: 1rem;
    }

    .lista p {
        font-size: 1rem;
    }
}


@media (max-width: 950px) {
    .header label {
        display: initial;
    }

    .header {
        padding: 20px 10%;
    }

    .header__completo {
        height: 150px;
    }

    .header .navegation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(1, 1, 1, 0.7);
        display: none;
        overflow-y: auto;
        /* Agregado para permitir el desplazamiento vertical */
        max-height: 300px;
        /* Ajusta según sea necesario */
    }

    .header .navegation ul li {
        width: 100%;
    }

    .header .navegation ul li a {
        padding: 8px 30px 8px 10%;
        text-align: center;
    }

    .header .navegation ul li ul {
        position: relative;
        width: 100%;
        left: 0;
        background-color: rgba(1, 1, 1, 0.7);
    }

    .header .navegation ul li ul li {
        background-color: rgba(1, 1, 1, 0.7);
    }

    .header .navegation ul li ul li a {
        margin-left: 50px;
    }

    .header .navegation ul li ul li ul {
        position: relative;
        width: 100%;
        left: 0;
    }

    #toggle:checked~.navegation {
        display: block;
    }
}


@media (min-width: 375px) and (max-width: 640px) {
    .header {
        position: fixed;
        background-color: #2F3339;
    }

    header {
        width: 100%;
    }

    .header .logo {
        display: flex;
        align-items: center;
    }

    .header .logo h1 {
        font-size: 12px;
        margin-left: 15px;
    }
}