TV
/* author: https://codepen.io/ecemgo/pen/abrYOGG
Ecem Gokdogan
 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #4e4545;
    font-family: "Quicksand", sans-serif;
}

.swiper-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
}


/* content */

.content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 14%;
    left: 3%;
    width: 40%;
    height: max-content;
    color: #000000;
    text-align: center;
    padding: 20px;
    opacity: 0;
    z-index: 2;
    text-shadow: #c6c8ec 6px -6px 10px, #000000 -6px 6px 10px;
}

.content h1 {
    font-family: "Lovely Home";
    font-size: clamp(2rem, 3vw, 6rem);
    margin-bottom: 20px;
    opacity: 0;
}

.content p {
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0;
}

.swiper-slide-active .content {
    opacity: 1;
}

.swiper-slide-active .content h1 {
    animation: moveDown 0.8s ease-in forwards;
}

.swiper-slide-active .content p {
    animation: moveDown 1s ease-in forwards;
    animation-delay: 1s;
}

@keyframes moveDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* background */

.background[data-item="one"] {
    background: url(cs1.jpg);
    background-size: cover;
    background-position: 50% 40%;
}

.background[data-item="three"] {
    background: url(cs2.jpg);
    background-size: cover;
    background-position: 50% 40%;
}

.background[data-item="four"] {
    background: url(cs3.jpg);
    background-size: cover;
    background-position: 50% 60%;
}

.background[data-item="five"] {
    background: url(cs4.jpg);
    background-size: cover;
    background-position: 50% 40%;
}

.background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: circle(5%);
    filter: brightness(90%);
    overflow: hidden;
    opacity: 0;
    z-index: 1;
}

.animation {
    animation: resizeClipPath 3s ease-in-out forwards;
}

@keyframes resizeClipPath {
    0% {
        clip-path: circle(5%);
        opacity: 0;
    }
    100% {
        clip-path: circle(70%);
        opacity: 1;
    }
}


/* pagination bullet */

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: #000000;
    border-radius: 50%;
    transition: all 0.6s ease-in-out;
}

.swiper-pagination-bullet-active {
    height: 32px;
    background-image: linear-gradient(180deg, #30393c 0%, #100f0f 100%);
    border-radius: 44px;
}


/* media queries */

@media (max-width: 1200px) {
    .content {
        top: 18%;
    }
    .content[data-content="two"],
    .content[data-content="three"] {
        top: 5%;
        width: 50%;
    }
}

@media (max-width: 900px) {
    .content,
    .content[data-content="three"] {
        top: 55%;
        left: 2%;
        width: 60%;
    }
    .content[data-content="two"] {
        top: 10%;
    }
    .content h1 {
        margin-bottom: 14px;
    }
    .content p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .feature i {
        font-size: 1.3rem;
    }
    .feature p {
        font-size: 1rem;
    }
    .btn {
        padding: 8px 16px;
    }
}

@media (max-width: 790px) {
    .footer {
        column-gap: 10px;
    }
    .feature i {
        font-size: 1.1rem;
    }
    .feature p {
        font-size: 0.9rem;
    }
    .feature small {
        font-size: 0.8rem;
    }
    .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

@media (max-width: 660px) {
    .content,
    .content[data-content="two"],
    .content[data-content="three"] {
        top: unset;
        left: 2%;
        bottom: 3%;
        width: 80%;
    }
    .content p {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    .background[data-item="two"] {
        background-position: 40% 50%;
    }
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
    .swiper-pagination-bullet-active {
        height: 24px;
    }
    .footer {
        column-gap: 0;
        left: unset;
        bottom: unset;
        top: 20px;
        right: -30px;
        padding: 0;
        border-radius: 0;
        border: 0;
        background-color: transparent;
        box-shadow: unset;
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
    .feature,
    hr {
        display: none;
    }
}