/* Базовые стили */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Главный контейнер */
#container {
  position: relative; /* Это ключевой момент для наложения */
  width: 100%;
  height: 100%;
}

/* Контейнер для панорамы */
#panorama-container {
  position: absolute; /* Панорама растянется на весь контейнер */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Панорама на заднем плане */
}

/* Наложение текста поверх панорамы */
#overlay {
  position: absolute; /* Перекрывает панораму */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /* Горизонтальное центрирование */
  align-items: center; /* Вертикальное центрирование */
  z-index: 2; /* Поверх панорамы */
  pointer-events: none; /* Чтобы текст не мешал кликам на панораме */
}


.text {
  flex: 1;
  text-align: center;
  margin-top:1%;
  color: rgb(0, 0, 0);
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 10px;
  
  pointer-events:none;
  z-index: 100;
  text-shadow: 2px 16px 16px rgb(0,0,0,0.3);
  color: white
}


@media (max-width: 760px){
  .text {
  flex:1;
  text-align: center;
  margin-top: 30%;
  color: rgb(0,0,0);
  font-family: "Raleway", sans-serif;
    text-transform: uppercase;
  font-size: 30px;
  font-weight: 100;
  letter-spacing: 10px;
    
    z-index: 100;
    text-shadow: 2px 16px 16px rgb(0,0,0,0.3);
    color: white;
    pointer-events: none;
  }
  }


.text-1, .text-focus-in {
  -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) 4s both;
	        animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) 4s both;
}

.text-3, .text-focus-in {
  -webkit-animation: text-focus-in 3s cubic-bezier(0.550, 0.085, 0.680, 0.530) 5s both;
	        animation: text-focus-in 3s cubic-bezier(0.550, 0.085, 0.680, 0.530) 5s both;
}

.text-2, .text-focus-in {
  -webkit-animation: text-focus-in 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) 4.5s both;
	        animation: text-focus-in 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) 4.5s both;
}


@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}




/* From Uiverse.io by TISEPSE */ 
a {
position: relative;
display: inline-block;
padding: 15px 30px;
border: 2px solid #fefefe;
text-transform: uppercase;
color: #fefefe;
text-decoration: none;
font-weight: 600;
font-size: 20px;
}

a::before {
content: '';
position: absolute;
top: 6px;
left: -2px;
width: calc(100% + 4px);
height: calc(100% - 12px);
background-color: #212121;
transition: 0.3s ease-in-out;
transform: scaleY(1);
}

a:hover::before {
transform: scaleY(0);
}

a::after {
content: '';
position: absolute;
left: 6px;
top: -2px;
height: calc(100% + 4px);
width: calc(100% - 12px);
background-color: #212121;
transition: 0.3s ease-in-out;
transform: scaleX(1);
transition-delay: 0.5s;
}

a:hover::after {
transform: scaleX(0);
}

a span {
position: relative;
z-index: 3;
}

button {
background-color: none;
text-decoration: none;
background-color: #212121;
border: none;
z-index: 100;
  pointer-events: auto;
}