
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    
    margin: 0px;
}

.header-wrapper {
    width: 100%;
    background-color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-wrapper {
    max-width: 460px;
    padding: 1.5rem;
}

.login-wrapper.img {
    width: 70%
}

.login-wrapper.login-fields {
    width: 50%
}


.field-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    color: var(--color-text-accent);
}

.field-wrapper.login {
    flex-direction: column;
}

.login input {
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border: 1px solid var(--color-accent);
    padding: 0rem 1rem 0rem 0.5rem;
    color: var(--color-text-accent);
}

.login input:focus {
    outline: none;
}

.login input::placeholder {
    color: var(--color-text-accent);
}

#username {
    border-bottom: none;
    border-radius: 4px 0px 0px 0px;
}

#password {
    border-radius: 0px 0px 0px 4px;
}

#btn-login {
    background-color: var(--color-accent);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0px 4px 4px 0px;
    padding: 2rem;
}

#login-form {
    display: flex;
    flex-direction: column;
    height: 80px;
}

.field-wrapper button {
    color: var(--color-text-accent);
    text-decoration: none;
    font-size: 80%;
}

.field-wrapper.links {
    justify-content: space-evenly;
    padding-top: 3rem;
}

.field-wrapper.links.after {
    justify-content: space-between;
    padding-top: 0;
    width: 60%;
    font-weight: normal;
}

.field-wrapper.logged {
    justify-content: flex-end;
    text-align: right;
    padding-bottom: 1rem;
    font-weight: bold;
    color: var(--color-accent);
    width: 100%;
}

.field-wrapper.links a {
    color: var(--color-text-accent);
    text-decoration: none;
    font-size: 80%;
}

.nav-bar {
    width: 100%;
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: row;
}

.nav-bar a {
    color: var(--color-text-accent);
    text-decoration: none;
    padding: 0.5rem;
}

.nav-bar a:hover {
    background-color: white;
}



@media only screen and (max-width: 700px) {
    .header-wrapper {
        flex-direction: column;
    }

    .login-wrapper {
        width: 100%;
        padding: 1rem;
    }

    .field-wrapper.login {
        width: 100%;
    }

    .login-wrapper.img {
        width: 90%;
        align-items: center;
        justify-content: center;
    }
    
    .login-wrapper.login-fields {
        width: 90%
    }

    .field-wrapper.logged {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

}