:root {
    --grn-btn: #596D48;
    --input-border: #E5E7EB;
    --invalid-clr: red;
    --soft-shadow: rgb(70, 70, 70);
}

@font-face {
    font-family: 'Almond Mocca';
    src: url('assets/fonts/Almond\ Mocca.woff2') format('woff2');
}

* {
    margin: 0;
}

/* Using custom Almond Mocca font*/
body {
    height: 100vh;
}

#container {
    display: flex;
    flex: 1;
    height: inherit;
}


/* Selector for the first div-child */
/* Width percentage as divider */
#logo {
    background-image: url(assets/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 40%;
    font-family: 'Almond Mocca', serif;
    color: white;
}

/* Configuring the Odin img logo */
#logo div {
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); 
}

.logo.text {
    font-size: 100px;
}

.logo.img {
    height: 100px;
}

/* Actual form */
form {
    display: flex;
    flex-direction: column;
    gap: 1em;

    padding: 24px 48px;
    background-color: white;
    
    color: rgb(70, 70, 70);
    font-size: 10pt;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 8px 6px -6px rgba(69, 69, 69, 0.5);
}

form section {
    display: flex;
    gap: 4em;
}

form div {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: 400;
}

#forms {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: #F9FAFB;
    width: 60%;

    color: #121313;
    font-weight: bold;
}

#forms > div:first-child {
    padding: 24px 168px 0 48px;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    font-size: 18pt;
}

#forms div:nth-child(3) {
    display: flex;
    padding: 0 0 0 48px;
}

#forms > div:first-child, 
#forms div:nth-child(3) {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

#forms div:nth-child(3) p {
    font-weight: normal;
}

#forms div:nth-child(3) a {
    font-weight: 700;
    color: var(--grn-btn);
}

input:focus {
    border: blue;
}

input[type] {
    width: 200px;
    height: 25px;
    border-radius: 4px;
    border: 2px solid var(--input-border);
}


input[type]:invalid {
    border: 1px solid var(--invalid-clr)
}

legend {
    font-size: 18pt;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    font-weight: 500;
}

button[type] {
    background-color: var(--grn-btn);
    padding: 10px 40px;
    border-radius: 6px;
    border: 0px;
    color: white;
}

a:hover {
    text-decoration: underline;
}

a {
    text-decoration: none;
}

button:hover {
    opacity: 80%;
}

footer {
    padding: 5px;
    background-color: #F9FAFB;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-align: center;
} 

#footer-icon {
    width: 16px; 
    height: 16px;
}
