/*-----------------------------------------------------------------------------------

    CSS INDEX
    ===================

    1. - GENERAL

    2. - CUSTOMIZE THE CAROUSEL

    3. - RESPONSIVE

-----------------------------------------------------------------------------------*/


/* 1. - GENERAL
-------------------------------------------------- */
* {
    --title-font: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
}

/* 2. - CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    height: 100vh;
}

/* Carousel control position */
.carousel-control-next,
.carousel-control-prev {
    top: auto;
    bottom: 2rem;
    width: auto;
    border: 1px solid #000;
    border-radius: 50%;
    padding: .5rem;
    transition: all .3s ease-in-out;
    opacity: 1;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
    background-color: #000;
}

.carousel-control-prev {
    left: auto;
    right: 5.5rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    filter: brightness(0) grayscale(1);
    transition: filter .3s ease-in-out;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(1) grayscale(0);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    padding: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-inner,
.carousel-item {
    height: 100%;
}

/* Carousel custom class */
.carousel-caption>.row {
    width: 100%;
}

.carousel-media {
    position: relative;
    width: max-content;
    margin: 0 auto;
}

.carousel-box-rounded {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 320px;
    width: 230px;
    border-radius: 45%;
    overflow: hidden;
    z-index: -1;
}

.carousel-img {
    max-height: 450px;
    filter: drop-shadow(0px 0px 100px #fff);
}

.carousel-bg-img {
    height: 130%;
    width: 130%;
    min-width: 130%;
    object-fit: cover;
    transform: translate(-18%, -15%);
    opacity: 1;
    scale: 1;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
}

.carousel-item-start .carousel-img,
.carousel-item-prev .carousel-img {
    transform: scale(1.4);
    transition: transform .8s ease-in-out, opacity .8s ease-in-out;
    opacity: 0;
}

.carousel-item-next .carousel-img,
.carousel-item-end .carousel-img {
    transform: scale(1);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .8s ease-in-out;
}

.carousel-item-start .carousel-bg-img,
.carousel-item-prev .carousel-bg-img {
    scale: .8;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
    opacity: 0;
}

.carousel-item-next .carousel-bg-img,
.carousel-item-end .carousel-bg-img {
    scale: 1;
    opacity: 1;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
}

.carousel-label {
    display: block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 500;
}

.carousel-title {
    font-size: 5rem;
}

.carousel-price {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Nanum Myeongjo', serif;
}

.carousel-item-next .carousel-label,
.carousel-item-prev .carousel-label,
.carousel-item-next .carousel-desc-ttl,
.carousel-item-prev .carousel-desc-ttl {
    transform: translateY(15px);
    opacity: 0;
    transition: transform .4s ease-in-out, opacity .4s ease-in-out;
}

.carousel-item-next .carousel-title,
.carousel-item-prev .carousel-title,
.carousel-item-next .carousel-desc-txt,
.carousel-item-prev .carousel-desc-txt {
    transform: translateY(25px);
    opacity: 0;
    transition: transform .6s ease-in-out, opacity .6s ease-in-out;
}

.carousel-item-next .carousel-price,
.carousel-item-prev .carousel-price {
    transform: translateY(40px);
    opacity: 0;
    transition: transform .8s ease-in-out, opacity .8s ease-in-out;
}

.carousel-label,
.carousel-title,
.carousel-price {
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .1s ease-in-out;
}

.carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #000;
}

.carousel-desc-ttl {
    font-weight: 800;
    font-size: 2rem;
    line-height: 2.25rem;
    margin-bottom: .625rem;
}

.carousel-desc-txt {
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.carousel-desc-ttl,
.carousel-desc-txt {
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .2s ease-in-out;
}


/* 3. - RESPONSIVE
-------------------------------------------------- */

@media only screen and (max-width: 1160px) {
    .carousel-caption {
        left: 10%;
        right: 10%;
    }

    .carousel-title {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 992px) {
    .carousel-title {
        font-size: 3.6rem;
    }

    .carousel-price,
    .carousel-desc-ttl {
        font-size: 1.7rem;
    }

    .carousel-label,
    .carousel-desc {
        font-size: 13px;
    }

    .carousel-indicators {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-caption {
        left: 0;
        right: 0;
    }

    .carousel-caption>.row {
        flex-direction: column-reverse;
        margin: 0;

    }

    .carousel-content {
        padding: 1rem 10%;
        max-width: 90%;
    }

    .carousel-img {
        max-height: 340px;
    }

    .carousel-box-rounded {
        height: 250px;
        width: 190px;
    }

    .carousel-media {
        margin: 3rem auto 0;
    }

    .carousel-label,
    .carousel-desc {
        font-size: 12px;
        padding-right: 50px;
    }

    .carousel-title {
        font-size: 3rem;
    }

    .carousel-price,
    .carousel-desc-ttl {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 600px) {
    .carousel-content {
        max-width: 100%;
    }

    .carousel-control-next,
    .carousel-control-prev {
        bottom: auto;
        top: 2rem;
    }
}

@media only screen and (max-width: 480px) {
    .prices .carousel-price .price {
        font-size: 26px !important;
    }

    .carousel-title {
        font-size: 2.5rem !important;
    }

    .carousel-desc-ttl {
        margin-top: 30px;
    }

    .carousel-img {
        max-height: unset !important;
        max-width: 300px !important;
    }
}

.backToHome {
    background-color: #000;
    border: none;
    outline: none;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 999;
    color: #000;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.backToHome:hover {
    background-color: #505050;
    transition: all 0.3s ease;
}

.backToHome span {
    color: #000;
    width: 1.5rem;
    height: 1.5rem;
}

.prices {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--title-font);
}

.prices .carousel-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
}

.prices .carousel-price .price {
    font-size: 35px;
    font-weight: 600;
}

.carousel-item::after {
    content: "";
    /* background-color: #505050; */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250vw;
    /* make bigger than screen */
    height: 250vh;
    transform: translate(-50%, -50%);
    display: block;
    background: url('/src/assets/img/circus.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.ml1, .ml2 {
    word-break: normal;     /* prevents breaking inside words */
    overflow-wrap: normal;  /* prevents forced breaks */
    white-space: normal;    /* allows normal line wrapping */
}
.carousel-desc-ttl{
    width: fit-content;
    white-space: nowrap;
}
.gap-10{
    column-gap:10px;
    flex-wrap: wrap;
}
.titles{
    display: flex;
    align-items: center;
    column-gap: 10px;
    flex-wrap: wrap;
}