@font-face {
    font-family: webToth-Bold;
    src: url("../font/OfficinaSansStd-Bold.otf") format("opentype");
}
@font-face {
    font-family: webToth-BoldItalic;
    src: url("../font/OfficinaSansStd-BoldItalic.otf") format("opentype");
}
@font-face {
    font-family: webToth-Book;
    src: url("../font/OfficinaSansStd-Book.otf") format("opentype");
}
@font-face {
    font-family: webToth-BookItalic;
    src: url("../font/OfficinaSansStd-BookItalic.otf") format("opentype");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
}

body {
    background-color: #4e1581ff;
    background: linear-gradient(155deg, #4e1581ff 50%, #5c2b93ff 50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 2s ease-in-out;
    color: #fff;
    font-family: webToth-BookItalic;
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: opacity 2s ease-in-out;
}
/* popup message starts here */
.popup {
    width: 100%; 
    position: fixed;
    bottom: 4rem;
    z-index: 1000;
    opacity: 0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup__content {
    background: #fff;
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
}

.popup__p {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: black;
}

/* popup message ends here */
.login__message-text {
    font-size: 2.5rem;
    margin-top: 3rem;
    font-weight: bold;

}

.logo__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo,
.golden__ribbon {
    display: block;
    width: 35rem;
    margin: 0 auto;
    height: auto;
    position: relative; 
    top: 50%; 
    transform: translateY(-50%); 
}

.golden__ribbon {
    width: 10rem;
}

#modules {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 999;
    color: white;
    font-size: 1.5rem;
}

.welcomeText {
    font-size: 3rem;
    text-align: center;
    padding: 1.5rem;
    margin: 2rem 0;
    font-weight: bold;
}

.box {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.fa {
    position: absolute; 
    top: 50%; 
    right: 2rem; 
    transform: translateY(-50%); 
    font-size: 1.5rem; 
    color: #939191; 
    cursor: pointer;
}

.validando-container {
    display: flex;
    justify-content: space-between;    
}
.validando-text {
    
    font-size: 2.3rem;
    font-weight: bold;
}

.fa.fa-gear.fa-spin {
    position: absolute; 
    top: 15%; 
    right: 10%; 
    transform: translateY(-50%); 
    font-size: 3.5rem;  
    color: rgb(138, 102, 170);
}


.language__button {
    padding: 1.3rem;
    width: 100%;
    border-radius: 1rem;
}

select {
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.submit {
    grid-area: submit;
    border: 2px solid #4e1581ff;
    border-radius: 1rem;
    font-weight: bold;
    background-color:#1f8000; 
    padding: 1rem;
    margin-top: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.submitText {
    font-size: 2rem;
    color: rgb(255, 255, 255);
}
.formContent {

    display: grid;
    grid-template-areas: "clientLogo clientLogo username"
                         "clientLogo clientLogo password"
                         "clientLogo clientLogo language"
                         "clientLogo clientLogo submit";
    gap: 1rem;
}

.clientLogo {
    width: 23rem;
    grid-area: clientLogo;
    background-color: #fff;
    padding: 3rem;
    border-radius: 1rem;
}
.username {
    grid-area: username;
}

.password {
    grid-area: password;
}

.language {
    grid-area: language;
    
}

.language__button {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
}

.cross,
.eye {
    width: 8rem;
}

input {
    width: 100%; 
    padding: 1.3rem; 
    padding-right: 3rem;
    border-radius: 1rem;
    /* outline: none; */
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    border: none;
}

@media screen and (max-width: 802px) {
    .popup {
        bottom: 5rem;
        padding-top: 2rem;
    }
    
}
@media screen and (max-width: 549px) {

    .body {
        width: 90%;
    }

    .formContent {

        gap: 0.7rem;
    }

    .logo {
        width: 80%;
    }
    .clientLogo {
        width: 100%;
    }

    .welcomeText {
        font-size: 2.5rem;
    }

    .login__message-text {
        font-size: 1.5rem;
        text-align: center;
    }

    .popup__p {
        font-size: 1.6rem;
    }
}

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

    .body {
        width: 70%;
        display: block;
        margin: 0 auto;
        margin-top: 3.5rem;
    }

    .formContent {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo,
    .clientLogo {
        width: 100%;
        margin: 0 auto;
    }

    .logo {
        margin-top: 10rem;
    }
    .welcomeText {
        width: 100%;
        font-size: 1.8rem;
        margin: 1rem 0;
    }

    .submit {
        width: 100%;
        margin-top: 0.5rem;
    }

    .language__button {
        padding: 1rem; 
    }

    .popup__p {
       /*  width: 100%; */
        font-size: 1.6rem;
    }

}

@media screen and (orientation: landscape) and (max-width: 1598px) {
    /* .logo {
        margin-top: 30rem;
    } */
}

/* mobile styles if needed */
.mobile__container {
    display: none;
}










