/* APPLIES TO ALL STYLING */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

body {
  background-color: #fafafa;
  font-family: "Poppins";
  margin: 0;
  height: 100%;
}

/* .home-content.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
} */

.description {
  text-align: left;
  align-content: center;
  white-space: pre-wrap;
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: sans-serif;
}

#app {
}
/* ALL STYLING END */

/* Main is everything above the footer */
#main {
  /* display: flex; */
  /* flex-direction: row; */

  /* width: 100dvw; */
  width: 100%;
  /* position: relative; */
  /* background-size: cover; */
}

/* Left hand vertical navigation */
nav {
  margin: 1% 0;
  margin: 0 3%;
}

/* Navigation list */
nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
}

nav ul img {
  margin: 0 auto 0 0;
  width: 25%;
  cursor: pointer;
}

/* Navigation list item */
nav ul li {
  align-items: center;
  font-size: 1.2rem;
  text-align: left;
  padding: 20px;
  /* width: 100%; */
}

/* Navigation list item link */
nav ul li a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 5%;
  transition: 0.3s;
}
/* nav ul li a:hover {
  background-color: #0d0a0b;
  cursor: pointer;
} */
nav ul li a.active {
  color: #14612c;
}

/* Positioning for dropdown items */
.dropdown {
  position: relative;
}
/* Submenus on multiple items in nav item */
.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  list-style: none;
  padding: 0;
  display: none; /* Hidden by default */
  min-width: max-content;
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  padding: 10px;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: #333;
}

/* Make dropdowns visible when parent is hovered (Fallback for non-JS users) */
.dropdown:hover .submenu {
  display: block;
}

/* Hamburger menu hidden for Mobile Navigation */
.menu-btn {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* Home page content */
.home-content {
  margin: 0 3%;
}

.games-content-wrapper {
  margin: 0 3%;
}
.games-game-container {
  display: grid;
  gap: 20px;
  /* padding: 20px; */
  /* Default for smaller screens (adjust as needed) */
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
  grid-template-columns: repeat(4, 1fr);
}

.game-container {
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  text-align: center;
}

.game-card-uniquelol {
  /* max-height: 300px; */
}

.game-image-container {
  aspect-ratio: 4 / 3; /* Example: 4:3 aspect ratio (adjust as needed) */
  overflow: hidden; /* Clip the image if it overflows */
}

.games-showcase {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.game-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 100%;
  max-height: 275px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
}

.game-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f4f4f4;
}

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-details {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #333;
}

.game-details h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #2e2e2e;
}

.game-image {
  width: 100%;
  height: auto;
  display: block;
}

.game-info {
  padding: 15px;
}

.game-info h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.promotions-list1 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1% 0;
}

.promotions-list1 > div {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 3px;
  /* width: 320px; */
  width: 80%;
  height: 120px;
  display: flex;
  align-items: center;
  padding: 3% 0;
  gap: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.promotions-list1 > div:hover {
  transform: translateY(-3px);
}

.promo-icon-url1 {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-left: 1rem;
}

.promo-title-home {
  margin-bottom: 0;
}

.promotions-list1 h3 {
  font-size: 1rem;
  margin: 0;
  color: #171717;
  text-align: left;
}

.promotions-list1 p {
  font-size: 0.85rem;
  color: #141414;
  margin: 2px 0;
  text-align: left;
}

.promotions-list1 > div > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-text-home {
  font-size: 1rem;
  /* font-weight: 500; */
  color: #1f1f1f;
  background-color: #ffffff;
  border: 2px solid #4caf50; /* subtle green border */
  padding: 1rem 2rem;
  margin: 1rem auto;
  border-radius: 6px;
  text-align: left;
  max-width: 800px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toggle-cal {
  text-align: center;
  justify-content: center;
  margin: 5px;
}

/* Base styles for FullCalendar container */
/* Mobile-first base styles (applies to all screens) */
.fc {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  background-color: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

/* Event styles */
.fc-event,
.fc-daygrid-event {
  background-color: #4caf50;
  color: white;
  padding: 4px 6px; /* Smaller padding for mobile */
  border-radius: 2px;
  margin-bottom: 2px;
  font-size: 0.65rem; /* Smaller font for mobile */
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.7rem; /* Explicit small size for mobile */
}

.fc .fc-daygrid-day-frame {
  min-height: 85px;
}

.fc-daygrid-day-number {
  font-size: 1rem;
}
.fc .fc-daygrid-day-number {
  font-size: 1rem;
}
.fc-daygrid-dot-event .fc-event-title {
  font-size: 0.8rem;
}
/* Calendar header */
.fc-toolbar-title {
  font-size: 1rem; /* Smaller for mobile */
  font-weight: 600;
}

/* Calendar wrapper */
.calendar-wrapper {
  width: 100%; /* More breathing room on mobile */
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  overflow-x: auto; /* Allows horizontal scrolling if needed */
}

/* Tablet styles (600px and up) */
@media (max-width: 600px) {
  .fc {
    font-size: 0.85rem;
  }
  .toggle-cal {
    display: none;
  }

  .fc-event,
  .fc-daygrid-event {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .calendar-wrapper {
    width: 100%;
    display: none;
  }
}

/* Desktop styles (768px and up) */
@media (min-width: 768px) {
  .fc {
    font-size: 1rem;
  }

  .fc-event,
  .c-daygrid-event {
    padding: 8px 10px;
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .fc-toolbar-title {
    font-size: 1.4rem;
  }

  .calendar-wrapper {
    width: 100%;
    /* max-width: 1200px; */
  }
}

/* Force FullCalendar to respect mobile sizes */
.fc .fc-view-harness {
  min-height: 400px; /* Prevent squishing on mobile */
}
.fc-event:hover {
  background-color: #00852a;
}

.fc-daygrid-day-frame {
  padding: 2px; /* Tighter spacing on mobile */
}

.fc-daygrid-day-number {
  font-size: 0.7rem; /* Smaller day numbers */
  padding: 1px 3px;
}
/* Responsive adjustments for smaller screens (optional, refine as needed) */
@media (max-width: 600px) {
  .games-game-container {
    /* grid-template-columns: repeat(
      auto-fit,
      minmax(150px, 1fr)
    );  */
  }
  .game-image-container {
    overflow: visible;
    aspect-ratio: auto;
    width: 100%;
  }
  .game-container {
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }
  .game-image {
    max-height: 350px;
    object-fit: cover;
  }
}

.promotions-container {
  padding: 20px;
  /* margin: 0 20%; */
}

.promotions-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.promotions-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px; /* Space between promotion items */
}

.promo-icon-url {
}

.promotion-item {
  display: flex; /* Use flexbox for horizontal layout of icon and text */
  align-items: center; /* Vertically center icon and text */
  background-color: #fff; /* White background for each promotion item */
  width: 20%;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border: 1px solid #ddd;
}

.promotion-icon {
  max-width: 60px;
  margin-right: 15px; /* Space between icon and text */
  display: flex; /* Use flexbox to center the image */
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
}

.error-message {
  color: red;
  font-size: 1em;
  margin: 0;
}
.promotions-container h2 {
  margin-top: 0;
}

.promotion-icon img {
  max-width: 100%; /* Ensure image doesn't exceed container size */
  max-height: 100%;
  object-fit: cover;
}

.promotion-details h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.promotion-details p {
  margin: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .promotion-item {
    flex-direction: column; /* Stack icon and text vertically on small screens */
    text-align: center; /* Center text on small screens */
    width: auto;
  }
  .promotion-icon {
    margin-right: 0; /* Remove right margin on small screens */
    margin-bottom: 10px; /* Add bottom margin instead */
  }

  .promotions-list {
    flex-direction: column;
  }
}

#gameWall {
  width: 100%;
  margin: 0;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  display: block;
}

.main-card-div {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: -10%;
  position: relative;
  z-index: 10;
  width: 100%;
}

.main-card {
  background-color: white;
  padding: 20px;
  margin: 0 10px;
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 30%;
  text-align: center;
}

.home-tcg-card {
  display: flex;
  flex-direction: row;
  margin: 14% 0;
  align-items: center;
  align-content: center;
}
.home-tcg-card:hover {
  cursor: pointer;
  color: #00861d;
}
.icon-url {
  margin-top: 5px;

  width: 50px;
}
.icon-url-home {
  width: 50px;
}
.icon-url-header {
  height: 50px;
}

.view-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  border-bottom: 2px solid black;
}

.tcg-icon {
  display: block;
}
.home-tcg-card p {
  margin-left: 4%;
}

.tcg-icon {
  width: 30%;
  height: auto;
}
.main-card h2 {
  margin: 0 1%;
  margin-top: 2%;
}
.main-card h2:hover {
  cursor: pointer;
  color: #00861d;
}

/* .main-card h3 {
  margin-bottom: 10px;
} */

.main-card hr {
  margin-left: 1%;
  margin-right: 1%;
}

.main-card ul {
  list-style-type: none;
  margin: 0;
  padding: 0 5%;
}

.card-list-div {
  margin-left: 15%;
}
.card-list-div-rentals {
  margin: 0;
  /* display: flex; */
}

.card-list-div li h3 {
  margin: 0;
}

.card-list-div li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin-bottom: 20px;
  /* gap: 5px; */
  border-radius: 5px;
  align-items: center;
}

.template-buttons button {
  margin: 5px;
}

.card-list-div li img {
  width: 60%;
  height: auto;
  align-self: center;
  /* max-height: 200px; */
}

.card-list-div li button {
  width: fit-content;
  margin: 1%;
}

h4 {
  margin: 0;
}

.see-us-list-div li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* margin-bottom: 20px; */
  gap: 5px;
  border-radius: 5px;
}

.see-us-list-div li img {
  width: 60%;
}

.see-us-list-div li p {
  margin-top: 0px;
}

.login-content {
  height: 50vh;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.login-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 350px;
}

.login-container h2 {
  margin-bottom: 15px;
}

.login-container input {
  padding: 10px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.login-container button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: 0.3s;
  margin: 5px;
}

.login-container button:hover {
  background: #00861d;
}

.rental-content {
  margin: 0 3%;
  text-align: center;
}
.rental-content h1 {
  margin: 0;
  border-bottom: 2px solid black;
}
#rentalHero {
  width: 100%;
}

.rental-games-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0px;
}

.rental-game-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: anchor-center;
  width: 25%;
  border-radius: 5px;
  background: #fff;
  padding: 20px;
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px;
  position: relative;
}

.rental-game-btn {
  justify-self: anchor-center;
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  transition: 0.3s;
}

.rental-game-btn:hover {
  background-color: #388e3c;
}

.actualRentalBtn {
  background: black;
  justify-self: anchor-center;
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  transition: 0.3s;
}

.rental-game-img {
  max-width: 190;
  max-height: 240;
}

#detail-description-div {
  width: 100%;
  height: 30%;
}
#detail-description-scroll-div {
  height: 100%;
  overflow: scroll;
}

.rental-detail-container {
  background: #454955;
  color: white;
  padding: 3%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  border-radius: 5px;
  width: 94%;
  text-align: center;
  position: absolute;
  top: -3%;
  height: 100%;
  left: 0;
  z-index: 2;
  animation: riseUp 1.5s;
  animation-direction: normal;
}

.rental-detail-container p {
  margin-bottom: 0px;
  margin-top: 2px;
}

@keyframes riseUp {
  from {
    height: 0%;
    top: 100%;
    opacity: 0;
  }
  to {
    height: 100%;
    top: -3%;
    opacity: 1;
  }
}

.slide {
  animation: slideDownAnimation 1.5s;
}

@keyframes slideDownAnimation {
  from {
    height: 100%;
    top: -3%;
    opacity: 1;
  }
  to {
    height: 0%;
    top: 100%;
    opacity: 0;
  }
}

.rental-detail-container button {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: white;
  color: #4caf50;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

.rental-detail-container span {
  margin-left: 90%;
  margin-top: 0px;
}

@keyframes horizontal-shaking {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(3px);
  }
  50% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}
.shake {
  animation: horizontal-shaking 0.3s ease-in-out;
}

.events-content {
  flex: 1;
  height: 100%;
  min-height: 60dvh;
  margin: 0 3% 0 3%;
  background-size: cover;
  background-color: #fafafa;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-position: center;
}

.edit-page-content {
  background-color: #fafafa;
}

.events-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
}
.mobile-events-logo {
  display: none;
}

.event-card {
  width: 70%;
  display: flex;
  flex-direction: row;
  background: #fff;
  /* padding: 20px; */
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  text-align: center;
}

.home-event-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  margin: 4% 0;
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  align-items: center;
  padding-bottom: 2%;
}
.home-event-card h3 {
  padding: 2%;
  margin: 0;
  width: 100%;
}
.home-event-card p {
  padding: 0;
  margin: 0;
}

.home-event-card button {
  width: fit-content;
}
/* .date-box {
  align-self: center;
  justify-content: center;
  width: 200px;
} */

.date-box {
  background-color: #454955;
  color: #fff;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.day {
  font-size: 75px;
  /* top: 50%; */
  /* left: 50%; */
  position: absolute;
  margin-top: 2%;
  /* transform: translate(-50%, -50%); */
}
.month {
  margin-bottom: 4%;
  font-size: 25px;
  position: absolute;
  /* top: 15%;
  left: 50%; */
  /* transform: translateX(-50%); */
  text-transform: uppercase;
}

.home-event-date {
  align-self: center;

  justify-content: center;

  width: 200px;
}
.event-title {
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.view-event-content .event-header {
  margin-bottom: 10px;
}

.event-header h2 {
  color: #3f7d20;
  margin: 0;
  padding: 0;
}
.event-game h3 {
  margin: 0;
  padding: 0;
}
.event-main-info {
  text-align: left;
  margin: 1%;
  margin-left: 3%;
  width: 60%;
}

.search-filter {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0 3% 0 3%;
}
.input-search button {
  height: fit-content;
  margin-left: 10px;
}
#search-form {
  width: 100%;
}

.input-search {
  width: 50%;
  align-self: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0 3% 0 3%;
}
.dropdown-filter {
  width: 50%;
  align-self: center;
  margin: 0 3% 0 3%;
}
.player-names {
  margin: 0;
}

.event-day {
}
.event-game {
}
.event-side-info {
}
.event-players-signed {
}
.event-time {
}

.event-buttons1 {
  width: 35%;
  align-self: center;
}

#player-list,
#paired-list {
  padding: 10px;
  margin-bottom: 20px;
}

#players li,
#pairs li {
  padding: 5px;
  cursor: pointer;
}

#players li.selected {
  background-color: #42fd4f;
}

#pair-button {
  padding: 10px 20px;
}

#pair-button:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

#pairs li button {
  margin-left: 10px;
}

.player-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 3px;
  background: #f8f8f8;
}

.player {
  padding: 5px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  transition: background 0.3s ease;
}

.registered-players {
  margin: 0 10% 10% 10%;
}

.player:last-child {
  border-bottom: none;
}

.event-button {
  padding: 15px 20px;
  margin: 25px;
  background-color: black;
  color: #a5ca68;
  text-decoration: none;
  border-radius: 5px;
  bottom: 0;
  font-weight: bold;
  float: right;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.event-button:hover {
  background-color: #02ab2f;
  color: white;
}

.upcoming-events {
  text-align: center;
  border-bottom: 2px solid black;
  margin: 0 3% 0 3%;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* -webkit-text-stroke-width: 0.25px;
  -webkit-text-stroke-color: black; */
}

.upcoming-events h1 {
  margin: 0;
}

.upcoming-events button {
  width: fit-content;
  align-self: center;
  margin: 5px;
}

.view-event-content {
  background-color: #fafafa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 3%;
  min-height: 70dvh;
}

.event-title {
  color: #3f7d20;
}

.reg-player {
  color: #3f7d20;
}

.event-container {
  display: flex;
  flex-direction: row;
}

.event-body {
  width: 70%;
}

.event-body1 {
  width: 70%;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.075);
  padding: 20px;
  height: fit-content;
}
.event-header1 {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.event-icon1 {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 16px;
}

.header-text1 {
  display: flex;
  flex-direction: column;
}

.event-title1 {
  margin-top: 15px;
  margin-bottom: 0;
  color: #00861d;
  font-size: 1.5em;
  font-weight: 600;
}

.event-date1 {
  font-size: 0.95em;
  margin-top: 5px;
  color: #666;
}

.event-details1 h3 {
  margin-top: 0;
  color: #2c3e50;
}

.event-description {
  text-align: left;
}

.event-day-time1,
.event-organizer1,
.player-count1,
.event-fee1,
.event-description1 {
  margin: 8px 0;
}

.event-fee1 {
  font-weight: bold;
  color: #2c3e50;
  background-color: #f3f3f3;
  padding: 8px;
  border-radius: 8px;
  display: inline-block;
}

.players-on-page {
  width: 35%;
  text-align: center;
}

.btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  transition: 0.3s;
  margin: 3px;
}

.event-buttons1 button {
  margin: 5px;
}

.event-buttons2 {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.svbtn {
  background-color: #37c8fc;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: 0.3s;
  margin: 5px;
}

.btn:hover {
  background-color: #388e3c;
}

/* Modal Overlay (blurs the background) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

/* Modal Content */
.modal {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.modal h2 {
  margin-bottom: 15px;
}

.input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.submit-btn {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  flex: 1;
  margin-right: 5px;
}

.submit-btn:hover {
  background-color: #1976d2;
}

.close-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  flex: 1;
  margin-left: 5px;
}

.close-btn:hover {
  background-color: #d32f2f;
}

.admin-event-content {
  background-color: #fafafa;
  margin-left: 3%;
  margin-right: 3%;
}

.admin-event-content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-align: center;
}

.template-area-creation {
  width: 50%;
  padding: 0 3%;
}
.follow-up-creation {
  width: 50%;
  padding: 0 3%;
}

.edit-buttons {
  display: flex;
  justify-content: center;
  flex-direction: row;
  padding: 3%;
}

.edit-buttons button {
  margin: 2%;
}

.fee-reminder {
  background-color: lightcoral; /* A softer red tone */
  padding: 10px;
  border: 1px solid orange; /* Optional border for more emphasis */
  border-radius: 5px; /* Optional rounded corners */
  margin-top: 15px; /* Add some space above */
  margin-bottom: 15px; /* Add some space below */
  text-align: center; /* Center the text */
  font-size: 1.1em; /* Slightly larger font size */
}

#edit-player-list .edit-players li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid #eee;
}

#edit-player-list .edit-players li:last-child {
  border-bottom: none;
}

#edit-player-list .btn {
  padding: 8px 12px;
  border: 1px solid black;
  border-radius: 4px;
  background-color: #4caf50;
  cursor: pointer;
}

#edit-player-list .btn:hover {
  background-color: #388e3c;
}

#edit-player-list .selected {
  background-color: #ffce3c;
}

.edit-players {
  padding: 0;
}

.edit-page-content {
  margin-left: 3%;
  margin-right: 3%;
}
.loading-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.placeholder {
  max-width: 100%;
  width: 100%; /* default size for standard screens */
  /* height: auto; */
}

@media (min-width: 2040px) {
  .placeholder {
    /* width: 220px; smaller on ultra-wide screens */
    width: 90%;
  }
}

.otherplaceholder {
  max-width: 100%;
  width: 100%; /* default size for standard screens */
  /* height: auto; */
}

@media (min-width: 2040px) {
  .otherplaceholder {
    /* width: 220px; smaller on ultra-wide screens */
    width: 75%;
  }
}

.spinner-text {
  padding: 10px;
  color: white;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Footer wrapper */
.footer {
  background-color: #454955;
  font-family: "Poppins";
  font-size: 0.8rem;
  margin-top: 25px;
  color: white;
  text-align: center;
  font-size: 0.9em;
  width: 100%;
  height: auto;
  padding: 0px;
}

.social p {
  align-items: center;
  display: flex;
}

.about-us p {
  align-items: center;
  display: flex;
}
.store-footer-text p {
  align-items: center;
  display: flex;
}

.top-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  text-align: left;
  padding-top: 10px;
}

.about-us {
}

.social {
}

.copyright {
  align-content: center;
  font-size: 20px;
  padding: 2%;
  color: white;
}

.social-icon {
  height: 25px;
}

.icon-link {
  height: 25px;
  padding: 5px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
}

.social-link:hover {
  text-decoration: underline; /* Optional */
}

.socials {
  gap: 10px;
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.footer-map {
  height: 125px;
}

.about-us img {
  padding: 5px;
}

.store-footer-wrapper {
}

.times {
}

.footer-header {
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #72b01d;
}

input[type="text"],
input[type="date"],
input[type="time"],
textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: sans-serif;
}

.event-title2 {
  /* font-size: 7vw; */
  color: #388e3c;
  text-align: center;
}

.view-header h1 {
  margin: 2% 2% 0% 2%;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: sans-serif;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 50%;
}

select:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* mobile display */
@media only screen and (max-width: 960px) {
  body {
    margin: 0px;
  }
  #main {
    flex-direction: column; /* Stack elements vertically */
  }

  nav {
    display: block; /* Hide the default nav */
    /* flex-direction: column;
    flex-wrap: nowrap; */
    position: fixed;
    margin: 0;
    width: 80%; /* Or a specific width */
    height: 100%;
    background-color: #00000094; /* Semi-transparent background */
    z-index: 1000; /* Ensure it's above other content */
    transform: translateX(-100%); /* Initially hidden */
    transition: transform 0.3s ease-in-out; /* Smooth transitions */
    overflow-y: auto; /* Enable scrolling if content overflows */
  }

  nav ul {
    flex-direction: column;
    margin-top: 30%;
    gap: 40px;
    padding: 15px;
    justify-self: center;
    align-items: flex-start;
  }

  nav ul img {
    margin: 0 auto 0 0;
    width: 60%;
    cursor: pointer;
  }

  nav ul li {
    font-size: 1.5rem;
    padding: 0px;
  }

  nav ul li a {
    padding: 0px;
    color: #fafafa;
  }
  nav ul li a:hover {
    cursor: pointer;
  }
  nav ul li a.active {
    padding: 0px;
    color: #c4d983;
  }

  nav.mobile-nav {
    display: block; /* Show the mobile nav */
    transform: translateX(0); /* Slide in */
  }

  .menu-btn {
    display: block; /* Show the hamburger menu */
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; /* Add some padding around the button */
  }
  .submenu {
    position: relative; /* Now it flows in the document */
    left: 0;
    top: 0;
    display: block; /* Controlled by Vue with v-if */
    padding-left: 50px; /* Indent submenu items */
    background-color: rgba(
      0,
      0,
      0,
      0.85
    ); /* Optional: differentiate submenu background */
    width: 100%;
  }

  .login-content {
    flex-direction: column;
  }

  .card-list-div {
    margin-left: 13%;
  }

  .menu-btn div {
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
  }

  .home-content {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    flex-direction: column;
    /* display: none; */
    /* height: calc(100dvh - 6dvh); */
  }

  .hero {
    /* min-height: 300px; */
    object-fit: fill;
    object-position: center center;
  }
  .hero img {
    display: block; /* Prevent extra space below image */
    /* width: 100%; Make it fill the container width */
    height: 150px;
  }

  #main {
    width: 100%;
  }

  .main-card-div {
    flex-direction: column-reverse;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: -15%;
  }

  .main-card {
    width: 95%;
    margin: 0;
    padding: 0;
  }

  .events-content {
    width: 100%; /* Full width on mobile */
    height: auto;
    min-height: 80dvh;
    background-size: cover;
  }
  .events-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin-left: 10px;
    margin-right: 10px;
    flex-direction: column;
  }

  .date-box {
    background-color: #454955;
    color: #ffffff;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .day {
    /* font-size: 75px; */
    /* top: 50%; */
    /* left: 50%; */
    /* position: absolute; */
    /* position: relative; */
    margin-top: 8%;
    /* transform: translate(-50%, -50%); */
  }
  .month {
    margin-bottom: 20%;
    /* font-size: 25px; */

    /* position: absolute; */
    /* top: 15%;
    left: 50%; */
    /* transform: translateX(-50%); */
    /* position: relative; */

    text-transform: uppercase;
  }

  .events-content {
    margin: 0;
  }

  .search-filter {
    flex-direction: column;
  }
  .input-search {
    width: 100%;
  }

  .event-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3%;
  }

  .upcoming-events {
    text-align: center;
    border-bottom: 2px solid black;
    /* color: white; */
    /* font-size: 1.2rem; */
    padding-left: 3%;
    padding-right: 3%;
    display: flex;
    justify-content: center;
  }

  .event-card {
    width: 100%;
    flex-direction: column;
    margin-left: 15px;
    margin-right: 15px;
  }

  .event-body {
    width: fit-content;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
  }

  .event-body1 {
    padding: 0;
    margin: auto;
  }

  .edit-players {
  }

  .edit-player-buttons {
    display: flex;
    flex-direction: column;
  }

  .edit-player-buttons button {
    margin: 5px;
  }

  .players-on-page {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: 25px;
    width: 100%;
  }

  .reg-player {
    margin: 0;
  }

  .registered-players {
    margin-bottom: 10%;
  }

  .player {
    text-align: center;
  }

  .event-title {
    font-size: 4vw;
    min-width: 50px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .event-main-info {
    margin: 0;
  }

  .event-buttons1 {
    width: 90%;
  }

  .event-buttons1 button {
    margin: 0;
  }

  .event-header1 {
    margin: 0;
    flex-direction: column-reverse;
    text-align: center;
  }

  .event-icon1 {
    margin: 0;
  }
  .event-date1 {
    margin-bottom: 5px;
  }

  .event-title2 {
    /* font-size: 7vw; */
    min-width: 50px; /* Prevents text from getting too small */
    max-width: 100%;
    text-align: center;
  }
  .event-main-info {
    text-align: center;
    width: 100%;
  }

  .admin-event-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
  }

  .event-game {
    text-align: center;
  }

  .template-area-creation {
    width: 100%;
    padding: 0;
  }
  .follow-up-creation {
    width: 100%;
    padding: 0;
  }

  .mobile-events-logo-wrapper {
    display: flex;
    justify-content: center;
  }

  .mobile-events-logo {
    width: 20%;
    display: block;
  }

  .view-event-content {
    /* position: relative; */
    background-color: #fafafa;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 600px;
    margin: 0;
  }

  .registered-players {
    text-align: center;
  }

  .event-container {
    flex-direction: column;
    margin-left: 3%;
    margin-right: 3%;
  }

  .edit-buttons {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 3%;
  }

  .fee-reminder {
    margin: 0 3%;
  }

  .edit-buttons button {
    margin: 2%;
  }

  .event-body1 {
    width: 100%;
  }

  .event-details1 {
    padding: 10px;
    text-align: center;
  }

  .event-buttons1 button {
    margin-bottom: 5px;
    width: 100%;
  }

  .contact-content {
    width: 100%; /* Full width on mobile */
    height: calc(100dvh - 6dvh);
  }

  .footer {
    justify-content: space-around;
    /* background-color: black; */
    color: white;
    text-align: center;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    /* height: 8dvh; */
    /* position: absolute; */
  }

  .top-footer {
    flex-direction: column;
  }

  .social-icon {
    /* height: 35px; */
    /* padding: 10px; */
  }

  .icon-link {
    height: 35px;
    padding: 5px;
  }

  .social-icon {
    /* height: 40px;
    padding: 3px; */
  }
  .times {
  }

  .open {
    margin-top: 25px;
  }

  .about-us {
    margin-top: 25px;
  }
  .social {
    margin-top: 25px;
  }

  .description {
    width: 100%;
  }

  .rental-games-section {
    justify-content: center;
    gap: 10px;
  }
  .rental-game-container {
    width: 100%;
    margin: 5px;
  }
}
