html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;

    background-color: #ffffff;

    background-image:
        /* first grid pattern */
        linear-gradient(to right, #e0ffe0 1px, transparent 1px),
        linear-gradient(to bottom, #e0ffe0 1px, transparent 1px),
        /* second grid pattern, slightly offset */
        linear-gradient(to right, #e0ffe0 1px, transparent 1px),
        linear-gradient(to bottom, #e0ffe0 1px, transparent 1px);

    /* sizes and offsets for each layer */
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-position: 0 0, 0 0, 4px 4px, 4px 4px;

}

header {
    display: flex;
    flex-direction: row;
    padding-block: 10px;
    padding-inline: 64px;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid darkgray;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

header div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

header div * {
    margin-inline: 10px;
}

h1 {
    color: green;
    font-family: cursive;
    font-size: 3.5em;
    margin: 0;
}

footer {
    display: flex;
    flex-direction: row;
    padding-block: 10px;
    justify-content: center;
    align-items: center;

    border-top: 1px solid darkgray;
    box-shadow: 0 -4px 6px -2px rgba(0, 0, 0, 0.15);
}

.profile_picture {
    border-radius: 50%;
    border: 1px solid black;
}

.icon {
    height: 2rem;
    aspect-ratio: 1;
}

.content_container {
    margin-block: 10px;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 14px #00000012;
}

.warning {
    color: red !important;
    display: none;
    text-align: center;

    margin-block-start: 0.25rem;
}

.center_text {
    text-align: center;
}

#account {
    height: 2.5rem;
}