body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #292526;
    color: #ffffff;
}


.header {
    background-color: #2A2829;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    width: auto;
}
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
.nav a:hover {
    text-decoration: underline;
}
.auth-buttons {
    display: flex;
    gap: 10px;
}
.auth-buttons a {
    background-color: #f5a623;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-color: #FEC882;
    border-radius: 5px;
    font-weight: bold;
}

.auth-buttons .register-top {
    background-color: #20aa2e;
    border-color: #FEC882;
}

/********/

.welcome-banner-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  #banner-cont {
    width: 100%;
    max-width: 1200px; /* Фиксированная максимальная ширина */
  }

  .slider-banner {
    position: relative;
    width: 100%;
  }
  
  #welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 260px;
    border-radius: 10px;
    color: white;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
  }
  
  #banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1160px; /* 1200px - 40px padding */
    margin: 0 auto;
  }
  
  .col-left {
    flex: 0 0 40%;
    max-width: 40%;
  }
  
  .text-value {
    text-align: left;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .btn-wrap a {
    background-color: #e9af1b;
    border: 2px solid #e9af1b;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
  }
  
  .btn-wrap a:hover {
    background-color: #d49517;
  }
  
  .col-right {
    flex: 0 0 60%;
    max-width: 60%;
  }
  
  .swiper-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 240px; /* Высота баннера минус padding */
  }

  .swiper-slide {
    display: none;
    width: 100%;
  }

  .swiper-slide.active {
    display: block;
  }
/*******/
.reg-button {
    background-color: #f5a623;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
}





.content-container {
    max-width: 1200px; /* Set a narrower width for better readability */
    margin: 0 auto;
    padding: 0 20px; /* Optional padding for spacing */
}

h1 {
    font-size: 48px;
}

.features {
    padding: 30px 20px;
    text-align: center;
    color: #ffffff;
}

.features h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    max-width: 300px;
}

.feature-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.showcase {
    padding: 30px 20px;
    text-align: center;
    color: #ffffff;
}

.showcase h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.showcase-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    max-width: 300px;
}

.showcase-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer {
    background-color: #121212;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}
.text-center {
    text-align: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}
.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 18px;
    text-align: left;
    color: #ffffff;
}

table thead tr {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

table th,
table td {
    padding: 12px 15px;
    border: 1px solid #333333;
}

table tbody tr {
    background-color: #1e1e1e;
}

table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

table tbody tr:hover {
    background-color: #444444;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav ul {
        position: absolute;
        top: 0px; /* Adjust based on header height */
        left: 0;
        right: 0; /* Set right to 0 to extend to full width */
        background-color: #000; /* Matches the header background */
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

    /* When the nav-open class is toggled, show the menu */
    .nav ul.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger-menu {
        display: block;
        font-size: 24px;
        color: #ffffff;
        cursor: pointer;
    }

    .auth-buttons {
        display: flex;
        gap: 10px;
        margin-left: auto;
    }


    

    
    #welcome-banner {
        height: auto;
        flex-direction: column;
        padding: 0;
        background: none;
      }
      
      #banner-container {
        flex-direction: column;
        height: 100%;
      }
      
      .col-left,
      .col-right {
        max-width: 100%;
        width: 100%;
      }
      
      .col-right {
        order: -1;
      }
      
      .swiper-image {
        width: 100%;
        height: auto;
        display: block;
      }
      
      .col-left {
        padding: 20px;
        text-align: center;
        background-color: #1a1a1a;
        color: white;
      }
      
      .text-value {
        text-align: center;
      }
      
      .section-title {
        font-size: 24px;
        margin-bottom: 10px;
      }
      
      .section-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
        color: #cccccc;
      }
      
      .btn-wrap {
        text-align: center;
      }
      
      .btn-wrap a {
        width: 100%;
        max-width: 200px;
      }






    .showcase-grid {
        gap: 15px; /* Reduce the gap for medium-size screens */
        max-width: 100%; /* Make sure items utilize more space */
        padding: 0; /* Add minimal padding for better spacing */
    }

    .showcase {
        padding: 30px 0px;
        text-align: center;
    }

    .showcase-item {
        background-color: #1e1e1e;
        padding: 10px;
        border-radius: 10px;
        max-width: 100%;
    }

    .features-grid {
        gap: 15px; /* Reduce the gap for medium-size screens */
        max-width: 100%; /* Make sure items utilize more space */
        padding: 0; /* Add minimal padding for better spacing */
    }

    .features {
        padding: 30px 0px;
        text-align: center;
    }

    .feature-item {
        background-color: #1e1e1e;
        padding: 10px;
        border-radius: 10px;
        max-width: 100%;
    }

    .content-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
      }
}

@media (max-width: 600px) {
    table {
        font-size: 14px;
    }

    .auth-buttons a {
        padding: 10px 10px;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
      font-size: 20px;
    }
    
    .section-subtitle {
      font-size: 14px;
    }
    
    .col-left {
      padding: 15px;
    }
  }