ul{
    list-style-type: none;
}
html {
  scroll-behavior: smooth;
}
body{
    margin: 0px;
    padding-bottom: 30px;
    width: 100%;
    min-height: 100vh;
    background-image: url("images/bgc.png");
    background-size: 100%;     
}
li{
    text-decoration: none;
    margin-left: 40px;
    margin-right: 40px;
}
header{
    width: 100%;
    padding-top: 20px;
}
.desktop-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.desktop-menu h1{
    font-size: 34px;
}
.desktop-menu ul{
    display: flex;
}
.desktop-menu img{
    width: 70px;
    height: 70px;
}

.desktop-menu a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}
.desktop-menu button{
    background: linear-gradient(to left, #860000, #ff2326);
    color:#ffffff;
    width: 105px;
    height: 45px;
    border: 0px;
    border-radius: 25px;
    font-size: 16px;
}
.mobile-menu button{
    background: linear-gradient(to left, #860000, #ff2326);
    color:#ffffff;
    width: 135px;
    height: 45px;
    border: 0px;
    border-radius: 0px;
    font-size: 16px;
    margin-top: 10px;
}

.header-margin{
    margin-left: 20%;
    margin-right: 20%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Стили для десктопного меню */
.desktop-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* Стили для мобильного меню */
.mobile-menu-btn {
    display: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    z-index: 100;
}

/* animate */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
.fade-in-element.show{
    opacity: 1;
    transform: translateY(0);
}


.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 15px 0;
    display: block;
}
.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 15px 0;
    display: block;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}





/* do 400px */
@media (max-width: 400px) {
    header{
        background-size: cover;     
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 20px;
    }
    .header-margin{
        margin-left: 5%;
        margin-right: 5%;
    }
    .header-maintext{
        font-size: 16px;
        margin-top: 10px;
        width: 100%;
        color: white;
    }
    .desktop-menu img{
        width: 40px;
        height: 40px;
    }
    li{
        margin-left: 20px;
        margin-right: 20px;
    }
    .desktop-menu a{
        font-size: 14px;
    }
    .desktop-menu button{
        width: 85px;
        height: 35px;
        font-size: 14px;
    }
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
}

/* телефоны до 600 пикселей*/
@media (min-width: 401px) and (max-width: 600px) {
    header{
        background-size: cover;     
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 20px;
    }
    .header-margin{
        margin-left: 5%;
        margin-right: 5%;
    }
    .header-maintext{
        font-size: 18px;
        margin-top: 10px;
        width: 100%;
        color: white;
    }
    .desktop-menu img{
        width: 40px;
        height: 40px;
    }
    li{
        margin-left: 20px;
        margin-right: 20px;
    }
    .desktop-menu a{
        font-size: 14px;
    }
    .desktop-menu button{
        width: 85px;
        height: 35px;
        font-size: 14px;
    }
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}



/* телефоны до 900 пикселей*/
@media (min-width: 601px) and (max-width: 900px) {
    header{
        background-size: cover;      
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 20px;
    }
    .header-margin{
        margin-left: 5%;
        margin-right: 5%;
    }
    .header-maintext{
        font-size: 25px;
        margin-top: 50px;
        width: 100%;
        color: white;
    }
    .desktop-menu img{
        width: 40px;
        height: 40px;
    }
    li{
        margin-left: 20px;
        margin-right: 20px;
    }
    .desktop-menu a{
        font-size: 14px;
    }
    .desktop-menu button{
        width: 85px;
        height: 35px;
        font-size: 14px;
    }
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 40px;
    }
}
  


/* Диапазон (например, планшеты) */
@media (min-width: 901px) and (max-width: 1199px) {
    header{
        background-size: cover;     
        background-repeat: no-repeat;
        width: 100%;
        padding-top: 20px;
    }
    .header-margin{
        margin-left: 5%;
        margin-right: 5%;
    }
    .header-maintext{
        font-size: 34px;
        margin-top: 100px;
        width: 100%;
        color: white;
    }
}



/* Для экранов ≥ 1200px (ПК) */
@media (min-width: 1200px) {
    header{
        background-size: cover;
    }
    .header-margin{
        margin-left: 15%;
        margin-right: 15%;
    }
    .desktop-menu a{
        font-size: 18px;
    }
}



.main-container{
    min-height: calc(100vh - 80px); /* вычти примерную высоту хедера */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}
.container {
      text-align: center;
      max-width: 600px;
      padding: 2rem;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    }

    h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #ff4d4d;
    }

    p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      color: #ccc;
    }

    .start-button {
      padding: 0.75rem 2rem;
      font-size: 1.1rem;
      font-weight: bold;
      color: #fff;
      background-color: #ff0000;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .start-button:hover {
      background-color: #cc0000;
    }