:root {
    --lightgray: #6b6b6b;
    --link-color: #00a2ff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Inter, sans-serif;
}

a {
    text-decoration: none
}

ul {
    list-style: none;
}

a {
    font-size: 1.5rem;
    text-decoration: none
}

h1 {
    font-size: 8rem;
    font-weight: 800;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

h3 {
    font-size: 2rem;
    
}

p {
    font-size: 1.5rem;
    font-weight: 500;
}

.abvgd {
    list-style: disc;
    font-size: 1.5rem;
    padding: 0 0 0 3rem;
}

.home {
    /* background-image: url('images/home-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center; */

    background: url('images/minecraft winter 2.png') no-repeat center / cover;
    background-position: center 60%;

    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 900px;
    /* background: #000; */
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 50px;
    padding-top: 50px;
}

.server-logo {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

.home-desc {
    font-size: 3rem;
    color: white;
}

.home_play-btn {
    display: inline-block;
    background: white;
    color: #212121;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 3.75rem;
    corner-shape: squircle;
    transition: all 0.3s ease;
}

.home_play-btn:hover {
    transform: scale(1.04);
}
















/* Главный контейнер теперь по центру */
.community {
  display: grid;
  justify-content: center;
  /* Создаем две колонки: левая шире (например, 2.5 части), правая уже (1 часть) */
  grid-template-columns: 900px 400px; 
  gap: 60px;                       /* Расстояние между колонками */
  
  max-width: 1200px;               /* Ограничиваем максимальную ширину сетки */
  margin: 0 auto;                  /* Магия CSS: центрует весь блок на странице */
  padding: 20px;
  
  color: #fff;
}

.news_news-title {
    margin: 0.4rem 0 2rem 0;
}

.news_image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.5rem;
}

.news_txt {
    padding-inline: 2rem;
}

.news_item-date {
    /* font-size: 1.5rem; */
    color: var(--lightgray);
    margin: 1.2rem 0 0.8rem 0;
}

.news_item-title {
    margin: 0 0 0.5rem 0;
}

.news_txt {
    margin: 0 0 2rem 0;
}

.news_item-desc {
    line-height: 3rem;
}

.social-link {
    color: #0066FF;
    text-decoration: underline;
}









.online-links_server-online-status-title, .online-links_social-links {
    margin: 0.4rem 0 2rem 0;
}

.online-links_server-online-counter {
    display: block;              /* вместо inline-block */
    box-sizing: border-box;      /* чтобы padding не вылезал за 100% */
    /* width: 100%; */
    background: #4e8200;
    color: #c5ff6e;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 20px 0;             /* убираем 140px по бокам */
    text-align: center;          /* центрируем текст вручную */
    border: 1px solid #99ff00;
    border-radius: 1.875rem;
    corner-shape: squircle;
    box-shadow: 0 0 3rem rgba(128, 255, 0, 0.4);

    margin: 0 0 2rem 0;
}

.dc-link-btn, .tg-link-btn {
    /* Цвета */
    background-color: #5865F2; /* Официальный цвет Discord */
    color: white;
    
    display: block;              /* вместо inline-block */
    box-sizing: border-box;      /* чтобы padding не вылезал за 100% */
    width: 100%;                 /* растянуть на всю ширину столбца */
    width: 100%;
    padding: 20px 0;
    border-radius: 1.875rem;
    corner-shape: squircle;
    margin: 2rem 0 2rem 0;
    transition: all 0.3s ease;
}

.dc-link-btn:hover, .tg-link-btn:hover {
    transform: scale(1.04);
}

.tg-link-btn {
    /* Цвета */
    background-color: #229ED9; /* Официальный цвет Discord */
    color: white;
    
    display: block;              /* вместо inline-block */
    box-sizing: border-box;      /* чтобы padding не вылезал за 100% */
    width: 100%;                 /* растянуть на всю ширину столбца */
    width: 100%;
    padding: 20px 0;
    border-radius: 1.875rem;
    corner-shape: squircle;
    margin: 2rem 0 2rem 0;
}

.dc-link-btn-content, .tg-link-btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Распределяет элементы: лево - центр - право */
    gap: 12px;
    padding-inline: 1.875rem;
}

.dc-icon, .tg-icon {
    width: 40px;
}

.links_social-link-txt {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 3.3rem;
    margin-bottom: 0.1rem;
}

.link-arrow {
    width: 20px;
}








.mobile-device {
  display: none;
}







@media (max-width: 2000px) {
.home {
    height: 670px;
}

.server-logo {
    max-width: 600px;
}
}

@media (max-width: 1500px) {
html {
        font-size: 16px;
    }

.home {
height: 700px;
}

.server-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
}

.community {
    grid-template-columns: 700px 350px; 
    gap: 40px;
    
    margin: 0 auto;
    padding: 20px;
}

.links_social-link-txt {
    margin-right: 1rem;
}
}

@media (max-width: 1500px) {
html {
        font-size: 16px;
    }

.community {
    grid-template-columns: 700px 350px; 
    gap: 40px;
    
    margin: 0 auto;
    padding: 20px;
}

.links_social-link-txt {
    margin-right: 1rem;
}
}

@media (max-width: 1440px) {
.home {
    height: 640px;
}
}

@media (max-width: 1280px) {
    
.home {
    height: 560px;
}

.server-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.home_play-btn {
    font-size: 2rem;
}
}

@media (max-width: 1180px) {
html {
        font-size: 10px;
    }

.community {
    grid-template-columns: 500px 300px; 
    gap: 30px;
    
    margin: 0 auto;
    padding: 20px;
}

.links_social-link-txt {
    margin-right: 1rem;
}
}

@media (max-width: 900px) {
html {
        font-size: 10px;
    }

.community {
    grid-template-columns: 400px 200px; 
    gap: 20px;
    
    margin: 0 auto;
    padding: 20px;
}

.dc-link-btn, .tg-link-btn {
    padding: 10px 0;
    border-radius: 1.875rem;
    corner-shape: squircle;
    margin: 2rem 0 2rem 0;
}

.dc-icon, .tg-icon {
    width: 20px;
}

.links_social-link-txt {
    font-size: 1rem;
    margin-right: 3rem;
}

.link-arrow {
    width: 10px;
}
}



@media (max-width: 767px) {
  .mobile-device {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;

    background-color: #121212;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .md-server-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

  
  .md_title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .mobile-device p {
    font-size: 18px;
  }
}