/* @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

* {
    /* font-family: 'Manrope', sans-serif; */
    font-family: 'Noto Sans KR', sans-serif;
}

html {
    max-width: 1920px;
    overflow-x: hidden;
}

body {
    max-width: max-content;
    overflow-x: hidden;
    margin: auto;
}

:root {
    --primary: black;
    --secondary: #f4962f;
    --border: #ECEFF1;
    --light: #90A4AE;
    --link: blue;
    --white: white;
    --black: black;
    --background: #fafafa;
    --grey: #E0E0E0;
    --danger: #D50000;
    --success: #00C853;
    --textCard: #00C853;
    --lightgrey: #FAFAFA;
    --secondarygrey: #F8F8F8;
    --review: #0062FF;
    --content: #5C5C5C;
    --reviewsecondary: #CED6FF;
    --darkgrey: #CFD8DC;
    --aiMsg: #f7f7f8;
    --userMsg: #ffffff;

    /* not available everwhere */
    --boxShadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

a {
    text-decoration: none;
    color: var(--link);
}

.nav-active {
    font-weight: 700 !important;
}

.container {
    max-width: 2048px;
    margin: auto;
}

nav {
    background-color: var(--white) !important;
}

nav .navbar-brand {
    color: var(--black) !important;
    font-weight: 700;
}

nav .nav-link {
    color: var(--black) !important;
}

.auth-btn {
    border-radius: 500px;
    padding-right: 20px;
    padding-left: 20px;
    /* background-color: var(--secondary) !important; */
    color: var(--black);
}

.auth-btn:hover {
    /* color: var(--white); */
}

.btn {
    outline: none !important;
    border: 0px !important;
}

.main-head {
    /* background-color: var(--secondary); */
    /* margin-top: 100px; */
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.svg-container {
    position: relative;
    margin-bottom: 230px;
}

.head-title {
    position: absolute;
    /* margin-top: 1rem; */
    /* margin-bottom: 20px; */
    /* max-width: 65%; */
    margin-left: auto;
    margin-right: auto;
}

.head-title h1 {
    color: var(--white);
}

.feature {
    max-width: 1500px;
    margin: auto !important;
}

.head-title p {
    color: var(--white);
}

.head-liner {
    font-style: normal;
    font-weight: 700;
    font-size: 2.22vw;
    margin-top: 2.5vw;
    margin-bottom: 0.4vw;
    padding: 0.8vw 0 0.8vw 0;
}

.sub-liner {
    font-style: normal;
    font-weight: 400;
    font-size: 1.563vw;
}

.feature-text p {
    columns: var(--black);
    /* font-size: 1.3rem; */
}

.register-btn {
    padding: 0.8vw 0.8vw 0 0.8vw;
    margin-bottom: 2.5vw;
}

.heading {
    /* padding-top: 2.5vw; */
}

.intro {
    background-color: var(--secondarygrey);
}

h1 {
    font-weight: 800;
    font-size: 2rem;
}

h2 {
    font-weight: 800;
    font-size: 2rem;
}

h3 {
    font-weight: 800;
    font-size: 1.7rem;
}

.main-container {
    position: relative;
}

.main-image {
    position: absolute;
    left: 0;
    top: 0px;
}

.main-image img {
    width: 70%;
    display: inline-block;
    box-shadow: var(--boxShadow);
    border-radius: 10px;
    max-width: 2000px;
}

.feature-image {
    box-shadow: var(--boxShadow);
    border-radius: 10px;
    width: 400px;
}

.brand-image {
    width: 150px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.btn-primary {
    background: linear-gradient(180deg, #86F1FF 0%, #2A9ABC 100%);
    width: 8.3vw;
    height: 2.5vw;
    border-radius: 50px;

    font-style: normal;
    font-weight: 700;
    font-size: 1vw;
    line-height: 1vw;
    filter: drop-shadow(0px 5px 10px rgba(0, 44, 72, 0.302));
}

#youtubeContainer {
    background-image: url(/images/landing/mockup.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 55.5vw;
    height: 27.25vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#youtubeBox {
    width: 87%;
    height: 87%;
    padding-bottom: 2.8vw;
}

footer {
    background-color: var(--white);
}

footer div span {
    color: var(--black) !important;
}

.preview-container {
    align-content: center;
    justify-content: center;
}

.preview-slider {
    display: flex;
}

.preview-image {
    width: 800px;
}

.review-container {
    background-color: var(--review);
    overflow-x: hidden;
}

.review-info {
    color: var(--white);
}


.review-man {
    font-weight: 700;
    font-size: 1.625rem;
}

.slider-container {
    display: grid;
    place-items: center;
}

.review-slider {
    display: flex;
    width: calc(26.572 * 8);
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-26.572rem * 4));
    }
}

.review-content {
    font-weight: 400;
    font-size: 1.313rem;
    color: var(--content);
}

.review-top {
    background-color: var(--reviewsecondary);
    position: relative;
    width: inherit;
    height: 8.813rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.review-author {
    position: absolute;
    background-color: var(--review);
    width: 8.875rem;
    height: 8.875rem;
    border-radius: 50rem;
    left: 50%;
    top: 2.036rem;
    transform: translate(-50%, 0%);
}

.review-author-img1 {
    position: absolute;
    width: 10rem;
    object-fit: cover;
    left: 7rem;
    top: -0.2rem;
    transform: translate(-50%, 0%);
}

.review-author-img2 {
    position: absolute;
    width: 10rem;
    object-fit: cover;
    left: 8rem;
    top: -1.3rem;
    transform: translate(-50%, 0%);
}

.review-author-img3 {
    position: absolute;
    width: 10rem;
    object-fit: cover;
    left: 7.5rem;
    top: -0.2rem;
    transform: translate(-50%, 0%);
}

.review-author-img4 {
    position: absolute;
    width: 10rem;
    object-fit: cover;
    left: 8.1rem;
    top: 0.1rem;
    transform: translate(-50%, 0%);
}

.review-bottom {
    background-color: var(--white);
    width: inherit;
    height: 18.688rem;
    padding-top: 4.25rem;
}

.review-card {
    color: var(--white);
    box-shadow: var(--boxShadow);
    color: var(--black);
    width: 23.5rem;
    text-align: center;
    border-radius: 20px;
    filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, 0.302));
    margin-right: 1.563rem;
    margin-left: 1.563rem;
}

.ready {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    color: var(--white);
}

.ready-box {
    display: none;
    position: absolute;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    font-style: normal;
}

.ready-mockup {
    position: absolute;
    top: -12rem;
    right: 12rem;
}



.tit {
    font-size: 1.2rem;
}

.footer {
    width: 100%;
}

.footer-content {
    font-size: 0.8rem;
    color: var(--light);
}

.footer-content>nobr,
.footer-content>a {
    padding-left: 0;
}

.a-color {
    color: var(--light);
}

/* page styles */
.ax-hidden {
    visibility: hidden;
    position: absolute;
}

/* carousel styles */
.carousel {
    --carousel-height: 400px;
    --carousel-width: 1000px;
    --carousel-item-height: 182px;
    --carousel-item-width: 400px;

    width: 100%;
}

.carousel-container {
    align-items: center;
    display: flex;
    min-height: var(--carousel-height);
    margin: 0 auto;
    max-width: var(--carousel-width);
    position: relative;
}

.carousel-item {
    height: var(--carousel-item-height);
    opacity: 0;
    position: absolute;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    width: var(--carousel-item-width);
    display: block;
    z-index: 0;
}

.carousel-item-1 {
    left: 15%;
    opacity: 0;
}

.carousel-item-2,
.carousel-item-4 {
    height: calc(var(--carousel-item-height) * 1.5);
    opacity: 1;
    width: calc(var(--carousel-item-width) * 1.5);
    z-index: 1;
}

.carousel-item-2 {
    left: -30%;
}

.carousel-item-3 {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
    height: calc(var(--carousel-item-height) * 2);
    opacity: 1;
    left: 50%;
    width: calc(var(--carousel-item-width) * 2);
    z-index: 2;
}

.carousel-item-4 {
    left: 130%;
}

.carousel-item-5 {
    left: 85%;
    opacity: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/* carousel button styles */
.carousel-control {
    background-color: transparent;
    border: 2px solid;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    height: 22px;
    margin: 0 20px;
    position: relative;
    transform: scale(1.5);
    transition: transform 0.5s ease-out;
    width: 22px;
}

.carousel-control:hover {
    transform: scale(1.3);
}

/* previous button */
.carousel-control-previous::after,
.carousel-control-previous::before {
    box-sizing: border-box;
    content: '';
    display: block;
    height: 8px;
    position: absolute;
    top: 5px
}

.carousel-control-previous::before {
    background: currentColor;
    border-radius: 2px;
    right: 11px;
    width: 2px;
}

.carousel-control-previous::after {
    border-bottom: 4px solid transparent;
    border-right: 5px solid;
    border-top: 4px solid transparent;
    right: 5px;
    width: 0;
}

/* next button */
.carousel-control-next::after,
.carousel-control-next::before {
    box-sizing: border-box;
    content: "";
    display: block;
    height: 8px;
    position: absolute;
    top: 5px
}

.carousel-control-next::before {
    background: currentColor;
    border-radius: 2px;
    left: 11px;
    width: 2px;
}

.carousel-control-next::after {
    border-bottom: 4px solid transparent;
    border-left: 5px solid;
    border-top: 4px solid transparent;
    left: 5px;
    width: 0;
}

/* play button */
.carousel-control-play::before {
    border-bottom: 5px solid transparent;
    border-left: 6px solid;
    border-top: 5px solid transparent;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 10px;
    position: absolute;
    left: 7px;
    top: 4px;
    width: 0;
}

/* pause button */
.carousel-control-play.playing::before {
    border-bottom: 0;
    border-left: 2px solid;
    border-right: 2px solid;
    border-top: 0;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 6px;
    position: absolute;
    left: 6px;
    top: 6px;
    width: 6px;
}

/* add button */
.carousel-control-add::after,
.carousel-control-add::before {
    background: currentColor;
    border-radius: 5px;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    left: 4px;
    top: 8px;
    width: 10px;
}

.carousel-control-add::after {
    height: 10px;
    left: 8px;
    top: 4px;
    width: 2px;
}

@media(max-width : 900px) {
    .head-liner {
        font-style: normal;
        font-weight: 700;
        font-size: 1.263rem;
        margin-top: 10vw;
        margin-bottom: 1vw;
    }

    .sub-liner {
        font-style: normal;
        font-weight: 400;
        font-size: 1.125rem;
        margin: 0 3rem 0 3rem;
    }

    .btn-primary {
        width: 7.5rem;
        height: 2.25rem;
        border-radius: 50px;

        font-size: 0.938rem;
        line-height: 0.938rem;
    }

    .register-btn {
        padding: 1rem 0.75rem 0 0.75rem;
        margin-bottom: 5vw;
    }

    #main-background {
        width: 88.75rem;
    }


    #youtubeContainer {
        width: 100.74vw;
        height: 49.47vw;
    }

    #youtubeBox {
        width: 87%;
        height: 87%;
        padding-bottom: 3.8vw;
    }

    .carousel {
        --carousel-height: 40vw;
        --carousel-width: 1000px;
        --carousel-item-height: 20.85vw;
        --carousel-item-width: 45.83vw;

        width: 100%;
    }
}

@media(max-width : 500px) {

    .head-liner {
        font-style: normal;
        font-weight: 700;
        font-size: 1.263rem;
        margin-top: 15vw;
        margin-bottom: 1vw;
    }

    .sub-liner {
        font-style: normal;
        font-weight: 400;
        font-size: 1.125rem;
        margin: 0 3rem 0 3rem;
    }

    .btn-primary {
        width: 7.5rem;
        height: 2.25rem;
        border-radius: 50px;

        font-size: 0.938rem;
        line-height: 0.938rem;
    }

    .register-btn {
        padding: 1rem 0.75rem 0 0.75rem;
        margin-bottom: 10vw;
    }

    #main-background {
        content: url(/images/landing/landing-background-mobile.png);
        width: 100%;
        height: 130vw;
    }

    /* 
#youtubeContainer {
    background-image: url(/images/landing/mockup.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 55.5vw;
    height: 27.25vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#youtubeBox {
    width: 87%;
    height: 87%;
    padding-bottom: 2.8vw;
}
*/

    #youtubeContainer {
        background-image: none;
        background-size: none;
        background-repeat: none;

        background-color: var(--black);
        border-radius: 3vw;
        width: 96.250vw;
        height: 54.14vw;
    }

    #youtubeBox {
        width: 92.250vw;
        height: 49.14vw;
        padding-bottom: 0;
    }

    #landingBottomImg {
        content: url(/images/landing/landing-bottom-mobile.png);
    }

    .ready-box {
        display: flex;
    }

    .carousel {
        --carousel-height: 20.85vw;
        --carousel-width: 1000px;
        --carousel-item-height: 20.85vw;
        --carousel-item-width: 45.83vw;

        margin: 10vw 0 5vw 0;

        width: 100%;
    }

    .review-card {
        color: var(--white);
        box-shadow: var(--boxShadow);
        color: var(--black);
        width: 53.5vw;
        text-align: center;
        border-radius: 20px;
        filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, 0.302));
        margin-right: 5vw;
        margin-left: 5vw;
    }

    .review-slider {
        display: flex;
        width: calc(63.5vw * 8);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-63.5vw * 4));
        }
    }

    .review-top {
        background-color: var(--reviewsecondary);
        position: relative;
        width: inherit;
        height: 7.813rem;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .review-bottom {
        background-color: var(--white);
        width: inherit;
        height: 13.688rem;
        padding-top: 3.25rem;
    }

    .review-man {
        font-weight: 700;
        font-size: 1.1rem;
    }

    .review-content {
        font-weight: 400;
        font-size: 0.8rem;
        color: var(--content);
    }

    .review-author {
        position: absolute;
        background-color: var(--review);
        width: 6.875rem;
        height: 6.875rem;
        border-radius: 50rem;
        left: 50%;
        top: 2.036rem;
        transform: translate(-50%, 0%);
    }

    .review-author-img1 {
        position: absolute;
        width: 7.5rem;
        object-fit: cover;
        left: 5.9rem;
        top: 0.1rem;
        transform: translate(-50%, 0%);
    }

    .review-author-img2 {
        position: absolute;
        width: 7.5rem;
        object-fit: cover;
        left: 6.3rem;
        top: -0.7rem;
        transform: translate(-50%, 0%);
    }

    .review-author-img3 {
        position: absolute;
        width: 7.5rem;
        object-fit: cover;
        left: 6.0rem;
        top: 0.1rem;
        transform: translate(-50%, 0%);
    }

    .review-author-img4 {
        position: absolute;
        width: 7.5rem;
        object-fit: cover;
        left: 6.4rem;
        top: 0.4rem;
        transform: translate(-50%, 0%);
    }
}