.sct-login{
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: row;
    margin: auto;
}

/* side */
.side_bg_login{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.title{
    /* text-align: center; */
    text-align: left;
    padding: 5dvh;
    font-size: 4rem;
    /* font-size: 2rem; */
}

.ctnImgLogin{
    width: 500px;
    /* width: 700px; */
    display: flex;
    margin: auto;
}

.ctnImgLogin img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* square */

.ctn-squares{
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: -1;
}

.ctn-squares .square:nth-child(1){
    left: 18%;
    top: 50%;
    width: 175px;
    height: 175px;
    animation: 
                locationSquare-1 15s infinite linear alternate, 
                rotateRight 5s infinite linear;
}
.ctn-squares .square:nth-child(2){
    left: 45%;
    top: 10%;
    width: 80px;
    height: 80px;
    animation: 
                locationSquare-2 15s infinite linear alternate,
                rotateRight 5s infinite linear;
}
.ctn-squares .square:nth-child(3){
    left: 75%;
    top: 90%;
    width: 55px;
    height: 55px;
    animation: 
                locationSquare-3 15s infinite linear alternate,
                rotateRight 5s infinite linear;
}
.ctn-squares .square:nth-child(4){
    left: 86%;
    top: 33%;
    width: 120px;
    height: 120px;
    animation: 
                locationSquare-4 15s infinite linear alternate,
                rotateRight 5s infinite linear;
}

.ctn-squares .square:nth-child(5){
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    animation: 
                locationSquare-5 15s infinite linear alternate,
                rotateRight 5s infinite linear;
}

.square{
    outline: solid 2px #6e6e6e;
    position: absolute;
    translate: -50% -50%;
}

.square::before{
    content: "";
    width: 65%;
    height: 65%;
    outline: solid 2px #4b4b4b;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    animation: rotateLeft 5s infinite linear;
}

@keyframes locationSquare-1 {
    from{top: 90%; left: 18%; }
    to{top: 50%; left: 26%; }
}

@keyframes locationSquare-2 {
    from{top: 10%; left: 45%; }
    to{top: 23%; left: 27%; }
}

@keyframes locationSquare-3 {
    from{top: 90%; left: 75%; }
    to{top: 70%; left: 88%; }
}

@keyframes locationSquare-4 {
    from{top: 33%; left: 86%; }
    to{top: 56%; left: 60%; }
}

@keyframes locationSquare-5 {
    from{top: 46%; left: 45%; }
    to{top: 24%; left: 64%; }
}

@keyframes rotateRight {
    from{rotate: 40deg;}
    to{rotate: 310deg;}
}

@keyframes rotateLeft {
    from{rotate: 310deg;}
    to{rotate: -50deg;}
}


/* form */
.formLogin{
    background-color: #18023e;
    width: 40%;
    height: 100%;

    display: flex;
    flex-direction: column;
    padding: 5dvh;
    gap: 5dvh;
}

.title-formLogin{
    text-align: center;
    font-size: 2rem;
    margin-top: 5dvh;
}

.resaltado{
    color: #FF9800;
}

.btn-formLogin{
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 3dvh;
    /* cursor: pointer; */
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
    
    transition: scale 0.3s, opacity 0.3s;
}

.btn-formLogin-allowed{
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}

.btn-formLogin:active{
    scale: .8;
}

.btn-formLogin:hover{

}

.textButton-formLogin{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1dvh;
    padding: 1.5dvh;
    font-size: 1rem;
}

/* terminos y condiciones */

.ctn_Terminosycondiciones{
    display: flex;
    flex-direction: row;
    gap: 1dvh;
}

.ctn_Terminosycondiciones .chkbox_formLogin{
    appearance: none;
    width: 20px;
    height: 20px;
    outline: solid 2px #fff;
    border-radius: 100%;
    background-color: #ffffff00;

    transition: background-color 0.2s;
}

.ctn_Terminosycondiciones .chkbox_formLogin:checked{
    outline: solid 2px #fff;
    background-color: #FF9800;
}

.ctn_Terminosycondiciones .text_chkBox-TermFormLogin{
    display: flex;
    flex-direction: row;
    gap: 1dvh;
    cursor: pointer;
}

.ctn_Terminosycondiciones .text_chkBox-TermFormLogin #terminos_condiciones{
    text-decoration: underline;
    cursor: pointer;
    color: #FF9800;
}

.textMessageLogin{
    font-size: .9rem;
    color: #ccc;
    text-align: center;
}

.textFooterLogin{
    margin-top: auto;
    font-size: .8rem;
}


/* modal */

.modal{
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;

    background-color: var(--gray-scale-4);
    padding: 4dvh;
    width: 40%;
    max-height: 65dvh;
    overflow: auto;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 3dvh;

    z-index: -1;
    visibility: hidden;
    opacity: 0;

    transition: visibility 0.2s, opacity 0.2s;
}

.modal-activate{
    z-index: 11;
    visibility: visible;
    opacity: 1;
}

.modal h2{
    text-align: center;
}

.lineTerminos{
    display: flex;
    flex-direction: column;
    gap: 4dvh;
}

.lineTerminos span{
    display: flex;
    flex-direction: column;
    gap: 1dvh;
}

.lineTerminos span ul{
    margin-left: 3dvh;
}

.modalButton{
    padding: 1dvh;
    font-size: 1rem;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    transition: scale 0.3s;
}

.modalButton:active{
    scale: .8;
}



/* vistas media */
/* tablet */
@media (max-width: 768px) {
    .title{
        padding: 10dvh 5dvh 0;
        font-size: 1.7rem;
    }

    .ctnImgLogin{
        width: 335px;
    }

    .formLogin{
        width: 100%;
    }

    .modal{
        width: 70%;
    }
}

/* fonos */
@media (max-width: 480px) {
    .side_bg_login{
        display: none;
    }

    .title-formLogin{
        margin-top: 2dvh;
    }

    .ctn_Terminosycondiciones{
        font-size: .9rem;
    }

    .formLogin{
        padding: 4dvh;
    }
}