
:root {
    --prim-color: #628293;
    --sec-color: #67706a;
    --third-color: #916c41;
    --fourth-color: #d2d3d5;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
}

header {
    height: 100%;
    background-image: url(./assets/pexels-bravingbird-20522438.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 40%;
    position: relative;
    overflow: hidden;
}

.logo {
    display: flex;
    flex-direction: row;
    gap: 22px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.400);
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 56px;
    border: none;
    box-shadow: 0 20px 4px rgba(0, 0, 0, 0.400), 0 -20px 4px rgba(0, 0, 0, 0.400);
    
}

header>div>h1{
    text-align: center;
    font-size: 3rem;
    color: white;
}

.logo img {
    width: 82px;
}

.header-footer {
    text-align: center;
    position: fixed;
    bottom: 1px;
    width: 40%;
    font-size: 0.8rem;
}

.header-footer a {
    text-decoration: none;
    color: black;
}

main {
    width: 60%;
    height: 100%;
    padding: 0 30px;
}

h3 {
    margin: 1rem 0 3rem 0;
}

form {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 38px;
    margin: 0 auto;
    width: 90%;
}

form >.form-header {
    margin-bottom: 1rem;
    width: 100%;
}

.form-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    align-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.form-row label {
    font-size: 1.2rem;
}

.field {
    display: flex;
    flex-direction: column;
    width: 45%;
    height: 4rem;
    gap: 8px;
}

.field input {
    font-size: 1.2rem;
    padding: 4px;
    border: 2px solid var(--prim-color);
    border-radius: 4px;
    width: 80%;
}

.field input:focus {
    box-shadow: 2px 2px 1px var(--third-color);
    outline: none;
}

.field .error-msg {
    font-size: 0.8rem;
    font-weight: bold;
    color: red;
    text-align: left;
    visibility: hidden;
}

.field.error .error-msg {
    font-size: 0.8rem;
    font-weight: bold;
    color: red;
    text-align: left;
    visibility: visible;
}

form button {
    width: fit-content;
    font-weight: bold;
    margin-top: 16px;
    font-size: 1.4rem;
    padding: 6px 14px;
    background-color: var(--prim-color);
    color: white;
    border: 2px solid transparent;
    border-radius: 4px;
}

form button:hover {
    border: 2px solid var(--prim-color);
    background-color: white;
    color: var(--prim-color);
    cursor: pointer;

}

.log-in{
    font-size: 1.2rem
}
.log-in a {
    font-weight: bold;
    text-decoration: none;
    color: var(--prim-color);
}
