body {
  /* font-family: Arial, sans-serif; */
  /* font-family: 'Roboto', sans-serif; */
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* Видео на заднем фоне */
#bgvideo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(80%);
}

.container {
  background: rgba(0,0,0,0.6);
  padding: 40px;
  margin: 10px;
  border-radius: 15px;
  max-width: 700px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.container h1,
.container p,
.container .button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.container h1 { animation-delay: 0.3s; }
.container p:nth-of-type(1) { animation-delay: 0.5s; }
.container p:nth-of-type(2) { animation-delay: 0.7s; }
.container p:nth-of-type(3) { animation-delay: 0.9s; }
.container p:nth-of-type(4) { animation-delay: 1.1s; }
.container .button { animation-delay: 1.3s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

h1 { margin-bottom: 20px; 
  font-size: clamp(1.2rem, 4vw, 2.5rem);
}
p { margin: 10px 0; 
  font-size: clamp(0.95rem, 2.5vw, 1.5rem);
}


h1, .button {
  font-family: 'Montserrat', sans-serif;
}

.button {
display: inline-block;
margin-top: 20px;
padding: 12px 25px;
font-size: clamp(0.95rem, 2.5vw, 1.5rem);
color: #fff;
background: #ff6b6b;
border-radius: 8px;
text-decoration: none;
min-width: 150px;      /* одинаковый размер */
text-align: center;    /* текст по центру */
}

.button + .button {
  margin-left: 20px; /* расстояние между кнопками */}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 107, 107, 1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
}

a { color: #fff; text-decoration: none; }