@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Montserrat&display=swap);


/* 
— Может, бахнем? 
— Обязательно бахнем! И не раз! Весь мир в труху!… Но потом.

 */


body {
     font: 1em 'Montserrat', sans-serif; 
     height: 100%;
     background-color: #eee;
     color: #111;
     }

#lunaradio {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important; 
}

.lunaradio-bgvideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    pointer-events: none !important; 
    background: url('/res/image/winter.webp') no-repeat center center;
    background-size: cover;
}

.player-content {
    position: relative;
}


.iframe-video-container {
    width: 50vw;
    height: 60vh; 
    position: relative;
    margin: 0 auto;
}

.iframe-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .iframe-video-container {
        width: 100vw;
        height: 30vh; 
    }
}





/* поиск городов */

.city-search-container {
margin-bottom: 15px; max-width: 150px;
}

.city-search-placeholder {
  position: relative; margin-bottom: 5px;
}

#city-search-filter {
    width: 100%;
    padding: 5px 40px 5px 5px;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

#city-search-filter:focus {
    border-color: #ff4500;
}

#clear-search-filter {
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: none;
    border: none;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    display: none;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

#clear-search-filter:hover {
    color: #ff4500;
}

@media (prefers-color-scheme: dark) {
    #city-search-filter {
        background: #2a2a2a;
        border-color: #444;
        color: #fff;
    }
    
    #city-search-filter:focus {
        border-color: #ff9c79;
    }
    
    #city-search-filter::placeholder {
        color: #888;
    }
    
    #clear-search-filter {
        color: #aaa;
    }
    
    #clear-search-filter:hover {
        color: #ff9c79;
    }
}












.telo img,
.logo-station-menu img,
.logo-station-page img,
.roundcorner img {
  pointer-events: auto;
  user-drag: none;
  -webkit-user-drag: none;
}





.city-link {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.city-link img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10%;
}

.city-link span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 10px;
  text-align: center;
}










.roundcorner img {
  width: 400px;
  border-radius: 10%;
  /*  border: 1px #fff solid; */       /* обводку нннада? */
  box-shadow: 0 0 10px #ff4500;

}

.logo-station-menu,
.logo-station-page
 {
  display: grid;
  gap: 10px; 
  padding: 10px;
}


.logo-station-menu {
  grid-template-columns: repeat(5, 1fr); 
}

.logo-station-menu--fm {
  grid-template-columns: repeat(15, 1fr);
}

.logo-station-page {
  grid-template-columns: repeat(8, 1fr); 
}

.logo-station-menu img,
.logo-station-page img,
.city-link img {
  width: 100%; 
  height: auto;
  border-radius: 10%;
  box-sizing: border-box;
}

.logo-station-menu a:hover,
.logo-station-page a:hover {
background: #222;
border-radius: 10%;
}            






@media (max-width: 1200px) {
  .logo-station-menu,
  .logo-station-page {
  grid-template-columns: repeat(3, 1fr);
}




.roundcorner img {
  width: 200px;
}



}








.logo-station-page a.station-box {
  display: block;
  overflow: hidden;
  position: relative;
}

.station-image-wrapper {
  position: relative;
}

.station-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ff9c79;
  color: #000;
  font-size: 1rem;
  padding: 4px 0;
  text-align: center;
  pointer-events: none;
}



@media (max-width: 1023px) {
  .station-info {
  font-size: 0.75rem;
  padding: px 0;
}
}























p {
  font-size: 20px; 
  font-weight: bold; 
  }


#big {
  color: black !important;
  font-size: 150px; 
  font-weight: bold; 
  text-align: center;
  
  }

#littlebig {
  color: black !important;
  font-size: 30px; 
  text-align: center;
 
  }




.bottomcenter {
  position: absolute;
  bottom: 0;
   right: 0;


}




/* счетчик слушателей */
#listeners-now {
                font-weight: bold; 
                color: green;
               }



/* анимация следующего трека */
#nextplaying-song {
                  font-weight: bold;
                  -webkit-animation: blink1 5s linear infinite;
                  animation: blink1 5s linear infinite;
                  }

              
@-webkit-keyframes blink1 {
                    0% { 
                        color: rgba(1, 176, 240, 1); 
                       }
                    50% { 
                         color: rgba(1, 176, 240, 0); 
                        }
                    100% { 
                          color: rgba(1, 176, 240, 1); 
                         }
                    }
@keyframes blink1 {
             0% { 
                 color: rgba(1, 176, 240, 1); 
                 }
             50% { 
                  color: rgba(1, 176, 240, 0); 
                 }
             100% { 
                   color: rgba(1, 176, 240, 1); 
                  }
            }



/* анимация текущего трека */
#nowplaying-song {
  font-weight: bold;
  -webkit-animation: blink2 5s linear infinite;
  animation: blink2 5s linear infinite;
  }


@-webkit-keyframes blink2 {
    0% { 
        color: rgba(255, 69, 0, 1); 
       }
    50% { 
         color: rgba(1, 176, 240, 0); 
        }
    100% { 
          color: rgba(255, 69, 0, 1); 
         }
    }
@keyframes blink2 {
0% { 
 color: rgba(255, 69, 0, 1); 
 }
50% { 
  color: rgba(1, 176, 240, 0); 
 }
100% { 
   color: rgba(255, 69, 0, 1); 
  }
}



/* тело с выделенными ссылками */
.telo {
       padding: 5px; 
      }
.telo a {  
  padding: 1px;  
  border-radius: 10%;
        outline: none;
        text-decoration: none;
        display: inline-block;
        line-height: 1;
        color: black;
        }
.telo a:link, .telo a:visited, .telo a:focus {border-radius: 10%;
  padding: 1px; 
                                              background: #ff9c79; 
                                              }
.telo a:hover {border-radius: 10%;
  padding: 1px; 
               background: #fd783e;
               font-weight: bold;
              }
.telo a:active {border-radius: 10%;
  padding: 1px; 
                background: #ff4500;
                color: black;
               }


a.city-link:hover,
.logo-station-menu a:hover,
.logo-station-page a:hover
{
  background: #222;
  outline: 5px solid #000;
}



.nextsong {
  cursor: pointer;
  padding: 1px;  
  border-radius: 10%;
  outline: none;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  color: black;
  background: #04c4d9; 
}

.nextsong:hover {
  background: #fd783e;
  font-weight: bold;
}

.nextsong:active {
  background: #ff4500;
  color: black;
}








.modal {
  display: none;
  position: fixed;
  z-index: 10000 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 50%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  border-radius: 2px;
}

.closess {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 4rem;
  cursor: pointer;
}




@media screen and (max-width: 1023px) {
  .modal-content {
    width: 100% !important;
    bottom: -10vh;
    transform: none !important;
  }


  .closess {
  font-size: 2rem;

}
}












/* прилипающий блок со статусом плеера */
.status { 
         font-size: 25px; 
         bottom: 0px;
         padding: 15px;
         background-color: #ffffff; 
         border: 3px solid #04c4d9;
         border-radius: 10px;
         margin-right: 1%;
         position: sticky;
         position: -webkit-sticky;
        }

/* прилипающий блок со статусом плеера для мобил */
@media (max-width: 1023px) { 

        .status {
         font-size: 15px; 
         padding: 5px;
         
        }

}
/* нижние баннеры */
.foot_banners {
  
               text-align:center;
          
              
              }



#primechanie {
              font-weight: bold;
              text-align:center;
             }


/* кнопки-карточки для Гусей Беспорядка */

.ulbuttons {
  padding: 0px;
  width: 100%;
}

.libuttons {
  display: inline;
}

.buttons a {
  font-size: 25px;
  outline: none;
  text-decoration: none;
  display: inline-block;
  width: 48%;
  margin-right: 1%;
  margin-bottom: 1%;
  text-align: center;
  line-height: 2;
  color: black;
}



.buttons a:link, .buttons a:visited, .buttons a:focus {
  background: #ff7633;  
 border: 1px solid #000000;
         border-radius: 15px 15px 15px 15px;
}

.buttons a:hover {
  background: #4dacdd;
  font-weight: bold;
 border: 1px solid #000000;
         border-radius: 15px 15px 15px 15px;
  
}




.buttons a:active {
  background: #dd4db6;
  color: black;
}


@media (max-width: 1023px) {



.ulbuttons {
  padding: 0px;
  width: 100%;
}

.libuttons {
  display: inline;
}

.buttons a {
  font-size: 17px;
  outline: none;
  text-decoration: none;
  display: inline-block;
  width: 98%;
  text-align: left;
  line-height: 150%;
  
}


.buttons a:link, .buttons a:visited, .buttons a:focus {
 
  background: #ff7633;
  padding: 3px;
  margin: 3px 1px 3px 1px; 
 border: 1px solid #000000;
         border-radius: 5px 5px 5px 5px; 
}

.buttons a:hover {
  
  background: #4dacdd;
 padding: 3px;
  margin: 3px 1px 3px 1px;
  font-weight: bold;
 border: 1px solid #000000;
         border-radius: 5px 5px 5px 5px;
  
}

.buttons a:active {
  
  background: #dd4db6;
 padding: 3px;
  margin: 3px 1px 3px 1px;
  
border: 1px solid #000000;
}


}


/* кнопки-карточки для Плейлистов или еще чего-то */

.ulbuttons-main {
  padding: 0px;
  width: 100%;
}

.libuttons-main {
  display: inline;
}

.buttons-main a {
  font-size: 25px;
  outline: none;
  text-decoration: none;
  display: inline-block;
  width: 48%;
  margin-right: 1%;
  margin-bottom: 1%;
  text-align: center;
  line-height: 2;
  color: black;
}



.buttons-main a:link, .buttons-main a:visited, .buttons-main a:focus {
  background: #ff7633;  
 border: 1px solid #000000;
         border-radius: 15px 15px 15px 15px;
}

.buttons-main a:hover {
  background: #4dacdd;
  font-weight: bold;
 border: 1px solid #000000;
         border-radius: 15px 15px 15px 15px;
  
}




.buttons-main a:active {
  background: #dd4db6;
  color: black;
}


@media (max-width: 1024px) {



.ulbuttons-main {
  padding: 0px;
  width: 100%;
}

.libuttons-main {
  display: inline;
}

.buttons-main a {
  font-size: 17px;
  outline: none;
  text-decoration: none;
  display: inline-block;
  width: 98%;
  text-align: left;
  line-height: 150%;
  
}


.buttons-main a:link, .buttons-main a:visited, .buttons-main a:focus {
 
  background: #ff7633;
  padding: 3px;
  margin: 3px 1px 3px 1px; 
 border: 1px solid #000000;
         border-radius: 5px 5px 5px 5px; 
}

.buttons-main a:hover {
  
  background: #4dacdd;
 padding: 3px;
  margin: 3px 1px 3px 1px;
  font-weight: bold;
 border: 1px solid #000000;
         border-radius: 5px 5px 5px 5px;
  
}

.buttons-main a:active {
  
  background: #dd4db6;
 padding: 3px;
  margin: 3px 1px 3px 1px;
  
border: 1px solid #000000;
}


}











@media (prefers-color-scheme: dark) {
  body {
    background-color: #111;
    color: #fff;
  }

  .status,
  .modal-content,
  .modal-contentgenres {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #444;
  }

  .buttons a:link,
  .buttons a:visited,
  .buttons a:focus,
  .buttons-main a:link,
  .buttons-main a:visited,
  .buttons-main a:focus {
    background: #333;
    color: #fff;
    border-color: #555;
  }

  .buttons a:hover,
  .buttons-main a:hover {
    background: #555;
  }

  .buttons a:active,
  .buttons-main a:active {
    background: #777;
    color: #fff;
  }

  .telo a {
    color: #fff;
  }

  .telo a:link,
  .telo a:visited,
  .telo a:focus {
    background: #04686e;
    color: #fff;
  }

  .telo a:hover {
    background: #fd783e;
  }

  .telo a:active {
    background: #ff4500;
    color: black;
  }


  a.city-link:hover, 
  .logo-station-menu a:hover,
  .logo-station-page a:hover
   {
  background: #fd783e;
  outline: 5px solid #fd783e;
}


  .modal,
  .modalgenres {
    background-color: rgba(0, 0, 0, 0.85);
  }

  #primechanie {
    color: #ccc;
  }

  .nextsong {
    background: #04686e;
    color: #fff;
  }

  .nextsong:hover {
    background: #fd783e;
  }

  .nextsong:active {
    background: #ff4500;
    color: #000;
  }
}


/* Кнопочка показать-скрыть в фидбеке */
#click-to-hide { 
     font-size: 18px;
    font-family: Montserrat;
    color: #FFFFFF;
  
    padding: 0px 5px 0px 5px;
  
    border: solid 1px #F9F9F9;
    border-radius: 7px 7px 7px 7px;
    background: #01b0f0;


}
#click-to-hide:hover {
    background: orange;
    color: #000000;
}


/* Общая обёртка */
.screenshot-carousel {
  width: 100%;
  max-width: 1023px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Внутренний трек */
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none; 
}

.carousel-track img {
  flex-shrink: 0;
  width: 40%;
  max-width: 300px;
  border-radius: 12px;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}


@media screen and (min-width: 768px) {
  .carousel-track {
    overflow-x: hidden;
    justify-content: space-between;
    gap: 16px;
  }

  .carousel-track img {
    width: 23%; 
    max-width: none;
  }
}




* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}


.nav,
.nav-right {
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 4em 1em;
  background: #ff9c79;
  z-index: 2000;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}


.nav {
  width: 25vw;
  left: -25vw;
  direction: rtl;
}

.nav-right {
  width: 35vw;
  right: -35vw;
}


.nav-toggle,
.nav-toggle-right {
  position: absolute;
  top: 0;
  padding: 0.5em;
  color: #000;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  z-index: 2001;
  -webkit-transition: color 0.25s ease-in-out;
  -moz-transition: color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out;
}

.nav-toggle {
  left: 25vw;
}

.nav-toggle-right {
  right: 36vw;
}

.nav-toggle:after,
.nav-toggle-right:after {
  content: "☰";
  font-size: 4rem;
  color: black;
  text-decoration: none;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white,
     0 0 5px white;
}

.nav-toggle-right:after {
  content: "၊၊||၊";
}

.nav-toggle:hover,
.nav-toggle-right:hover {
  color: #000;
}


[id='nav-toggle'],
[id='nav-toggle-right'] {
  position: absolute;
  display: none;
}


[id='nav-toggle']:checked ~ .nav {
  left: 0;
  overflow-y: auto;
}

[id='nav-toggle-right']:checked ~ .nav-right {
  right: 0;
  overflow-y: auto;
}

[id='nav-toggle']:checked ~ .nav > .nav-toggle {
  right: 0;
  left: auto;
}

[id='nav-toggle-right']:checked ~ .nav-right > .nav-toggle-right {
  left: 0;
  right: auto;
}

[id='nav-toggle']:checked ~ .nav > .nav-toggle:after,
[id='nav-toggle-right']:checked ~ .nav-right > .nav-toggle-right:after {
  content: '✕';
  font-size: 4rem;
  color: black;
  text-decoration: none;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white,
     0 0 5px white;
}


.nav > ul,
.nav-right > ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  direction: ltr;
}

.nav > ul > li,
.nav-right > ul > li {
  line-height: 2.5;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s;
}

[id='nav-toggle']:checked ~ .nav > ul > li,
[id='nav-toggle-right']:checked ~ .nav-right > ul > li {
  opacity: 1;
  transform: translateX(0);
}

.nav > ul > li > a,
.nav-right > ul > li > a {
  display: inline-block;
  position: relative;
  padding: 0;
  font-weight: 300;
  font-size: 1.1rem;
  color: #000;
  width: 100%;
  text-decoration: none;
  transition: color 0.5s ease, padding 0.5s ease;
}

.nav > ul > li > a:hover,
.nav > ul > li > a:focus {
  color: #fff;
  padding-left: 15px;
}

.nav-right > ul > li > a:hover,
.nav-right > ul > li > a:focus {
  color: #fff;
  padding-right: 15px;
}

.nav > ul > li > a:before,
.nav > ul > li > a:after,
.nav-right > ul > li > a:before,
.nav-right > ul > li > a:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
}

.nav > ul > li > a:after,
.nav-right > ul > li > a:after {
  background: #000;
  transition: width 0.5s ease;
}

.nav > ul > li > a:hover:before,
.nav-right > ul > li > a:hover:before {
  background: #fff;
  transition: width 0.5s ease;
}

.nav > ul > li > a:hover:after,
.nav-right > ul > li > a:hover:after {
  width: 0%;
  background: transparent;
  transition: width 0s ease;
}


.mask-content,
.mask-content-right {
  display: block;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.mask-content {
  left: 0;
}

.mask-content-right {
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

[id='nav-toggle']:checked ~ .mask-content,
[id='nav-toggle-right']:checked ~ .mask-content-right {
  visibility: visible;
  opacity: 1;
}


::-webkit-scrollbar {
  width: 0.65em;
}

::-webkit-scrollbar-track {
  background-color: #00000050;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}


@media screen and (max-width: 1023px) {
  .nav {
    width: 80vw;
    left: -80vw;
  }

  .nav-toggle {
    left: 80vw;
  }

  .nav-toggle:after,
  [id='nav-toggle']:checked ~ .nav > .nav-toggle:after {
    font-size: 3rem;
  }

  .nav-right {
    width: 80vw;
    right: -80vw;
  }

  .nav-toggle-right {
    right: 82vw;
  }

  .nav-toggle-right:after,
  [id='nav-toggle-right']:checked ~ .nav-right > .nav-toggle-right:after {
    font-size: 3rem;
  }
}

@media screen and (max-width: 1023px) {
  
.nav {
  width: 75vw;
  left: -75vw;

}

  .nav-toggle
  {
    left: 75vw;
  }


}


@media (prefers-color-scheme: dark) {
  .nav,
  .nav-right {
    background: #111 !important;
  }

  .nav-toggle,
  .nav-toggle-right {
    color: #fff !important;
  }

  .nav-toggle:hover,
  .nav-toggle-right:hover {
    color: #ccc;
  }

  .nav > ul > li > a,
  .nav-right > ul > li > a {
    color: #ff9c79;
  }

  .nav > ul > li > a:hover,
  .nav > ul > li > a:focus,
  .nav-right > ul > li > a:hover,
  .nav-right > ul > li > a:focus {
    color: #fff;
  }

  .nav > ul > li > a:after,
  .nav-right > ul > li > a:after {
    background: #ccc;
  }

  .nav > ul > li > a:hover:before,
  .nav-right > ul > li > a:hover:before {
    background: #fff;
  }

  .nav > ul > li > a:hover:after,
  .nav-right > ul > li > a:hover:after {
    background: transparent;
  }

  .mask-content,
  .mask-content-right {
    background-color: rgba(0, 0, 0, 0.7);
  }
}


