@media screen and (min-width: 1200px) and (max-width: 2500px) {
  /* Шапка */

  .main__header {
    height: 11vh;
  }

  .menu__list, .profile__list {
    gap: 30px;
  }

  .menu__list a, .profile__list a {
    width: 8vw;
    height: 50px;
    font-size: 24px;
    border: 4px #603F88 solid;
  }

  .logotype__container {
    margin: 0;
  }

  .button__container {
    justify-content: center;
    background-size: 29%, 29%;
    background-position: 15% top, 15% top;
    padding-left: 6vw;
  }

  .button__container a {
    height: 3.3vw;
    width: 9vw;
    font-size: 34px;
    border: 4px #F1EDEA solid;
  }

  .button__container:has(a:hover) {
    background-size: 29%, 29%;
    background-position: 15% top, 15% bottom;
  }

  .menu__list li:first-child a {
    background-size: 50%;
  }

  .menu__list li:first-child a:hover {
    background-size: 50%;
  }

  .profile__list li:last-child a {
    background-size: 35%;
    border: 4px #F1EDEA solid;
  }
  
}

@media screen and (max-width: 1200px) {
    /* Шапка */

  * {
    transition-delay: 0;
    transition-duration: 0.1s;
  }

  .main__container {
    padding: 9px;
  }

  .main__header {
    height: 21vh;
    background: none;
    background-color: #F1EDEA;
    border-radius: 20px;
  }
  

  .main__header nav {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px;
    padding: 9px;
  }

  .main__header nav ul, .main__header nav div {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .logotype__container {
    order: -1;
  }

  .menu__list, .profile__list {
    width: 90vw;
    gap: 10px;
  }

  .menu__list a, .profile__list a {
    width: 30vw;
    height: 30px;
    font-size: 18px;
    padding: 5px;
    border: 3px #603F88 solid;
  }

  .menu__list li:first-child, .profile__list li:last-child {
    position: absolute;
    visibility: hidden;
  }

  .logotype__container {
    width: 100%;
    height: 10vh;
    border-radius: 23px;
    margin: 0;
    background-size: 25%;
    background-color: #E1874B;
  }

  .logotype__container a {
    height: 40px;
    width: 130px;
    font-size: 24px;
    border: 3px #F1EDEA solid;
    margin-left: 70px;
  }

  .button__container {
    background-size: 14%, 14%;
    background-position: 33% top, 33% top;
  }

  .button__container:has(a:hover) {
    background-size: 14%, 14%;
    background-position: 33% top, 33% bottom;
  }

  /* Фото */

  .photoContainer img { 
    width: 44vw;
  }

  .photoContainer div {
    grid-template-columns: 1fr 1fr;
  }

  /* Видео */

  .videoContainer ul {
    grid-template-columns: 1fr;
    width: 92vw;
  }

  .videoContainer li {
    padding: 11px;
    width: 76vw;
    height: 38vw;
  }

  .video_item .play_button {
    width: 28px;
    height: 36px;
    left: 64vw;
    top: 127px;
  }

  .playlistContainer {
    flex-direction: column;
    padding-bottom: 6vh;
  }

  .playlistItem {
    width: 88vw;
    height: 80vh;
  }

  .playlistItem:first-child {
    margin-bottom: 5vh;
  }

  /* Подвал */

  footer {
    position: static;
  }

  footer span {
    font-size: 16px;
  }

}

