.container--band {
    display: flex;
    margin: 0 auto;
    grid-column: 1/end;
    flex-wrap: wrap;
}

.container--band-2-col {
    display: inline-flex;
    flex-wrap: wrap-reverse;
    gap: 2rem;
}

.container--band-centered {
    max-width: 75%;
    text-align: center;
}

.container--band-with-aside {
    max-width: 75%;
    align-items: center;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 2rem;
}

.container--band-cta {
    flex-flow: column;
    gap: 2rem;
}

.container--band-team {
    display: grid;
    /* Partially responsive fallback */
    /*grid-template-columns: repeat(auto-fill, minmax(calc(10% + 7.5rem), 1fr));*/

    /* Fully responsive version */
    grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr));
    grid-gap: 1rem;
}

.container--main {
    padding: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(calc(10% + 7.5rem), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr));
    display: grid;
    grid-gap: 2rem;
    margin: 0 auto;
}

.container--main-video {
    display: flex;
    place-content: center;
    max-height: max-content;
}
.container--main-video ~ .redhat-footer {
    position: absolute;
    bottom: 0;
}
.container--full {
    grid-column: 1/end;
}

.container--front-video {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    grid-gap: 2rem;
    margin-bottom: 3rem;
    background: var(--primary-nav-color);
    padding: 2rem;
}

.container--front-video a {

}


/* Footer starts */

.container,
footer {
    position: relative;
}

.wrapper,
footer .row {
    margin: 0 auto;
    padding: 2rem;
}

.row {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

.row.row-wrap {
    flex-wrap: wrap;
}

.row.row-top {
    align-items: flex-start;
}

.row.row-bottom {
    align-items: flex-end;
}

.row.row-center {
    align-items: center;
}

.row.row-stretch {
    align-items: stretch;
}

.row.row-baseline {
    align-items: baseline;
}

.row .column {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}

.row .column iframe {
    padding-left: 20px !important;
    padding-right: 20px !important;
}


.list--unstyled {
    padding-left: 0;
    list-style: none;
    margin-top: 0;
    margin-bottom: 10px;
}

.list--unstyled li {
    margin-bottom: 10px;
}

.list--sublist li {
    margin-left: 2rem;
}

.card {
    display: grid;
    grid-area: main;
    grid-auto-rows: minmax(5rem, auto);
    grid-template-areas: "head" "body" "foot";
}

.card--project {
    max-width: 400px;
    text-align: center;
    align-items: center;
    grid-template-areas: "head" "body";
    padding: 2rem;
    margin: 0 auto;
}

.card .card-header {
    grid-area: head;
    margin: 0 auto;
}

.card .card-body {
    grid-area: body;
}

.card .card-footer {
    grid-area: foot;
}

.card--team {
    grid-area: unset;
}

.card--team .card-body {
    margin: 0 auto;
}

.card--team .member-picture {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-size: cover;
    position: relative;
    box-shadow: 0 0 0 10px #f8f8f8;
    border-radius: 100%;
    border-bottom: 2px solid #ddd;
}

.card--team .member-name {
    font-weight: 600;
}

.card--team .member-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.card--blog-list .card--body {
    display: grid;
    grid-template-columns: repeat(1, minmax(130px, 1fr));
    align-items: center;
    grid-gap: 2rem;
    font-size: 16pt;
    zoom: 0.7;
    font-family: RedHatText, "Red Hat Text", Overpass, Overpass, "Helvetica Neue", Arial, sans-serif;
}

.card--blog-list .card-header a {
    color: #475058;
    text-decoration: none;
}

@media (min-width: 950px) {
  .card--blog-list .card--body {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

@media (min-width: 1250px) {
  .card--blog-list .card--body {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (min-width: 2000px) {
  .card--blog-list .card--body {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }
}

.video-playlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
}

.video-playlist--wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    /* border: 1px solid #ececec; */
}

.video-playlist--wrapper iframe {
    position: absolute;
    border: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .container--front-video .video-playlist--wrapper {
        grid-row-start: 2;
    }
    .container--front-video .front-video-text {
        grid-row-start: 1;
    }

    .container--front-video {
        grid-template-columns: unset;
    }
}

/* center the blockquote in the page */
.blockquote-wrapper {
    display: flex;
    padding: 0 20px;
}

/* Blockquote main style */
.blockquote {
    position: relative;
    font-family: 'Barlow Condensed', sans-serif;
    max-width: 620px;
    margin: 80px auto;
    align-self: center;
}

/* Blockquote header */
.blockquote h1 {
    font-family: 'Abril Fatface', cursive;
    position: relative; /* for pseudos */
    color: black;
    font-size: 2.8rem;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    border: solid 6px var(--secondary-color);
    border-radius:20px;
    padding: 25px;
}

/* Blockquote right double quotes */
.blockquote h1:after {
    content:"";
    position: absolute;
    border: 6px solid var(--secondary-color);
    border-radius: 0 50px 0 0;
    width: 60px;
    height: 60px;
    bottom: -60px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 3;
}

.blockquote h1:before {
    content:"";
    position: absolute;
    width: 80px;
    border: 6px solid white;
    bottom: -7px;
    left: 55px;
    z-index: 2;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
    .blockquote h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

}

/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left:150px;
    padding-left:12px;
}


.blockquote h4:first-letter {
    margin-left:-12px;
}

.button {
    display: block;
    border-radius: 5px;
    text-decoration: none;
}

.button--cta {
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 2.25rem;
}

.button--cta-primary {
    padding: 3rem;
    color: var(--cta-primary-color);
    background-color: var(--cta-primary-background-color);
    text-shadow: 2px 2px 2px var(--cta-secondary-color);
}

.button--cta-secondary {
    color: var(--cta-secondary-color);
    background-color: var(--cta-secondary-background-color);
    text-shadow: 2px 2px 2px var(--cta-primary-color);
}

.slider {
    text-align: center;
    overflow: hidden;
}

.slider-container {
}

.slides {
    display: flex;
    overflow-x: auto;
    aspect-ratio: 16/9;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.slides::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
    background: transparent;
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    margin-right: 50px;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.slides iframe {
    position: relative;
    border: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider>a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary-nav-color, #f8f8f8);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
    padding: 1.5rem;
    color: #475058;
}

.slider>a:active {
    top: 1px;
}

.slider>a:focus {}
/* Don't need button navigation */

@supports (scroll-snap-type) {
    .slider>a {
        display: none;
    }
}
:root {
    --secondary-color: #adadad;
    --cta-primary-color: white;
    --cta-secondary-color: black;
    --cta-primary-background-color: #f78e00;
    --cta-secondary-background-color: #96d4e9;
    --primary-nav-color: #f8f8f8;
}

*,
:after,
:before {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-family: RedHatText,"Red Hat Text",Overpass,Overpass,"Helvetica Neue",Arial,sans-serif;
    /* I haven't figured out where the offending element is, hack it for now */
    overflow: auto;
}

body {
    color: #475058;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

#overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s;
}

.small {
    font-size: 85%;
}

/* responsive view */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .container h2,
    footer h2 {
        padding-left: 2.25rem;
    }

    .container h2:before,
    footer h2:before {
        left: 1rem;
    }

    ul {
        padding-left: 2rem;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width: 321px) {
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 320px) {
}

/* tablets (portrait and landscape) ----------- */
@media only screen and (max-width: 1023px) {
}

/* Tablets and potentially laptops */
@media screen and (max-device-width: 1024px) {
}

/* larger laptops and iPad Pro */
@media only screen and (min-device-width: 1300px) {
}

/* large screens */
@media only screen and (min-width: 1301px) {
}

@media only screen and (min-width: 1440px) {
}

/* 4k */
@media only screen and (min-width: 2560px) {
}

/* tablets (landscape) ----------- */
@media only screen and (max-device-width: 1024px) and (orientation: landscape) {
    /* Styles */
}

/* tablets (portrait) ----------- */
@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
    /* Styles */
}

img {
    max-width: 100%;
}

/* Footer ends */

