* {
  box-sizing: border-box;
}

body, html {
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}


body {
  height: 100vh;
  width:  100vw;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
    background: #dae7f1; /* Однотонный фолбэк */
    background: -webkit-linear-gradient(180deg, rgba(218, 231, 241, 1) 0%, rgba(251, 252, 253, 1) 80%, rgba(228, 234, 239, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(218, 231, 241, 1) 0%, rgba(251, 252, 253, 1) 80%, rgba(228, 234, 239, 1) 100%);
    background: -o-linear-gradient(180deg, rgba(218, 231, 241, 1) 0%, rgba(251, 252, 253, 1) 80%, rgba(228, 234, 239, 1) 100%);
    background: linear-gradient(180deg, rgba(218, 231, 241, 1) 0%, rgba(251, 252, 253, 1) 80%, rgba(228, 234, 239, 1) 100%);
}


a, a:hover, a:visited{
text-decoration: none;
} 

:root {
  --hv: calc(100vh/2);
  --hw: calc(100vw/2);
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size:4rem;
  font-style: normal;
  color:#96a5b4;
  margin: 25px 0 0 1rem;
}

h2 {
  font-size:2rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: #8197ab;
}

.page404-description, .page404-postscript {

font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size:1.2rem;
   color: #8197ab;

}

.wrapper {
        min-height: 100vh;
        display: grid;
        grid-template-rows: auto 1fr auto;
 }
 
.page-header {
  display:flex;
  height: 168px;
  justify-content: center;
   padding-top:1rem;
 }


.page-footer {
height: 200px;
position: relative;
}

.page-bodyd {
  position:relative;
  display: flex;
  justify-content: center;
  align-items: center; /* Центрирование дочерних элементов */

}

#dom1, #dom2, #kran, #znak, #dancer2, #kucha, #baner, #dancer1, #shit, #banka, #djaga, #bluredznak {
position: absolute;
}


#dom1 {
left: calc(50% - 200px); top:calc(50% - 110px); 
}
#dom2 {
left: calc(50%  + 50px); top:calc(50% - 100px); 
}

#kran {
left: calc(50%  - 350px); top:calc(50% - 200px); 
}
#znak {
left: calc(50%  - 160px); top:calc(50% - 25px);
filter: blur(2px);
opacity: 0.5;
zoom:0.9;
}
#dancer2 {
left: calc(50%  + 40px); top:calc(50% + 10px);
}
#kucha {
left: calc(50%  + 250px); top:calc(50% + 10px);
}
#baner {
left: calc(50% + 170px); top: calc(50% + 40px);
}
#dancer1{
left: calc(50%  - 180px); top:calc(50% + 30px);
}
#shit {
left: calc(50%  - 420px); top:calc(50% - 30px);
}
#banka {
left: calc(50%  + 15px); top:calc(50% + 160px);
}

#djaga {
left: calc(50%  - 350px); bottom:90px;
}
#bluredznak {
left: 10%; bottom:-200px;
}  



       .player-container {
            background: none;
            text-align: center;
             position: fixed;
             z-index: 2;
             top: 15px;
             right:15px;
                min-width: 195px;
        }

        .track-info {
            margin-bottom: 0;
        }

        .track-title {
            font-size: 1em;
            margin-bottom: 5px;
            color: #8197ab;
        }

        .track-artist {
            font-size: 1em;
            color: #ccc;
        }

        .progress-container {
            margin: 20px 0;
        }

        .progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
        }

        .progress-fill {
            height: 100%;
            background: #ffd700;
            width: 0%;
            transition: width 0.1s;
        }

        .time-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.9em;
            color: #ccc;
            margin-top: 5px;
        }

        .controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            margin-top: 5px;
        }

        .control-btn {
            background: rgba(255, 255, 255, 1);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            color: white;
            font-size: 1.2em;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-btn {
            width: 50px;
            height: 50px;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

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

        .volume-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 0;
        }

        .volume-slider {
            flex: 1;
            height: 3px;
              -webkit-appearance: none;  /* Override default CSS styles */
              appearance: none;
              background: #fff; /* Grey background */
              outline: none; /* Remove outline */
              opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
              -webkit-transition: .2s; /* 0.2 seconds transition on hover */
              transition: opacity .2s;
        }

        .volume-slider::-webkit-slider-thumb {
            appearance: none;
            width: 16px;
            height: 16px;
            background-color: #8197ab!important;
            border-radius: 50%;
            cursor: pointer;
        }

        .volume-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            background-color: #8197ab!important;
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }



.modal {
  display: block;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}


.modal_windows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
            background: rgba(255, 255, 255, 1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            width: 70%;
            text-align: center;  
  
  
  
  }
  
  .modal_windows p {    text-align: justify;}

  .modal_windows h2 {    color: FFA500; margin: 1rem 0 1rem 0;}

.modal_windows button {
 margin-top: 1rem;
   align-self: flex-end;
  background-color: blue;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal_windows button:hover {
  background-color: #FFA500;
}



  

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.glightbox_video:hover::before, .glightbox_video:hover::after {
   border: 5px solid #BF2428;
}

.outer_circle {
  stroke-width: 3;
  stroke-dasharray: 410; 
   stroke-dashoffset: 0;
  stroke-linecap: square;
  transition: all .4s ease-out;
}

.glightbox_video:hover .outer_circle {
stroke-dashoffset:410;
  transition: stroke .7s .4s ease-out, stroke-dashoffset .4s ease-out
}

.glightbox_video:hover 
.inner-circle {
  fill: #BF2428;
  transition:fill .4s .3s ease-out;
  
}

.glightbox_video:hover
.play{
    fill: white;
  transition:fill .4s .3s ease-out;
}


.bounce2 {
  animation: bounce2 2s ease infinite;
  animation-duration: 2s;  
}

@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}


.arrow {
  text-align: center;
  margin: 3% 0;
}
.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.modal-content p{
font-size: 1.5rem;

}


.share {
position: absolute;
display:flex;
top:8px;
left: 8px; 
align-items: center;
flex-direction: column;
    z-index: 87;
}

.sharetxt {
padding:1rem;
}

.ya-share2__title{
display:none!important;
}

.telega {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  text-decoration: none; /* Убирает стандартное подчеркивание ссылки */
  background-color: transparent; /* Можно задать фон, если нужно */
  z-index: 800;
}

.telega img {
  height: 100%; /* Логотип будет занимать всю высоту элемента */
  margin-left: 8px; /* Отступ между логотипом и текстом */
}

.telega span {
  /* font-size: 14px; Размер шрифта, можно настроить под себя */
  line-height: 26px; /* Вертикальное выравнивание текста */
  color: #96a5b4; /* Цвет текста, можно изменить под нужный */
  text-wrap: nowrap;
}


        .line {
            position: absolute;
            background-color: black;
            
        }

        /* Горизонтальная линия */
        .horizontal {
            width: 100%;
            height: 1px;
            top: 50%;
            left: 0;
            z-index:999;
        }

        /* Вертикальная линия */
        .vertical {
            width: 1px;
            height: 100%;
            left: 50%;
            top: 0;
            z-index:999;
        }
        
          #ravshan-container {
            position: fixed;
            bottom: 0;
            right: 0;
            display: block;
            width: 250px;
            height: 280px;
            z-index: 689;
        }      
/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */



/* Маленькие экраны (max-height : 1024px)
   ========================================================================== 
@media screen and (max-height: 600px) {

#djaga {
left: calc(var(--hw) - 350px); bottom: 20px;
}

#bluredznak {
left: 10%; bottom:-300px;
}  


#kran {
left: calc(var(--hw) - 290px); top:25%;
}

}
*/



