@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'ErasDemiITCRegular';
    src: url('../fonts/eras-demi-itc-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ErasITCDemi';
    src: url('../fonts/eras-itc-demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    font-family: 'ErasITCDemi', sans-serif;

}

.info {
    background: linear-gradient(to bottom, #426577, #4d535f 10%, #3c5079);
}
.header {
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
    background-color: #18283B;
    z-index: 1;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
  }
  
  .logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_img {
    color: #FFF;
    height: 130%;
    transition:0.2s;
 
}
 
.logo_img:hover {
    scale: 1.1;
}
  
  .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
  }

  .CTA {
    background-color: rgb(203, 140, 3);
    color: black;
    border: 1px solid rgb(169, 116, 4);
}

  .CTA:hover {
    background-color: rgb(166, 114, 2);
    border: 1px solid rgb(135, 93, 3);

    color: white;
  }
  
  .menu a {
    display: block;
    padding: 7px 15px;
    font-size: 17px;
    font-weight: 500;
    transition: 0.2s all ease-in-out;
    color: #fff;
    text-decoration: none;

  }
  
  .menu:hover a {
    opacity: 0.4;
  }
  
  .menu a:hover {
    opacity: 1;
    color: #fff;
  }
  
  .menu-icon {
    display: none;
  }
  
  #menu-toggle {
    display: none;
  }
  
  #menu-toggle:checked ~ .menu {
    transform: scale(1, 1);
  }

.hero {
    /* Full viewport height for the hero section */
    width: 100%;
    height: 100vh;

    /* Flexbox settings */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Text styles */
    text-align: center;
    color: white;

    /* Background styles */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 5em;
    margin: 0 0 0.5em 0;
}

.hero .btn {
    display: block;
    width: 250px;
    padding: 1rem;
    margin: 50px auto 0 auto;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1.5em;
    outline: 2px solid #FFF;
    outline-offset: 5px;
    background-color: #23EC88;
    font-family: 'ErasITCDemi';
    transition: outline-offset 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
    outline-offset: 0px;
    background-color: #23EC88;
    /* Slightly darker green for hover effect */
    transform: scale(1.05);
    /* Optional: Slightly enlarge on hover */
}

.features_container {
    /* Padding to create spacing after hero */
    padding: 5rem 5rem 10rem 5rem;
    color: white;
    
}

.container-about {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
  }
 
  .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/backround-traiding-full.png"); /* Replace with your image */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
  }
 
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Black with 60% opacity */
  }
 
  .content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
 
  h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
 
  p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
.features_list {
    display: flex;
    gap: 20px;
    margin-top: 0.5rem;
}
.card-features {
    display: flex;
    text-align: start;
}
.feature_span_1 {
    color: #FFDF5E;
    margin-right: 5px;
    font-weight: bold;
}
.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    flex: 1;
    background-color: #65728a;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 7px;
}
.card-description {
    flex: 1;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;

}

.faq_container {
    /* Additional spacing for content sections */
    padding: 5rem;
    margin-top: 5rem;
    color: white;
    background-size: contain;
    background-position: fixed;
}

.school_link {
    color: white;
    text-decoration: underline;
    transition: 0.3s ease-in-out;
}

.school_link:hover {
    color: #FFDF5E;
}

.container {
        color: white;
}

.accordion {
    .accordion-item {
        border-bottom: 1px solid lightgray;
    }

    button {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding: 1em 0;
        color: white;
        font-size: 1.15rem;
        font-weight: 400;
        border: none;
        background: none;
        outline: none;

        &:hover,
        &:focus {
            cursor: pointer;
            color: $blue;

            &::after {
                cursor: pointer;
                color: $blue;
                border: 1px solid $blue;
            }
        }

        .accordion-title {
            padding: 1em 1.5em 1em 0;
            color: white;
        }

        .icon {
            display: inline-block;
            position: absolute;
            top: 18px;
            right: 0;
            width: 22px;
            height: 22px;
            border: 1px solid;
            border-radius: 22px;
            color: white;

            &::before {
                display: block;
                position: absolute;
                content: '';
                top: 9px;
                left: 5px;
                width: 10px;
                height: 2px;
                background: currentColor;
            }

            &::after {
                display: block;
                position: absolute;
                content: '';
                top: 5px;
                left: 9px;
                width: 2px;
                height: 10px;
                background: currentColor;
            }
        }
    }

    button[aria-expanded='true'] {
        color: $blue;

        .icon {
            &::after {
                width: 0;
            }
        }

        +.accordion-content {
            opacity: 1;
            padding-bottom: 0.5rem;
            max-height: 9em;
            transition: all 200ms linear;
            will-change: opacity, max-height;
        }
    }

    .accordion-content {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 200ms linear, max-height 200ms linear;
        will-change: opacity, max-height;
        width: 100%;
    
    }

    .accordion-content p {
        font-size: 1rem;
        font-weight: 300;
        margin: 0;        
    }
}
.highscores_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: white;
    padding-bottom: 2rem;
}

.leaderboard {
    max-width: 400px;
    color: black;
}

.player-box {
    display: flex;
    align-items: center;
    background-color: #6f6c6c;
    border-radius: 50px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: ease 0.15s;
    width: 20rem;
}

.rank-circle {
    width: 40px;
    height: 40px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
}


.player-info {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.player-name {
    font-size: 16px;
    font-weight: bold;
    display: block;
    color: white;
}

.player-stats {
    display: flex;
    gap: 15px;
}

.stat {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: white;
}

.stat img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.player-box:nth-child(1) {
    background-color: #2ecc71;
}

.player-box:nth-child(2) {
    background-color: #3498db;
}

.player-box:nth-child(3) {
    background-color: #e74c3c;
}

.player-box:nth-child(1):hover {
    box-shadow: 0px 0px 15px rgba(39, 187, 101, 0.6);
}

.player-box:nth-child(2):hover {
    box-shadow: 0px 0px 15px rgba(41, 137, 201, 0.6);
}

.player-box:nth-child(3):hover {
    box-shadow: 0px 0px 15px rgba(214, 65, 48, 0.6);
}

footer {
    background-color: #262626;
    color: white;
    text-align: center;
    padding: 1rem;
}

.footer_under {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer_under a {
    padding: 5px;
    text-decoration: none;
    color: white;
    background-color: #464646;
    border-radius: 10px;
    transition: ease 0.3s;
    font-size: large;
}

.footer_under a:hover {
    background-color: #535353;
    color: lightblue;
}

.team-section {
    text-align: center;
    padding: 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(165deg, #2e3a53, #687c9f, #0B0E14);
}

.team-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #ffffff;
    text-shadow: 5px 5px 6px rgba(0, 0, 0, 0.2);
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 5rem;
}

.team-member {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    color: #333;
    margin: 10px 0 5px;
}

.team-member p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}


/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: flex-center;
    }

    ul {
        flex-direction: column;
        width: 100%;
        display: none;
        /* Hide by default */
    }

    ul li {
        display: block;
    }

    #icon {
        display: block;
    }

    #checkbox:checked~ul {
        display: block;
        /* Show when checked */
    }

    .hero h1 {
        font-size: 3em;
        /* Reduce font size for smaller screens */
    }

    .features_container,
    .faq_container,
    .highscores_container,
    .team_container {
        padding: 1rem;
    }

    .features_container>h2 {
        text-align: center;
    }

    .features_list {
        flex-direction: column;
        /* Stack features vertically */
        gap: 2rem;
        /* Adjust gap */
    }

    .features_item > img {
        width: 100%;
        height: 200px; /* Adjust as needed */
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.4);
    }
    
    .image-slider-container {
        position: relative;
        width: 100%;
        max-width: 800px;
        height: 450px;
        margin: 30px auto;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .image-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .image-slider-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-top {
        /* Start with 50% showing by default */
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
        transition: clip-path 0.3s ease-out;
    }

    /* Optional - Add some indicators to show what's happening */
    .slider-instruction {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-family: Arial, sans-serif;
        z-index: 10;
    }

    .player-box {
        flex-direction: row;
        /* Stack player info vertically */
        align-items: flex-start;
        /* Align items to the start */
    }

    .player-info {
        flex-direction: row;
        /* Stack player info vertically */
        align-items: flex-start;
        /* Align items to the start */
        justify-content: space-between;
        height: 40px;
        align-items: center;

    }
}

@media only screen and (max-width: 950px) {
    .menu {
      flex-direction: column;
      background-color: #18283B;
      border-top: #23EC88 1px solid;
      align-items: start;
      position: absolute;
      top: 90px;
      left: 0;
      width: 100%;
      z-index: 1;
      transform: scale(1, 0);
      transform-origin: top;
      transition: transform 0.3s ease-in-out;
      box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
  
    .menu a {
      margin-left: 12px;
    }
  
    .menu li {
      margin-bottom: 10px;
    }
  
    .menu-icon {
      display: block;
      color: #fff;
      font-size: 28px;
      cursor: pointer;
    }
  }

  
    /* Main container */
    .container-gamplay {
        position: relative;
        width: 100%;
        min-height: 100vh;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5%;
        overflow: hidden;
    }
   
      /* Left content section */
      .content {
        width: 45%;
        z-index: 2;
      }
   
      .subtitle {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
      }
   
      .title {
        font-size: 5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
      }
   
      .description {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 90%;
      }
   
      .cta-button {
        display: inline-block;
        padding: 0.8rem 2rem;
        background-color: #c8aa6e;
        color: #0a1723;
        font-weight: 600;
        text-decoration: none;
        border: 2px solid #c8aa6e;
        transition: all 0.3s ease;
        font-size: 1rem;
      }
   
      .cta-button:hover {
        background-color: transparent;
        color: #c8aa6e;
      }
   
      /* Game modes section */
      .game-modes {
        display: flex;
        justify-content: space-evenly;
        margin-top: 3rem;
        margin-bottom: 1rem;
        gap: 2rem;
      }
   
      .game-mode {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
   
      .game-mode img {
        width: 75px;
        height: 75px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 1rem;
      }
   
      .game-mode-title {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
      }
   
      /* Right image section */
      .image-container {
        display: hidden;
        position: relative;
        width: 45%;
      }
   
      .circle-frame {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 50%;
        border: 2px solid #c8aa6e;
        overflow: hidden;
      }
   
      .gameplay-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/concept.gif');
      }
   
      /* Responsive adjustments */
      @media (max-width: 1024px) {
        .container {
          flex-direction: column;
          padding: 4rem 5%;
          gap: 3rem;
        }
        .content {
          width: 100%;
          text-align: center;
        }
        .description {
          margin: 0 auto 2rem;
        }
        .image-container {
            display: show;
          width: 80%;
        }
        .title {
          font-size: 3.5rem;
        }
        .game-modes {
          justify-content: center;
        }
      }
   
      @media (max-width: 768px) {
        .title {
          font-size: 2.5rem;
        }
        .image-container {
            display: none;
        }
      }
  