@media (min-width: 1080px) {
    .popup-reg {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.104);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
        pointer-events: none;
    }

    .popup-reg.active-reg {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .popup-content {
        transform: scale(0.8);
        opacity: 0;
        transition: transform .5s ease, opacity .5s ease;
    }

    .popup-reg.active-reg .popup-content {
        transform: scale(1);
        opacity: 1;
    }

    .register-container {
        background-color: #2f2f2f;
        border-radius: 8px;
        box-shadow: rgb(31 31 31 / 17%) 0px -23px 25px 0px inset,
            rgb(108 108 108 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        padding: 40px;
        max-width: 400px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .i-close {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: 26px;
        width: 100%;
        text-align: right;
    }

    .i-close i {
        color: var(--rojo);
    }

    .register-form {
        display: flex;
        flex-direction: column;
    }

    .heading {
        color: var(--blanco);
        font-weight: 500;
        font-size: 40px;
        font-family: 'MiFuente', sans-serif;
        margin-bottom: 5px;
    }

    .paragraph {
        color: var(--blanco);
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'MiFuente', sans-serif;
    }

    .error {
        color: var(--blanco);
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'MiFuente', sans-serif;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group input {
        background: none;
        border: 1px solid #353535;
        padding: 15px 23px;
        font-size: 16px;
        border-radius: 8px;
        color: #979797;
        width: 100%;
        box-shadow: rgb(136 136 136 / 17%) 0px -23px 25px 0px inset,
            rgb(81 81 81 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        font-family: 'MiFuente', sans-serif;
        margin: 5px auto;
    }

    .input-group input:focus {
        border-color: var(--rojo);
        outline: none;
        font-family: 'MiFuente', sans-serif;
    }

    .div-checkbox {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        color: var(--blanco);
        font-size: 12px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
        margin: 5px 0 10px 0;
    }

    .div-checkbox input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid var(--rojo);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        background-color: transparent;
        margin-right: 10px;
        /* Asegurar que el checkbox mantenga su funcionalidad */
        display: inline-block;
        vertical-align: middle;
    }

    /* Estilo para cuando está marcado */
    .div-checkbox input[type="checkbox"]:checked {
        background-color: var(--rojo);
        position: relative;
    }

    /* Crear la marca de check (✓) */
    .div-checkbox input[type="checkbox"]:checked::after {
        content: "✓";
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        font-weight: bold;
    }

    /* Opcional: Estilo para el focus */
    .div-checkbox input[type="checkbox"]:focus {
        box-shadow: 0 0 0 3px var(--rojo);
    }

    .div-checkbox label {
        overflow-y: scroll;
        cursor: pointer;
        width: 90%;
        height: 100px;
        text-align: left;
    }


    button {
        padding: 15px;
        border: none;
        border-radius: 8px;
        background-color: var(--rojo);
        color: var(--blanco);
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
    }

    button:hover {
        background-color: var(--rojo);
    }

    .bottom-text {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        color: var(--blanco);
        font-size: 15px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
    }

    .bottom-text a {
        color: var(--azul2);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
        text-align: left;
        width: 90%;
    }

    .bottom-text a:hover {
        color: var(--azul2);
    }

    /*Barra de scroll*/
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--rojo);
        border-radius: 5px;
    }
}

@media (min-width: 600px) and (max-width:1079px) {
    .popup-reg {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.104);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
        pointer-events: none;
    }

    .popup-reg.active-reg {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .popup-content {
        transform: scale(0.8);
        opacity: 0;
        transition: transform .5s ease, opacity .5s ease;
    }

    .popup-reg.active-reg .popup-content {
        transform: scale(1);
        opacity: 1;
    }

    .register-container {
        background-color: #2f2f2f;
        border-radius: 8px;
        box-shadow: rgb(31 31 31 / 17%) 0px -23px 25px 0px inset,
            rgb(108 108 108 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        padding: 40px;
        max-width: 400px;
        width: 90%;
        text-align: center;
        margin: 0 auto;
    }

    .i-close {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: 26px;
        width: 100%;
        text-align: right;
    }

    .i-close i {
        color: var(--rojo);
    }

    .register-form {
        display: flex;
        flex-direction: column;
    }

    .heading {
        color: var(--blanco);
        font-weight: 500;
        font-size: 40px;
        font-family: 'MiFuente', sans-serif;
        margin-bottom: 5px;
    }    

    .error {
        color: var(--blanco);
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'MiFuente', sans-serif;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group input {
        background: none;
        border: 1px solid #353535;
        padding: 15px 23px;
        font-size: 16px;
        border-radius: 8px;
        color: #979797;
        width: 100%;
        box-shadow: rgb(136 136 136 / 17%) 0px -23px 25px 0px inset,
            rgb(81 81 81 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        font-family: 'MiFuente', sans-serif;
        margin: 5px auto;
    }

    .input-group input:focus {
        border-color: var(--rojo);
        outline: none;
        font-family: 'MiFuente', sans-serif;
    }

    .div-checkbox {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        color: var(--blanco);
        font-size: 16px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
        margin: 5px 0 10px 0;
    }

    .div-checkbox input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid var(--rojo);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        background-color: transparent;
        margin-right: 10px;
        /* Asegurar que el checkbox mantenga su funcionalidad */
        display: inline-block;
        vertical-align: middle;
    }

    /* Estilo para cuando está marcado */
    .div-checkbox input[type="checkbox"]:checked {
        background-color: var(--rojo);
        position: relative;
    }

    /* Crear la marca de check (✓) */
    .div-checkbox input[type="checkbox"]:checked::after {
        content: "✓";
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        font-weight: bold;
    }

    /* Opcional: Estilo para el focus */
    .div-checkbox input[type="checkbox"]:focus {
        box-shadow: 0 0 0 3px var(--rojo);
    }

    .div-checkbox label {
        overflow-y: scroll;
        cursor: pointer;
        width: 90%;
        height: 100px;
        text-align: left;
    }


    button {
        padding: 15px;
        border: none;
        border-radius: 8px;
        background-color: var(--rojo);
        color: var(--blanco);
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
    }

    button:hover {
        background-color: var(--rojo);
    }

    .bottom-text {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        color: var(--blanco);
        font-size: 15px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
    }

    .bottom-text a {
        color: var(--azul2);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
        text-align: left;
        width: 90%;
    }

    .bottom-text a:hover {
        color: var(--azul2);
    }

    /*Barra de scroll*/
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--rojo);
        border-radius: 5px;
    }
}

@media (max-width: 599px) {
    .popup-reg {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.104);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
        pointer-events: none;
    }

    .popup-reg.active-reg {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .popup-content {
        transform: scale(0.8);
        opacity: 0;
        transition: transform .5s ease, opacity .5s ease;
    }

    .popup-reg.active-reg .popup-content {
        transform: scale(1);
        opacity: 1;
    }

    .register-container {
        background-color: #2f2f2f;
        border-radius: 8px;
        box-shadow: rgb(31 31 31 / 17%) 0px -23px 25px 0px inset,
            rgb(108 108 108 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        padding: 40px;
        max-width: 400px;
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .i-close {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: 26px;
        width: 100%;
        text-align: right;
    }

    .i-close i {
        color: var(--rojo);
        overflow-y: hidden;
    }

    .register-form {
        display: flex;
        flex-direction: column;
    }

    .heading {
        color: var(--blanco);
        font-weight: 500;
        font-size: 40px;
        font-family: 'MiFuente', sans-serif;
        margin-bottom: 5px;
    }    

    .error {
        color: var(--blanco);
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'MiFuente', sans-serif;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group input {
        background: none;
        border: 1px solid #353535;
        padding: 15px 23px;
        font-size: 16px;
        border-radius: 8px;
        color: #979797;
        width: 100%;
        box-shadow: rgb(136 136 136 / 17%) 0px -23px 25px 0px inset,
            rgb(81 81 81 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        font-family: 'MiFuente', sans-serif;
        margin: 5px auto;
    }

    .input-group input:focus {
        border-color: var(--rojo);
        outline: none;
        font-family: 'MiFuente', sans-serif;
    }

    .div-checkbox {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        color: var(--blanco);
        font-size: 16px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
        margin: 5px 0 10px 0;
    }

    .div-checkbox input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid var(--rojo);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        background-color: transparent;
        margin-right: 10px;
        /* Asegurar que el checkbox mantenga su funcionalidad */
        display: inline-block;
        vertical-align: middle;
    }

    /* Estilo para cuando está marcado */
    .div-checkbox input[type="checkbox"]:checked {
        background-color: var(--rojo);
        position: relative;
    }

    /* Crear la marca de check (✓) */
    .div-checkbox input[type="checkbox"]:checked::after {
        content: "✓";
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        font-weight: bold;
    }

    /* Opcional: Estilo para el focus */
    .div-checkbox input[type="checkbox"]:focus {
        box-shadow: 0 0 0 3px var(--rojo);
    }

    .div-checkbox label {
        overflow-y: scroll;
        cursor: pointer;
        width: 90%;
        height: 100px;
        text-align: left;
    }


    button {
        padding: 15px;
        border: none;
        border-radius: 8px;
        background-color: var(--rojo);
        color: var(--blanco);
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
    }

    button:hover {
        background-color: var(--rojo);
    }

    .bottom-text {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        color: var(--blanco);
        font-size: 15px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
    }

    .bottom-text a {
        color: var(--azul2);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
        text-align: left;
        width: 90%;
    }

    .bottom-text a:hover {
        color: var(--azul2);
    }

    /*Barra de scroll*/
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--rojo);
        border-radius: 5px;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .popup-reg {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.104);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
        pointer-events: none;
    }

    .popup-reg.active-reg {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow-y: auto;        
        padding: 40px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .popup-content {
        transform: scale(0.8);
        opacity: 0;
        transition: transform .5s ease, opacity .5s ease;
    }

    .popup-reg.active-reg .popup-content {
        transform: scale(1);
        opacity: 1;
    }

    .register-container {
        background-color: #2f2f2f;
        border-radius: 8px;
        box-shadow: rgb(31 31 31 / 17%) 0px -23px 25px 0px inset,
            rgb(108 108 108 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        padding: 40px;
        max-width: 400px;
        width: 90%;
        text-align: center;
        margin: 0 auto;
    }

    .i-close {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: 26px;
        width: 100%;
        text-align: right;
    }

    .i-close i {
        color: var(--rojo);
        overflow-y: hidden;
    }

    .register-form {
        display: flex;
        flex-direction: column;
    }

    .heading {
        color: var(--blanco);
        font-weight: 500;
        font-size: 30px;
        font-family: 'MiFuente', sans-serif;
        margin-bottom: 5px;
    }    

    .error {
        color: var(--blanco);
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'MiFuente', sans-serif;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group input {
        background: none;
        border: 1px solid #353535;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 8px;
        color: #979797;
        width: 100%;
        box-shadow: rgb(136 136 136 / 17%) 0px -23px 25px 0px inset,
            rgb(81 81 81 / 23%) 0px -36px 30px 0px inset,
            rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
            rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
            rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
        font-family: 'MiFuente', sans-serif;
        margin: 5px auto;
    }

    .input-group input:focus {
        border-color: var(--rojo);
        outline: none;
        font-family: 'MiFuente', sans-serif;
    }

    .div-checkbox {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        color: var(--blanco);
        font-size: 12px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
        margin: 5px 0 10px 0;
    }

    .div-checkbox input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid var(--rojo);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        background-color: transparent;
        margin-right: 10px;
        /* Asegurar que el checkbox mantenga su funcionalidad */
        display: inline-block;
        vertical-align: middle;
    }

    /* Estilo para cuando está marcado */
    .div-checkbox input[type="checkbox"]:checked {
        background-color: var(--rojo);
        position: relative;
    }

    /* Crear la marca de check (✓) */
    .div-checkbox input[type="checkbox"]:checked::after {
        content: "✓";
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        font-weight: bold;
    }

    /* Opcional: Estilo para el focus */
    .div-checkbox input[type="checkbox"]:focus {
        box-shadow: 0 0 0 3px var(--rojo);
    }

    .div-checkbox label {
        overflow-y: scroll;
        cursor: pointer;
        width: 90%;
        height: 70px;
        text-align: left;
    }


    button {
        padding: 10px;
        border: none;
        border-radius: 8px;
        background-color: var(--rojo);
        color: var(--blanco);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
    }

    button:hover {
        background-color: var(--rojo);
    }

    .bottom-text {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        color: var(--blanco);
        font-size: 15px;
        font-weight: 400;
        font-family: 'MiFuente', sans-serif;
    }

    .bottom-text a {
        color: var(--azul2);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: 'MiFuente', sans-serif;
        text-align: left;
        width: 90%;
    }

    .bottom-text a:hover {
        color: var(--azul2);
    }

    /*Barra de scroll*/
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--rojo);
        border-radius: 5px;
    }
}