@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
body {
    font-family: 'Public Sans', sans-serif;
    background: url(../assets/imagens/fundo_login_medico.png);
    background-size: cover;
    background-position: top;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow-x: hidden
}

:root{
    --primary-grey: #C7C7C7;
    --primary-color: #003B38;
    --margin-login: 404.16px;
}
section{
    align-items: center;
}
section > div {
    display: inline;
}

.login{
    
    width: var(--margin-login);
    flex-direction: column;
    justify-content: flex-end;
}
.card {
    width: var(--margin-login);
    margin: auto;
    border-radius: 0 0 8.5px 8.5px;
    border-top: rgba(0, 66, 63);
}

.grid{
    padding-top: 46px;
    justify-content: center;
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 240.99px;
}

.titulo {
    background: linear-gradient(125deg, rgba(0,66,63,1) 0%, rgba(0,100,95,1) 80%);
    color: white;
    width: var(--margin-login);
    border-radius: 26px 26px 0px 0px;
    overflow: hidden;
}

.titulo h1 {
    letter-spacing: -1.8px;
    font-size: 47px;
    color: white;
    padding: 22px 0;
    margin: 0;
}

.switch_login {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.switch_login .fundo {
    position: relative;
    width: 320px;
    height: 60px;
    background-color: #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    z-index: 1;
}

.switch_login button {
    border: none;
    border-radius: 7px;
    width: 150px;
    height: 50px;
    color: #1f1f1f;
    background-color: transparent;
    z-index: 3;
}

.background_move {
    position: absolute;
    background-color: #02837c;
    border-radius: 7px;
    left: 8px;
    width: 150px;
    height: 50px;
    transition: .4s ease;
    z-index: 2;
}

.move_right {
    transform: translateX(152px); /* Ajustar de acordo com a largura do parágrafo e margem */
}

.move_left {
    transform: translateX(2px); /* Ajustar de acordo com a largura do parágrafo e margem */
}

div.campo {
    background-color: #003B38;
    display: block;
    width: 100%;
    height: 40px;
    margin: 5px 0px;
}

form{
    transform: translate(0px , -24px);
}

form > div img{
    height: 17.15px;
}

.mb-4 .img2{
    height: 24px;
}

div.campo .img1 {
    width: 27px;
    margin-left: 8px;
    margin-bottom: 4px;
    transform: translate(6px , -6px);
}

.campo{
    position: relative;
}

div i{
    color: var(--primary-color);
    top: 9.3px;
    right: 12px;
    z-index: 33;
    height: 21px;
    position: absolute;
    cursor: pointer;
}


div.campo .img2, div .reveal .campo .img2 {
    width: 25px;
    padding: 2px;
    margin-left: 8px;
    transform: translate(6px , -8px);
}

input {
    font-size: 30px;
    border-radius: 0;
    background-color: #ffefeffd;
    font-size: 12px;
    border: none;
    height: 100%;
    width: 230px;
    margin: 8px;
    padding: 10px 15px 10px 15px;
    transform: translate(10px , -8px);
}

::placeholder{
    font-size: 13px;
}
      



button.botao1 {
    height: 40px;
    background-color: #F1B300;
    color: #5E4600;
    width: 286px;
    border: 1px solid transparent;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 2px;
}

.card-link {
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0px;
    color: #01504C;
    font-weight: 600;
    margin-top: 20px;
}

.card-link:hover {
    text-decoration: underline;
}
.line{
    margin-top: 30px;
    border-top: 1.8px solid  var(--primary-grey);
}

button.botao2 {
    border-top: 5px solid var(--primary-grey);

    height: 36.87px;
    background-color: #01504C;
    color: white;
    width: 286px;
    border: 1px solid transparent;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 8px;
    margin-bottom: 10px;
    border-radius: 2px;
}

button.botao1:hover {
    background-color: #ff8801;
}

button.botao2:hover {
    background-color: #026e69;
}

.logo > img {
    width: max(260px, 18vw);
}

@media (max-width: 799px) {

    html{
        overflow: hidden;
        background-color: #003B38;
    }
    :root{
        --margin-login: 365.16px;
    }
    .logo{
        display: none;
    }
    section {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}


@media (max-width: 992px) {
    main{
        max-width: 960px;
    }
    body {
        background-position: right;
    }
}
