body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #eeeeee;
}

header {
    background: #005982;
    color: #eeeeee;
}

footer {
    background: #005982;
    color: #eeeeee;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

footer p {
    text-align: center;
}

footer a {
    color: #eeeeee;
}

footer a:hover {
    color: #bbbbbb;
}

a {
    text-decoration: none;
}

.main-container{
    background-image: url("background.jpg");
    background-image: image-set(
        "background.webp" type("image/webp"),
        'background.jpg' type("image/jpeg")
    );
    background-position: top;
    background-size: cover;
    min-height: 100vh;

    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;
}

.main-container>main{
    padding: 7rem 1rem 0;
}

.main-container>main.register{
    padding: 10rem 1rem 0;
}

img.logo {
    background-color: white;
    height: 12rem;
    padding: 0.2rem;
    border-radius: 0 0 1rem 1rem;
}

header img.logo {
    position: absolute;
    left: 8rem;
}

nav {
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

nav>ul {
    list-style-type: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-weight: bold;
    padding: 0;
}

nav a {
    color: #eeeeee;
}

nav a:hover{
    color: #bbbbbb;
}

.nav-mobile{
    display: none;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

form {
    margin-top: 3rem;
    width: 100%;
}

form.highlight>div{
    margin-bottom: 1rem;
    border-left: 0.5rem solid #0096ab;
    padding: 0.5rem;
    background-color: rgb(194 198 202 0.5);
}

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 {
    background-color: #7bbb31;
    color: black;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.flexrow a:hover {
    background-color: #69b1a6;
}

input[type=text],input[type=email],input[type=password],textarea {
    font-family: sans-serif;
    font-size: 100%;
    border-radius: 0.5rem;
    border: none;
    min-height: 1.5rem;
    width: 100%;
}

button,input[type=submit] {
    all: unset;
    background-color: #7bbb31;
    color: black;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
}

button:hover,input[type=submit]:hover {
    background-color: #69b1a6;
}

.sixteen_nine {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
}

.sixteen_nine img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
}

.sixteen_nine p {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    font-size: 3rem;
    color: #7bbb31;
    font-weight: bold;
}

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;
    }
}

@media(max-width: 500px) {
    main.register h1 {
        font-size: 1.8rem;
    }
}

form div:has(input[value="1"]:not(:checked))+div#magic_hide{
    display: none;
}
