* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.mobile {
    display: none;
}

.brand-container {
    display: flex;
    overflow: hidden;
    height: 100vh;
}

.brand-node {
    position: relative;
    cursor: pointer;
    width: 50%;
}

.brand-node#audio {
    border-right: 5px solid black;
    z-index: 999;
}

#audio .product-collage {
    margin-left: -9px;
}

.brand-node#communications {
    border-left: 5px solid black;
}

.brand-node img.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-collage {
    display: block;
}

#communications .product-collage {
    margin-left: 15vw;
}

#audio .main p,
#communications .main p {
    flex-direction: row;
    color: white;
    text-align: center;
    font-weight: bolder;
    font-size: 26pt;
    margin-top: 30px;
    width: 100%;
}

#audio .overlay p,
#communications .overlay p {
    margin-top: 30px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    color: white;
    font-weight: bolder;
    font-size: 26pt;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.brand-node:hover .overlay {
    opacity: 1;
}

.brand-node .overlay .content {
    width: 34vw;
    position: relative;
}

.brand-node .overlay .content img {
    width: 20vw;
}

.brand-node#audio .overlay {
    justify-content: left;
}

.brand-node#audio .overlay .content {
    top: 7px;
    left: 2vw;
    text-align: left;
}

.brand-node#communications .overlay {
    justify-content: right;
}

.brand-node#communications .overlay .content {
    right: 2vw;
    text-align: right;
}

.main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.41);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

#communications {
    background-image: url("./../images/comm-bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
}

#communications .overlay {
    background: rgb(51, 96, 162, 0.85);
}

#audio .overlay {
    background: rgb(0, 0, 0, 0.77);
}

.brand-node:hover .main {
    opacity: 0;
}

.brand-node .main .content {
    width: 25vw;
    display: table;
    flex-direction: column;
    position: relative;
    top: 50px;
}

.learn-more-btn {
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 16pt;
    font-weight: normal;
    display: inline-block;
}

#audio .learn-more-btn {
    background: black;
    border: 5px solid white;
}

#audio .overlay .learn-more-btn {
    margin-top: 10px;
}

#communications .learn-more-btn {
    background: #7AC943;
    border: none;
}


#blue-bar {
    position: absolute;
    left: -97px;
    top: -12px;
    width: 135px;
    height: 101vh;
    background-color: rgb(51, 96, 162);
    box-shadow: 16px -5px 75px rgb(0, 0, 0, 0.5);
    z-index: 9;
    transform: rotateY(0deg) rotate(7deg);
}

#green-bar {
    position: absolute;
    left: -198px;
    top: 202px;
    width: 211px;
    height: 101vh;
    background-color: rgb(152, 196, 86);
    z-index: 9;
    transform: rotateY(0deg) rotate(-14deg);
    box-shadow: 16px -5px 75px rgb(0, 0, 0, 0.5);
}

.tagline {
    font-size: 24px;
    font-weight: normal;
    margin-top: 20px;
    max-width: 450px;
}

#communications .overlay .content img {
    margin-right: -20px;
}

#communications .overlay .content .tagline {
    float: right;
}

#audio .mobile {
    background-image: url('./../images/Audio-Mobile.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    padding: 35px;
}

#communications .mobile {
    background-image: url('./../images/Comm-Mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    padding: 35px;
}


/* Mobile View */
@media (max-width: 980px) {
    .brand-node {
        margin-left: -6px;
    }

    .brand-node#audio {
        border-right: none;
    }

    .brand-node#communications {
        border-left: none;
    }

    #communications .mobile {
        text-align: right;
    }

    #communications .mobile img {
        margin-bottom: -5px;
    }

    .overlay {
        font-size: 16pt;
    }

    .brand-node .main .content {
        top: 0;
    }

    .brand-node#audio .overlay .content {
        top: 0;
    }

    .brand-node#communications .overlay .content {
        top: 0;
    }

    .learn-more-btn {
        padding: 5px 10px;
        font-size: 16px;
    }

    #communications .learn-more-btn {
        margin-right: 25px;
    }

    #communications .learn-more-btn {
        margin-top: 0px;
    }

    #audio .learn-more-btn {
        border: 2px solid white;
    }

    .learn-more-btn {
        margin-top: 20px;
    }

    .image-container {
        display: inline-block;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .brand-container {
        flex-direction: column;
    }

    .brand-node {
        width: auto;
    }

    .mobile {
        display: block !important;
    }

    .mobile .logo {
        width: 50%;
    }

    .mobile p {
        font-weight: bold;
        color: #fff;
        font-size: 16px;
    }

    #communications .mobile p {
        font-weight: bold;
        color: #fff;
        font-size: 24px;
        margin-right: 12px;
    }

    #audio .mobile p {
        font-weight: bold;
        color: #fff;
        font-size: 24px;
    }

    #audio .product-collage {
        width: 80%;
        padding-right: 30%;
    }

    #communications .product-collage {
        width: 50% !important;
        float: right;
        margin-left: 0;
    }

    .brand-container {
        overflow: scroll;
    }

    .main,
    .background,
    .overlay,
    #blue-bar,
    #green-bar {
        display: none !important;
    }

    #communications .learn-more-btn {
        margin-right: 10px !important;
    }

    #communications .mobile p {
        margin-right: 6px !important;
    }

    #communications .mobile p,
    #audio .mobile p {
        margin-top: 20px;
        font-size: 17px !important;
    }

    #communications .learn-more-btn {
        margin-top: unset !important;
    }
}

@media (max-width: 600px) {
    #communications .mobile .product-collage {
        width: 60% !important;
    }
}

/* @media (max-width: 480px) {
    #communications .mobile .product-collage {
        width: 80% !important;
    }
} */