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

html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: Roboto, 'Times New Roman', Times, serif;
    font-size: 16px;
}

body {
    display: flex; 
    background-color: #f9fafb; 
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
} 

.right div p {
    width: 65%;
    font-size: 1.25rem;
    font-weight: bold;
    margin-left: 1.875rem;
}

.right div p:first-child {
    margin-top: 5rem;
}

.right div p:last-child {
    margin-bottom: 3.125rem;
}

.left {
   width: 35%;
} 

.right {
    width: 65%;
    padding: 0.3125rem;
}

#form {
    margin: 1.25rem 0;
    background-color: white;
    box-shadow: 0 0.25rem 0.0625rem #e3e4e5;
}

form p {

    font-size: 1.25rem;
    font-weight: bold;
    padding-top: 0.9375rem;
    margin-left: 1.875rem;
}

.form-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-left: 1.875rem;
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: bold;
    letter-spacing: 0.125rem;
    /* outline: 1px solid red; */
    height: 18.75rem;
    width: 43.75rem;
}

input {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    width: 300px;
    height: 32px;
}

input:focus {
    outline: none;
    border: 0.1rem solid #2c5ada;
    box-shadow: 0.0625rem 0.0625rem black;
}

.error:valid {
    outline: none;
    border: 0.1rem solid #2c5ada;
    box-shadow: 0.0625rem 0.0625rem black;
}

.error:invalid {
    outline: none;
    border: 0.1rem solid red;
    box-shadow: 0.0625rem 0.0625rem black;
}

label {
    display:block;
    margin: 1.25rem 0.3125rem 0 0;
}

.btn {
    display: block;
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
    background-color: #596d48;
    width: 12.5rem;
    height: 3.125rem;
    border-radius: 0.625rem;
    border: 0.0625rem solid #596d48;
    margin: 1.875rem 0 1.875rem 1.875rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.95);
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, .24);
}

small {
    font-size: 1rem;
    margin-left: 1.875rem;
}

small a {
    color: #596d48;
    font-weight: bolder;
    text-decoration: none;
}

img {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh; 
}

.image-container {
  position: relative;
  height: 100vh;
  overflow: hidden; 
}

figcaption {
    position: absolute;
    text-align: center;
    bottom: -2rem;
    left: -1rem;
    width: 100%;
    color: white;
    font-size: 0.875rem;
    padding: 1.25rem; 
}

figcaption a {
    color: white;
}

figcaption a:visited {
    color: white;
}

.black-background {
    width: 100%;
    height: 7rem;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: absolute;
    top: 8rem;
    left: 0;
}

.logo-text {
    font-family: 'Norse-Bold', sans-serif;
    font-size: 5rem;
    color: white;
} 

.logo-pic {
    width: 5rem;
    height: 6.875rem;
}

#error-message {
    color: red;
    font-size: 10px;
    text-transform: none;
    margin: 1px;
}








