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 ul{
    display: flex;
}
.desktop-menu img{
    width: 70px;
    height: 70px;
}

.desktop-menu a{
    color: white;
    text-decoration: none;
}
.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-maintext h2{
    font-size: 34px;
    margin-top: 200px;;
    text-align: center;
    color: white;
}
.header-maintext{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.header-maintext p{
    font-size: 20px;
    margin-top: 50px;
    text-align: center;
    color: white;
}
.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;
}
.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;
    }
}




.profile-container{
    color: white;
}



.profile-card {
  max-width: 900px;
  height: 80%;
  margin: 0 auto;
  margin-top: 100px;
  padding: 2rem;
  background: rgba(26, 26, 26, 0);
  border-radius: 20px;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #ff6565, #ff0000) 2;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(255, 31, 31, 0.651);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6060, #ff0000);
}

.username {
  margin: 0;
  font-size: 1.5rem;
}

.bio {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn.gradient {
  background: linear-gradient(135deg, #ff0000, #ff1818);
  color: white;
}

.btn.dark {
  background: #333;
  color: #fff;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  text-align: center;
}

.stat strong {
  font-size: 1.2rem;
  display: block;
}

.stat span {
  color: #aaa;
  font-size: 0.8rem;
}

.activity-heading {
  font-size: 1rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.activity-placeholder {
  height: 40px;
  background: #222;
  border-radius: 10px;
  opacity: 0.4;
}

.profile-container p{
    margin-top: 10px;
}


