@charset "utf-8";
body {
    /* overflow-x: hidden; */
}
.container {
}
.visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.visual .home-img {
    width: 150px;
    margin-top: 0px;
}
.visual .home-img img {
    width: 100%;
}
.visual #animatedStr {
    font-size: 230px;
    font-family: "Lobster";
    font-weight: 400;
    letter-spacing: -2px;
}
.typed-cursor {
  display: none;
}

.card {
}
.sw-card {
    width: 300px;
    height: 430px;
    margin: 70px;
    animation: cards 1.3s ease-out 2.7s backwards; 
}
@keyframes cards {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.sw-card .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    position: relative;
}
.sw-card .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}
/* progress bar */
.sw-card .swiper-slide .autoplay-progress {
  position: absolute;
  top: 30px;
  left: 10%;
  transform: translateY(-50%) !important;
  width: 80%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 5px;
}
.sw-card .swiper-slide .progress-bar {
  width: 0%;
  height: 100%;
  background-color: #fff;
  transition: width 0s;
  border-radius: 5px;
}
.sw-card .swiper-slide .card-dm {
    width: 80%;
    height: 8%;
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sw-card .swiper-slide .card-dm  span {}
.sw-card .swiper-slide .card-dm  span:first-child {
    display: block;
    width: 80%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid #fff;
}
.sw-card .swiper-slide .card-dm  span:last-child {
    width: 13%;
    line-height: 0;
}

.story {
    z-index: 100;
    position: absolute;
    top: 50px;
    left: -30px;
    transform: rotate(-10deg);
}
.story span {}
.story span:nth-child(1) {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 10px;
    border-radius: 15px;
    background-color: #fff;
    text-align: center;
    font-size: 20px;
}
.story span:nth-child(2) {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background-color: #fff;
    position: absolute;
    left: 30%;
    top: 80%;
}
.story span:nth-child(3) {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 7px;
    background-color: #fff;
    position: absolute;
    left: 45%;
    top: 120%;
}
.friend {
    position: absolute;
    top: 50%;
    right: -40px;
    z-index: 100;
    width:25%;
    height: 8%;
    padding: 5px 0;
    border-radius: 10px;
    background-color: #1CD14F;
    text-align: center;
    transform: rotate(8deg);
}
.friend img {
    width: 25px;
}

footer {
    /* position: relative; */
}

/* 반응형 */
@media screen and (max-width: 1680px) {
    .sw-card {
        width: 250px;
        height: 360px;
    }
    .friend {
        padding: 3px 0;
    }
}
@media screen and (max-width: 1480px) {
    .visual #animatedStr {
        font-size: 200px;
    }
    .sw-card {
        width: 220px;
        height: 320px;
        margin-left: 100px;
    }
    .friend img {
        width: 20px;
    }
}
@media screen and (max-width: 1280px) {
    .visual .home-img {
        width: 130px;
        margin-top: 30px;
    }
    .visual #animatedStr {
        font-size: 150px;
    }
    .sw-card {
        width: 200px;
        height: 300px;
        margin-left: 45px;
    }
}
@media screen and (max-width: 980px) {
    .visual {
        justify-content: center;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .visual .home-img {
        flex-basis: 20%;
    }
    .visual #animatedStr {
        flex-basis: 80%;
    }
    .sw-card {
        display: block;
        margin: 0 auto;
    }
    .sw-card .swiper-slide {
        border-radius: 20px;
    }
    .story span:nth-child(1) {
        font-size: 15px;
    }
    .friend {
        border-radius: 5px;
    }
}
@media screen and (max-width: 680px) {

    .visual .home-img {
        width: 60px;
        margin-top: 20px;
    }
    .visual #animatedStr {
        font-size: 80px;
    }
    .sw-card {
        width: 150px;
        height: 220px;
    }
    .friend img {
        width: 15px;
    }
}