*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    float: unset;
}

:root {
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.p-0 {
    padding: 0 !important;
}

.px-10 {
    padding-left: 6rem;
    padding-right: 6rem;
}

.m-auto {
    margin: 0 auto !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.wallpaper-wrapper {
    background: gray;
}

.wallpaper {
    object-fit: cover;
}

.login-container {
    background: #fff;
    height: 100%;
}

.login-wrapper {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    place-items: center;
    padding: 4rem;
}

.logo-img {
    max-width: 300px;
    max-height: 52px;
}

div.form-group:nth-child(2) > div:nth-child(1) > div:nth-child(1) {
    margin-bottom: 0px;
}  

.login-footer {
    display: grid;
    gap: .6rem;
}

.login-footer a.link {
    border: 0px solid #efb1aa;
    border-bottom-width: 2px;
    width: fit-content;
    transition: border 120ms ease-in-out;
}

.btn-logar {
    margin: 0 !important;
    gap: 6px;
}

button.btn-logar i {
    transition: transform ease-in-out 120ms;
    font-size: 12px;
}

.action-btns {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn-esqueci-senha {
    margin: .4rem 0 0 0 !important;
    padding: 0;
    color: #9b7c7c;
    padding: 2px;
}

div.form-group:nth-child(2) {
    margin-bottom: .5rem;
}  

.btn-esqueci-senha:focus {
    outline: 1px solid orangered;
}

.action-btns .btn-logar:focus {
    background-color: #ff8375;
    border-color: transparent;
}

.btn-logar:hover i,
.btn-logar:focus i {
    transform: translate3d(5px, 0, 0);
}

.btn-paciente {
    background: none !important;
    color: firebrick !important;
    padding: 0 !important;
    margin-top: 1rem !important;
    font-size: 14px !important;
    overflow: hidden;
}

.animate-hover::after {
    content: '';
    display: block;
    height: 2px;
    background: transparent;
    transition: all ease-in-out 180ms;
    transform: translateX(-100%);
}

.animate-hover:hover::after, 
.animate-hover:focus::after {
    content: '';
    display: block;
    height: 2px;
    background: firebrick;
    transform: translateX(0%);
}

.login-footer a.link:hover {
    border-color: #fd3320;
}

.login-footer button {
    border-radius: .2rem;
    transition: background 140ms ease-in-out;
}

.out-links {
    align-self: end;
    display: flex;
    gap: 5px;
    align-items: center;
}

.login-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
    
.login-wrapper section { 
    grid-area: 1 / 1 / 5 / 3;
    align-self: center;
    justify-self: center;
    height: fit-content;
}

.login-wrapper footer { 
    grid-area: 5 / 1 / 6 / 3;
    margin: 1rem auto;
}

.login-container .out-links a {
    color: #4E0700 !important;
}

.login-container .out-links a.copy-link:focus,
.login-container .out-links a.copy-link:hover {
    color: #8b1c1c !important;
}

@media (max-width: 1600px) {
    .px-10 {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}

@media (max-width: 1200px) {
    .px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (max-width: 990px) {
    .px-10 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .wallpaper-wrapper {
        display: none;
    }

    .login-wrapper section {
        width: 60%;
    }

    .login-footer button {
        min-width: 80px;
        max-width: 220px;
    }
}

@media (max-width: 800px) {
    .login-wrapper section {
        width: 80%;
    }
}

@media (max-width: 720px) {
    .px-10 {
        padding-left: 0;
        padding-right: 0;
    }

    .btn-logar {
        width: 50%;
    }

    .btn-paciente {
        font-size: 12px !important;
        margin-top: 12px !important;
    }

    .login-footer button {
        margin-top: 1rem !important;
    }
}