:root {
    font-size: 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    /* other sizes */
    --smallFont: 15px;
    --regularFont: 16px;
    --h3: 20px;
    --h2: 24px;
    --h1: 48px;

    --small-radius: 3px;

    /* colors */

    --background: #272932;
    --contentBackground: #F3F5F7;
    --matteRed: #F05D5E;
    --lightMatteRed: #F05D5E;
    --matteGreen: #0F7173;
    --lightMatteGreen: #19B2B5;
    --boxGrey: #D9D9D9;
    --buttonGrey: rgb(239, 239, 239);
    --buttonGreyHover: rgb(216, 216, 216);
    --lightText: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    background-color: var(--background);
}

body {
    background-color: var(--contentBackground);
    width: 1110px;
    margin: 0 auto;
    padding: 2rem 5rem;
}

h1,
h2,
h3 {
    font-family: 'Courier New', Courier, monospace;
    color: var(--background);
}

h1,
h2 {
    color: var(--matteRed);
}

p,
li {
    font-weight: 100;
}

button {
    padding: 0.25rem 1rem;
    border: none;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    background-color: var(--buttonGrey);
}

button:hover {
    background-color: var(--buttonGreyHover);
}

img {
    position: relative;
    width: 95%;
    border: solid 1px black;
    -webkit-box-shadow: 15px -15px 0px 0px var(--boxGrey);
    box-shadow: 15px -15px 0px 0px var(--boxGrey);
}

.line {
    width: 100%;
    height: 3px;
    background-color: var(--matteRed);
}

.confirmationButton {
    background-color: var(--lightMatteGreen);
    color: var(--lightText)
}

.confirmationButton:hover {
    background-color: var(--matteGreen);
}

/* nav */
.menuItem {
    cursor: default;
}

.menuItem:hover {
    color: var(--lightMatteRed);
}

#openResponsiveMenuButton {
    display: none;
}

#responsiveMenu {
    display: none;
}

/* sections */
header {
    position: relative;
}

#heroSection {
    width: 100%;
}

#heroSection>.textContainer {
    flex: 1 1 60%;
    position: relative;
}

#heroSection>.imgContainer {
    flex: 1 1 40%;
    position: relative;
}

#howSection .textContainer {
    flex: 1 1 30%;
    position: relative;
}

#howSection .imgContainer {
    flex: 1 1 70%;
    position: relative;
    align-content: center;
}

#whySection .groupItem {
    flex: 1 1 33%;
    max-width: 33%;
    text-align: justify;
}

#callToActionSection .textContainer {
    flex: 1 1 50%
}

/* faq */
.questionItem {
    background-color: var(--buttonGrey);
    padding: 1rem 2rem;
    cursor: default;
}

.questionItem:hover {
    background-color: var(--buttonGreyHover);
}

.questionItem.active {
    background-color: var(--buttonGreyHover);
}

.answerItem {
    display: none;
    padding: 1rem 2rem;
}

/* generic classes */
.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.spaceBetween {
    justify-content: space-between;
}

.justifyEnd {
    justify-content: end;
}

.alignEnd {
    align-items: end;
}

.noMargin {
    margin: 0;
}

.halfGap {
    gap: 0.5rem;
}

.gap {
    gap: 1rem;
}

.doubleGap {
    gap: 2rem;
}

.tripleGap {
    gap: 3rem;
}

.divider {
    width: 100%;
    height: 3rem;
}

.smallDivider {
    width: 100%;
    height: 1rem;
}

.smallFont {
    font-size: var(--smallFont);
}

.indented {
    padding: 0 1rem;
}

@media screen and (max-width: 1110px) {
    body {
        width: 100%;
    }

    #callToActionSection {
        flex-direction: column-reverse;
    }

}

@media screen and (max-width: 950px) {
    #howSubsection1 {
        flex-direction: column;
    }

    #howSubsection2 {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 900px) {
    body {
        width: 100%;
    }

    #heroSection>.textContainer {
        flex: 1 1 50%;
        position: relative;
    }

    #heroSection>.imgContainer {
        flex: 1 1 50%;
        position: relative;
        align-content: center;
    }
}

@media screen and (max-width: 785px) {
    #whyGroup {
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 2rem;
    }

    #whySection .groupItem {
        max-width: 50%;
    }

    #whySection .groupItem h3 {
        margin-top: 0;
    }
}

@media screen and (max-width: 700px) {
    #heroSection {
        flex-direction: column;
    }
}

@media screen and (max-width: 650px) {
    body {
        padding: 2rem 2rem;
    }
}

@media screen and (max-width: 600px) {
    #openResponsiveMenuButton {
        display: block;
    }

    #menu {
        display: none;
    }

    #responsiveMenu nav {
        flex-direction: column;
        position: absolute;
        right: 0;
        width: 100%;
        background-color: var(--buttonGrey);
        padding: 1rem;
        z-index: 2;
        border-radius: var(--small-radius);
    }

    #responsiveMenu .menuItem {
        text-align: center;
    }

    #whyGroup {
        gap: 0;
    }

    .groupItem {
        min-width: 100%;
    }
}