[data-theme="light"],
:root:not([data-theme="dark"]) {
    --c-green-0: #e8eee5;
    --c-green-1: #d2ddcc;
    --c-green-2: #bcccb2;
    --c-green-3: #a6bb99;
    --c-green-4: #90aa7f;
    --c-green-5: #7a9966;
    --c-green-6: #64884c;
    --c-green-7: #4e7632;
    --c-green-8: #386619;
    --c-green-9: #250;
    --c-orange: #f08c11;
    --c-orange-light: #fcc166;
    --c-bone: #d9d3c0;
    --c-green-acid: #adc011;
    --c-green-olive: #790;
    --c-green-forest: #030;
    --primary: var(--c-green-9);
    --primary-hover: var(--c-green-olive);
    --secondary: var(--primary);
    --secondary-hover: var(--primary-hover);
    --spacing-vertical: 0;
    --y-green: #4a0;
    --border-radius: 0.5rem;
    --blockquote-border-color: var(--c-green-5);
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body > header:first-child {
    position: sticky;
    top: 0;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 1px 2px var(--c-bone);
}

body > main {
    padding: 0;
    flex: 1 0 auto;
}

body > main > section {
    margin-bottom: 0;
}

.top-logo {
    height: 2.6rem;
}

.landing {
    padding-top: var(--block-spacing-vertical);
}

.landing > section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-main {
    background: no-repeat top center url("/img/landing-bg.svg");
    margin-bottom: var(--block-spacing-vertical);
    min-height: 500px;
}

#menu,
.menu-btn {
    display: none !important;
}

@media (min-width: 992px) {
    .landing-main {
        background: no-repeat center/70% url("/img/landing-bg.svg");
    }
}

@media (max-width: 600px) {
    nav {
        flex-wrap: wrap;
    }

    .menu-btn {
        align-self: center;
        display: block !important;
        font-size: 2rem;
        margin-right: 0 !important;
    }

    .menu {
        display: none;
        margin-bottom: 1rem;
    }

    /* Toggle Effect */
    #menu:checked ~ .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

section:nth-child(even) {
    background: #d2ddcc;
}

.grid .img-container {
    text-align: center; /* landing images */
}

div > ul {
    text-align: left;
}

.h2-green {
    background: no-repeat 0 url("/img/h2-bg.svg");
    padding: 2.1rem;
    margin-top: 2rem;
}

.contact {
    background: var(--c-orange);
    color: #fff;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.5s ease;
}

.contact:hover {
    background: orange;
}

.grid.gap-2x {
    gap: 2rem;
}

.hidden {
    display: none;
}

/* Toggle Effect */
#overview:checked .overview,
#peml:checked .peml,
#tech:checked .tech {
    display: block;
}

#overview:not(:checked) ~ .overview,
#peml:not(:checked) ~ .peml,
#tech:not(:checked) ~ .tech {
    display: none;
}

.intro {
    min-height: 90px;
}

label a {
    cursor: pointer;
}

.call-to-action {
    margin: calc(var(--typography-spacing-vertical) * 2) 0;
}

.profile {
    display: inline-flex;
    flex-flow: row wrap;
    margin-bottom: 2rem;
}

.profile h4 {
    width: 100%;
}

.profile picture {
    flex: 1;
}

.profile a img {
    height: 28p;
    width: 28px;
    margin-right: 0.3rem;
}

@media (min-width: 600px) {
    .profile div {
        flex: 4;
    }
}

.profile picture img {
    min-width: 200px;
    min-height: 200px;
    margin: 0 1rem 1rem 0;
    box-shadow: 2px 2px 5px gray;
}

.profile p {
    flex-wrap: wrap;
}

/* footer */
body > footer {
    flex-shrink: 0;
}

body > footer,
footer ul {
    font-size: calc(var(--font-size) * 0.8);
}

footer h3 {
    font-size: calc(var(--font-size) * 0.7);
    margin-bottom: calc(var(--typography-spacing-vertical) * 0.5);
}

footer ul {
    padding: 0;
}

footer ul li {
    list-style: none;
}

footer .content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

footer .content div {
    flex: 0 0 25%;
    min-width: 150px;
}

footer .content div.legal {
    flex: 1 0 50%;
}

.members-of {
    opacity: 0.8;
    display: flex;
    justify-content: right;
}

.members-of img {
    height: 2.5rem;
    margin-left: 1rem;
}

.v-bottom {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

article {
    box-shadow: none;
    margin: 0;
}

article > header {
    background: none;
    border: 0;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

article > header > small {
    color: grey;
    font-size: 0.8rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    #content .container {
        display: flex;
        flex-wrap: wrap;
    }

    #content .container article {
        flex: 1 1 50%;
    }
}

.banner {
    background: var(--c-green-1);
    display: flex;
    align-items: center;
    min-height: 40vh;
}

article > picture {
    display: block;
    text-align: center;
}

article > p > img {
    display: block;
    margin: 0 auto;
}

.screen-recording {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.screen-recording > video {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

article a[target="_blank"]::after
{
  content: "";
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.25em;
  background-image: url("/img/arrow-up-right-from-square-solid.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;

}
