/* Сбрасываем отступы и убираем полосы прокрутки */
html, body {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	font-family:  Amatic SC;
	font-size: 20px;


  }
  
  /* Канвас на всё окно, если нужно.
	 Но здесь мы размер задаём из JS,
	 так что достаточно только display:block. */
  canvas {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
  }
  

  
  #textContainer {
	font-size: 5rem;
	text-align: center; /* Это для выравнивания текста внутри самого блока */
	opacity: 1;
	z-index: 999999;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
  }
  
 
/* Поздравительный текст */


/* Кнопка перехода к видео */
.btnbg {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.btnbg button {
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background-color: rgba(255, 80, 120, 0.8);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.btnbg button:hover {
    background-color: rgba(255, 100, 120, 1.0);
}

/* Холст анимации */
#sakura {
    display: block;
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #1a1a2e;
}

/* Блок с видео */
#video-block {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    background-color: #f8f8f8;
}

video {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}
