.experience-layouts-youtube_video {
    margin-bottom: 50px !important;
}

.youtube-video {
    background-color: var(--background_color);
    padding: 50px 0;
}

.youtube-video-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.youtube-video-text-container {
    position: relative;
    margin-bottom: 30px;
}

.youtube-video-header-text {
    position: relative;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: var(--text_color, black);
}

.youtube-video-embed-container-outer {
    margin: 0 auto;
    width: 70%;
}

.youtube-video-embed-container {
    margin: 0 auto;
    border-radius: 20px 0 20px 0;
    overflow: hidden;
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

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

@media screen and (max-width: 1440px) {
    .youtube-video-container {
        padding: 0 3%;
    }
}

@media screen and (max-width: 900px) {
    .youtube-video-container {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .youtube-video-embed-container-outer {
        width: 90%;
    }
    .youtube-video-text-container {
        margin-bottom: 15px;
    }
    .youtube-video-header-text {
        font-size: 1.75em;
    }
}

@media screen and (max-width: 550px) {
    .youtube-video-header-text {
        font-size: 1.5em;
    }
    .youtube-video {
        padding: 25px 0;
    }
    .youtube-video-embed-container-outer {
        width: 100%;
    }
    .youtube-video-embed-container {
        border-radius: 0;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media screen and (max-width: 400px) {
    .youtube-video-header-text {
        font-size: 1.2em;
    }
}