* {
    padding: 0;
    margin: 0;
}

#header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer p {
    font-size: 12pt;
}

#header a {
    font-size: 14pt;
    font-weight: 400;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

#header a:hover {
    color: grey;
}

#nav {
    align-items: center;
}

.text-link > a {
    position: relative;
    z-index: 90;
    margin-right: 40px;
}

#dropdown-content {
    display: none;
    position: absolute;
    background-color: #F0E4D4;
    left: -60px;
    top: 18px;
    text-align: center;
    width: 170px;
    padding: 10px 20px;
    z-index: 1;
    border-radius: 5px;
}

#dropdown-content a {
    margin: 20px 0 20px;
    display: block;
}

body {
    background-color: #F0E4D4;
    color: #333;
    font-family: "Grenze", serif;
    font-weight: 200;
}

section > div {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.project-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

#marty .project-images {
    flex-wrap: nowrap;
}

.project-images img {
    max-width: 420px;
    border-radius: 20px;
}

#marty .project-images img {
    width: 100%;
}

.inline {
    display: flex;
    gap: 20px;
}

.inline-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

#mission {
    background-image: url("images/index-hero-bg.png");
    background-size: cover;
}

#noah-hero {
    background-image: url("images/noah-hero.png");
    background-size: cover;
    background-position: 50%;
    height: 600px;
}

#busters-hero {
    background-image: url("images/busters-hero.png");
    background-size: cover;
    background-position: 50%;
    height: 600px;
}

#busters-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#busters-logo {
    width: 800px;
    margin-top: 20px;
}

#noah-logo-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    height: 100%;
}

#noah-logo {
    width: 400px;
    margin-top: 20px;
}

#marty-hero {
    background-image: url("images/marty-hero.png");
    background-size: cover;
    background-position: center top;
    height: 600px;
}

#marty-logo-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;
    height: 100%;
}

#marty-logo {
    width: 400px;
    margin-bottom: 40px;
}

#services div {
    flex: 1;
}

#contact {
    background-color: #590C0C;
    position: relative;
    overflow: hidden;
}

#contact img {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.light-text {
    color: #F0E4D4;
}

.callout {
    background-color: #E2D1BF;
}

.accordion-container {
    color: #F0E4D4;
}

.accordion-header {
    margin: 10px 0;
    padding: 9px 16px;
    border-radius: 5px;
    cursor: pointer;

    font-family: "Grenze", serif;
    font-size: 15pt;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 1px;
    position: relative;
}

.accordion-header>img {
    position: absolute;
    right: 16px;
    top: 13px;
}

.accordion-header>span {
    font-weight: 600;
    font-size: 20pt;
    position: absolute;
    right: 16px;
    top: 2px
}

.accordion-content {
    margin-top: 10px;
    margin-bottom: 6px;

    font-family: "Grenze", serif;
    font-weight: 300;
    font-style: normal;
    line-height: 130%;
    letter-spacing: 1px;
    font-size: 14pt;
}

.accordion-header#gdd {
    background-color: #E2753B;
}

.accordion-header#proto {
    background-color: #DB5726;
}

.accordion-header#dev {
    background-color: #BC2F12;
}

.accordion-header#support {
    background-color: #67140D;
}

.accordion-header#pre-production {
    background-color: #E2753B;
}

.accordion-header#production {
    background-color: #C23D14;
}

.accordion-header#qa {
    background-color: #BC2F12;
}

.accordion-header#launch {
    background-color: #8F230C;
}

#pre-production.open, #pre-production:hover {
    background-image: url("images/pre-prod.png");
    background-size: cover;
    background-position: 50%;
}

#launch.open, #launch:hover {
    background-image: url("images/launch.png");
    background-size: cover;
    background-position: 50%;
}

#gdd.open, #gdd:hover {
    background-image: url("images/gdd.png");
    background-size: cover;
    background-position: 50%;
}

#proto.open, #proto:hover {
    background-image: url("images/proto.png");
    background-size: cover;
    background-position: 50%;
}

#dev.open, #dev:hover {
    background-image: url("images/dev.png");
    background-size: cover;
    background-position: 50%;
}

#support.open, #support:hover {
    background-image: url("images/support.png");
    background-size: cover;
    background-position: 50%;
}

#production.open, #production:hover {
    background-image: url("images/prod.png");
    background-size: cover;
    background-position: 50%;
}

#qa.open, #qa:hover {
    background-image: url("images/qa.png");
    background-size: cover;
    background-position: 50%;
}

.service {
    width: calc(100% / 3 - 16px);
    border-radius: 10px;
    overflow: hidden;
}

.service p {
    font-size: 14px;
}

.service button {
    margin: 8px 0 16px;
    padding: 4px 10px;
}

.service-header {
    padding: 16px 16px 0 16px;
    background-size: cover;
    height: 32px;
    position: relative;
}

.service-header img {
    height: 30px;
    position: absolute;
    top: 10px;
    left: 8px;
}

.service-header#gdd {
    background-image: url("/images/gdd.png");
}

.service-header#proto {
    background-image: url("/images/proto.png");
}

.service-header#dev {
    background-image: url("/images/dev.png");
}

.service-header#support {
    background-image: url("/images/support.png");
}

.service-inner-content>* {
    margin: 0 0 8px;
}

.service-offerings p {
    position: relative;
    margin-left: 20px;
    margin-top: 6px;
}

.service-offerings p::before {
    content: "";
    display: inline-block;
    background-image: url("/images/check.png");
    width: 16px;
    height: 16px;
    background-size: cover;
    position: absolute;
    top: 1px;
    left: -20px;
}

#form-container {
    flex: 40%;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

input,
textarea,
button {
    all: unset;
}

#header-contact {
    cursor: pointer;
}

button {
    width: calc(100% - 20px);
    background-color: #B2221B;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    color: white;
    position: relative;
    cursor: pointer;
}

.arrow {
    background-image: url("images/arrow.png");
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

input,
textarea {
    background-color: #F0E4D4;
    width: calc(100% - 20px);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

.center {
    text-align: center;
}

.grenze-medium {
    font-family: "Grenze", serif;
    font-weight: 500;
    font-style: normal;
}

.grenze-extrabold {
    font-family: "Grenze", serif;
    font-weight: 700;
    font-style: normal;
    /* line-height: 90%; */
}

.grenze-regular {
    font-family: "Grenze", serif;
    font-weight: 400;
    font-style: normal;
    /* line-height: 130%; */
    letter-spacing: 1px;
}

.grenze-light {
    font-family: "Grenze", serif;
    font-weight: 300;
    font-style: normal;
    /* line-height: 100%; */
}

.grenze-semibold {
    font-family: "Grenze", serif;
    font-weight: 600;
    font-style: normal;
}

.grenze-regular-italic {
    font-family: "Grenze", serif;
    font-weight: 400;
    font-style: italic;
}

.grenze-semibold-italic {
    font-family: "Grenze", serif;
    font-weight: 600;
    font-style: italic;
}

.grenze-extrabold-italic {
    font-family: "Grenze", serif;
    font-weight: 700;
    font-style: italic;
}

#projects a {
    all: unset;
    cursor: pointer;
}

.shadow-round {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 11%;
    overflow: hidden;
}

.shadow-round>div {
    padding: 0px 20px 20px;
}

.vertical-padding {
    padding: 30px 0;
}

.padding {
    padding: 16px;
}

h1 {
    font-size: 40pt;
    margin-bottom: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
}

h2 {
    font-size: 22pt;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 14px;
}

h3 {
    font-weight: 600;
    font-size: 18pt;
    line-height: 100%;
}

p {
    font-size: 14pt;
    line-height: 130% !important;
}

.mobile-flex-reverse {
    flex-direction: inherit;
}

hr {
    border: none;
    height: 1px;
    background-color: #E2D1BF;
    margin: 10px 0;
}

#hamburger,
#close-hamburger {
    display: none;
    cursor: pointer;
}

#mobile-menu {
    position: fixed;
    width: 100%;
    height: calc(100% - 100px);
    background-color: #F0E4D4;
    background-image: url("/images/kingdom-forge-light.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    z-index: 99;
    top: 100px;
}

#mobile-menu a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 20px;
}

#mobile-menu hr {
    margin: 18px 0;
}

body.menu-open {
    overflow: hidden;
}

.value {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.value > * {
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.value img {
    position: absolute;
    bottom: -40px;
    right: -10px;
    width: 200px;
    z-index: 0;
    opacity: 10%;
}

.verse {
    font-style: italic;
    font-size: 12pt;
}

#mission-vision {
    background-image: url("/images/values.png");
    background-size: cover;
    background-position: 50%;
}

#values-items {
    display: block;
}

#values-items-mobile {
    display: none;
}

.platform {
    background-color: #F0E4D4;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    flex: 1;
}

.platform p {
    font-size: 10pt;
}

.picture-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 900px) {
    .inline {
        flex-direction: column;
    }

    #nav.inline {
        flex-direction: row;
    }

    .mobile-flex-reverse {
        flex-direction: column-reverse;
    }

    .service {
        width: 100%;
    }

    #hamburger {
        display: block;
    }

    body.menu-open #hamburger {
        display: none;
    }

    body.menu-open #close-hamburger {
        display: block;
    }

    #header .text-link {
        display: none;
    }

    #header {
        position: fixed;
        width: 100%;
        background-color: #F0E4D4;
        top: 0;
        z-index: 99;
    }

    body {
        margin-top: 100px;
    }

    #values-items {
        display: none;
    }

    #values-items-mobile {
        display: block;
    }

    .project-images {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: space-between;
        overflow-x: auto;
        margin-left: -20px;
        margin-right: -20px;
    }

    .project-images img,
    #marty .project-images img {
        max-width: inherit;
        width: calc(100vw - 100px);
    }

    #noah-logo-container,
    #busters-logo-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
    }

    #noah-logo {
        width: 90%;
        margin-bottom: 50px;
    }

    #marty-logo-container {
        align-items: center;
        height: 100%;
    }

    #marty-logo {
        width: 400px;
        margin-bottom: 40px;
    }

    #busters-logo {
        width: 400px;
        margin-bottom: 20px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #202020;
        color: #F0E4D4;
    }

    .callout {
        background-color: #333;
    }

    input,
    textarea {
        background-color: #202020;
    }

    #mobile-menu {
        background-color: #202020;
        background-image: url("/images/kingdom-forge.png");
    }

    #header a,
    #mobile-menu a {
        color: #F0E4D4;
    }

    #header {
        background-color: #202020;
    }

    .value img {
        opacity: 100%;
    }

    .platform {
        background-color: #202020;
    }

    .shadow-round {
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
    }

    #dropdown-content {
        background-color: #202020;
    }
}