@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Ruslan+Display&family=Unbounded:wght@200..900&display=swap');

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: sans-serif;
      height: 100vh;
      display: flex;
      position: relative;
      /*background-color: #f0e8e5;*/
      background-color: #eae1dc;
      font-family: "Google Sans", sans-serif;
      color: #3b3838;
    }
      h1, h2, .track-title, .author-info h3, h3 {
          font-family: "Unbounded", sans-serif;
      }
.author-info h3 {
    
}
.onepage h2 {
    padding: 20px 0px 20px 0px;
}
h3 {
   margin: 20px 0px; 
}
    h1 {
          margin: 0px 0px 60px 0px;
      }
    h2 {
       font-size: 24px;  
    }
h2.paddingbottom {
    margin: 0px 0px 50px 0px;
    font-size: 35px;  
}
h2.paddingbottom2 {
    margin: 0px 0px 30px 0px;
    font-size: 35px;  
}
h2.rulesh2 {
    margin: 0px 0px 40px 0px;
    font-size: 25px;  
    line-height: 35px;
}
.lyrics p {
    margin-bottom: 20px;
}
.pripev {
    font-style: italic;
}
    /* Левая часть (300px) */
    .sidebar {
      width: 300px;
      background-color: #eae1dc;
      display: flex;
      flex-direction: column;
     /* overflow: hidden;*/
      padding: 50px 20px;
    }
h3.namesongalbum {
    margin: 0px 0px 10px 0px;
}
.rightbottominfo {
    background: #f0d044;
    border-radius: 100px;
    font-family: "Unbounded", sans-serif;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
}
.rightbottominfo2 {
    background: #ec3e24;
    border-radius: 100px;
    font-family: "Unbounded", sans-serif;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #eae1dc;
    margin-top: 10px;
}
.rightbottominfo3 {
    background: #f0d044;
    border-radius: 100px;
    font-family: "Unbounded", sans-serif;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
}
.rightbottominfo4 {
    background: #ec3e24;
    border-radius: 100px;
    font-family: "Unbounded", sans-serif;
    padding: 15px 20px;
    font-size: 16px;
    color: #eae1dc;
    font-weight: 500;
}
.divflexrek {
  position: relative;
  justify-content: center; 
  align-items: flex-end;   
  height: 160px;
  text-align: center;
}

.divflexrek img {
  /*position: relative;*/
  z-index: 2; 
  padding-bottom: 25px;
}

.rightbottominfo {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%); 
  z-index: 1; 
}

.author-name {
    font-size: 16px;
}
    .logost1 {
  width: 260px; 
  height: 74px;
  margin-bottom: 80px;
}
.minweight {
    font-weight: 300;
}
div.iconcompmenu {
    width: 30px;
    height: 30px;    
}
li.flexlinemenu {
    display: flex;
    gap: 18px;
    align-items: center;
}
    .menu {
      flex: 1;
    }

    .menu ul {
      list-style: none;
      padding: 0 20px;
    }

    .menu li {
      margin-bottom: 15px;
    }

    .menu a {
      text-decoration: none;
      color: #3b3838;
      display: block;
      padding: 10px 0;
      font-size: 22px;
      font-weight: 500;
    }

    /* Правая часть */
    .content {
      flex: 1;
      overflow-y: auto;
      background-color: #eae1dc;
      padding: 20px;
      position: static;
    }
      .contentpage {
          background-color: #ffffff;
          border-radius: 20px;
          padding: 50px;
          margin-bottom: 30px;
      }

    /* Бургер — только на мобильных */
    .burger {
      display: none;
      margin: 5px auto;
      padding: 5px;
      width: 50px;
      height: 50px;
      background-color: #3b3838;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 25px;
      color: #ffffff;
      position: relative;
      z-index: 1100; /* Выше меню */
      transition: transform 0.3s ease;
    }

    .burger.open {
      transform: rotate(90deg);
    }

    .burger::before {
      content: '☰';
      display: block;
    }

    .burger.open::before {
      content: '×';
    }

    /* Мобильное меню */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 80px;
      left: 30px;
      right: 30px;
      background-color: #f8f8f8;
      border-top: 1px solid #e0e0e0;
      z-index: 1000;
      overflow-y: auto;
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      border-radius: 15px;
      max-height: calc(100vh - 60px);
      pointer-events: none;
    }

    .mobile-menu.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-menu ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .mobile-menu li {
      border-bottom: 1px solid #e0e0e0;
    }

    .mobile-menu a {
      display: block;
      color: #333;
      text-decoration: none;
      transition: background-color 0.2s ease;
    }

    .mobile-menu a:hover {
      background-color: #eef2f7;
    }
.albums-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}
.album-card {
  margin: 15px 0;
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.album-info {
  flex-grow: 1;
  min-width: 0; 
  height: 100%;
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
}

.author-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%; /* Круглая форма */
    object-fit: cover;
    border: 3px solid #ffffff;
}
.author-avatar-full, .album-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.album-avaname img {
    margin-left: -60px;
}
.album-avaname {
    z-index: 1;
}
p.copyright {
    font-size: 14px;
}
.footermain {
    padding: 30px;
    background: #d8d0d0;
    border-radius: 20px;
    margin: 30px 0px;
}
.zoom-container {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
}
.zoom-container:hover, .track-cover:hover {
    border: 1px solid #18E1FC;
}
.author-info {
    margin-left: 50px;
}
.author-info .disflex {
    margin-top: 10px;
}
.zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center;
  overflow: hidden !important;
  overflow-clip-margin: unset;
  clip: auto;
}

.zoom-container img:hover {
  transform: scale(1.3);
}

.track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    margin-bottom: 0px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.onesongon .track {
    margin-bottom: 0px;
}

.onesongon .track-info {
    align-items: center;
}

.track:hover {
    transform: translateY(-2px);
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
}

.track-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
    border-bottom: 1px dashed #510971;
    padding-bottom: 10px;
}

.track-duration {
    color: #7f8c8d;
    font-size: 0.9em;
}
.pcardalbumall {
    display: flex;
    gap: 20px;
}
.track-cover {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 50%;
}
.controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.disflex a {
    font-size: 16px;
    font-weight: 400;
    color: #0c6c84;
    font-style: italic;
}
.author-card-full {
    margin: 0px;
    padding: 0px;
    display: flex;
    align-items: center;
}
.author-info h3 {
}
.album-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}
.album-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px 0;
}
.album-year {
    font-size: 14px;
    margin: 0px;
}
.track-author, .track-data {
    font-size: 14px;
}
.track-author {
    font-style: italic;
}
button, a.download-btn {
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    color: white;
    width: 40px;
    height: 40px;
}

.play-btn {
    background-color: #ec3e24;
}

.download-btn {
    background-color: #ec3e24;
}

.favorite-btn {
    background-color: #ec3e24;
}

.play-btn:hover {
    background-color: #925d4f;
    transform: scale(1.1);
}

.download-btn:hover {
    background-color: #925d4f;
    transform: scale(1.1);
}

.favorite-btn:hover {
    background-color: #925d4f;
    transform: scale(1.1);
}
a.download-btn:hover {
    color: #ffffff;
}

.playing {
    background-color: #eae1dc;
    border-radius: 10px;
}

.favorite {
    color: gold;
    text-shadow: 0 0 2px black;
}
.download-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}
.linkalbomname {
    font-family: "Unbounded", sans-serif;
}
a {
    color: #3b3838;
    text-decoration: none;
}
a:hover {
    color: #ec3e24;
}
.disflex {
    display: flex; 
    gap: 10px;
    align-items: center;
}
label { display: block; margin: 10px 0px 10px 0px;  }
input[type="text"], input[type="email"], select, textarea 
{
   width: 100%; 
   padding: 8px; 
   border: 1px solid #ccc; 
   border-radius: 15px;
   font-family: "Montserrat", sans-serif;
  }
input[type="text"], input[type="email"], select 
{
   border-radius: 50px;
  }
.checkbox-group 
    { margin: 15px 0; }
.error 
    { color: red; font-size: 0.9em; }
button.buttonsend 
    { background-color: #ec3e24; color: white; padding: 10px 20px; border: none; border-radius: 50px; cursor: pointer; min-width: 200px;}
button.buttonsend:hover 
    { background-color: #870604; }
.full-screen {
  position: fixed;
  inset: 0;
  z-index: 5;
  background: url(../maimimg/bg1.png) no-repeat;
  background-position: center center;
  background-size: cover;
}
p, li {
    line-height: 30px;
    font-size: 18px;
}
.classiconst {
    width: 30px;
    height: 30px;    
}
h2 {
    padding: 20px 0px 0px 0px;
}
.album-avaname {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nomobile {
    display: block;
}
div#playlist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.authors-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
.textrules, .copyrightstihiru {
    font-size: 14px;
    line-height: 18px;
    border-radius: 10px;
    border: 1px solid #000000;
    padding: 15px;
    margin-bottom: 20px;
}

#player-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        min-height: 100px;
        background: #c8ac9e;
        color: white;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .player-content {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    #player-cover {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }
    .player-info {
        flex: 1;
    }
    #player-title {
        font-weight: 400;
        margin-bottom: 5px;
        font-family: "Unbounded", sans-serif;
    }
    .progress {
        height: 4px;
        background: #444;
        border-radius: 2px;
        overflow: hidden;
        position: relative;
    }
    #progress-bar {
        height: 100%;
        background: #4FA9F6;
        width: 0%;
    }
    #seek-slider {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        -webkit-appearance: none;
        background: transparent;
    }
    #seek-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #1db954;
        cursor: pointer;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
    }
    #seek-slider::-moz-range-thumb {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #1db954;
        cursor: pointer;
        border: none;
    }
    #player-time {
        font-size: 0.8em;
        color: #ffffff;
        margin-top: 5px;
    }
    #player-pause, #player-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.5em;
        cursor: pointer;
    }
    #player-close {
        font-size: 1.2em;
        line-height: 1;
    }

@media (max-width: 1500px) {
  div#playlist {
    grid-template-columns: 1fr; 
  }
  .authors-list {
    grid-template-columns: 1fr; 
  }
}
@media (min-width: 769px) {
  .track {
        margin-bottom: 30px;
    }
}



    /* Адаптация под мобильные */
    @media (max-width: 768px) {
      body {
        flex-direction: column;
        position: relative;
      }

      .sidebar {
        width: 100%;
        position: static;
        padding: 60px 10px 20px 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
      }
        .divflexrek img {
    padding-bottom: 40px;
}

      .logo {
        text-align: center;
        padding: 0px;
        z-index: 2;
        
      }
    .divflexrek {
        position: absolute;
        top: -20px;
        right: 0px;
    }
        .rightbottominfo, .rightbottominfo2 {
            display: none;
        }
    .logost1 {
        margin-bottom: 0px;
        width: 260px;
        height: 74px;
    }

      .menu {
        display: none;
      }

      .burger {
        display: block;
      }

      .content {
        order: 2;
        padding-top: 0;
        position: static;
      }
      .mobile-menu {
        top: 100px;
        }
       h1 {
            font-size: 28px;
        }
        .contentpage {
          border-radius: 15px;
          padding: 30px;
      }
     .track {
    display: block;
    margin-bottom: 30px;
    }
     .controls {
        margin-top: 20px;
        justify-content: flex-end;
    }
    .nomobile {
    display: none;
     }
     .albums-container {
    display: block;
     }
   .author-card-full, .album-card {
        margin: 0px 0px 0px -50px;
        max-width: 120%;
       width: initial;
    }
    .album-card {
       margin-bottom: 40px;
    }
    .author-info {
    margin-left: 20px;
    }
    .author-avatar {
    width: 50px;
    height: 50px;
    }
    .album-avaname {
    gap: 10px;
    }
    h3.namesongalbum {
        padding: 0px;
        margin: 0px;
    }
   .pcardalbumall {
    margin-top: 10px;
    }
    h2.paddingbottom {
        font-size: 26px;
    }
    .onesong .track-info {
    display: block;
   }
  img.track-cover.activecover {
    width: 100%;
    height: 250px;
    max-height: 250px;
    border-radius: 20px;
    margin-bottom: 15px;
    margin-top: -20px;
}
   .burger {
    margin: 0px 10px 0px 0px;
   }
    .onesong .track-author, .onesong .track-data {
       padding: 0px 15px; 
    }
    .pcardalbumall {
        display: flex;
        gap: 5px;
    }    
        
 .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.3)
}

.menu-grid-mobile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  width: 100%;
  max-width: 320px; /* Максимальная ширина сетки */
  margin-bottom: 16px;
}

.menu-item-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  text-align: center;
  aspect-ratio: 1 / 1; /* Квадратная ячейка */
  padding: 8px;
  box-sizing: border-box;
}

.menu-item-mobile:hover {
  background-color: #e0e0e0;
}

.menu-icon-mobile {
  width: 48px;
  height: 48px;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  max-width: 320px;
}
  .buttons-container a {
     padding: 5px 0px; 
     text-align: center;
  } 
.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
    #player-title {
        font-size: 14px;
    }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 20px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: "Google Sans", sans-serif;
}

.cookie-content h3 {
  margin-top: 0;
  font-size: 18px;
}

.cookie-content p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.cookie-content a {
  color: #f0d044;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-accept,
.btn-reject {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-accept {
  background: #4CAF50;
  color: white;
  width: 120px;
}

.btn-accept:hover {
  background: #45a049;
}

.btn-reject {
  background: #f44336;
  color: white;
  width: 120px;
}

.btn-reject:hover {
  background: #da190b;
}

.link-settings {
  color: #bbbbbb;
  text-decoration: underline;
  font-size: 13px;
  align-self: center;
}

.link-settings:hover {
  color: white;
}

/* Скрываем баннер, если куки уже приняты */
.cookie-banner.hidden {
  display: none;
}
