@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'
);

:root {
    --bg: #2f323f;
    --text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.divMenu {
    grid-area: 1 / 1 / 6 / 2;
}

.divBody {
    grid-area: 1 / 2 / 6 / 6;
    color: #fff;
}



body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg);
}

a {
    color: #fff;
}

.navigation {
    position: fixed;
    inset: 40px 0 40px 20px;
    width: 75px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.navigation.active {
    width: 250px;
}

.menuToggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 23px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.menuToggle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #333;
    transform: translateY(-8px);
    transition: 0.5s
}

.navigation.active .menuToggle::before {
    transform: translateY(0px) rotate(45deg);
}

.menuToggle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #333;
    transform: translateY(8px);
    box-shadow: 0 -8px 0 #333;
    transition: 0.5s
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100px;
    text-align: center;
    text-decoration: none;
    z-index: 100;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    line-height: 60px;
    font-size: 1.75em;
    min-width: 60px;
    height: 60px;
    border-radius: 10px;
    color: #222327;
    transition: 0.5s;
    border: 6px solid transparent;
}

.navigation ul li.active a .icon {
    color: #fff;
    background: var(--clr);
}

.navigation ul li a .icon::before {
    content: '';
    position: absolute;
    top: 12px;
    left: Opx;
    width: 100%;
    height: 100%;
    background: var(--clr);
    filter: blur(8px);
    opacity: 0;
    transition: 0.5s;
}

.navigation ul li.active a .icon::before {
    opacity: 0.5;
}

.navigation ul li.active a .icon::after {
    content: '';
    position: absolute;
    top: l0px;
    width: 15px;
    height: 15px;
    background: var(--clr);
    border: 8px solid var(--bg);
    left: -62px;
    border-radius: 50%;
}

.navigation ul li a .text {
    position: relative;
    padding: 0 15px;
    height: 60px;
    color: #333;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.navigation.active ul li a .text {
    visibility: visible;
    opacity: 1;
}

.navigation ul li.active a .text {
    color: #fff;
}

.navigation.active .menuToggle::after {
    transform: translateY(Opx) rotate(-45deg);
    box-shadow: 0 0 0 #333;
}

.navigation ul {
    display: flex;
    flex-direction: column;
    width: 100%;

}

.navigation ul li {
    list-style: none;
    position: relative;
    width: 100%;
    height: 76px;
    border-radius: 12px;
    transition: 0.5s;
    border: 8px solid transparent;
}

.navigation ul li.active {
    transform: translateX(30px);
    background: var(--bg);
}

.navigation ul li::before {
    content: '';
    position: absolute;
    top: -28px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 6px 5px 0 5px var(--bg);
    transform: scale(0);
    transform-origin: bottom right;
    transition: 0.5s;

}

.navigation ul li.active::before {
    right: 22px;
    transform: scale(1);
}

.navigation ul li::after {
    content: '';
    position: absolute;
    bottom: -28px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 6px -3px 0 3px var(--bg);
    transform: scale(0);
    transform-origin: top right;
    transition: 0.5s;
}

.navigation ul li.active::after {
    right: 22px;
    transform: scale(1)
}


button {
    position: relative;
    border-radius: 20px;
    border: 1px solid #4bb6b7;
    background-color: #4bb6b7;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 10px;
    padding: 12px 80px;
    letter-spacing: 1px;
    text-transform: capitalize;
    transition: 0.3s ease-in-out;
}

button:hover {
    letter-spacing: 3px;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.game-registrations {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.game-registrations th,
.game-registrations td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.rebuy-button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
  }

  .addon-button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
  }

  .warning-button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
  }

  .add-player-button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
  }

  /* Basic nav styles */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    background: #222;
    padding: 0;
    margin: 0;
    list-style: none;
}
.nav-menu li {
    flex: 1 1 auto;
    text-align: center;
}
.nav-menu a {
    display: block;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
}
.nav-menu a:hover {
    background: #444;
}

/* Basic Navbar Styles */
.navbar {
  background: #222;
  color: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

/* Add this to your main content container */
.parent, .welcome-container {
  margin-top: 70px; /* Slightly more than navbar height for spacing */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1em;
  height: 56px;
}
.nav-logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
}
.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  margin-left: 1em;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.7em 0.9em;
  display: block;
  border-radius: 4px;
}
.nav-menu a:hover {
  background: #444;
}

/* Burger styles */
.nav-burger {
  display: none;
  font-size: 2em;
  cursor: pointer;
  user-select: none;
}

/* Responsive styles */
@media (max-width: 700px) {
  .nav-menu {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #222;
    flex-direction: column;
    display: none;
  }
  .nav-menu li {
    margin: 0;
    border-bottom: 1px solid #333;
  }
  .nav-toggle:checked + .nav-burger + .nav-menu {
    display: flex;
  }
  .nav-burger {
    display: block;
  }
}
.nav-toggle {
  display: none;
}