﻿/*VIDEO AND TEXT*/

.video-text {
    padding: 120px 0;
}

    .video-text .wrapper {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

        .video-text .wrapper .video {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 800px;
            aspect-ratio: 16/9;
            margin-bottom: 30px;
        }

        .video-text .wrapper > .text {
            z-index: 10;
            width: 100%;
            max-width: 800px;
            padding: 0 0 60px 120px;
        }

            .video-text .wrapper > .text .tagline {
                font-size: 1.2rem;
                font-family: "Inconsolata", monospace;
                margin-bottom: 25px;
            }

            .video-text .wrapper > .text .title {
                font-size: 2.6rem;
                font-weight: 800;
                line-height: 1.2;
                margin-bottom: 25px;
            }

            .video-text .wrapper > .text .description > * {
                font-size: 1.1rem;
                line-height: 1.5;
                /*margin-bottom: 25px;*/
            }

            .video-text .wrapper > .text .link {
                display: inline-flex;
                text-decoration: none;
                color: #BE3030;
            }

                .video-text .wrapper > .text .link .text {
                    font-weight: 600;
                    font-size: 1.1rem;
                }

            .video-text .wrapper > .text .material-icons {
                font-size: 1.1rem;
                margin-left: 10px;
                align-items: center;
            }

        .video-text .wrapper .text .link:hover .material-icons {
            margin-left: 15px;
        }

        .video-text .wrapper .graphic {
            position: absolute;
            z-index: -1;
            display: flex;
            justify-content: flex-end;
            align-items: flex-end;
            background: #FBF7EF;
            width: 100%;
            max-width: 800px;
            padding: 80px 0;
            right: 0;
            bottom: 0;
        }

@media screen and (max-width: 768px) {
    .video-text {
        padding: 80px 0 0 0;
    }

        .video-text .wrapper {
            padding: 0 20px;
        }

            .video-text .wrapper > .text {
                padding: 0 0 60px 0;
            }

                .video-text .wrapper > .text .tagline {
                    font-size: 1.1rem;
                }

                .video-text .wrapper > .text .title {
                    font-size: 1.7rem;
                }

                .video-text .wrapper > .text .description {
                    font-size: 1rem;
                }

            .video-text .wrapper .graphic {
                padding: 0;
                height: calc(100% - 80px);
                overflow: hidden;
            }

                .video-text .wrapper .graphic svg {
                    margin-bottom: -80px;
                }

                    .video-text .wrapper .graphic svg .artifacts {
                        display: none;
                    }
}
/*END OF VIDEO AND TEXT*/
