@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/oswald-v57-cyrillic_latin-regular.woff2') format('woff2'),
       url('fonts/oswald-v57-cyrillic_latin-regular.woff2') format('woff');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-v57-cyrillic_latin-700.woff2') format('woff2'),
       url('fonts/oswald-v57-cyrillic_latin-700.woff2') format('woff');
}

* {
  font-family: 'Oswald', sans-serif;
  box-sizing: border-box;
}

/* === ОБЩИЕ НАСТРОЙКИ === */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Oswald', sans-serif;
}

body {
  background-color: white;
  min-height: 100vh;
  padding-left: 15px;   
  padding-right: 15px;
  margin: 0;
  overflow-x: hidden;  
  font-family: 'Oswald', sans-serif;
}

/* Адаптив  */
@media (max-width: 768px) {
  body {
    padding-left: 0;
    padding-right: 0;
    }
}

/* === КОНТЕЙНЕР === */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* === HEADER === */
.header img {
  align-items: center;
  background-color: white;
  width: 733px;
  height: 293px;
  margin: 0 auto;
  display: flex;
}

/* Адаптация*/
@media (max-width: 480px) {
  .header img {
    width: 100%;
    max-width: 375px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* === ГЛАВНОЕ МЕНЮ === */
.menu {
  width: 100%;
  background-color: #000;
}

.menu-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 0;
}

.menu-main li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}

.menu-main li a:hover,
.menu-main li a.current {
  background: white;
  color: red;
}

/* === ОБЛАСТЬ СЕРВИСОВ === */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
  padding-right: 0;         
  max-width: 1440px;     
  margin: 0 auto;  
  box-sizing: border-box;
  overflow-x: hidden;  
}

/* === SIDENAV === */
.sidenav {
  flex: 0 0 210px;
  background: white;
  padding: 24px 12px 24px 0;
}

.sidenav-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  line-height: 1.4;
  font-size: 15px;
  padding-left: 15px;
  margin-bottom: 22px;
  border-left: 2px solid #b99d61;
}

.sidenav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidenav-list a {
  position: relative;
  display: inline-block; 
  padding-left: 20px; 
  text-decoration: none;
  color: #000;
}

.sidenav-list a:hover::before {
  content: "";
  margin-right: 0;
}


.sidenav-list li {
  margin-bottom: 14px;
}

.sidenav-list li a {
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.8px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  transition: color 0.25s ease;
}

.sidenav-list li a:hover {
  text-decoration: underline;
  color: red;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.proj {
  flex: 1 1 0;
  background: whitesmoke;
  padding: 28px 32px;
  margin: 0;
  min-width: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  padding-bottom: 250px;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  .sidenav {
    display: none;
  }

  .services {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .proj {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0;
  }

  .menu-main {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-main li a {
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #222;
  }
}

.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  background: #000;
  color: #fff;
  padding: 20px;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;

  pointer-events: none;
  z-index: 1000;
}

.footer-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-bar a {
  color: #ccc;
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bar a:hover {
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  white-space: nowrap;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: #444;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    order: 3;
    font-size: 12px;
    opacity: 0.7;
  }

  .footer-links {
    order: 1;
  }

  .footer-social {
    order: 2;
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

.title_text{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
  font-family:'Oswald', sans-serif;
}
/* Список */
ul.list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

ul.list li {
  flex: 1 1 auto;
  max-width: 200px; /* ограничим, чтобы кнопки не были слишком широкими */
}

ul.list li a {
  display: block;
  padding: 10px 14px;
  background-color: #1db954;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

ul.list li a:hover {
  background-color: #159f47;
}

.text_bob {
  max-width: 700px;
  margin: 0 auto;
  background: #fffdf8; /* мягкий "лист бумаги" */
  padding: 25px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid #ded9cd;
}

.typewriter-text {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  border-right: 2px solid #5e5e5e;
  padding-right: 5px;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #333;
  font-family: 'Courier New', Courier, monospace;
  min-height: 180px;
}

.typewriter-date {
  text-align: right;
  color: #6b665f;
  margin-top: 15px;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0;
  transition: opacity 1s ease;
}

.back-container {
  margin-bottom: 15px;
  padding: 10px 0;
}

.back-button {
  background: rgba(29,185,84,0.15);
  color: #1db954;
  border-radius: 10px;
  font-weight: 600;
}

.back-button:hover {
  background: rgba(29,185,84,0.35);
}

.back-button:active {
  transform: translateY(1px);
}

@media (max-width: 600px) {
  .back-button {
    font-size: 0.9em;
    padding: 6px 14px;
  }
}

.lyrics-page {
  width: 100%;
  padding: 24px 0 48px;
}

.lyrics-search {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.lyrics-search input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid #ddd;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lyrics-search input:focus {
  outline: none;
  border-color: #1db954;
  box-shadow: 0 0 0 3px rgba(29,185,84,0.15);
}

.albums-section {
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}

.albums-section-title {
  margin: 40px 0 20px;
  padding-left: 14px;
  border-left: 4px solid #1db954;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.album {
  width: 100%;
  background: #1b1b1b;
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: box-shadow 0.25s ease;
}

.album:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.album-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.album-toggle:hover {
  background: rgba(255,255,255,0.04);
}

.album-toggle:focus-visible {
  outline: 2px solid #1db954;
  outline-offset: -2px;
}

.album-cover {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #000;
}

.album-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.album-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.album-year {
  font-size: 0.85rem;
  color: #aaa;
}

.album-arrow {
  font-size: 1.4rem;
  color: #1db954;
  transition: transform 0.25s ease;
}

.album-toggle[aria-expanded="true"] .album-arrow {
  transform: rotate(180deg);
}

.tracklist {
  list-style-position: outside;
  padding-left: 1.6em;
}

.tracklist li {
  overflow: visible;
}

.tracklist li::marker {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.tracklist a {
  color: #e6e6e6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tracklist a:hover {
  color: #1db954;
}

@media (max-width: 600px) {

  .albums-section {
    padding: 0 12px;
  }

  .album-toggle {
    grid-template-columns: 64px 1fr auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .album-cover {
    width: 64px;
    height: 64px;
  }

  .album-title {
    font-size: 1rem;
  }

  .albums-section-title {
    font-size: 1.1rem;
  }

  .tracklist {
    padding-left: 1.6em;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.is-highlight {
  background: rgba(29, 185, 84, 0.15);
  border-radius: 6px;
}

.tracklist a.is-highlight {
  padding: 4px 6px;
  display: inline-block;
}

.track-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
}

.track-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
}

.track-title {
  font-size: 1.8rem;
  margin: 0 0 6px;
  color: #111;
}

.track-subtitle {
  font-size: 0.95rem;
  color: #666;
  letter-spacing: 0.04em;
}

.lyrics {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #111;
}

.lyrics p {
  margin: 0 0 14px;
}

.lyrics-section {
  margin-top: 28px;
  margin-bottom: 8px;
  color: #555;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.annotated {
  border-bottom: 1px dotted #1db954;
  cursor: help;
  position: relative;
}

.track-actions {
  margin-top: 40px;
  text-align: center;
}

.comment-button {
  padding: 12px 22px;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid #1db954;
  background: transparent;
  color: #1db954;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.comment-button:hover {
  background: #1db954;
  color: #fff;
}

.track-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

.track-page {
  max-width: 720px;
}

.track-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.sidebar-title {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}

.sidebar-tracks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-tracks li {
  margin-bottom: 10px;
}

.sidebar-tracks a {
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sidebar-tracks a:hover {
  color: #1db954;
}

@media (max-width: 600px) {
  .track-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .track-cover {
    max-width: 220px;
    margin: 0 auto;
  }

  .track-title {
    font-size: 1.5rem;
  }

  .lyrics {
    font-size: 1rem;
  }

  .track-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 16px;
  }

  .track-sidebar {
    position: static;
  }

  .track-page {
    max-width: 100%;
  }

  .annotation-tooltip {
    max-width: 90vw;
    font-size: 0.9rem;
  }
}

.annotated {
  position: relative;
  cursor: pointer;
  color: #1db954;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.annotation-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  max-width: 260px;

  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;

  font-size: 0.85rem;
  line-height: 1.4;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 100;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.annotation-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
}

.annotated.is-active .annotation-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
}

.pindex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: center;
  margin: 20px auto 32px;
  padding: 0 12px;
  max-width: 900px;
  font-size: 13px;
}

.pindex a {
  text-decoration: none;
  color: #777;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.pindex a:hover {
  background: rgba(29,185,84,0.12);
  color: #1db954;
}

.pblock {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 0 12px;
}

.pletter {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #1db954;
  color: #111;
  scroll-margin-top: 80px;
}

.pcontent {
  line-height: 1.65;
  font-size: 15px;
}

.pname {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.pname:hover {
  color: #1db954;
  text-decoration: underline;
}

.pcontent br {
  content: "";
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .pindex {
    font-size: 12px;
    gap: 6px;
  }

  .pletter {
    font-size: 1.3rem;
    margin-top: 28px;
  }

  .pcontent {
    font-size: 14px;
  }
}

.profiles-page{
max-width:1000px;
margin:auto;
padding:24px 16px;
}

.profiles-title{
font-size:28px;
font-weight:700;
margin-bottom:8px;
text-align:center;
}

.profiles-intro{
text-align:center;
color:#666;
margin-bottom:32px;
}

.profiles-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:16px;
}

.profile-card{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

padding:18px;

background:#fff;
border-radius:12px;

text-decoration:none;
color:#222;

box-shadow:0 4px 12px rgba(0,0,0,0.08);

transition:
transform .2s ease,
box-shadow .2s ease;
}

.profile-card:hover{
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.profile-card img{
width:56px;
height:56px;
object-fit:contain;
margin-bottom:10px;
}

.profile-card span{
font-size:14px;
font-weight:600;
text-align:center;
}

.page-title{
  max-width:900px;
  margin:0 auto 20px;
  padding:0 16px;
  font-size:26px;
  font-weight:700;
}

.sections-wrap{
  max-width:900px;
  margin:auto;
  padding:0 16px;
}

.sections-table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}

.sections-table tr{
  border-bottom:1px solid #eee;
  transition:background .2s ease;
}

.sections-table tr:hover{
  background:rgba(29,185,84,0.05);
}

.sections-table td{
  padding:14px 0;
}

.sections-table a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  transition:color .2s ease;
}

.sections-table a:hover{
  color:#1db954;
}

.sections-table .count{
  text-align:right;
  font-weight:600;
  color:#666;
  width:80px;
}

@media (max-width:600px){

.page-title{
  font-size:20px;
}

.sections-table{
  font-size:14px;
}

.sections-table td{
  padding:12px 0;
}

.sections-table .count{
  width:60px;
  font-size:13px;
}

}

.proj h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 8px;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics-list li {
  border-bottom: 1px solid #eee;
}

.topics-list a {
  display: block;
  padding: 10px 6px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.15s ease, color 0.15s ease;
}

.topics-list a:hover {
  background: #f5f5f5;
  color: #1db954;
}

.pages {
  display: flex;
  justify-content: space-between;
  margin: 25px 0 10px;
}

.pages a {
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  background: #f3f3f3;
  color: #333;
  transition: all 0.15s ease;
}


.pages a:hover {
  background: #1db954;
  color: #fff;
}

.topic-messages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 30px;
}

.topic-messages img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);

}

@media (max-width: 768px) {

  .proj h1 {
    font-size: 20px;
  }

  .topic-messages {
    gap: 14px;
  }

  .topic-messages img {
    border-radius: 6px;
    height: 10vh;
  }
}
