@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

.buttons-container::-webkit-scrollbar {
    display: none;
}

html,
body {
    font-family: "Inter", sans-serif;
    background-color: rgb(0, 0, 0);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Disable horizontal scrolling */
    overflow-y: scroll; /* Allow vertical scrolling */
    overscroll-behavior: none; /* Prevent elastic bounce */
}
.faceMaskPage{
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
}

#cameraFeed {
    position: absolute;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Ensures the video fills the screen */
    transform: scaleX(-1);
}
#kumarika_bg_buttom{
    display: none
}
.temp_canvas{
    display: none
}
#green_screen_bottom_section{
    display: none;
}
.hide {
    display: none !important;
}

.text {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 80%;
    left: 10%;
    top: 25px;
    /* font-size: x-large; */
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
}

.absolute_pos {
    position: absolute;
    display: block;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
}

.container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
}
#contextContainer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    /* max-width: 100vw;
  max-height: 100vh; */
}

.image-buttons-container {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 7px;
    gap: 15px;
    padding: 5px;
}

/* Common button styles */
.image-button {
    display: flex;
    align-self: center;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 32px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 400;
    margin-left: 5px;
}

/* Specific button styles */
.translucent-button {
    background-color: rgba(217, 217, 217, 0.5);
    color: rgba(255, 255, 255, 1);
}

.shop-now-button {
    background-color: rgba(255, 234, 0, 1);
    color: rgba(35, 31, 32, 1);
    font-weight: 500;
}

.messenger-button {
    background-color: #00b2ff;
    color: rgba(35, 31, 32, 1);
    font-weight: 500;
}

.button-icon {
    width: 18px;
    height: 18px;
}

.button-text {
    margin-left: 5px;
}

.image-buttons-container-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 12px;
    gap: 10px;
}

.imageButton {
    position: relative;
    /* width: 60px; */
    /* height: 60px; */
    /* padding: 20px; */
    /* margin: 0 5px; */
    /* border-radius: 50%; */
    /* background-size: 25px 25px; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    /* border: solid; */
    /* border-color: rgb(255, 255, 255); */
    cursor: pointer;
}

#foregroundCanvas {
    position: absolute;
    /* background-color: black; */
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    /* transform: scale(0.5, 0.5); */
    /* max-width: 100vw;
  max-height: 100vh; */
}

#faceSilhouette {
    position: absolute;
    transform: scaleY(-1);
    width: 60%;
    height: 45%;
    top: 25%;
    left: 20%;
    opacity: 0.4;
}

/* Adjustments for landscape orientation */
@media (orientation: landscape) {
    #faceSilhouette {
        width: 35%;
        height: 35%;
        left: 35%;
        top: 30%;
    }
    .user-image {
        max-width: 120px;
        max-height: 120px;
        border-radius: 50%;
    }
}

/* Adjustments for devices with a wider aspect ratio */
@media (min-aspect-ratio: 16/9) {
    #faceSilhouette {
        width: 35%;
        height: 30%;
        left: 32%;
    }
    .user-image {
        max-width: 120px;
        max-height: 120px;
        border-radius: 50%;
    }
}

#skipButton {
    position: absolute;
    display: block;
    width: 20%;
    height: 5%;
    min-width: 50px;
    min-height: 40px;
    bottom: 30px;
    right: 30px;
}

.button {
    position: relative;
    padding: 20px;
    margin: 5px 5px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border-color: rgba(192, 192, 192, 0);
    cursor: pointer;
}

.buttons-container {
    display: flex;
    overflow-x: auto;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 8%;
    top: 80%;
    background-color: rgba(255, 255, 255, 0);
}

#green_screen_container {
    position: fixed;
    /* position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  max-width: 100vw;
  max-height: 100vh; */
}
#greenScreenCanvas {
    /* position: absolute; */
    width: 100%;
    height: 100%;
}

.background {
    transform: scale(1); 
}

.webcam_output {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
    transform: scale(1)
}

.outputCanvas {
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0);
}

#outputCanvasBG {
    position: absolute;
    /* add backgroun image  */
    background-image: url("../../assest/BG-1empty.png");
    background-position: center;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    /* add backgroun image  */

    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
}
iframe {
    position: absolute;
    top: -10%;
    width: 100vw;
    height: 117vh;
    /* height: 100vh; */
    /* pointer-events: none; */
}

ytp-chrome-bottom {
    display: none;
}

/* for toast-message */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

.toast.show {
    visibility: visible; /* Show the toast */
    animation: fadeInOut 3s; /* Fade in and out animation */
}

@keyframes fadeInOut {
    0%,
    100% {
        opacity: 0;
    } /* Start and end with opacity 0 */
    10%,
    90% {
        opacity: 1;
    } /* Middle of the animation with opacity 1 */
}

/* for scrollable buttons */
.container-swiper {
    position: absolute;
    width: 100%;
    top: 80%;
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    /* margin: 0 70px 55px; */
}

.card-list .card-item {
    height: auto;
    color: #fff;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-item {
    width: 80px;
    height: 80px;
    /* margin-right: 1px;
  margin-left: 1px; */
}
.card-item.middle {
    transform: scale(1);
    transition: transform 0.3s ease;
    border-radius: 50%;
    border-width: 20px;
    /* background: #ffffff; */
    /* width: 80px !important;
    height: 80px !important; */
    /* margin: 11px 50px 0 -30px !important; */
}

.swiper-center-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
div#swiper-center {
    width: 80px;
    height: 80px;
    background: none;
    border-radius: 50%;
    border: 10px solid #fff;
}

.slider-parent {
    position: relative !important;
}
.card-item.middle .user-image {
    border: 5 px solid #fff; /* Adjust the border style and color as per your preference */
}
.card-list .card-item {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.user-image {
    width: 65px;
    height: 65px;
    border: 2px solid #ef3b24;
    border-radius: 50%;
}
.card-list .card-item {
    font-size: 1.15rem;
    color: #e3e3e3;
    font-weight: 500;
}

.card-list .card-item .message-button {
    font-size: 1.25rem;
    padding: 10px 35px;
    color: #030728;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.card-list .card-item .message-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
}

.slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    height: 13px;
    width: 13px;
    opacity: 0.5;
}

.slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

.slider-wrapper .swiper-slide-button {
    color: #fff;
    margin-top: -55px;
    transition: 0.2s ease;
}

.slider-wrapper .swiper-slide-button:hover {
    color: #4658ff;
}

@media (max-width: 768px) {
    .slider-wrapper {
        margin: 0 0px 40px;
    }

    .slider-wrapper .swiper-slide-button {
        display: none;
    }
}
