.project-scroll {
    height: 300vh;
    position: relative;
    background: #0b0b0b;
}

.content-side h1 {
    margin: 0;
}

.sticky-wrap {
    position: sticky;
    top: 0;
    height: 100vh;

    display: flex;
    align-items: center;
    overflow: hidden;
}

.image-side,
.content-side {
    width: 50%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.device-img,
.panel {
    position: absolute;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.6s ease;
        
}

.device-img.active,
.panel.active {
    opacity: 1;
}

.device-img {
    width: 50%;
    object-fit: contain;
}

.panel {
    max-width: 400px;
}

.panel h2 {
    font-size: 64px;
    margin-bottom: 16px;
}

.panel p {
    color: #999;
    line-height: 1.5;
    min-height: 200px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .panel p {
    display: none;
}

    .sticky-wrap {
        height: 100vh;
        display: grid;
        grid-template-rows: 70% 15%;
        overflow: hidden;
    }

    .image-side,
    .content-side {
        width: 100%;
    }

    .device-img {
        width: 100%;
        padding: 20%;
        margin-top: 50px;
        max-width: 400px;
    }
img.device-img.tablet {
    width: 100% !important;
    padding: 0 !important;
}
.content-side h1 {
    font-size: 30px;
    padding: 0;
}
    .panel {
        text-align: left;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        align-items: center;
    }

    .panel h2 {
        font-size: 42px;
    }
}
button.button-text {
    width: fit-content;
}

.panel a{
    color: #1BFD9C;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 99999;
    pointer-events: visible;
}

