@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Carousel base class */


/* Since positioning the image, we need to help out the caption */

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}


/* Declare heights because of positioning of img element */

.carousel-item {
    height: 512px;
}

.social-links svg {
  height: 1.3rem;
}

.featured-youtube {
    height: 207px;
}

@media (min-width: 576px) {
    .carousel-item>img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
    }
    .carousel-item {
        height: 260px;
    }

    .w-md-auto{
        width: auto !important;
    }

    .featured-youtube {
        height: 590px;
    }
    .social-links svg {
        height: 1.7rem;
    }
}

.banner {
    background-image: url(/img/shop_banner.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg4 .carousel-caption {
    bottom: 8.25em;
}

@media (min-width: 768px) {
    .carousel-caption {
        margin-top: 0;
        padding-top: 0;
    }

    .banner {
        background-size: contain;
    }

    .bg1 .carousel-caption {
        bottom: 6em;
    }

    .bg2 .carousel-caption {
        bottom: 24em;
    }

    .bg2 .carousel-caption a {
        margin-left: 4em;
    }

    .bg3 .carousel-caption {
        bottom: .5em;
    }

    .bg4 .carousel-caption {
        bottom: 24em;
    }
}

.carousel-item,
.card-cover {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

div.carousel-item p:nth-child(2),
div.carousel-item h1 {
    display: none;
}

.yt-thumb img {
    cursor: pointer;
}

.paral {
    min-height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#mario {
    height: 100%;
    background-image: url("https://github.com/Kageetai/mario-background-parallax/blob/master/img/mario.gif?raw=true"), url("https://github.com/Kageetai/mario-background-parallax/blob/master/img/ground.png?raw=true"), url("https://github.com/Kageetai/mario-background-parallax/blob/master/img/bushes.png?raw=true"), url("https://raw.githubusercontent.com/Kageetai/mario-background-parallax/master/img/back.png?raw=true");
    background-color: #F8E0B0;
    background-repeat: no-repeat, repeat-x, repeat-x, repeat-x;
    background-position: left 30% bottom 22px, left 0px bottom 0px, left 0px bottom 22px, left 0px bottom 0px;
    animation: back 15s infinite linear;
}

#mario div {
    height: 400px;
}

@keyframes back {
    0% {
        background-position: left 30% bottom 22px, left 0px bottom 0px, left 0px bottom 22px, left 0px bottom 0px;
    }

    50% {
        background-position: left 50% bottom 22px, left -816px bottom 0px, left -508px bottom 22px, left -256px bottom 0px;
    }

    100% {
        background-position: left 30% bottom 22px, left -1632px bottom 0px, left -1016px bottom 22px, left -512px bottom 0px;
    }
}

.h-300 {
    height: 300px !important;
}

.mItem img {
    width: 100%;
}

.masonry {
    column-count: 4;
    column-gap: 16px;
}

.masonry .mItem {
    display: inline-block;
    margin-bottom: 16px;
    width: 100%;
}

@media (max-width: 1199px) {
    .masonry {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .masonry {
        column-count: 1;
    }
}

.mkart .card {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 13rem;
}

.slider {
    opacity: 0;
}

.slick-initialized {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.signature {
    font-family: 'Marck Script', cursive;
}

.card {
    text-decoration: none;
}

.text-truncate {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

.card-image {
    position: relative;
}

#mKartSlider .carousel-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#mKartSlider .carousel-indicators {
    position: unset;
}

#mKartSlider .carousel-indicators button{
    width: 200px !important;
    height: 200px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#mKartSlider .carousel-inner {
    /* The image used */
    background-image: url("/img/blur.jpg");

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .b-example-divider {
	height: 3rem;
	background-color: rgba(0, 0, 0, .1);
	border: solid rgba(0, 0, 0, .15);
	border-width: 1px 0;
	box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
    margin-top: 50px;
}

@keyframes chatDropBounce {
    0% {
        transform: translateY(-500px); /* Start off-screen */
        opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    65% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5E0090;
    color: white;
    height: 76px; /* Increased height */
    padding: 0 24px; /* Wider padding when expanded */
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: width 0.7s ease, padding 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
    min-width: 76px; /* Ensure circular size when collapsed */
    animation: chatDropBounce 1.5s ease;
}

/* Icon always stays visible */
.chat-button i {
    font-size: 26px; /* Increased icon size */
    transition: margin-right 0.3s ease;
}

/* Text transitions */
.chat-button .chat-text {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Shrink button on scroll */
.chat-button.shrink {
    width: 76px; /* Make the button a circle */
    padding: 0;
    justify-content: center;
    transition: width 0.3s ease, padding 0.3s ease;
}

/* Hide text smoothly */
.chat-button.shrink .chat-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

/* Fully remove text after animation completes */
.chat-button.shrink .chat-text-hidden {
    display: none;
}

/* Expand button and restore text on hover */
.chat-button.shrink:hover {
    width: auto;
    padding: 0 24px;
    transition: width 0.3s ease, padding 0.3s ease;
}

/* Ensure text reappears on hover */
.chat-button.shrink:hover .chat-text {
    opacity: 1;
    display: inline-block;
}

.chat-button:hover {
    background-color: #5D008F;
    color: #eee;
}

#russSecondaryNav ul.nav.justify-content-left li.nav-item a.nav-link.text-dark.active
{
    background: #241356;
    color: #fff !important;
}

.host-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            padding: 20px;
        }
        .host-card img {
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid #241356;
        }
        .host-card .social-links {
            margin-top: auto;
        }
.dropdown-menu{
    background-color: transparent !important;
}
.nav-item.dropdown .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.55);
}

.nav-item.dropdown .nav-link.active + .dropdown-menu .dropdown-item {
    color: #fff;
}

.social-links {
    display: flex;
    align-items: center; /* Ensures all icons align properly */
    justify-content: center; /* Optional: Centers the icons */
    gap: 10px; /* Adds spacing between icons */
}

.social-links a {
    display: flex; /* Ensures SVG and FontAwesome icons are properly aligned */
    align-items: center;
    text-decoration: none;
}

.social-links i {
    font-size: 3rem; /* Match the height of the SVG */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    display: flex;
    align-items: center;
    margin-right: .5rem !important;
}

.btn-primary {
    background-color: #5D008F;
    border-color: #241356;
}

.btn-primary:hover {
    background-color: #241356;
    border-color: #241356;
}

/* Glow effect for active navbar-brand (logo) */
.navbar-brand.active img {
    box-shadow: 0 0 5px rgba(173, 216, 230, 0.8), 0 0 10px rgba(255, 255, 255, 0.6);
    animation: starry-glow 2s infinite alternate ease-in-out;
}

/* Glow effect for active nav-link text */
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    text-shadow: 0 0 3px rgba(173, 216, 230, 0.5), 0 0 6px rgba(255, 255, 255, 0.6);
    animation: text-glow 2s infinite alternate ease-in-out;
}

/* Starry glow animation for the logo */
@keyframes starry-glow {
    0% {
        box-shadow: 0 0 3px rgba(173, 216, 230, 0.5), 0 0 7px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 6px rgba(173, 216, 230, 0.6), 0 0 12px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 4px rgba(173, 216, 230, 0.5), 0 0 8px rgba(255, 255, 255, 0.4);
    }
}

/* Smooth text glow animation for nav links */
@keyframes text-glow {
    0% {
        text-shadow: 0 0 2px rgba(173, 216, 230, 0.4), 0 0 4px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 4px rgba(173, 216, 230, 0.6), 0 0 8px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 3px rgba(173, 216, 230, 0.5), 0 0 6px rgba(255, 255, 255, 0.4);
    }
}
