.header {
    background-image: radial-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .6)), url(../images/WeddingDanceLessonsBanner.jpg);
    background-position: 60% -1%;
}

.template-body {
    background-image: linear-gradient(
        174deg,
        rgba(255, 255, 255, .8) 0,
        rgba(255, 255, 255, .8) 57%,
        #333 57.08%,
        #333 87%,
        #b3b3b3 87.08%
    ),
    url(../images/weddingDressPearls.jpg);
    background-blend-mode: normal;
    background-size: cover;
    background-position: center center;
}

.template-body picture img {
    margin: 0;
    max-width: 600px;
}

.template-header-text {
    margin: 0 .5rem;
}

.template-header-text h2 {
    max-width: 600px;
}

.template-text-1,
.template-text-1 h3 {
    color: var(--darkgray);
}

.template-text-2 {
    color: var(--offwhite);
}

.wedding-faq,
.wedding-playlist {
    padding: 3em 0;
    grid-template-columns: 1em 1fr 1em;
    display: grid;
}

.wedding-playlist {
    background-image: radial-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .6)), url(../images/gayWeddingCoupleDancing.jpg);
    background-size: cover;
    background-position: 55% center;
}

.wedding-playlist h2,
.wedding-playlist iframe {
    grid-column: 2 / 3;
}

.wedding-playlist h2 {
    color: var(--offwhite);
    text-align: center;
    margin-bottom: 1em;
}

.wedding-faq {
    background-image: linear-gradient(174deg, rgba(235, 235, 235, .8) 0, rgba(235, 235, 235, .8) 100%), url(../images/weddingDressPearls.jpg);
    border-bottom: 1px solid var(--lightgray);
}

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

.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;
}

.row .faq {
    flex: 1;
}

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

.tab,
.tabs {
    overflow: hidden;
}

.tabs {
    max-width: 800px;
    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;
}

.tab-content h3 {
    font-size: var(--h5);
    margin-bottom: .5em;
}

.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: 500px) {
    .template-body {
        background-image: linear-gradient(
            174deg,
            rgba(255, 255, 255, .8) 0,
            rgba(255, 255, 255, .8) 51%,
            #333 51.08%,
            #333 87%,
            #b3b3b3 87.08%
        ),
        url(../images/weddingDressPearls.jpg);
    }
}

@media screen and (min-width: 615px) {
    .header {
        background-position: 50% 0%;
		background-size: cover;
    }

    .template-header-text h2 {
        max-width: none;
    }
    .template-body {
        background-image: linear-gradient(
            174deg,
            rgba(255, 255, 255, .8) 0,
            rgba(255, 255, 255, .8) 45%,
            #333 45.08%,
            #333 87%,
            rgba(179, 179, 179, .5) 87.08%
        ),
        url(../images/weddingDressPearls.jpg);
    }
    .wedding-faq {
        background-image: linear-gradient(174deg, rgba(235, 235, 235, .8) 0, rgba(235, 235, 235, .8) 100%), url(../images/weddingDressPearls.jpg);
    }

    .wedding-playlist {
        grid-template-columns: 1fr 600px 1fr;
    }
}

@media screen and (min-width: 1000px) {
    .template-body {
        background-image: linear-gradient(
            174deg,
            rgba(255, 255, 255, .8) 0,
            rgba(255, 255, 255, .8) 54%,
            #333 54.08%,
            #333 67%,
            #333 67.08%
        ),
        url(../images/weddingDressPearls.jpg);
        background-blend-mode: normal;
        background-size: cover;
        background-position: center center;
    }
    .header,
    .wedding-playlist {
        background-attachment: fixed;
    }
    .wedding-faq {
        grid-template-columns: 1rem 1fr 1rem;
    }

    .wedding-faq,
    .wedding-playlist {
        padding: 5em 0;
    }
}
