/* ///////////////////////////////// */
/*              Landing              */
/* ///////////////////////////////// */

@media only screen and (min-width: 0px) {
    body {
        background-color: #0000007c;
        backdrop-filter: blur(6rem) brightness(60%);
        -webkit-backdrop-filter: blur(6rem) brightness(60%);
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
    }

    .main {
        margin: 4rem 0rem 0rem 0rem;
        padding: 1rem 0rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        width: 100%;
        z-index: 2;
    }

    .main-sermon-container {
        width: 100%;
        height: 100%;
        max-width: 1110px;
    }

    .media-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .media-heading a {
        margin: 1rem 1rem 2rem 1rem;
        border: #ffffff .2rem solid;
        border-radius: .75rem;
        padding: .75rem .75rem !important;
        color: #ffffff;
        font-size: 1rem;
        font-weight: bold;
    }

    .main-sermon-container .podcast-wrapper {
        margin: 0rem 1rem 2rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
        margin: 1rem 0rem 2rem 0rem;
        color: white;
        padding: 0rem 1rem;
        line-height: 1.2;
    }

    .main-video-wrapper {
        height: 100%;
        width: 100%;
        aspect-ratio: 16 / 9;
        position: relative;
        margin-bottom: 0rem;
        padding: 0rem 1rem;
    }

    .podcast-buttons {
        margin: 1rem 1rem 0rem 1rem;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: start;
    }

    .podcast-buttons a {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        margin-right: 1rem;
    }

    .podcast-buttons img {
        height: 3rem;
        width: auto;
        text-align: center;
    }

    button {
        padding: 0px 0px !important;
        position: relative;
    }

    .left-arrow {
        display: none;
    }

    .play-button {
        border: .25rem solid white;
        background-color: white;
        color: white;
        border-radius: 3rem;
        padding: .5rem .5rem;
        font-weight: 500;
        width: 3.5rem;
        height: 3.5rem;
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-right: .25rem;
        /* -webkit-box-shadow: 0px 0px 52px -17px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 0px 52px -17px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 0px 52px -17px rgba(0, 0, 0, 0.75); */
        position: absolute;
        top: 47%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: .75;
        filter: invert(1);
        z-index: 3;
    }

    .play-button > img {
        width: 100%;
    }

    .vid {
        width: 100%;
        height: auto;
        z-index: -1;
        position: static;
        background-color: black;
    }

    #yt {
        display: none;
    }

    .video-button {
        background: none;
        border: none;
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .video-heading {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
        text-align: center;
    }

    h2 {
        margin: 0rem 0rem .5rem 0rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: .1rem;
        font-size: 1rem;
        font-weight: 900;
        padding: 0rem 1rem;
    }

    .previous-sermons-h2 {
        text-transform: none;
        font-weight: 700;
        letter-spacing: 1px;
        margin: .5rem 0rem 0rem 0rem;
        font-size: 1.25rem;
    }

    .main-video-title {
        margin: 1.75rem 0rem .75rem 0rem;
        color: white;
        align-self: center;
        text-transform: uppercase;
        letter-spacing: .1rem;
        font-size: 1.5rem;
        font-weight: 800;
    }

    #preacher-name, #sermon-date, .dot {
        text-transform: uppercase;
        color: white;
        font-size: .75rem;
        font-weight: 500;
        letter-spacing: 2px;
    }

    #sermon-date, .dot {
        display: none;
    }

    #sermon-name {
        font-size: 1.2rem;
        letter-spacing: 2px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 1rem 1rem;
        margin-bottom: -.5rem;
    }

    .title-play {
        z-index: 3;
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 2%;
        bottom: 0%;
        left: 0%;
        width: 100%;
        background: linear-gradient(0deg, rgba(24,24,24,0.7) 0%, rgba(12,0,51,0) 100%);
        border-radius: 0rem 0rem 1rem 1rem;
        transform: translateY(-3px);
    }

    .title-play > h2, .title-play p {
        text-shadow: 0px 1px 20px rgba(0,0,0,0.33);
        padding-left: 1rem;
    }

    .title-play>div {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 1%;
        width: 100%;
        padding-bottom: 0rem;
        margin-bottom: 1rem;
    }

    #content > a {
        height: 0%;
    }

    .sermon-desc>p {
        font-size: .8rem;
        color: white;
    }

    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 1rem;
        -webkit-box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
        -moz-box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
        box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
    }

    .main-video-img {
        width: 100%;
        height: auto;
        border-radius: 1rem;
        -webkit-box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
        -moz-box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
        box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.34);
    }
    button {
        display: none;
    }
    .carousel-container {
        max-width: 1150px;
        width: 100%;
        position: relative;
    }
    .video-carousel {
        padding: 0rem 1rem;
        margin: 0rem 0rem .5rem 0rem;
        display: flex;
        align-items: center;
        overflow: auto;
        white-space: nowrap;
        height: 13rem;
        max-width: 1110px;
    }
    /* Hide scrollbar for Chrome, Safari and Opera */
    .video-carousel::-webkit-scrollbar {
        display: none;
    }
    /* Hide scrollbar for IE, Edge and Firefox */
    .video-carousel {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
    .group-item {
        margin-right: 1.8rem;
    }
    .group-img {
        border-radius: .5rem;
        width: 14rem;
        height: calc(9 / 16 * 14rem);
    }
    .group-date {
        color: rgb(182, 182, 182);
        letter-spacing: 1px;
        font-size: .75rem;
        font-weight: 700;
    }
    h3 {
        color: #fff;
        letter-spacing: 1px;
        margin: 0.75rem 0rem 0.33rem 0rem;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 14.2rem;
        font-size: 1rem;
    }
}

@media only screen and (min-width: 768px) {
    .play-button {
        width: 5rem;
        height: 5rem;
        pointer-events: none;
    }
    .play-button > img {
        width: 90%;
    }
    .mobile-only-break {
        display: none;
    }
    .podcast-buttons img {
        height: 3.5rem;
    }
    #sermon-name {
        font-size: 1.8rem;
        padding-left: 1.5rem;
    }
    #preacher-name {
        font-size: .9rem;
        padding-left: 1.5rem;
    }
    .title-play > div {
        margin-bottom: 1.5rem;
    }
    .dot, #sermon-date {
        display: block;
        font-size: .9rem;
        padding-left: 0rem !important;
    }
}

@media only screen and (min-width: 1024px) {
    .video-carousel {
        margin: 1rem 0rem 2rem 0rem;
        display: flex;
        align-items: center;
        height: 11rem;
        max-width: 1110px;
        overflow: auto;
        white-space: nowrap;
    }
    button {
        display:block;
        background: none;
        border: none;
        filter: drop-shadow(0px 0px 11px rgb(255, 255, 255)) invert();
        position: absolute;
        z-index: 3;
    }
    .right-arrow {
        right: 0;
        transform: translateX(-15px) translateY(50px);
    }
    .left-arrow {
        transform: translateX(15px) translateY(50px);
    }
    .group-item {
        margin-right: 1.8rem;
    }
    .group-img {
        border-radius: .5rem;
        width: 14rem;
        height: calc(9 / 16 * 14rem);
    }
}

@media only screen and (min-width: 1300px) {
    .main-video-wrapper {
        transition: .5s all;
    }
    .main-video-wrapper:hover {
        transform: scale(1.025);
    }
    .right-arrow {
        transform: translateX(10px) translateY(50px);
    }
    .left-arrow {
        transform: translateX(-10px) translateY(50px);
    }
}