:root {
    --ThemeColor: #FBA540;
    --BlackColor: #161819;
}

::-webkit-scrollbar {
    /*display: none;*/
    height: 2px;
    width: 2px;
}

::-webkit-scrollbar-button {
    background-repeat: no-repeat;
    width: 2px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background-color: gray;
}

::-webkit-scrollbar-thumb {
    background-color: var(--ThemeColor);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--ThemeColor);
}

::-webkit-resizer {
    background-repeat: no-repeat;
    width: 1px;
    height: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--BlackColor);
    font-family: 'Manrope';
    color: #FFFEFE;
    justify-content: center;
    font-size: 24px;
}

/* Scroll to Top Button Styles */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 1px rgba(255, 255, 255, 0.19) solid;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

/* Scroll to Top Button Styles */
#scrollToTopBtn:hover {
    background-color: #FFFEFE;
    color: #000000;
}

#scrollToTopBtn span {
    display: block;
}

#scrollToTopBtn.active {
    display: block;
}

/* styles.css */
.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--BlackColor);
    z-index: 9999;
}

.preloader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--ThemeColor);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.hero-main {
    background-image: url(/assets/images/hero-dot.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 250px;
}

.hero-rigth__monitoring {
    padding: 10px;
    padding-left: 85px;
    padding-right: 85px;
    width: auto;
    display: flex;
    position: absolute;
    align-items: center;
    bottom: 65px;
    right: 85px;
    background: rgba(217, 217, 217, 0.35);
    border-radius: 5px
}

.hero-rigth__monitoring_btn {
    margin-left: 95px;
    display: flex;
    padding: 20px;
    color: #FFFEFE;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 167, 64, 0.98);
    border-radius: 5px;
    border: 1px #FFA740 solid;
    font-size: 18px;
}

.hero-rigth__monitoring_online {
    margin-right: 20px;
}

.hero-rigth__monitoring_online>p,
.hero-rigth__monitoring_maxonline>p {
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hero-main__stats_block_splitter {
    border: 1px rgba(255, 255, 255, 0.70) solid;
    height: 100px;
    margin-left: 20px;
    margin-right: 20px;
}

.rain {
    position: fixed;
    width: 1px;
    /* Ширина капли */
    height: 3px;
    /* Высота капли */
    top: -3px;
    background-color: #ffffff;
    /* Цвет капли */
    animation: rain 1.2s linear infinite;
    z-index: 99;
    border-radius: 1px;
}

@keyframes rain {
    to {
        transform: translate3d(200px, 1000px, 0);
        /* Первое значение (200px) это направление дождя, где: 0 - вниз, положительное число - вправо, отрицательное - влево */
    }
}

.hero-rigth {
    display: flex;
    justify-content: right;
}

.hero-main__btns {
    margin-top: 50px;
    font-size: 17px;
    font-weight: 500;
}

.hero-main__stats {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.hero-main__stats_block {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-main__btns>.one {
    color: #FFFEFE;
    text-decoration: none;
    padding: 15px;
    background: #FFA740;
    border-radius: 4px;
    margin-right: 10px;
}

.hero-rigth__monitoring_btn:hover {
    background-color: #ff9721;
}

.hero-main__btns>.one:hover {
    background-color: #ff9721;
}

.hero-main__btns>.two:hover {
    text-decoration: none;
    background: #FFA740;
}


.hero-rigth_img {
    pointer-events: none;
}

.hero-main__btns>.two {
    color: #FFFEFE;
    padding: 15px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px rgba(255, 167, 64, 0.55) solid
}


.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about_info_title {
    font-size: 45px;
    font-weight: 700;
}

.about_info_blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about_info_blocks_item {
    display: flex;
    align-items: start;
    text-align: start;
}

.about_info_blocks_item_background {
    padding: 25px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.about_info_blocks_item>.red {
    background-color: #FF6853;
}

.about_info_blocks_item>.black {
    background-color: #1E1E1E;
    ;
}

.about_info_blocks_item>.orange {
    background-color: #FBA540;
}

.about_info_blocks_item>.blue {
    background-color: #3F50E7;
}

.about_info_blocks_item>.green {
    background-color: #95CB7C;
}

.about_info_blocks_item_text {
    margin-top: 0px;
    margin-left: 10px;
}

.about_info_blocks_item_text_title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0px;
}

.about_info_blocks_item_text_subtitle {
    margin-top: 0px;
    color: #6E6F6F;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.80px;
}


.wrapper {
    padding-right: 150px;
    padding-left: 150px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px;
    padding-left: 0px;
  }
  
  .navbar__logo {
    margin-right: 20px;
    pointer-events: none;
  }
  
  .navbar__toggle-btn {
    display: none;
    /* Hide the toggle button by default */
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .navbar__hamburger {
    display: block;
    width: 25px;
    height: 3px;
    position: relative;
    transition: background-color 0.3s ease;
    background-color: #ffffff;
  }
  
  .navbar__hamburger::before,
  .navbar__hamburger::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    position: absolute;
    transition: transform 0.3s ease;
  }
  
  .navbar__hamburger::before {
    top: -8px;
  }
  
  .navbar__hamburger::after {
    top: 8px;
  }
  
  .navbar__links {
    display: flex;
    align-items: center;
  }
  
  /* Styles for regular navbar links */
  .navbar__link {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    color: #FFFEFE;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  
  .navbar__link:hover {
    color: rgba(255, 255, 255, 0.42);
  }

.slider {
    overflow: hidden;
    border-top: 0.50px #8C8C8C solid;
    border-bottom: 0.50px #8C8C8C solid;
    padding-top: 20px;
    padding-bottom: 20px;
    pointer-events: none;
}

.slider__text-container {
    /* Центрируем текст по горизонтали в контейнере */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    /* Изменяем начальное смещение влево, чтобы текст был полностью виден в середине контейнера */
    transform: translateX(0%);
    /* Изменяем продолжительность анимации на полное время, чтобы сделать переход плавным */
    animation: marquee 35s linear infinite;
}

.slider__text {
    display: inline;
    /* Изменяем отображение текста на строчное */
    color: #6E6F6F;
    font-size: 50px;
    padding: 0 20px;
}

@keyframes marquee {
    0% {
        /* Начальное смещение влево - текст находится в середине контейнера */
        transform: translateX(0%);
    }

    100% {
        /* Заканчиваем смещение влево, чтобы создать зацикленный эффект */
        transform: translateX(-100%);
    }
}


.section-title>.section-title__text {
    display: flex;
    justify-content: center;
    font-size: 50px;
    text-decoration: underline var(--ThemeColor);
    text-underline-offset: 13px;
    font-weight: 700;
}

.monitoring-list {
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.monitoring-list__item {
    display: grid;
    justify-content: right;
    border-radius: 25px;
    border: 2px rgba(255, 255, 255, 0.19) solid;
    padding: 0px 35px 15px 15px;
    background-image: url("/assets/images/success.png");
    /* Замените путь_к_картинке.png на путь к вашей картинке */
    background-size: cover;
    /* Масштабирование картинки, чтобы она заполнила блок */
    background-position: left;
    /* Позиционирование картинки по центру */
    background-repeat: no-repeat;
    background-size: 350px;
}

.monitoring-scroller {
    margin-top: 10px;
    display: flex;
    justify-content: right;
}

.monitoring-scroller>button {
    padding: 10px;
    display: flex;
    margin-left: 5px;
    background-color: #161819;
    align-items: center;
    border-radius: 5px;
    border: 1px rgba(255, 255, 255, 0.19) solid;
}

.monitoring-scroller>button:hover {
    background-color: #FFFEFE;
}


.monitoring-list>.green {
    border-left: 2px solid #5AAD69;
}

.monitoring-list>.red {
    border-left: 2px solid #E8444F;
}

.monitoring-list__item_title {
    color: #6E6F6F;
    font-size: 12px;
    font-weight: 500;
}

.monitoring-list__item_name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px;
}

.monitoring-list__item_btn {
    display: block;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    border: 0.50px rgba(255, 255, 255, 0.50) solid;
    color: #FFFEFE;
    text-decoration: none;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.monitoring-list__item_btn:hover,
.discord-invite_btn:hover {
    background-color: #FFFEFE;
    color: #000000;
}


.monitoring-list__item__online_text {
    display: flex;
    font-size: 18px;
    font-weight: 500;
    line-height: 25.50px;
    justify-content: space-between;
}

.monitoring-list__item__online__bar {
    background-color: #262829;
    background-color: #d8d8d8;
    background-image: linear-gradient(45deg, #e6e6e6 25%, transparent 0, transparent 50%, #e6e6e6 0, #e6e6e6 75%, transparent 0, transparent);
    animation: progress-bar-stripes 3s linear infinite;
    background-size: 1rem 1rem;
}

.monitoring-list__item__online__bar>.orange {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-color: var(--ThemeColor);
    width: 24%;
}

.monitoring-list__item__online__bar>.red {
    background-color: rgba(232, 68, 79, 0.10);
    width: 100%;
}

.monitoring-list__item__online_text>p {
    margin-bottom: 0px;
    margin-top: 0px;
}

.monitoring-list__item__online_bar {
    display: flex;
    margin-top: 0px;
}

.discord-invite {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 30px;
    padding: 15px;
    background: url(/assets/images/discord-invite-hero.png), radial-gradient(70.71% 70.71% at 0.00% 120.71%, rgba(22, 24, 25, 0) 0%, rgba(251, 164, 64, 0.174) 100%);
}

.discord-invite_text {
    padding: 25px;
}

.discord-invite_text>p {
    margin-top: 0px;
    margin-bottom: 0px;
}

.discord-invite_btn {
    padding: 10px;
    padding-right: 40px;
    padding-left: 40px;
    margin-right: 25px;
    border-radius: 10px;
    color: #FFFEFE;
    text-decoration: none;
    border: 0.50px rgba(255, 255, 255, 0.50) solid;
    margin-left: auto;
}

.footer {
    display: flex;
    align-items: center;
    padding: 10px;
    padding-left: 0px;
}

.footer__links {
    display: flex;
    align-items: center;
}

.footer__link {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    color: #FFFEFE;
    font-size: 14px;
    font-weight: 400;
}

.footer__link_btn {
    padding: 10px;
    border-radius: 10px;
    margin-left: auto;
    /* Перемещаем кнопку вправо */
}

.footer__link_btn:hover {
    background-color: #FFFEFE;
    color: #000000;
}

.footer__link:hover {
    text-decoration: underline var(--ThemeColor);
    text-underline-offset: 5px;
}

.copyright {
    font-size: 14px;
    display: flex;
    margin-left: 20px;
}

.copyright>span>a {
    color: var(--ThemeColor);
    text-decoration: none;
    padding-bottom: 25px;
}

.copyright>span>a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1600px) { 
    .hero-rigth {
        display: none !important;
    }
    .hero {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .navbar__logo {
      margin-right: 10px;
    }
  
    .navbar__toggle-btn {
      display: block;
      /* Show the toggle button on mobile */
      margin-left: auto;
    }
  
    .navbar__links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      position: absolute;
      top: 60px;
      right: 10px;
      background: rgb(26 28 29);
      border-radius: 24px;
      border: 0.5px rgba(255, 255, 255, 0.19) solid;
      border-radius: 5px;
      z-index: 10;
      padding: 10px;
    }
  
    .navbar__links a {
      margin: 5px;
    }
  
    .navbar__links.active {
      display: flex;
      /* Show the links when active class is applied */
    }
  
    /* Modify the hamburger icon appearance when links are active */
    .navbar__hamburger.active {
      background-color: transparent;
    }
  
    .navbar__hamburger.active::before {
      transform: translateY(8px) rotate(-45deg);
    }
  
    .navbar__hamburger.active::after {
      transform: translateY(-8px) rotate(45deg);
    }
  
    .wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }
  }

@media (max-width: 640px) {
    .about, .about_info_blocks {
        grid-template-columns: repeat(1, 1fr);
    }
    .monitoring-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .discord-invite {
        display: block;
        padding-bottom: 35px;
    }
    .discord-invite_text {
        padding-left: 0px;
    }
}