﻿html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    font-family: "Quicksand-Regular", "Flexo-Regular", sans-serif;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Quicksand-Bold';
    src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand-Light';
    src: url('../fonts/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand-Medium';
    src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand-Regular';
    src: url('../fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

.font-bold {
    font-family: 'Quicksand-Bold', sans-serif !important;
}

.font-light {
    font-family: 'Quicksand-Light', sans-serif !important;
}

.font-medium {
    font-family: 'Quicksand-Medium', sans-serif !important;
}

.font-regular {
    font-family: 'Quicksand-Regular', sans-serif !important;
}

.wrapper {
    -moz-animation: wrapper 3s forwards;
    -webkit-animation: wrapper 3s forwards;
    -ms-animation: wrapper 3s forwards;
    animation: wrapper 3s forwards;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    position: fixed;
    background: #000;
    z-index: -1;
}

.background {
    position: relative;
    width: 100%;
    background-color: #FFF;
    min-height: 100vh;
    overflow: hidden;
}

    .background::before {
        content: '';
        position: absolute;
        width: 2000px;
        height: 2000px;
        border-radius: 50%;
        background: linear-gradient(167.95deg, #104B53 40%, #21D7A5 100%);
        top: -10%;
        right: 48%;
        transform: translateY(-50%);
        z-index: 6;
        transition: 1.8s ease-in-out;
        outline: 15px solid rgba(63, 211, 201, 0.2);
    }

@-moz-keyframes wrapper {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes wrapper {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes wrapper {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes wrapper {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Centered logo styles */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 7;
}

.logo {
    height: 14rem;
    width: 23rem;
    max-width: 100%;
    position: relative;
    z-index: 7;
}

/*LOGIN FORM*/
.login-container {
    height: 100vh;
    width: 100%;
}

.logo-container {
    height: 100vh;
    position: relative;
    z-index: 7;
}

.login-card {
    background-color: white;
    border-radius: 15px;
    width: 80%;
    max-width: 450px;
    box-shadow: none;
    position: relative;
    z-index: 7;
}

.card-content {
    padding: 2rem;
}

.card {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.welcome {
    font-size: 1.5rem;
    color: #333;
    margin-top: 0.5rem;
}

hr {
    margin: 1.5rem 0;
    border-top: 1px solid #ddd;
}

.login-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control-user {
    font-size: 1rem;
    border-radius: 2rem;
    padding: 0.8rem 1.2rem;
    background-color: #F0F0F0;
    border-color: #F0F0F0;
    height: auto;
}

.change-password {
    color: #104B53;
    text-decoration: none;
    font-style: italic;
    font-size: 0.9rem;
}

.btn-login {
    border-radius: 2rem;
    background-color: #F1C436;
    border-color: #F1C436;
    color: white;
    font-family: 'Quicksand-Bold', sans-serif !important;
    padding: 0.7rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

    .btn-login:hover {
        background-color: #e5ba32;
        border-color: #e5ba32;
        color: white;
    }

.or-divider {
    position: relative;
    color: #777;
}

    .or-divider::before,
    .or-divider::after {
        content: "";
        display: inline-block;
        width: 45%;
        border-top: 1px solid #ddd;
        margin: 0 0.5rem;
        vertical-align: middle;
    }


@media (max-width: 990px) {
    .logo {
        height: 15rem;
        width: 23rem;
        transition: 2s ease-in-out;
    }

    .login-card {
        width: 90%;
    }

    .background::before {
        width: 1500px;
        height: 1500px;
        left: 50%;
        bottom: 70%;
        transform: translateX(-50%);
        right: initial;
        top: initial;
        transition: 2s ease-in-out;
        outline: 8px solid rgba(241, 196, 54, 0.2);
    }
}

@media (max-width: 870px) {
    .logo {
        height: 15rem;
        width: 19rem;
        transition: 2s ease-in-out;
    }

    .background::before {
        width: 1500px;
        height: 1500px;
        left: 30%;
        bottom: 68%;
        transform: translateX(-50%);
        right: initial;
        top: initial;
        transition: 2s ease-in-out;
    }
}

@media (max-width: 767px) {
    .logo-container {
        height: auto;
        padding: 2rem 0;
    }

    .login-container {
        height: auto;
    }
}

@media (max-width: 570px) {
    .logo {
        height: 10rem;
        width: 18rem;
        transition: 2s ease-in-out;
    }

    .card-content {
        padding: 1.5rem;
    }

    .background {
        padding: 1.5rem;
    }

        .background::before {
            bottom: 72%;
            left: 50%;
        }
}
