@media (max-width: 1175px) {
  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }
    
  .login-form {
    display: flex;
    max-width: 1000px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
    
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 1000px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }
  
      /* профиль */

  .main-profile {
    display: flex;
    height: 250px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }

  .profile-banner {
    display: flex;
    height: 150px;
    margin: 0;
  }

  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 1000px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 350px;
    height: 100px;
    border-radius: 15px;
    line-height: 0.1;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    color: #fff;
  }

  .profile-info a {
    font-size: 16px;
  }

  .profile-info span {
    font-size: 16px;
  }
    
  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  
  
  .profile-sections-in {
    display: flex;
    margin: auto;
    margin-top: -5em;
    width: 1000px;
    height: 80px;
  }
    
  .profile-sections-in button {
    margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
    width: 100px;
    height: 50px;
  }
    
  .profile-sections-in h2 {
    margin: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-sections-in p {
    color: #fff;
  }
    
    /* "НАПИСАТЬ" */
  .profile-section-one-in-button { /* тут начинается оформление кнопок в футере профиля (кнопки и т.д.) */
    display: flex;
    flex-direction: column;
    background-color: rgb(59,62,73);
    background-image: url(/main/icons/message.png);
    background-position: 50% 10%;
    background-size: 25px;
    background-repeat: no-repeat;
    border-radius: 15px;
    border: 1px solid rgb(71,74,88);
  }
    
  .profile-section-one-in-button:hover {
    cursor: pointer;
    background-color: rgb(59,62,73);
    border-color: rgb(71,74,88);
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(158, 158, 158, 0.25);
  }
    
  .profile-section-one-in-button p {
    font-size: 13px;
    margin: 13%;
    margin-top: 35%;
  }
    
  .profile-section-two-in {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  
  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 1000px;
}

.help-topic-preview {
  max-width: 1000px;
}
  
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
  
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  
  .profile-sections a {
    font-size: 15px;
    color: #aaaaaa;
    text-decoration: none;
  }
  
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
  
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
    
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
    }
    
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
    
  .profile-comment {
    display: flex;
    max-width: 950px;
    overflow-wrap: break-word;
    white-space: normal;
  }
    
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
    
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
    
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
    
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }

}































@media (max-width: 895px) {
  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }
    
  .login-form {
    display: flex;
    max-width: 800px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
    
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 800px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }
  
      /* профиль */

  .main-profile {
    display: flex;

    height: 250px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }

  .profile-banner {
    display: flex;

    height: 150px;
    margin: 0;
  }
    
  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 800px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 350px;
    height: 100px;
    border-radius: 15px;
    line-height: 0.1;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    color: #fff;
  }

  .profile-info a {
    font-size: 16px;
  }

  .profile-info span {
    font-size: 16px;
  }
    
  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  
  
  .profile-sections-in {
    display: flex;
    margin: auto;
    margin-top: -5em;
    width: 800px;
    height: 80px;
  }
    
  .profile-sections-in button {
    margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
    width: 100px;
    height: 50px;
  }
    
  .profile-sections-in h2 {
    margin: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-sections-in p {
    color: #fff;
  }

  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 800px;
}
.help-topic-preview {
  max-width: 800px;
}
  
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
  
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  
  .profile-sections a {
    font-size: 15px;
    color: #aaaaaa;
    text-decoration: none;
  }
  
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
  
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
    
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
    }
    
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
    
  .profile-comment {
    display: flex;
    max-width: 750px;
    overflow-wrap: break-word;
    white-space: normal;
  }
    
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
    
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
    
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
    
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .text-field-a {
    display: flex;
    flex-direction: column !important;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }

}








































@media (max-width: 799px) {
  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }
    
  .login-form {
    display: flex;
    max-width: 700px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
    
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 700px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }

      /* профиль */

  .main-profile {
    display: flex;

    height: 250px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }
  
  .profile-banner {
    display: flex;

    height: 150px;
    margin: 0;
  }
    
  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 700px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 350px;
    height: 100px;
    border-radius: 15px;
    line-height: 0.1;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    color: #fff;
  }

  .profile-info a {
    font-size: 16px;
  }

  .profile-info span {
    font-size: 16px;
  }
    
  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  
  
  .profile-sections-in {
    display: flex;
    margin: auto;
    margin-top: -5em;
    width: 700px;
    height: 80px;
  }
    
  .profile-sections-in button {
    margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
    width: 100px;
    height: 50px;
  }
    
  .profile-sections-in h2 {
    margin: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-sections-in p {
    color: #fff;
  }

  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 700px;
}

.help-topic-preview {
  max-width: 700px;
}
  
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
  
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  
  .profile-sections a {
    font-size: 14px;
    color: #aaaaaa;
    text-decoration: none;
  }
  
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
  
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
    
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
    }
    
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
    
  .profile-comment {
    display: flex;
    max-width: 650px;
    overflow-wrap: break-word;
    white-space: normal;
  }
    
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
    
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
    
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
    
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .text-field-a {
    display: flex;
    flex-direction: column !important;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }

}






































@media (max-width: 746px) {

  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }
    
  .login-form {
    display: flex;
    max-width: 700px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
    
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 700px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }

      /* профиль */

  .main-profile {
    display: flex;

    height: 250px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }

  .profile-banner {
    display: flex;

    height: 150px;
    margin: 0;
  }
    
  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 700px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 350px;
    height: 100px;
    border-radius: 15px;
    line-height: 0.1;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    color: #fff;
  }

  .profile-info a {
    font-size: 16px;
  }

  .profile-info span {
    font-size: 16px;
  }
    
  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  
  
  .profile-sections-in {
    display: flex;
    margin: auto;
    margin-top: -5em;
    width: 700px;
    height: 80px;
  }
    
  .profile-sections-in button {
    margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
    width: 100px;
    height: 50px;
  }
    
  .profile-sections-in h2 {
    margin: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-sections-in p {
    color: #fff;
  }

  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 700px;
}

.help-topic-preview {
  max-width: 700px;
}
  
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
  
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  
  .profile-sections a {
    font-size: 14px;
    color: #aaaaaa;
    text-decoration: none;
  }
  
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
  
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
    
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
    }
    
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
    
  .profile-comment {
    display: flex;
    max-width: 650px;
    overflow-wrap: break-word;
    white-space: normal;
  }
    
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
    
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
    
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
    
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .text-field-a {
    display: flex;
    flex-direction: column !important;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }

}















@media (max-width: 500px) {

  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }
    
  .login-form {
    display: flex;
    max-width: 450px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
    
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 450px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }

      /* профиль */

  .main-profile {
    display: flex;

    height: 250px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }
  
  .profile-banner {
    display: flex;

    height: 150px;
    margin: 0;
  }
    
  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 450px;
    height: 200px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 330px;
    height: 100px;
    border-radius: 15px;
    line-height: 0.1;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    color: #fff;
  }

  .profile-info a {
    font-size: 15px;
  }

  .profile-info span {
    font-size: 15px;
  }
    
  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  

  .profile-sections-in {
    display: flex;
    margin: auto;
    margin-top: -5em;
    width: 450px;
    height: 80px;
  }

  .profile-sections-in button {
    margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
    width: 100px;
    height: 50px;
  }

  .profile-sections-in h2 {
    margin: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }

  .profile-sections-in p {
    color: #fff;
  }

  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 450px;
}

.help-topic-preview {
  max-width: 450px;
}
  
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
  
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  
  .profile-sections a {
    font-size: 13px;
    color: #aaaaaa;
    text-decoration: none;
  }
  
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
  
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
    
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
    }
    
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
    
  .profile-comment {
    display: flex;
    max-width: 420px;
    overflow-wrap: break-word;
    white-space: normal;
  }
    
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
    
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
    
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
    
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .comment-media { /* медиа файлы, которые отправляются в комме */
    display: flex;
    width: 150px !important;
    height: 150px;
  }

  .text-field-a {
    display: flex;
    flex-direction: column !important;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }

}


























@media (max-width: 479px) {

.header {
  width: auto;
}
  
.header a.logo {
  font-size: 15px;
}
  
.login-form {
  display: flex;
  max-width: 400px;
  max-height: 450px;
  margin: auto;
  margin-top: 75px;
}
  
.login-form-banner {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 450px;
  text-align: center;
  border-radius: 15px;
  background-color: rgb(39,41,48);
}

    /* профиль */

.main-profile {
  display: flex;

  height: 225px;
  margin: auto;
  margin-top: 10px;
  border-radius: 15px;
  border: 1px solid rgb(52,52,52);
  background-color: rgb(39,41,48);
}

.profile-banner {
  display: flex;

  height: 150px;
  margin: 0;
}
  
.banner {
  display: flex;
  margin: auto;


  height: 150px;
  object-fit: cover;
}
  
.profile {
  display: flex;
  width: 400px;
  height: 200px;
  margin: auto;
  margin-top: 6em;
  border-radius: 15px;
}
  
.profile-avatar {
  display: flex;
  width: 100px;
  height: 100px;
  margin: 5px;
}
  
.avatar {
  display: flex;
  border-radius: 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
  
.profile-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 320px;
  height: 100px;
  border-radius: 15px;
  line-height: 0.1;
  margin: auto;
  margin-left: 8px;
}
  
.profile-info h2 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
  
.profile-info p {
  color: #fff;
}

.profile-info a {
  font-size: 14px;
}

.profile-info span {
  font-size: 14px;
}
  
.profile-info-niz {
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: space-between;
  margin: 100px 0px;
  border-radius: 15px;
}
  
.profile-info-niz p {
  color: #fff;
}
  
.profile-info-niz-text {
  padding: 0 100px;
}


.profile-sections-in {
  display: flex;
  margin: auto;
  margin-top: -5em;
  width: 400px;
  height: 80px;
}
  
.profile-sections-in button {
  margin: 23px; /* Отступ мини-блоков с "написать" и т.д. */
  width: 100px;
  height: 50px;
}
  
.profile-sections-in h2 {
  margin: 12px 15px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
  
.profile-sections-in p {
  color: #fff;
}

/* то что чуть ниже профиля */



.post-card {
  max-width: 400px;
}

.help-topic-preview {
  max-width: 400px;
}

.profile-sections div {
  display: flex;
  margin: 10px;
}

.profile-sections h2 {
  margin: 5px 15px;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.profile-sections a {
  font-size: 13px;
  color: #aaaaaa;
  text-decoration: none;
}

.profile-sections a:hover {
  cursor: pointer;
  text-shadow: 5px 5px 5px rgba(158, 158, 158);
}

.profile-sections p {
  color: #fff;
  font-size: 13px;
}
  
.profile-sections span {
  color: #fff;
  font-size: 15px;
  margin: 15px;
  }
  
.profile-comment-gl {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow-y: auto; /* Прокрутка по вертикали */
}
  
.profile-comment {
  display: flex;
  max-width: 400px;
  overflow-wrap: break-word;
  white-space: normal;
}
  
.author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
  margin: 5px;
}
  
.name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
  margin: 5px;
  font-size: 13px;
  text-decoration: none;
  color: #aaaaaa;
}

.avatar-gl {
  margin: -10px;
  border-radius: 100px;
  width: 27px;
  height: 27px;
  object-fit: cover;
}
  
.comment-p { /* текст комма */
  margin: 7px;
  word-break: break-all;
}
  
.comment-time { /* время комма */
  margin: 7px;
  color: #444444;
}

.comment-media { /* медиа файлы, которые отправляются в комме */
  display: flex;
  width: 125px !important;
  height: 125px;
}

.text-field-a {
  display: flex;
  flex-direction: column !important;
}

.text-field-a {
  display: flex;
  flex-direction: column !important;
}

.comment-reactions span{
  font-size: 12px !important;
  margin: 0px !important;
  padding: 6px !important;
}
    
}



















































@media (max-width: 445px) {
.header {
  width: auto;
}
  
.header a.logo {
  font-size: 15px;
}
  
.login-form {
  display: flex;
  max-width: 400px;
  max-height: 450px;
  margin: auto;
  margin-top: 75px;
}

.login-form-banner {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 450px;
  text-align: center;
  border-radius: 15px;
  background-color: rgb(39,41,48);
}
  
    /* профиль */

.main-profile {
  display: flex;

  height: 225px;
  margin: auto;
  margin-top: 10px;
  border-radius: 15px;
  border: 1px solid rgb(52,52,52);
  background-color: rgb(39,41,48);
}
  
.profile-banner {
  display: flex;
  height: 150px;
  margin: 0;
}
  
.banner {
  display: flex;
  margin: auto;


  height: 150px;
  object-fit: cover;
}
  
.profile {
  display: flex;
  width: 400px;
  height: 200px;
  margin: auto;
  margin-top: 6em;
  border-radius: 15px;
}
  
.profile-avatar {
  display: flex;
  width: 100px;
  height: 100px;
  margin: 5px;
}
  
.avatar {
  display: flex;
  border-radius: 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
  
.profile-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 300px;
  height: 100px;
  border-radius: 15px;
  line-height: 0.1;
  margin: auto;
  margin-left: 8px;
}
  
.profile-info h2 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
  
.profile-info p {
  color: #fff;
}

.profile-info a {
  font-size: 13px;
}

.profile-info span {
  font-size: 13px;
}
  
.profile-info-niz {
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: space-between;
  margin: 100px 0px;
  border-radius: 15px;
}
  
.profile-info-niz p {
  color: #fff;
}
  
.profile-info-niz-text {
  padding: 0 100px;
}

/* то что чуть ниже профиля */



.post-card {
  max-width: 400px;
}

.help-topic-preview {
  max-width: 400px;
}
    
.profile-sections div {
  display: flex;
  margin: 10px;
}
    
.profile-sections h2 {
  margin: 5px 15px;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
    
.profile-sections a {
  font-size: 12px;
  color: #aaaaaa;
  text-decoration: none;
}
    
.profile-sections a:hover {
  cursor: pointer;
  text-shadow: 5px 5px 5px rgba(158, 158, 158);
}
    
.profile-sections p {
  color: #fff;
  font-size: 13px;
}
    
.profile-sections span {
  color: #fff;
  font-size: 15px;
  margin: 15px;
}
    
.profile-comment-gl {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow-y: auto; /* Прокрутка по вертикали */
}
    
.profile-comment {
  display: flex;
  max-width: 375px;
  overflow-wrap: break-word;
  white-space: normal;
}
    
.author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
  margin: 5px;
}
    
.name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
  margin: 5px;
  font-size: 13px;
  text-decoration: none;
  color: #aaaaaa;
}

.avatar-gl {
  margin: -10px;
  border-radius: 100px;
  width: 27px;
  height: 27px;
  object-fit: cover;
}
    
.comment-p { /* текст комма */
  margin: 7px;
  word-break: break-all;
}
    
.comment-time { /* время комма */
  margin: 7px;
  color: #444444;
}

.comment-media { /* медиа файлы, которые отправляются в комме */
  display: flex;
  width: 100px !important;
  height: 100px;
}

.text-field-a {
  display: flex;
  flex-direction: column !important;
}

.comment-reactions span{
  font-size: 12px !important;
  margin: 0px !important;
  padding: 6px !important;
}

}
  
  
  
  
  
  
  
  
  
  
  
  
  
  










  
@media (max-width: 399px) {
  .header {
    width: auto;
  }
    
  .header a.logo {
    font-size: 15px;
  }

  .login-form {
    display: flex;
    max-width: 350px;
    max-height: 450px;
    margin: auto;
    margin-top: 75px;
  }
  
  .login-form-banner {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 450px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(39,41,48);
  }
    
      /* профиль */

  .main-profile {
    display: flex;

    height: 225px;
    margin: auto;
    margin-top: 10px;
    border-radius: 15px;
    border: 1px solid rgb(52,52,52);
    background-color: rgb(39,41,48);
  }
    
  .profile-banner {
    display: flex;

    height: 150px;
    margin: 0;
  }
    
  .banner {
    display: flex;
    margin: auto;


    height: 150px;
    object-fit: cover;
  }
    
  .profile {
    display: flex;
    width: 350px;
    height: 200px;
    margin: auto;
    margin-top: 6em;
    border-radius: 15px;
  }
    
  .profile-avatar {
    display: flex;
    width: 100px;
    height: 100px;
    margin: 5px;
  }
    
  .avatar {
    display: flex;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
    
  .profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 300px;
    height: 100px;
    border-radius: 15px;
    margin: auto;
    margin-left: 8px;
  }
    
  .profile-info h2 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
  }
    
  .profile-info p {
    font-size: 13px;
    color: #fff;
  }

  .profile-info a {
    font-size: 13px;
  }

  .profile-info span {
    font-size: 13px;
  }

  .profile-info-niz {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    margin: 100px 0px;
    border-radius: 15px;
  }
    
  .profile-info-niz p {
    color: #fff;
  }
    
  .profile-info-niz-text {
    padding: 0 100px;
  }
  
  /* то что чуть ниже профиля */
  


.post-card {
  max-width: 350px;
}

.help-topic-preview {
  max-width: 350px;
}
      
  .profile-sections div {
    display: flex;
    margin: 10px;
  }
      
  .profile-sections h2 {
    margin: 5px 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
      
  .profile-sections a {
    font-size: 12px;
    color: #aaaaaa;
    text-decoration: none;
  }
      
  .profile-sections a:hover {
    cursor: pointer;
    text-shadow: 5px 5px 5px rgba(158, 158, 158);
  }
      
  .profile-sections p {
    color: #fff;
    font-size: 13px;
  }
      
  .profile-sections span {
    color: #fff;
    font-size: 15px;
    margin: 15px;
  }
      
  .profile-comment-gl {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow-y: auto; /* Прокрутка по вертикали */
  }
      
  .profile-comment {
    display: flex;
    max-width: 300px;
    overflow-wrap: break-word;
    white-space: normal;
  }
      
  .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
    margin: 5px;
  }
      
  .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
    margin: 5px;
    font-size: 13px;
    text-decoration: none;
    color: #aaaaaa;
  }
  
  .avatar-gl {
    margin: -10px;
    border-radius: 100px;
    width: 27px;
    height: 27px;
    object-fit: cover;
  }
      
  .comment-p { /* текст комма */
    margin: 7px;
    word-break: break-all;
  }
      
  .comment-time { /* время комма */
    margin: 7px;
    color: #444444;
  }

  .comment-media { /* медиа файлы, которые отправляются в комме */
    display: flex;
    width: 50px !important;
    height: 50px;
  }

  .text-field-a {
    display: flex;
    flex-direction: column !important;
  }

  .comment-reactions span{
    font-size: 12px !important;
    margin: 0px !important;
    padding: 6px !important;
  }
  
}
  
  
  
  
  
  
  













  
  
  
  @media (max-width: 372px) {
    .header {
      width: auto;
    }
      
    .header a.logo {
      font-size: 15px;
    }
      
    .login-form {
      display: flex;
      max-width: 300px;
      max-height: 450px;
      margin: auto;
      margin-top: 75px;
    }
    
    .login-form-banner {
      display: flex;
      flex-direction: column;
      width: 300px;
      height: 450px;
      text-align: center;
      border-radius: 15px;
      background-color: rgb(39,41,48);
    }
      
        /* профиль */

    .main-profile {
      display: flex;

      height: 225px;
      margin: auto;
      margin-top: 10px;
      border-radius: 15px;
      border: 1px solid rgb(52,52,52);
      background-color: rgb(39,41,48);
    }
      
    .profile-banner {
      display: flex;

      height: 150px;
      margin: 0;
    }
      
    .banner {
      display: flex;
      margin: auto;


      height: 150px;
      object-fit: cover;
    }
      
    .profile {
      display: flex;
      width: 300px;
      height: 200px;
      margin: auto;
      margin-top: 6em;
      border-radius: 15px;
    }
      
    .profile-avatar {
      display: flex;
      width: 100px;
      height: 100px;
      margin: 5px;
    }
      
    .avatar {
      display: flex;
      border-radius: 100px;
      width: 100px;
      height: 100px;
      object-fit: cover;
    }
      
    .profile-info {
      display: flex;
      flex-direction: column;
      text-align: left;
      width: 270px;
      height: 100px;
      border-radius: 15px;
      line-height: 0.1;
      margin: auto;
      margin-left: 8px;
    }
      
    .profile-info h2 {
      font-size: 12px;
      font-weight: 600;
      color: #fff;
    }
      
    .profile-info p {
      color: #fff;
    }
      
    .profile-info-niz {
      display: flex;
      flex-direction: row;
      text-align: center;
      justify-content: space-between;
      margin: 100px 0px;
      border-radius: 15px;
    }
      
    .profile-info-niz p {
      color: #fff;
    }
      
    .profile-info-niz-text {
      padding: 0 100px;
    }
    
    /* то что чуть ниже профиля */
    


.post-card {
  max-width: 300px;
}

.help-topic-preview {
  max-width: 300px;
}
        
    .profile-sections div {
      display: flex;
      margin: 10px;
    }
        
    .profile-sections h2 {
      margin: 5px 15px;
      text-align: left;
      font-size: 20px;
      font-weight: 600;
      color: #fff;
    }
        
    .profile-sections a {
      font-size: 12px;
      color: #aaaaaa;
      text-decoration: none;
    }
        
    .profile-sections a:hover {
      cursor: pointer;
      text-shadow: 5px 5px 5px rgba(158, 158, 158);
    }
        
    .profile-sections p {
      color: #fff;
      font-size: 13px;
    }
        
    .profile-sections span {
      color: #fff;
      font-size: 15px;
      margin: 15px;
    }
        
    .profile-comment-gl {
      display: flex;
      flex-direction: column;
      border-radius: 15px;
      overflow-y: auto; /* Прокрутка по вертикали */
    }
        
    .profile-comment {
      display: flex;
      max-width: 270px;
      overflow-wrap: break-word;
      white-space: normal;
    }
        
    .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
      margin: 5px;
    }
        
    .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
      margin: 5px;
      font-size: 13px;
      text-decoration: none;
      color: #aaaaaa;
    }
    
    .avatar-gl {
      margin: -10px;
      border-radius: 100px;
      width: 27px;
      height: 27px;
      object-fit: cover;
    }
        
    .comment-p { /* текст комма */
      margin: 7px;
      word-break: break-all;
    }
        
    .comment-time { /* время комма */
      margin: 7px;
      color: #444444;
    }

    .comment-media { /* медиа файлы, которые отправляются в комме */
      display: flex;
      width: 50px !important;
      height: 50px;
    }

    .text-field-a {
      display: flex;
      flex-direction: column !important;
    }

    .comment-reactions span{
      font-size: 12px !important;
      margin: 0px !important;
      padding: 6px !important;
    }
    
    }
  
  
  
  
  
  
  
  
  
  
  
  
  
  











  
    @media (max-width: 319px) {
      .header {
        width: auto;
      }
        
      .header a.logo {
        font-size: 15px;
      }

        
      .login-form {
        display: flex;
        max-width: 280px;
        max-height: 450px;
        margin: auto;
        margin-top: 75px;
      }
      
      .login-form-banner {
        display: flex;
        flex-direction: column;
        width: 280px;
        height: 450px;
        text-align: center;
        border-radius: 15px;
        background-color: rgb(39,41,48);
      }
        
          /* профиль */
      
      .main-profile {
        display: flex;

        height: 225px;
        margin: auto;
        margin-top: 10px;
        border-radius: 15px;
        border: 1px solid rgb(52,52,52);
        background-color: rgb(39,41,48);
      }
        
      .profile-banner {
        display: flex;

        height: 150px;
        margin: 0;
      }
        
      .banner {
        display: flex;
        margin: auto;


        height: 150px;
        object-fit: cover;
      }
        
      .profile {
        display: flex;
        width: 280px;
        height: 200px;
        margin: auto;
        margin-top: 6em;
        border-radius: 15px;
      }
        
      .profile-avatar {
        display: flex;
        width: 100px;
        height: 100px;
        margin: 5px;
      }
        
      .avatar {
        display: flex;
        border-radius: 100px;
        width: 100px;
        height: 100px;
        object-fit: cover;
      }

      .profile-info {
        display: flex;
        flex-direction: column;
        text-align: left;
        width: 200px;
        height: 90px;
        border-radius: 15px;
        line-height: 0.1;
      }
        
      .profile-info h2 {
        font-size: 12px;
        font-weight: 600;
        color: #fff;
      }
        
      .profile-info p {
        color: #fff;
      }
        
      .profile-info-niz {
        display: flex;
        flex-direction: row;
        text-align: center;
        justify-content: space-between;
        margin: 100px 0px;
        border-radius: 15px;
      }
        
      .profile-info-niz p {
        color: #fff;
      }
        
      .profile-info-niz-text {
        padding: 0 100px;
      }
      
      /* то что чуть ниже профиля */
      


.post-card {
  max-width: 280px;
}

.help-topic-preview {
  max-width: 280px;
}
          
      .profile-sections div {
        display: flex;
        margin: 10px;
      }
          
      .profile-sections h2 {
        margin: 5px 15px;
        text-align: left;
        font-size: 20px;
        font-weight: 600;
        color: #fff;
      }
          
      .profile-sections a {
        font-size: 12px;
        color: #aaaaaa;
        text-decoration: none;
      }
          
      .profile-sections a:hover {
        cursor: pointer;
        text-shadow: 5px 5px 5px rgba(158, 158, 158);
      }
          
      .profile-sections p {
        color: #fff;
        font-size: 13px;
      }
          
      .profile-sections span {
        color: #fff;
        font-size: 15px;
        margin: 15px;
      }
          
      .profile-comment-gl {
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        overflow-y: auto; /* Прокрутка по вертикали */
      }
          
      .profile-comment {
        display: flex;
        max-width: 250px;
        overflow-wrap: break-word;
        white-space: normal;
      }
          
      .author-name { /* имя пользователя при написании комментариев (то что рядом с авой) */
        margin: 5px;
      }
          
      .name-gl { /* сам сюда вставил, ЭТО ИМЯ НА ГЛАВНОЙ СТРАНИЦЕ */
        margin: 5px;
        font-size: 13px;
        text-decoration: none;
        color: #aaaaaa;
      }
      
      .avatar-gl {
        margin: -10px;
        border-radius: 100px;
        width: 27px;
        height: 27px;
        object-fit: cover;
      }
          
      .comment-p { /* текст комма */
        margin: 7px;
        word-break: break-all;
      }
          
      .comment-time { /* время комма */
        margin: 7px;
        color: #444444;
      }

      .comment-media { /* медиа файлы, которые отправляются в комме */
        display: flex;
        width: 40px !important;
        height: 40px;
      }

      .text-field-a {
        display: flex;
        flex-direction: column !important;
      }

      .comment-reactions span{
        font-size: 12px !important;
        margin: 0px !important;
        padding: 6px !important;
      }

      }
  