/* ///////////////////////////////// */
/*              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;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        width: 100%;
        z-index: 2;
        padding: 1rem 0rem;
    }
    .main-sermon-container {
        width: 100%;
        height: 100%;
        max-width: 1110px;
    }
    h1 {
        font-size: 2.5rem;
        margin: 1rem 0rem 2rem 0rem;
        color: white;
        padding: 0rem 1rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 90vw;
        line-height: 1.2;
    }
    .main-video-wrapper {
        height: 100%;
        width: 100%;
        aspect-ratio: 16 / 9;
        position: relative;
        margin-bottom: 0rem;
        padding: 0rem 1rem;
    }
    button {
        padding: 0px 0px !important;
        position: relative;
    }
    .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;
        gap: 5%;
        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);
    }
    .play-button img {
        height: 2rem;
        width: auto;
    }
    .vid {
        width: 100%;
        height: auto;
        z-index: -1;
        position: static;
        background-color: black;
    }
    #yt {
        display: none;
    }
    .video-button {
        background: none;
        border: none;
    }
    .video-heading {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
        text-align: center;
    }
    h2 {
        margin: 0rem 0rem .75rem 0rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: .1rem;
        font-size: 1rem;
        font-weight: 600;
        padding: 0rem 1rem;
    }
    .previous-sermons-h2 {
        text-transform: none;
        font-weight: 700;
        letter-spacing: 1px;
        margin: .5rem 0rem 0rem 0rem;
        font-size: 1.25rem;
    }
    h3 {
        color: #fff;
    letter-spacing: 1px;
    margin: 0.75rem 0rem 0.33rem 0rem;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 14.2rem;
    font-size: 1rem;
    }
    .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 {
        text-transform: uppercase;
        color: white;
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: .5rem;
        letter-spacing: 1px;
    }
    #sermon-date {
        text-transform: uppercase;
        font-size: .75rem;
        color: white;
        letter-spacing: 1px;
    }
    .title-play {
        display: flex;
        justify-content: space-between;
        gap: 3%;
        height: 56px;
        margin: 0rem 0rem 3rem 0rem;
        padding: 0rem 1rem;
    }
    .title-play > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .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 0.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;
    }
}
@media only screen and (min-width: 410px) {
    h1 {
        font-size: 2.5rem;
        margin: 1rem 0rem 2rem 0rem;
        color: white;
    }
}

@media only screen and (min-width: 768px) {
    .mobile-only-break{
        display: none;
    }
    .play-button {
        width: 15vw;
    }
    h1 {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 1024px) {
    .play-button {
        width: 12vw;
    }
    .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) {
    .play-button {
        width: 10vw;
    }
    .right-arrow {
        transform: translateX(10px) translateY(50px);
    }
    .left-arrow {
        transform: translateX(-10px) translateY(50px);
    }
}