@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

body,
.input {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 400;
    background-color: #fff7d8;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 2em;
    padding: 0;
    margin: 0;
    text-align: center;
}

h1,
h2 {
    font-family: "Lora", "Times New Roman", Times, serif;
    font-weight: 700;
}
h3 {
    margin: 0;
}
img {
    width: 90vw;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    padding-top: 25px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

form {
    margin: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

/*django's stupid boxes enclosing input*/
form > div {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

header {
    display: flex;
    justify-content: center;
    background-color: #f9d22c;
}

footer {
    background-color: #f9d22c;
    display: grid;
    justify-content: center;
    text-align: center;
}

label {
    width: 100%;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.infobox {
    text-align: left;
    width: 100%;
    font-style: italic;
    color: #4a4a4a;
}

.title {
    background-color: #f9d22c;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 30px;
}

.overlay {
    margin-top: 15px;
    flex: 1 1 auto;
    height: 100%;
    overflow: hidden;
}
.hero_cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero {
    max-width: 1000px;
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logobox {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.logoimg {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    max-width: 120px;
}

.blurb,
.content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
    margin-right: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    align-items: center;
    width: 80%;
}

.input {
    box-sizing: border-box;
    margin-bottom: 20px;
    min-height: 30px;
    height: min-content;
    width: 100%;
    background-color: #e8e7e7;
    border-radius: 5px;
    border: 0;
    min-width: 200px;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-align: center;
    color: black;
}

.input::placeholder {
    color: #4a4a4a;
}

.button {
    margin: 15px;
    padding: 15px;
    width: 200px;
    min-width: 200px;
    font-size: 18px;
    background-color: #f9d22c;
    color: #4a4a4a;
    font-weight: 700;
}

.errorlist {
    list-style-type: none;
    color: red;
    font-weight: 600;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav {
    display: flex;
    justify-content: space-around;
}

.placeholder {
    color: #4a4a4a;
}
