@import url(https://fonts.googleapis.com/css?family=Roboto:400,100);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.login-card {
    width: 330px;
    margin: 0 auto 10px;
    overflow: visible;
}

.login-card h1 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.login-card p {
    text-align: left;
    margin-bottom: 1rem;
}

.login-card input[type=submit] {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.login-card input[type=text],
.login-card input[type=password] {
    height: 45px;
    font-size: 15px;
    width: 100%;
    margin-bottom: 15px;
    -webkit-appearance: none;
    background: #f1f1f1;
    border: none;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 8px;
}

.login-card input[type=text]:hover,
.login-card input[type=password]:hover {
    background: #e9ecef;
}

.login-card input[type=text]:focus,
.login-card input[type=password]:focus {
    outline: none;
    background: #e9ecef;
}

.login {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    height: 45px;
    padding: 8px 12px;
}

.login-submit {
    border: 0px;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.1);
    background-color: #1357c5;
    margin-top: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.login-submit:hover {
    border: 0px;
    text-shadow: 0 1px rgba(0,0,0,0.3);
    background-color: #0c4197;
}

.login-card a {
    text-decoration: none;
    color: #1357c5;
    font-weight: 400;
    text-align: center;
    display: block;
    margin-top: 15px;
}

.login-card a:hover {
    color: #0c4197;
    text-decoration: underline;
}

.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 140px;
    height: 140px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.container-logo > img {
    width: 100px;
    height: 100px;
    border-radius: 0;
    box-shadow: none !important;
}

.h1, h1 {
    margin-bottom: .5rem;
    font-weight: 700 !important;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif !important;
}

.wrapper-headind {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 10px;
}

.card-custom {
    position: relative;
    background-color: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    max-width: 420px !important;
    min-height: 300px !important;
    padding: 90px 25px 30px 25px !important;
    border: none !important;
    margin-top: 100px;
}

footer {
    background-color: #fff !important;
    padding: 15px 0;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .container-logo {
        width: 120px;
        height: 120px;
        top: -60px;
    }

    .container-logo > img {
        width: 80px;
        height: 80px;
    }

    .card-custom {
        padding: 80px 20px 25px 20px !important;
        margin: 80px 15px 0 15px;
        max-width: calc(100% - 30px) !important;
    }

    .login-card {
        width: 100%;
    }

    .login-card h1 {
        font-size: 1.8em;
    }
}
