.magnificat {
    text-align: center;
    font-size: 20px;
    max-width: 1100px;
    color: #cac2c2;
    margin: 0 auto;
    padding: 60px 20px 120px 20px;
    line-height: 2;
    letter-spacing: 1.3px;
}

.thanks {
    font-size: 25px;
    color: #b7a5ad;
    position: absolute;
    top: -70px;
    text-align: center;
    width: 300px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.magnificat-container {
    background: linear-gradient(to bottom, #000000, #230f0e);
}

body {
    margin: 0;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #421d1d;
}

.no-overflow {
    overflow: hidden
}

.header {
    background-color: #1a090f;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
}

.header-container {
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 1700px;
    margin: 0 auto;
}

.logo {
    width: 110px;
    position: absolute;
}

.header-links {
    float: right;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.header-link {
    color: #bda4ad;
    text-decoration: none;
    padding: 20px 15px;
    float: left;
}

.header-link--selected {}

.header-link:hover {
    background-color: #311922;
}

.video-container {
    max-width: 450px;
    margin: 100px auto 40px;
    padding: 10px;
    box-sizing: border-box;
}

.player__wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #311922;
    z-index: 1;
}

.player__wrapper>iframe {
    width: 100%;
    height: 100%;
}

.player__top-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.player__top-container--loading {
    background-color: rgba(0, 0, 0, .5);
}

.player__top-loading {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1.4px;
    color: #fff;
}

.player__close-btn {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px;
    background-color: #171717;
    font-size: 20px;
    cursor: pointer;
    border-radius: 0 0 0 10px;
    line-height: 1;
    pointer-events: all;
    color: #7b7b7b;
}

.player__close-btn:hover {
    background-color: #fff;
}

.one-video {
    width: 100%;
    display: inline-block;
    padding: 10px 10px 20px 10px;
    box-sizing: border-box;
    height: 260px;
    position: relative;
}

.one-video>iframe {
    width: 100%;
    height: 100%;
    background-color: #1a090f;
}

.one-video-abs {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-out;
    flex-direction: column;
    overflow: hidden;
    background-size: cover;
}

.one-video-abs:hover>.btn-one-video {
    background-color: #ff5722;
    color: #fff;
}

.one-video-title {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    background: linear-gradient(to bottom, #000000, #00000000);
    padding: 10px;
    margin-bottom: 5px;
    pointer-events: none;
    position: absolute;
    top: 0;
}

.btn-one-video {
    padding: 8px 20px;
    background-color: white;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 1px 10px 0px rgb(32 33 36 / 42%);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    pointer-events: none;
}

.img-outer-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 1050px;
}

.img-container {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.img-bg {
    width: auto;
}

.img-candle-container {
    position: absolute;
    bottom: 230px;
    left: 0;
    right: 0;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
}

.img-monstrance {
    width: 100%;
}

.img-candle {
    height: 300px;
}

.img-candle-inside {
    height: 300px;
}

.img-candle-left-container {
    display: flex;
    align-items: baseline;
}

.img-candle-right-container {
    display: flex;
    align-items: baseline;
}

.img-candle-middle-container {
    flex: 1 1 auto;
}



@media screen and (max-width: 600px) {
    .magnificat {
        padding-top: 0;
        font-size: 18px;
    }
}


@media screen and (max-width: 550px) {

    .img-candle,
    .img-candle-inside {
        height: 250px;
    }
}

@media screen and (max-width: 500px) {
    .img-bg {
        margin-top: -130px
    }

    .img-outer-container {
        height: 850px
    }
}

@media screen and (max-width: 450px) {

    .img-bg {
        margin-top: -230px
    }

    .img-outer-container {
        height: 750px
    }
}

@media screen and (max-width: 400px) {

    .img-candle,
    .img-candle-inside {
        height: 200px;
    }
}

@media screen and (min-width: 430px) {
    .logo {
        width: 130px;
    }
}

@media screen and (min-width: 600px) {
    .logo {
        width: 140px;
    }

    .img-candle {
        height: auto;
    }
}

@media screen and (min-width: 650px) {
    .img-candle-inside {
        height: auto;
    }
}

@media screen and (min-width: 700px) {
    .logo {
        width: 150px;
    }

    .video-container {
        max-width: 650px;
    }

    .one-video {
        width: 49%;
        padding-bottom: 10px;
    }
}

@media screen and (min-width: 800px) {
    .logo {
        width: 160px;
    }

    .video-container {
        max-width: 750px;
    }
}

@media screen and (min-width: 900px) {
    .logo {
        width: 170px;
    }

    .video-container {
        max-width: 850px;
    }

    .thanks {
        width: 500px;
    }
}

@media screen and (min-width: 1000px) {
    .video-container {
        max-width: 900px;
    }

    .one-video {
        width: 33%;
    }
}

@media screen and (min-width: 1100px) {
    .video-container {
        max-width: 1000px;
    }

    .one-video {
        height: 280px;
    }
}

@media screen and (min-width: 1200px) {
    .video-container {
        max-width: 1100px;
    }

    .one-video {
        height: 300px;
    }
}

@media screen and (min-width: 1300px) {
    .video-container {
        max-width: 1200px;
    }

    .one-video {
        height: 320px;
    }
}

@media screen and (min-width: 1400px) {
    .video-container {
        max-width: 1300px;
    }
}