@font-face {
    font-family: "Norse Bold";
    src: url(./fonts/Norse-Bold.otf);
}

:root {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    --plant-green: #596D48;
}

body {
    display: flex;

    margin: 0;
    height: 100vh;
    background-color: #f9fafb;
}

/* Left Section */

.left-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 37vw;
    
}

.odin-logo {
    position: absolute;
    box-sizing: border-box;
    color: white;
    font-family: "Norse Bold";
    font-size: 4em;
    display: flex;

    background-color: rgba(0, 0, 0, 0.5);
    /* opacity: 0.5;  rgba is rather used as opacity also affects content */
    height: 15vh;
    width: 100%;
    padding: 15px;
    top: 20vh;

    justify-content: center;
    align-items: center;
}

.odin-logo p {
    margin: 0;
    padding: 0;
}

.odin-logo img {
    height:calc(33px * 2.5);
    width: calc(25px * 2.5);
}

.plant-background {
    width: 37vw;
    height: 100%; /* might be changed */
    
}

.left-section > p {
    font-size: 0.8em;
    position: absolute;
    color: white;

    bottom: 2px;
    
}

.left-section > p a {
    color: white;
}


/* Right Section */

.right-section {
    margin-top: auto;
    margin-bottom: auto;
    background-color: #f9fafb;
}

.right-section > h1, 
.right-section > p,
.right-section button {
    margin-left: 2em;
    margin-bottom: 1em;
}

.main-form {
    padding-left: 2em;
    box-shadow: 0px 2px 5px rgb(97, 96, 96);
    padding-top: 0.1em;
    padding-bottom: 2em;
    margin-bottom: 2em;
    margin-top: 3em;
    background-color: white;
}

.form-inputs {
    display: flex;
    gap: 1em;
    
}

.right-section h1 {
    font-size: 18px;
    width: 75%;
}

label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgb(58, 58, 58);
    font-weight: 900;
}

button {
    background-color: var(--plant-green);
    color: white;
    border-radius: 5px;
    padding: 15px 30px;
    border: 0px;
    font-weight: bold;
    font-size: 16px;
}

.right-section a {
    color: var(--plant-green);
    font-weight: bold;
    text-decoration: none;
}

.right-section > p {
    font-size: 15px;
}

form div p {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

input {
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
}

input[type]:focus {
    outline: 1px solid blue;
    box-shadow: 2px 2px 3px rgb(97, 96, 96);
}

input[type='password']:invalid {
    border-color: red;
}