/* Variables */
:root {
    --txt-size: 14px;
    --bg-color: #FFFFFF;
    --logo-color: #5e3b92;
    --min-color: #43425D;
    --txt-color: #707070;
    --err-message: #A31418;
    --input-color: #FFFFFF;
    --scroll-color: #868686b0;
    --scroll-top-color: #555555;
}

/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, main {
    width: 100%;
    font-weight: 400;
    min-height: 100vh;
    position: relative;
    font-size: var(--txt-size);
    background-color: var(--bg-color);
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea,
.form-control:focus, .form-select:focus {
    outline: unset;
    box-shadow: unset;
    background-color: var(--input-color);
}

button:focus, input:focus,
select:focus, textarea:focus {
    outline: unset;
    box-shadow: unset;
}

/* Error Message */
span.error {
    font-size: 12px;
    color: var(--err-message);
}

/* Scroll */
::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-color);
    border: 0 solid var(--scroll-top-color);
}

/* Loader */
.page-loading {
    display: none;
}

.page-loading .lds-hourglass {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    min-height: 100vh;
    position: absolute;
    align-items: center;
    justify-content: center;
    background-color: #000000ad;
}

.page-loading .lds-hourglass:after {
    width: 0;
    height: 0;
    margin: 8px;
    content: " ";
    display: block;
    border-radius: 50%;
    box-sizing: border-box;
    border: 32px solid #cef;
    animation: lds-hourglass 1.2s infinite;
    border-color: #cef transparent #cef transparent;
}

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: rotate(1800deg);
    }
}

/* Login */
.login {
    margin: 0;
    min-height: 100vh;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.login img {
    /*width: 449px;*/
    margin-bottom: 80px;
}

.login h3 {
    font-size: 45px;
    margin-bottom: 40px;
    color: var(--min-color);
    text-transform: uppercase;
}

.login .login-form {
    text-align: left;
}

.login .login-form input {
    width: 100%;
    font-size: 16px;
    padding: 7px 25px;
    border-radius: 50px;
    border-color: var(--txt-color);
}

.login .login-form button {
    width: 50%;
    border: none;
    font-size: 28px;
    padding: 7px 25px;
    border-radius: 50px;
    background-color: var(--logo-color);
}
.login .login-form .log-button{
    display: flex;
    justify-content: center;

}

/* Survey */
.survey {
    margin: 0;
    min-height: 100vh;
    text-align: center;
    justify-content: center;
}

.survey .header {
    padding-top: 35px;
    padding-left: 25px;
    margin-bottom: 55px;
    border-left: 2px solid var(--logo-color);
}

.survey .header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.survey .header .header-content h2 {
    color: var(--logo-color);
    text-transform: uppercase;
}

.survey .header .header-content p {
    margin: 0;
}

.survey .survey-form {
    text-align: left;
}

.survey .survey-form .question {
    margin-bottom: 25px;
}

.survey .survey-form .question h5 {
    color: var(--logo-color);
    margin-bottom: 20px;
}

.survey .survey-form .answers {
    position: relative;
}

.survey .survey-form .answers span.error {
    position: absolute;
    bottom: -15px;
    left: 20px;
}

.survey .survey-form .answers label {
    margin-bottom: 6px;
}

.survey .survey-form .answers .form-check-input {
    border: 1px solid var(--logo-color);
}

.survey .survey-form button {
    border: none;
    font-size: 22px;
    padding: 7px 25px;
    border-radius: 50px;
    background-color: var(--logo-color);
}


/* Download */
.download {
    margin: 0;
    min-height: 100vh;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.download .header h1 {
    font-weight: bold;
    color: var(--logo-color);
    font-size: calc(1.5rem + 1.5vw);

}
.download .header {
    margin-top: 55px;
}

.download .header h5 {
    margin-bottom: 30px;
    color: var(--txt-color);
}

.download .header p {
    display: grid;
}

.download .header p span {
    font-size: 16px;
    font-weight: bold;
}

.download .footer {
    display: flex;
    min-height: 77px;
    margin-bottom: 35px;
    align-items: center;
    justify-content: center;
}

.download .footer a,
.download .footer button {
    border: none;
    display: grid;
    margin: 0 7px;
    font-size: 12px;
    transition: 150ms;
    text-align: center;
    color: var(--logo-color);
}

.download .footer a:hover,
.download .footer button:hover {
    margin-top: -5px;
}

.download .footer a:hover img,
.download .footer button:hover img {
    transform: rotate(360deg);
}

.download .footer img {
    margin: 0 auto;
    transition-duration: 250ms;
}

.loading-overlay {
    background: rgba(175, 175, 175, .6);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999
}

.reverse-spinner {
    position: relative;
    height: 150px;
    width: 150px;
    border: 6px solid transparent;
    border-top-color: #006582;
    border-left-color: #006582;
    border-radius: 50%;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

.overlay-hidden {
    display: none !important;
}

.reverse-spinner::before {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    content: "";
    border: 6px solid transparent;
    border-top-color: #444444;
    border-left-color: #444444;
    border-radius: 50%;
    -webkit-animation: spinBack 1s linear infinite;
    animation: spinBack 1s linear infinite;
}
