.bcs__wrapper {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow: hidden;
}

.bcs__container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.bcs__side {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    transition: flex 0.5s ease, background-color 0.5s ease;
    flex: 1;
    cursor: pointer;
    background-color: var(--bcs-bg);
    color: var(--bcs-color);
}

.bcs__container:has(.bcs__side--left:hover) .bcs__side--right,
.bcs__container:has(.bcs__side--right:hover) .bcs__side--left {
    background-color: transparent;
}

    .bcs__container:has(.bcs__side--left:hover) .bcs__side--right .bcs__content,
    .bcs__container:has(.bcs__side--right:hover) .bcs__side--left .bcs__content {
        visibility: hidden;
    }

.bcs__content {
    position: relative;
    z-index: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 260px;
}

.bcs__title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.bcs__description {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.bcs__side:hover .bcs__description {
    opacity: 1;
    max-height: 200px;
}

.bcs__button {
    display: inline-block;
    border: 1px solid currentColor;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    width: fit-content;
    transition: background-color 0.3s, color 0.3s;
}

    .bcs__button:hover {
        background-color: currentColor;
    }

.bcs__image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 90%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.bcs__side:hover .bcs__image {
    opacity: 1;
    transform: translateX(0);
}

.bcs__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 768px) {
    footer {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .bcs__container {
        flex-direction: column;
        height: 100%;
    }

    .bcs__side {
        min-height: 0;
    }

    .bcs__container:has(.bcs__side--left:hover) .bcs__side--left,
    .bcs__container:has(.bcs__side--right:hover) .bcs__side--right {
        flex: 1.5;
    }

    .bcs__description {
        opacity: 1;
        max-height: none;
    }

    .bcs__image {
        opacity: 0.3;
        transform: none;
    }

    .bcs__title {
        font-size: 26px;
    }
}
