/* TV Container */
.tv-container {
    position: relative;
    /* max-width: 800px; */
    max-width: 100%;
    /* margin: 50px auto; */
    /* padding: 20px; */
}

.tv-container .tv-frame {
    position: relative;
    background: #2d1e0f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    /* background-image: url('../images/tv-removebg-preview.png'); */
}

.tv-container .tv-screen {
    position: relative;
    overflow: hidden;
    border: 3px solid #555;
    border-radius: 5px;
    aspect-ratio: 4/3;
}

/* Slider */
.tv-container .slider {
    display: flex;
    width: 100%;
    transition: transform 1s ease-in-out;
}

.tv-container .slide {
    min-width: 100%;
    position: relative;
}

.tv-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Captions */
.tv-container .title-container {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    text-align: left;
    background-color: aqua;
    padding-left: 30px;
}

.tv-container .slide-caption {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 0 15px;
}

.tv-container .slide-caption.active {
    opacity: 1;
}

.tv-container .slide-title {
    /* color: #000;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out; */

    /*  */


    font-family: "JetBrains Mono", 'Plus Jakarta Sans';
    color: #3866FF;
    font-size: 24px;
    font-weight: 500;
    line-height: 31.68px;
    margin-bottom: 5px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);


}

.tv-container .slide-description {
    /* color: red; */
    /* font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.4;
    max-width: 80%; */
    /* margin: 0 auto; */
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
    /* opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out 0.2s; */

    /*  */


    font-family: "JetBrains Mono", 'Plus Jakarta Sans';
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out 0.2s;
}

.tv-container .slide-caption.active .slide-title,
.tv-container .slide-caption.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

/* TV Decorations */
.tv-container .tv-knob {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
    bottom: 10px;
}

.tv-container .tv-knob.left {
    left: 30px;
}

.tv-container .tv-knob.right {
    right: 30px;
}

.tv-container .tv-antenna {
    position: absolute;
    width: 4px;
    height: 40px;
    background: #666;
    top: -50px;
}

.tv-container .tv-antenna.left {
    left: 30%;
    transform: rotate(-20deg);
}

.tv-container .tv-antenna.right {
    right: 30%;
    transform: rotate(20deg);
}

.tv-container .tv-container {
    display: flex;
    flex-direction: row;
}


.tv-container .tv-frame {
    position: relative;
    background: transparent;
    padding: 19px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0);
    /* background-image: url(../images/tv-removebg-preview.png); */
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.tv-container .tv-screen {
    position: relative;
    overflow: hidden;
    /* border: 3px solid #555; */
    /* border-radius: 5px; */
    aspect-ratio: 4 / 3;
    width: 101%;
    /* clip-path: url(../images/tv-removebg-preview.png); */
}

.tv-container .old-tv-screen {
    position: absolute;
    height: auto;
    width: 100%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    /* background-color: cyan; */
    z-index: 9;
    background-image: url(../images/tv-removebg-preview.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 52px 4px;
    scale: 1.28;

}

@media all and (min-width: 1025px) {
    .tv-frame {
        width: 509px;
    }

    .title-div {
        width: calc(100% - 509px);
        position: absolute;
        top: 0px;
        left: calc(509px);
    }
}

@media all and (max-width: 1024px) {
    .tv-container .tv-frame {
        width: 350px;
    }

    .tv-container .old-tv-screen {
        position: absolute;
        height: auto;
        width: 100%;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        /* background-color: cyan; */
        z-index: 9;
        background-image: url(../images/tv-removebg-preview.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 24px 0px;
        scale: 1.15;
    }

    .title-container {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: left;
        background-color: aqua;
        padding-left: 30px;
    }

    .tv-container .title-container {
        position: absolute;
        bottom: -22px;
        left: 0;
        right: 0;
        text-align: left;
        background-color: aqua;
        padding-left: 30px;
    }

    .tv-container .slide-title {
        font-size: 20px;
        font-weight: 500;
        line-height: 26px;
    }

    .tv-container .slide-description {
        font-size: 16px;
        line-height: 20px;
    }

}