:root {
    --brand-navy: #0a2842;
    --brand-coral: #e76649;
    --brand-teal: #16989a;
    --brand-white: #ffffff;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--brand-navy);
    background-color: var(--brand-white);
}

footer {
    border-top: 1px solid #dbe2ea;
    background-color: var(--brand-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer a {
    color: var(--brand-teal);
    font-weight: 600;
}

a {
    text-decoration: none;
}

.main-container{
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 1rem;
}

.main-container>section{
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
}

.main-container>section img {
    width: 12rem;
}

main{
    flex-grow: 1;
    max-width: 50rem;

    padding: 0 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

header+.main-container>main{
    padding: 2rem 1rem 0;
}

img.logo {
    height: auto;
    width: min(20rem, 80vw);
}

img.logo-light {
    margin-top: 1rem;
}

header {
    background-color: var(--brand-navy);
    min-height: 5rem;
}

header img.logo {
    position: absolute;
    left: 4rem;
    top: 0.6rem;
    width: 12.5rem;
}

nav {
    font-size: 1.2rem;
    padding: 1.5rem 0;
}

nav>ul {
    list-style-type: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-weight: bold;
    padding: 0;
}

nav a {
    color: var(--brand-white);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

nav a:hover{
    color: var(--brand-coral);
    border-bottom-color: var(--brand-coral);
}

.nav-mobile{
    display: none;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--brand-navy);
}

h2 {
    margin-top: 2rem;
    color: var(--brand-navy);
}

form {
    margin-top: 3rem;
    width: 100%;
}

form.highlight>div{
    margin-bottom: 1rem;
    border-left: 0.5rem solid var(--brand-teal);
    padding: 0.5rem;
    background-color: rgb(22 152 154 / 0.12);
}

form>.inputs {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1rem;
    align-items: center;
}

form textarea {
    resize: none;
    width: 100%;
    height: 5rem;
    padding: 0.5rem;
}

form>input[type=submit] {
    display: block;
    margin: 1rem auto 0;
}

form label:has(>input[type=radio]) {
    margin-right: 0.5rem;
}

form#question_form label {
    font-size: 1.3rem;
    font-weight: bold;
}

.flexrow {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}

.flexrow a,
button, input[type=submit] {
    background-color: var(--brand-coral);
    color: var(--brand-white);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--brand-coral);
    cursor: pointer;
    font-weight: bold;
}

.flexrow a:hover,
button:hover, input[type=submit]:hover {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

input[type=text],input[type=email],input[type=password],textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 100%;
    border-radius: 0.5rem;
    border: 1px solid #b9c3cf;
    min-height: 1.5rem;
    width: 100%;
}

input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus {
    outline: 2px solid var(--brand-teal);
    outline-offset: 1px;
}

.sixteen_nine {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--brand-navy);
    margin-bottom: 1rem;
}

.sixteen_nine img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
}

.sixteen_nine iframe {
    width: 100%;
    height: 100%;
}

div.twocolumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media(max-width: 1000px) {
    .main-container>section{
        display: none;
    }
    div.twocolumn {
        grid-template-columns: 1fr;
    }
    header img.logo{
        display: none;
    }
    nav {
        padding: 0.9rem 0;
    }
}

form div:has(input[value="1"]:not(:checked))+div#magic_hide{
    display: none;
}

.qr {
    max-width: min(20rem, 80vw);
}
