::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
body {
    margin: 0;
    height: 100%; /* Full height of the viewport */
    font-family: Arial, sans-serif;
    overflow-y: auto; /* Prevent scrolling on the body */
    overflow-x: hidden;
}

.background {
    position: fixed; /* Fix the background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);/*#ECF9F3*/
    z-index: 0; /* Ensure it is the lowest layer */
}

.overlay {
    position: fixed; /* Position it fixed to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure it is above the background but below the content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainglow {
  min-width: 640px;
}

.mainbck {
  width: 100%;
  height: 100%;
}

.container {
    position: relative; /* Position relative to allow z-index to work */
    z-index: 2; /* Ensure content is above the overlay */
    height: auto; /* Full height for the container */
}

.login-container {
    margin-top: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logout {
    cursor: pointer;
    width: 100%;
}

p {
    margin: 1rem 0;
    color: #666;
}

a {
    color: #ff0000ca;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
  
  /* Keyframes for animation */
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% / 2)); /* Moves half since we doubled items */
    }
  }
  
  .slider {
    overflow: hidden;
    width: 90%;
    margin: auto;
    margin-bottom: 2%;
    border-radius: 2rem;
  }
  
  .slide-track {
    display: flex;
    width: max-content; /* Adjust dynamically */
    white-space: nowrap;
  }
  
  .slide {
    width: 250px;
    margin: 0 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
  }      
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.99);
    width: 100%;
    color: #000000;
    position: fixed;
    border-bottom: 3px solid transparent;
}

.header__user-info {
    display: flex;
    flex-direction: column;
}

.header__user-name,
.header__coin-balance {
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.header__nav-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}
.hnav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.header__nav-item {
    margin-left: 20px;
    background-color: transparent;
    padding: 5px;
    border-radius: 1rem;
}

.header__nav-item img {
  max-width: 50px;
}

.header__nav-item a {
    color: #000000;
    font-size: large;
}

.header__nav-item a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header__nav-list {
        flex-direction: row;
        padding: 10px 0;
    }

    .header__nav-item {
        margin: 10px 0; /* Space between items */
        text-align: center; /* Center align items */
    }
    
    .login-container {
    margin-top: 50%;
    }
}

.footer {
  background-color:  rgba(0, 0, 0, 0);
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.footer__content {
  width: 100%; /* Optional: Set a max width for the footer content */
  padding: 0 20px; /* Add some padding */
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  flex-direction: row;
}

.footer__copyright {
  font-size: 14px; /* Adjust font size for copyright text */
  text-align: center;
  border-top: 2px solid gray;
}

.services {
  text-align: center;
  padding: 5px;
  width: 100%;
}

.service-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  transition: transform 0.5s ease-in-out;
}

.service-box {
  position: relative;
  margin: 0 10px;
  cursor: pointer;
  text-align: center;
  width: 20%;
  height: 55vh;
  border-radius: 1rem;
  box-shadow: 0 -2px 5px rgba(125, 125, 125, 1); 
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 5%;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


/* 🌍 Responsive Sliding for Smaller Screens */
@media (max-width: 1050px) {
    .service-box {
    height: 50vh;
    width: 30vw;
  }
}
@media (max-width: 650px) {
  .service-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .service-boxes {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
  }

  .service-boxes::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari */
  }

  .service-box {
    flex: 0 0 70%;
    scroll-snap-align: center;
    transition: transform 0.5s;
    height: 65vh;
    width: 30vw;
  }

  .service-boxes:has(.service-box:nth-child(1):hover) .service-box:nth-child(2){
    transform: scale(0.8);
  }

  .service-boxes:has(.service-box:nth-child(2):hover) .service-box:nth-child(1),
  .service-boxes:has(.service-box:nth-child(2):hover) .service-box:nth-child(3) {
    transform: scale(0.8);
  }

  .service-boxes:has(.service-box:nth-child(3):hover) .service-box:nth-child(2) {
    transform: scale(0.8);
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 9; /* Ensure it's above everything */
  overflow: hidden; /* Prevent scrolling on the main page */
}

/* Ensure the popup content is scrollable */
.popup-content {
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  overflow-y: auto; /* Allow scrolling inside the popup */
}

.popup-content img{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.close {
  background-color: rgba(0, 0, 0, 0);
  float: left;
  padding: 5px;
}

.coinz {
  margin-right: 5%;
  padding: 5px;
  float: right;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow-y: hidden;
}

.toggle {
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  position: relative;
  background: #000000;
  border-radius: 2rem;
  padding: 5px;
  margin: auto;
}

.toggle-media {
  cursor: pointer;
  font-weight: bold;
  padding: 5px 10px;
  color: #ffffff;
  transition: color 0.3s, background 0.3s;
  border-radius: 2rem;
  z-index: 1;
  position: relative;
  width: 50px;
}

.toggle-media:hover {
  text-decoration: none;
}

.toggle-media.active {
  color: #000000;
  background: #ffffff;
}

/* Slider */
.slider {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 10px);
  background: #ffffff;
  border-radius: 2rem;
  transition: transform 0.3s ease;
  z-index: 0;
}

.toggle-media#toggle-video.active ~ .slider {
  transform: translateX(100%);
}

.home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 650px) {
  .popup{
    width:100%;
  }
}