.splash {
    color: #007934;
    padding: 10%;

    text-align: center;
    justify-content: center;
    align-items: center;
}

.imageGrow {
    margin: 21%;
}

.img-margin {
    margin-bottom: 5%;
    width: 25%;
}

.containerLoading {
    width: 90%;
}

.lds-ring {
    display: inline-block;
    position: absolute;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 70px;
    height: 70px;
    border: 4px solid #dfc;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: transparent #7ad400 #7ad400 transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 800px) {
    .splash {
        padding-top: 50%;
    }

    .img-margin {
        margin-bottom: 10%;
        width: 60%;
    }

    .containerLoading {
        width: 70%;
    }
}

/* Estilos para el splash screen */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* Fondo blanco con opacidad */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Capa superior */
}

/* Imagen del logo */
.img-margin {
    margin-bottom: 20px;
    max-width: 200px;
    /* Ajusta el tamaño según sea necesario */
}

/* Contenedor del loader */
.containerLoading {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Animación de carga */
.lds-ring {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    position: absolute;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #4CAF50;
    /* Color de la animación */
    border-radius: 50%;
    animation: lds-ring 1.2s linear infinite;
    border-color: #4CAF50 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Imagen dentro del loader */
.imageGrow {
    animation: image-scale 1.5s infinite alternate;
    width: 48px;
    height: 48px;
    position: absolute;
}

@keyframes image-scale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

@font-face {
    font-family: Marrano;
    src: url("../fonts/MARRANO-Rounded-BT-Regular.otf") format("opentype");
}

@font-face {
    font-family: Marrano;
    font-weight: bold;
    src: url("../fonts/MARRANO-Rounded-BT-Bold.otf") format("opentype");
}

* {
    font-family: Marrano;
}

#chk-menu {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

@media screen and (max-width: 767px) {
    #chk-menu:checked+#bar {
        margin-top: -40px;
        padding-bottom: 10px;
        border-radius: 0;
    }
}

@media screen and (max-width: 510px) {
    #chk-menu:checked+#bar {
        margin-top: -63px;
        padding-bottom: 10px;
        border-radius: 0;
    }
}

.illustration {
    overflow: hidden;
    max-width: 100%;
    position: relative;
    min-height: 100%;
    height: 100% !important;
}

.illustration:before {
    background-image: url("../images/fondo-factura-web.svg");
    background-size: 100%;
    background-position-y: -7rem;
    background-position-x: center;
    background-repeat: no-repeat;
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1024px) {
    .illustration:before {
        background-position-y: -5rem;
        background-image: url(../images/fondo-factura-tablet.svg);
        background-repeat: no-repeat;
        background-size: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .illustration:before {
        background-position-y: -1rem;
        background-image: url(../images/fondo-mobile.svg);
        background-repeat: no-repeat;
        background-size: contain;
    }
}

@media only screen and (min-width: 1620px) {
    .illustration:before {
        background-position-y: -9rem;
    }

    @media only screen and (min-width: 1620px) {
        .benefits-text {
            margin-top: 4.5rem;
            padding-top: 3rem;
        }
    }
}