@import url('https://fonts.googleapis.com/css2?family=Kodchasan:wght@200;500&display=swap');

:root {
    --color1: #FFFFFF;
    --color2: #F9F9F9;
    --color3: #1B1C1D;
    --color4: #949281;
    --color5: #EDF0E4;
    --color6: #edf0e4b0;
    --color7: #4E575C;
    --color8: #E9967A;
    --color9: #edf0e47e;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Kodchasan', sans-serif;
    font-weight: 200;
}

body{
    background-color: var(--color4);
}

.content {
    display: flex;
}


.img {
    width: 70%;
    height: 100vh;
    position: relative;
    object-fit: cover;
}

.formulario {
    width: 100%;
    height: 100vh;
    background-color: var(--color4);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.cabecalho {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back {
    background: none;
    border: none;
    color: var(--color3);
    font-size: 1.2rem;
    cursor: pointer;
    transition: .3s all ease-in-out;
}

.back:hover {
    color: var(--color7);
    transform: scale(1.05);
}

.back:focus {
    border: none;
    outline: none;
}

.logo {
    width: 120px;
    height: 120px;
    position: relative;
}

.welcome {
    font-weight: 200;
    font-size: 3rem;
    color: var(--color1);
    margin: 3% 0;
}

.title {
    font-weight: 200;
    font-size: 3rem;
    color: var(--color1);
    margin-bottom: 13%;
}

.label-container {
    position: relative;
    width: 70%;
    height: 4%;
    margin: 40px 0;
}

.label-container label {
    position: absolute;
    top: -30px;
    left: 0px;
    transition: 0.2s ease-out;
    pointer-events: none;
    color: var(--color1);
    font-size: 1.2rem; 
    font-weight: 200;
}

.label-container input:focus {
    background-color: var(--color5);
}

.label-container input {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 50px;
    font-size: 1.3rem;
    background-color: var(--color9);
    color: var(--color7);
}

.entrar {
    width: 100%;
    height: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    text-decoration: none;
}

.btn {
    background: none;
    border: none;
    padding: 12px 20px;
    width: 60%;
    height: 50px;
    min-height: 50px;
    margin: 60px 0;
    cursor: pointer;
    transition: color 0.4s linear;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: .3s all ease-in-out;
    font-size: 1.5rem;
    background-color: var(--color6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn::after {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--color7);
    z-index: -1;
    transition: left 0.5s;
}

.btn:hover {
    color: var(--color2);
    transform: scale(1.05);
}

.btn:hover::after {
    left: 0;
}
  
.btn:focus{
    outline: none;
}

.option {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color2);
}

.link {
    text-decoration: none;
    color: var(--color3);
    margin-top: 10px;
}

.link:hover {
    color: var(--color7);
    transform: scale(1.05);
}


.verSenha {
    display: flex;
    width: 100%;
    height: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#toggleCheckbox {
    margin-right: 10px;
    appearance: none; /* Remove o estilo padrão do sistema */
    cursor: pointer; /* Adiciona um cursor ao passar o mouse sobre a checkbox */
}

#toggleCheckbox::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid #333;
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#toggleCheckbox:checked::before {
    background-color: #708090;
}








@media(max-width: 1500px) {
    .img {
        width: 60%;
    }
}

@media(max-width: 1300px) {
    .img {
        width: 50%;
    }
}

@media(max-width: 900px) {
    .img {
        display: none;
    }
    .title {
        margin-bottom: 20px;
    }
}

@media(max-width: 550px) {
    .welcome {
        font-size: 2.5rem;
        margin: 1% 0;
    }
    .label-container {
        height: 1%;
    }
    .btn {
        height: 5%;
        margin: 30px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        width: 80px;
        height: 80px;
    }
    
}

@media(max-width: 470px) {
    .welcome {
        font-size: 2rem;
        margin-top: 20px;
    }
    .label-container {
        width: 90%;
    }
    .btn {
        width: 80%;
    }
}
