.turbo-progress-bar {
  height: 5px;
  border-top: 1px solid rgb(90, 90, 90);
  background-color: #fff;
}

@font-face {
    font-family: 'alnassab';
    src: url("/assets/alnassab-34cf1330.woff") format('woff'); font-display: auto;
      size-adjust: 120%;
}

.en {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Ubuntu', sans-serif;
   }
.ar {
    font-family: "alnassab";
  
}

.header-login-front {
    padding: 15px;
    color: white;
    border-bottom: 1px solid white;
 
}

.header-login-content-front {
  max-width: 1000px;
}

.header-menu-front {
    padding: 15px;
    color: white;
    font-size: 16px;

}

.header-menu-front .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.header-menu-content-front {
  max-width: 1000px;
}

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.logo-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-header  img {
  height: 50px;
  max-width: 100%;
}

/* Hamburger icon */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  position: absolute;
  top: 12px;
  right: 16px;
}

/* Checkbox hidden */
#menu-toggle {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    width: 100%;
    /* padding-top: 20px; */
  }

  #menu-toggle:checked + .menu-icon + .navbar .menu {
    display: flex;
  }

  .logo-header {
    order: -1;
    position: static;
    transform: none;
    margin-bottom: 10px;
    padding-bottom: 20px
  }
}


.header-front {
    background-color: #221E6B;

}

.footer-menu-front {
    padding: 40px;
    color: white;
}

.footer-front {
  background-color: #221E6B;
  /* bottom: 0;
  position: absolute; */
  width: 100%;
  color: white;
}

.welcome-title {
    color: #FFD43C;
    font-size: 48px;
    font-weight: bold;
}

.front-container {
    color: white;
    background-color: #4F4CD4 !important;
    background-attachment: fixed !important;
    min-height: 800px;
    width: 100%;
    background: url("/assets/bg-front-22f63685.png");
    background-position: center -300px;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-table;
    background-position: bottom;
}

.home-container hr {
    border-color: #FFD43C;
    width: 30px;
    right: 12px;
    position: absolute;

}

.card-1 {
    background: url("/assets/card_1-345fd32e.png");
    width: 100px;
    height: 127px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-table;
}

.bg-emotion  {
    background: url("/assets/card_3-6cf0c881.png");
    width: 165px;
    height: 172px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-table;
}

.bg-emotion img {
    max-width: 150px;
    top: 11px;
    position: relative;
}

@media (max-width: 1400px) {
  .bg-emotion {
    width: 100px !important;
  }

  .bg-emotion img {
    max-width: 118px;
  }
}

.bg-media {
    width: 100px;
    height: 127px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-table;
}

.btn_yellow-container {
    position: relative;
    height: 100%
}

.bg-btn_yellow  {
    background: url("/assets/btn_yellow-5a76e74c.png");
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    height: inherit;
    color: #4F4CD4;
    font-size: 24px;
    width: fit-content;
    width: 100%;
    padding-top: 0px;
}

.arrow-left {
    position: absolute;
    left: -18px;
    top: 100px;
    width: 3rem;
    z-index: 99;
    cursor: pointer;
    display: none;
}

.arrow-right {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    position: absolute;
    right: -18px;
    top: 100px;
    width: 3rem;
    z-index: 99;
    cursor: pointer;
    display: none;
    
}

.front-container {
     flex: 1;
}

.front-container .container {
   max-width: 80% !important;
}

.front-container  .header-front a {
    color: white
}

.front-container  .header-front a:hover {
    color: #fff;
    text-decoration: underline;
}

.card-container {
    margin: 10px;
    max-height: 284px;
    min-width: 300px !important;
}

.card-container img {
    position: relative;
    border-radius: 15px;
    min-width: 237px;
    right: 58px;
}

.img-hover-zoom {
    overflow: hidden;
    max-width: 393px !important;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.card-g {
    width: 200px;
    height: 150px;
    margin: 10px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-g img {
    width: 100%;
    height: 152px;
    object-fit: cover;
    display: block;
}

.gallery h5 {
    max-width: 200px;
}

.filter-emotion {
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #221E6B;
    background-color: aliceblue;
    color: rgba(0, 0, 0, 0.709);
    margin: 10px;
    min-width: 150px;
    cursor: pointer;
}

.filter-emotion.selected {
    background-color: #c1bff1a8;
}

.front-container a.active, .media-title {
    color: #FFD43C !important;
    font-weight: bold;
}

.video-card, .game-card, .prayer-card, .audio-card, .story-card {
    cursor: pointer;
}

.video-card img, .game-card img, .prayer-card img, .audio-card img, .story-card img  {
    transition: transform .5s ease;
}

.video-card:hover img, .game-card:hover img, .prayer-card:hover img, .audio-card:hover img, .story-card:hover img   {
    transform: scale(1.1);
}

.profile-menu a, .profile-menu button {
    color: #505050 !important;
}

.story-card .card-g{
  width: 200px;
  height: 300px;
  margin: 10px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.story-card .card-g img{
  width: 100%;
  height: auto!important;
  object-fit: cover;
  display: block;
}

.emotions-container {

}

.emotions-container img {
  position: relative;
  display: inline-block;
  min-width: 128px; /* Or whatever fits your layout */
  height: auto;
  animation: float 2s ease-in-out infinite;
  object-fit: cover;
}

.emotions-container .emotion-link img:hover {
    /* min-width: 148px; */
    transform: scale(1.1);
}

.emotions-container .emotion-link img {
    transition: transform .5s ease;
}

.emotions-content hr {
  border-color: #FFD43C;
}

@keyframes float {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  25%  { transform: translate(3px, -2px) rotate(1deg); }
  50%  { transform: translate(0px, 2px) rotate(-1deg); }
  75%  { transform: translate(-3px, -1px) rotate(1deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

html, body {
  height: 100% !important;
  margin: 0 !important;
}

.wrapper-front {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

.main-front-container {
    flex: 1;
}

.emotion_text {
  font-size: 18px !important;
}

.main-profile .tab-menu-heading {
  margin-right: 0;
}

@media (min-width: 768px) {
    .emotion_text {
        font-size: 24px !important; /* Larger on tablets and desktops */
    }

    .main-profile .tab-menu-heading {
      margin-right: 10px;
    }

    .bg-btn_yellow  {
          padding-top: 6px;
    }
}

.text_emotion {
  color: white;
  font-size: 23px;
  font-weight: 500;

  /* text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px;  */ */
  
}

.quit_full-screen-link, .full-screen-link {
  cursor: pointer;
}

#gameHolder {
  background-color: #FFD43C !important;
}

.footer-front a {
  color: rgb(255 255 255);
}

.footer-front a:hover {
   color: rgb(255 255 255);
  text-decoration: underline;
}

#iFrameGame html {
  overflow: hidden;
}