.header {
    background-image: radial-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .7)), url(../images/FAQCover.jpg);
    background-position: 45% 30%;
}

.header span {
    display: block;
}

.template-body {
    background-image: linear-gradient(
        174deg,
        rgba(235, 235, 235, .8) 0,
        rgba(235, 235, 235, .8) 100%
    ), url(../images/FootprintsBackground.svg);
    background-size: 1100px;
    border-bottom: 1px solid var(--lightgray);
    padding: 3em 0;
}

.faq h2 {
    margin: 0 0 .5em;
    text-align: center;
    font-weight: 400;
}

.faq input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq a {
    color: var(--mediumblue);
    text-decoration: underline;
}

.faq a:hover {
    color: var(--lightblue);
}

.row {
    display: flex;
}

.faq {
    grid-column: 2 / 3;
}

.row .faq {
    flex: 1;
}

.row .faq:last-child {
    margin-left: 1em;
}

.tab,
.tabs {
    overflow: hidden;
}

.tabs {
    max-width: 700px;
    margin: 0 auto;
}

.tab {
    width: 100%;
    color: var(--darkgray);
    border: 1px solid var(--lightgray);
    border-bottom: none;
    display: flex;
    flex-direction: column;
}

.tab:last-of-type {
    border-bottom: 1px solid var(--lightgray);
}

.tab-label {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background: rgba(235, 235, 235, .8);
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 350;
}

.tab-label:hover {
    background: var(--lightgray);
}

.tab-label::after {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    content: "\f054";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all .35s ease-in-out;
}

.tab-content {
    max-height: 0;
    padding: 0 1em;
    color: var(--darkgray);
    background: var(--offwhite);
    transition: all .35s ease-in-out;
    font-size: .85em;
}

.faq input:checked ~ .tab-label {
    background: var(--lightgray);
}

.faq input:checked + .tab-label::after {
    transform: rotate(90deg);
}

.faq input:checked ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
}

/* Media Queries */
@media screen and (min-width: 615px) {
    .header {
        background-position: 50% 10%;
		background-size: cover;
    }
}

@media screen and (min-width: 1000px) {
    .template-body {
        grid-template-columns: 1rem 1fr 1rem;
        padding: 5em 0;
    }
}