﻿body, html {
    width: 100%;
    height: 100%;
    background-image: url("/images/login-bg-optimized.jpg");
    background-size: cover;
    font-size: 16px;
}

.container {
    width: 100%;
    height: 100%;
}

main {
    width: 100%;
    height: 100%;
}

.login-container {
    display: flex;
    height: 90%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.card-login {
    overflow: hidden;
    padding-top: 30px;
    padding-right: 0px;
    padding-left: 0px;
    width: 80%;
    border-radius: 10px;
    border: 0px solid #c2c8d0;
    background-color: white;
    color: black;
}

.img-container {
    margin-top: 20px;
    display: flex;
    border: 2px solid transparent;
    width: 70px;
    align-self: center;
    align-items: center;
}

.login-title {
    margin-top: 25px;
    font-weight: 400;
    border-top: 0px solid #c2c8d0;
    /*color: #939393;*/
    color: #555555;
}

.btn-container {
    align-self: center;
    width: 55%;
}

.btn-google {
    display: flex;
    align-items: center;
    margin-top: 56px;
    margin-bottom: 70px;
    width: 100%;
    height: 44px;
    border: 1px solid #d9dbde;
    border-radius: 6px;
    padding: 0 8px 0 calc( 8px *6.5);
    color: #000;
    transition: 0.2s;
}

    .btn-google:hover {
        background-color: #fff;
        border: 1px solid transparent;
        box-shadow: rgba(2, 4, 3, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    }

    .btn-google:focus-visible {
        outline: none
    }

.logo-google {
    position: absolute;
    transform: translateX(-34px) translateY(-2px);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: inset rgba(2, 4, 3, 0.12) 0px 1px 3px, inset rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed !important;
}

@media (max-width: 725px) {
    .card-login {
        width: 100%;
    }

    .btn-container {
        align-self: center;
        width: 90%;
    }
}

@media (min-width: 768px) {
    .card-login {
        width: 70%;
    }
}

@media (min-width: 1060px) {
    .card-login {
        width: 45%;
    }
}

.loading-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    overflow: hidden;
}

    .loading-line::before {
        content: "";
        position: absolute;
        height: 3px;
        background: #6e6e6e;
        width: 40%;
        left: -40%;
        animation: loading-animation 1.2s ease-in-out infinite;
        border-radius: 10px;
    }

@keyframes loading-animation {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 99.8%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 99.8%;
    }
}