.rounded {
    border-radius: 50%;
    width: 3em;
    /* Specify your desired width */
    height: 3em;
    /* Specify your desired height */
    object-fit: cover;
    /* This property ensures that the image covers the specified dimensions without distorting */
}

.courses-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    height: 70%;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.blur-overlay {
    filter: blur(5px);
}

.blur-background {
    backdrop-filter: blur(10px);
    /* Adjust the blur value as needed */
    -webkit-backdrop-filter: blur(10px);
}

#customCarousel {
    margin: 0 !important; 
    padding: 0 !important;
}

/* Style for the user icon */
.user-icon {
    cursor: pointer;
}

/* Style for the popup menu */
.popup-menu {
    display: none;
    position: absolute;
    top: 50px; /* Adjust the top position based on your layout */
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-menu li {
    padding: 10px;
}

.popup-menu a {
    text-decoration: none;
    color: #333;
}

.popup-menu a:hover {
    background-color: #f0f0f0;
}

#content-container {
    max-width: 100%;
    margin: 0;
}

.button-cursor:hover {
    cursor: pointer;
}

#loading-animation-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
  }

.active-nav-item {
    background: #1b1b1b;
}

.active-nav-item .nav-link {
    color: #f0f0f0 !important;
}

.nav-item:hover {
    background: #888888;
}

.nav-item:hover .nav-link {
    color: #f0f0f0 !important;
}

.nav-item {
    border-radius: 0.6rem;
    margin: 0.25rem;
}

.buy-button, .open-button {
  border: 0;
  border-radius: 12px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  outline: transparent;
  padding: 0 1rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.buy-button {
    background: linear-gradient(to bottom right, #EF4765, #FF9A5A);
}

.open-button {
    background: linear-gradient(to bottom right, rgba(8,98,114,1), rgba(0,123,255,1));
}

.buy-button:not([disabled]):focus {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}

.buy-button:not([disabled]):hover {
  color: white;
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}

.home-page-section {
    border-radius: 2rem;
}

.nav-login-button {
    margin: 0 !important;
}

.dashboard-box {
    border-radius: 2rem;
    margin: 1rem 0;
}

.dashboard-box:hover {
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.1s ease-in-out;
}

.popup-menu {
    border-radius: 2rem;
}

.nav-item:hover .popup-nav-link {
    color: rgb(47, 47, 255) !important;
}

#quiz-heading {
    border-bottom: 5px solid rgba(0, 0, 0);
    border-radius: 0;
}

@media (min-width: 992px) {
    #quiz-main {
        border-left: 5px solid rgba(0, 0, 0);
        border-radius: 0;
    }
}

@media (max-width: 991px) {
    #quiz-main {
        border-top: 5px solid rgba(0, 0, 0);
        border-radius: 0;
    }
}

.quiz-container {
    border-bottom: 5px solid rgba(0, 0, 0);
    border-radius: 0;
}

.bottom-footer {
    background-color: rgb(20, 20, 20);
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: start;
}

.bottom-footer-item {
    color: #d6d6d6;
    padding: 0.3rem 1rem;
    margin: 0.7rem 0;
    font-size: clamp(0.5rem,1.22vw, 0.9rem)
}

.bottom-footer-item:hover {
    color: white;
}

.img-horizontal-scroll {
    position: relative;
    display: flex;
    overflow: hidden;
}

.img-horizontal-scroll div {
    min-width: 100vw !important;
    white-space: nowrap;
    animation: img-horizontal-scroll var(--time) linear infinite;
    animation-delay: calc(var(--time)*-1);
}

.img-horizontal-scroll div:nth-child(2) {
    animation: img-horizontal-scroll2 var(--time) linear infinite;
    animation-delay: calc(var(--time)/-2);
}

.img-horizontal-scroll:hover div {
    animation-play-state: paused; /* Pause animation when hovering over .img-horizontal-scroll */
    cursor: grab;
}

@keyframes img-horizontal-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes img-horizontal-scroll2 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }
}

.imgBox div {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.imgBox img {
    min-height: 6rem;
    height: 20vw;
    scale: 0.85;
    border-radius: 2vw;
}

/* card horizontal marquee */

.card-marquee-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
}

.card-marquee-content {
    position: relative;
    min-width: 100vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-shrink: 0;
    gap: 2vw;
    cursor: grab;
}

.student-card {
    min-width: calc(12vh + 5vw);
    background-color: #e9ecec;
    padding: 1vw;
    border-radius: 2vw;
}

.student-card {
    display: flex;
}

.student-card picture {
    position: relative;
    margin-right: 1vw;
}

.student-card picture img {
    width: calc(10vh + 2vw);
    height: calc(10vh + 2vw);
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 15%;
    object-position: 50% 15%;
}

.student-card-details h4 {
    font-size: clamp(0.4rem, calc(1vh + 0.5vw), 1.5rem);
    margin: 0 !important;
    font-weight: 400;
}

.student-card-details {
    display: flex;
    flex-direction: column;
    height: calc(10vh + 2vw);
    align-items: start;
    justify-content: space-evenly;
}

.student-card-details p {
    font-family: var(--ff-heading);
    font-size: clamp(0.3rem, calc(1vh + 0.5vw), 1.2rem);
    font-weight: 300;
    margin: 0!important;
}

.teacher-card {
    background-color: #191e1f;
    padding: 2vw;
    border-radius: 2vw;
    color: white;
}

.teacher-card picture {
    display: inline-block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.teacher-card picture img {
    width: 12vw;
    height: 12vw;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover; 
    -o-object-position: 50% 15%;
    object-position: 50% 15%;
    margin-bottom: 1vw;
}

.teacher-card-details h4 {
    font-size: clamp(0.4rem, 1.2vw, 1.2rem);
}

.teacher-card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.teacher-card-details p {
    font-family: var(--ff-heading);
    font-size: clamp(0.3rem, 1.2vw, 0.9rem);
    font-weight: 300;
    margin: 0;
}


@media (max-width: 1024px) {
    .marquee-wrapper {
        overflow: auto;
    }
}

.card-scrollingX {
    animation: card-scroll var(--time) linear infinite;
}

.card-scrolling-X {
    animation: card-scroll-reverse var(--time) linear infinite;
}

.card-marquee-wrapper:hover .card-scrollingX, .card-marquee-wrapper:hover .card-scrolling-X{
    animation-play-state: paused;
}

@keyframes card-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 1rem));
    }
}
@keyframes card-scroll-reverse {
    from {
        transform: translateX(calc(-100% - 1rem));
    }

    to {
        transform: translateX(0);
    }
}

.scroll-arrow {
    background-color: #e9ecec;
    border-radius: 50%;
    border: solid 1px black;
}

.scroll-arrow:hover {
    background-color: #c6c6c6;
}