@import '_colors';
@import 'custom_fonts';

.banner {
    height: 30vh;
    background-image: url('../images/cover-image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    position: relative;

    &:after {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgba($color: $dark_brown, $alpha: 0.6)
    }

    h3 {
        text-align: center;
        align-self: center;
        font-size: $heading_size;
        color: white;
        z-index: 1;
    }
}

.service-content {
    width: 90%;
    margin: 60px auto;
    display: flex;
    justify-content: space-between;

    .scene-container {
        overflow: hidden;
        width: 70%;
        background-color: $lightest_gray;
    }

    object {
        overflow-x: hidden;
        display: none;
        width: 100%;
        height: 100%;

        &.active {
            display: block;

            @media screen and (max-width: 1024px) { 
                display: none;
            }
        }
    }

    iframe {
        display: none;

        @media screen and (max-width: 1024px) {
            &.active {
                display: block;
            }
        }
    }

    ul {
        width: 25%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;

        li {
            list-style: none;
            padding: 10% 0;
            border-bottom: 2px solid white;
            text-align: center;
            cursor: pointer;
            background-color: #fcfcfc;
            color: #808285;

            &.active {
                background-color: $blue;
                color: white;
            }

            &:last-child {
                border-bottom: none;
            }
        }
    }
}