
.game-container {
    text-align: center;
    margin-top: 70px;
  }
  
  #logo-container {
    margin-bottom: 20px;
  }
  
  #logo {
    filter: blur(10px);
    max-width: 800px;
    height: 200px;
    width: 200px;
  }
  

  


    
      #guesses-left {
        margin-top: 20px;
      }
    
      @keyframes shake {
        10%, 90% {
          transform: translate3d(-1px, 0, 0);
        }
      
        20%, 80% {
          transform: translate3d(2px, 0, 0);
        }
      
        30%, 50%, 70% {
          transform: translate3d(-4px, 0, 0);
        }
      
        40%, 60% {
          transform: translate3d(4px, 0, 0);
        }
      }
      
  
    
  .popup {
        display: none;
        position: fixed;
        max-height: 84vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: 800;
        padding: 20px; /* Add padding to the content */
        text-transform: none;
        font-size: 12px;
        color: #000000;
        text-align: center;
        background: #f7f7f7;
        z-index: 1000; /* Ensure it's on top of other content */
        box-shadow: 0 2px 10px 0px rgba(0, 0, 0, 0.25);
    }

  #popup h2 {
      margin-bottom: 10px; /* Adjust as needed */
      color: rgb(0, 0, 0);
      font-size: 12px;
      text-transform: none;
      font-weight: bold;
      text-align: left;
  }
  
  /* Style for the stats section */
  .stats {
      margin-bottom: 32px;
      width: 40%;
      display: flex;
      justify-content: space-between; /* Align boxes in a row with space between them */
  }
  
  .stats-content {
      display: flex;
      justify-content: center; /* Center the content horizontally */
      align-items: center; /* Center the content vertically */
  }
  
  /* Style for stats line */
  .stats-line {
      display: flex;
      flex: 1;
      justify-content: space-between;
  }
  

  /* Style for each stats item */
  .stats-item.games-played { /* 1. */
      display: flex;
      flex: 1;
      flex-direction: column;
      text-transform: none;
      align-items: center;
      justify-content: center;
      height: 80px;
      width: 90px; /* Adjust the width as needed */
      margin-right: 8px;
      background-color: #0E0E0F;
      border-radius: 6px;
      box-sizing: border-box; /* Box-sizing to include padding in width */
      line-height: 1; /* Adjust the line-height for proper vertical alignment */
  }
  
  .stats-item.win-rate { /* 2. */
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-transform: capitalize;
      height: 80px;
      width:  90px; /* Adjust the width as needed */
      margin-right: 8px;
      background-color: #0E0E0F;
      border-radius: 6px;
      box-sizing: border-box; /* Box-sizing to include padding in width */
      line-height: 1.2; /* Adjust the line-height for proper vertical alignment */
  }
  
  .stats-item.current-streak { /* 3. and 4. */
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 80px;
      width: 90px; /* Adjust the width as needed */
      margin-right: 8px;
      background-color: #0E0E0F;
      border-radius: 6px;
      box-sizing: border-box; /* Box-sizing to include padding in width */
      line-height: 1.2; /* Adjust the line-height for proper vertical alignment */
  }
  
  /* Style for stat item figure */
  .stats-item .stat-item-figure {
      font-size: 16px; /* Adjust the font size */
      text-transform: capitalize;
      font-weight: bold;
      color: #3EAA42;
  }
  
  /* Style for stat item label */
  .stats-item .stat-item-label {
      font-size: 10px; /* Adjust the font size */
      color: white;
      text-transform: capitalize;
      margin-top: 5px; /* Adjust the margin as needed */
  }
  
  /* Responsive adjustments for small screens */
  @media (max-width: 380px) {
    .stats-line {
        flex-direction: column;
    }

    .stats-item {
        flex: none; /* Remove flex property to allow content to shrink */
        width: 100%; /* Take up the full width of the container */
        margin-right: 0;
        margin-bottom: 8px; /* Add some spacing between stats boxes */
    }
}
  
  

  /* Style for the performance graph */
  .graph {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .graph-content {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .graph-item {
    margin-top: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    }
  
    .attempt-number,
    .attempt-skull {
      width: 18px;
      display: flex;
      align-items: center;
      color: #000000;
    }
  
    .attempt-skull .icon {
      height: 12px;
    }
  
    .attempt-stat {
        height: 17px;
        width: 100%;
        font-weight: bold;
        font-size: 14px; /* Adjust the font size as needed */
        color: #3498db; /* Adjust color using your preferred hex or named color */
    }
      .attempt-bar {
        height: 100%;
        background: #41b845;
        color: rgb(18, 17, 17);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-weight: bolder;
        font-size: 10px;
        font-weight: 400;
        display: flex;
        box-sizing: border-box;
        padding: 0 6px;
        justify-content: flex-end;
        align-items: center;
        min-width: 28px;
        border-radius: 3px;
    }
        .best {
          background: #41b845;
        }
      
  









  
  /* Style for soluce section */
  .soluce {
      text-align: center;
      margin-top: 10px; /* Adjust the top margin as needed */
  }
  
  /* Style for subtitle */
  .soluce .subtitle {
      font-size: 10px; /* Adjust the font size as needed */
      color: #555; /* Adjust the color as needed */
  }
  
  /* Style for h2 */
  .soluce h3 {
      font-size: 24px; /* Adjust the font size as needed */
      color: #000000; /* Adjust the color as needed */
      margin-top: 0px;
  }
  
  /* Style for modal-footer */
  .soluce .modal-footer {
      margin-top: 20px; /* Adjust the top margin as needed */
  }
  
  /* Style for next-in */
  .soluce .next-in {
      font-size: 14px; /* Adjust the font size as needed */
      color: #555; /* Adjust the color as needed */
  }
  
  /* Style for time */
  .soluce .time {
      font-size: 18px; /* Adjust the font size as needed */
      color: #ff4500; /* Adjust the color as needed */
  }
  
      /* Change cursor to pointer for clickable elements */
      .logos img, .logos a {
          cursor: pointer;
        }
  
  /* Style for the close button */
  .close-button {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      height: 10px;
      width: 10px;
  }




  .cta-button {
    background-color: #2196f3; /* Button background color */
    color: #fff; /* Button text color */
    padding: 10px 20px; /* Adjust padding as needed */
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
  }

  .cta-button:hover {
    background-color: #1565c0; /* Hover background color */
  }


  .container {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 0.2fr 1fr 0.2fr;
    grid-template-rows: 0.05fr 0.5fr 0.5fr 0.1fr;
    grid-template-areas:
      "nav nav nav"
      "sidebar main sidebar2" /* Adjusted grid template areas for sidebar and sidebar2 */
      "sidebar section sidebar2"
      "footer footer footer";
    grid-gap: 0.0rem;
    font-weight: 800;
    text-transform: none;
    font-size: 12px;
    color: #000000;
    text-align: center;
  }
  
  .nav {
    grid-area: nav;
    background: rgba(255, 0, 208, var(--tw-bg-opacity));
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3px;
  }
  
  .navbar-content {
    display: flex;
    align-items: center;
    flex: 1; /* Use flex property to make it take remaining space */
  }
  
  .navbar-content img[alt="BBlogo"] {
    width: 150px; /* Adjust the width as needed */
    height: 50px; /* Maintain aspect ratio */
    margin-top: 10px; /* Remove default margin */
    margin-left: 10px;
}

  
  .logos {
    display: flex;
    margin-left: auto;
    justify-self: end;
    margin-top: 10px;
  }
  
  
  .logos a,
  .logos #statsLogo {
    margin-left: 20px; /* Add margin between logos */
    justify-self: end;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    transition: transform 0.3s ease-in-out; /* Add a smooth transition effect */
  }

  .logos a:hover,
.logos #statsLogo:hover {
    transform: scale(1.2); /* Adjust the scaling factor as needed */
  }


  
  #sidebar {
    background: rgba(255, 0, 208, var(--tw-bg-opacity));
    grid-area: sidebar;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
  }
  
  #sidebar2 {
    background: rgba(255, 0, 208, var(--tw-bg-opacity));
    grid-area: sidebar2; /* Corrected the grid-area to sidebar2 */
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
  }
  
  footer {
    background: rgba(255, 0, 208, var(--tw-bg-opacity));
    grid-area: footer;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
    text-align: center; /* Center the content horizontally */
    align-items: center
  }
  
  footer p {
    margin: 0; /* Remove default margin to prevent extra spacing */
  }
  
  footer a {
    display: inline-block; /* Display links in a line */
    margin: 0 10px; /* Add some spacing between links, adjust as needed */
    text-decoration: none;
    color: #000000; /* Set the link color */
    font-weight: bold;
  }
  
  footer a:hover {
    text-decoration: underline; /* Add underline on hover */
  }
  
  
  @media only screen and (max-width: 460px) {
    .container {
      grid-template-columns: 1fr;
      grid-template-rows: 0.1fr 0.0fr 1fr 0.0fr 0.1fr;
      grid-template-areas:
        "nav"
        "sidebar"
        "main"
        "sidebar2"
        "footer"
        ;
    }
  }



.header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    
    margin-bottom: 50px;
}

.main {
    background: rgba(255, 0, 208, var(--tw-bg-opacity));
    grid-area: main;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Set the width to be 100% of the parent (main) */
}


.container1 {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            border-radius: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        th, td {
            padding: 10px;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
            font-weight: bold;
            border: 1px solid rgb(0, 0, 0);
        }

        input[type="text"] {
            width: 100%; /* Full width of the parent element */
            padding: 10px;
            margin-top: 10px;
            box-sizing: border-box;
            display: inline-block;
          outline: none;
        }

        guess-box-1 {
            width: 100%; /* Full width of the parent element */
            padding: 10px;
            margin-top: 10px;
            box-sizing: border-box;
            display: inline-block;
          outline: none;
        }
        

        .guess-btn {
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            display: inline-block;
            margin-top: 10px;
            margin-left: 10px;
        }

        .main-guess-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-guess-input {
  
    width: 200px;
}

















.autocomplete {
  position: relative;
  display: inline-block;
}

.team-search {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

.team-search {
  flex-grow: 1;
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Add box shadow */
}



.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
  text-align: left; /* Align text to the left */
  text-transform: capitalize;
}

.autocomplete-items div:hover {
  background-color: #e9e9e9;
}



.autocomplete-items div span {
  text-transform: lowercase; /* Convert the rest of the text to lowercase */
}

.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.search-button-cta {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  margin-left: 5px; /* 5px margin between autocomplete and guess button */
}

.search-button-cta:hover {
  background-color: #3808e4;
}



@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake-animation {
  animation: shake 0.5s; /* Apply the shake animation */
}
.shake-animation-red {
  background-color: red;
  transition: background-color 0.2s; /* Set the transition duration to 0.2 seconds */
}
.nickname-cell {
  border: 1px solid rgb(0, 0, 0);
    padding: 5px;
  }

  .name-cell {
    border: 1px solid rgb(0, 0, 0);
    padding: 5px;
  }


  #soluceTable table {
  border-collapse: collapse;
  width: 100%;
}

#soluceTable table tr {
  border: 1px solid #000000;
}

#soluceTable table td {
  padding: 8px;
  border: 1px solid #000000;
  text-align: center;
}