@font-face {
  font-family: "Sligoil Micro";
  src: url("../fonts/Sligoil-MicroBold.woff2") format("woff2"),
       url("../fonts/Sligoil-MicroBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2"),
       url("../fonts/Manrope-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;           
  padding: 3vw 5vw 5vw 5vw;              
  background-color: #F6DDE9;
  color: #3C2F3F;
  font-family: "Manrope", sans-serif;
  text-align: center;          
  flex-direction: column;      
  gap: 2rem;                  
  overflow-x: hidden;        
  font-size: clamp(1rem, 1rem + 1vw, 3rem);           
}

.container {
  width: 100%;                 
  max-width: 60rem;         
  margin: 0 auto;
}

.video-container {
  width: 100%;               
  aspect-ratio: 16 / 9;        
  flex: 0 0 75vw;
  scroll-snap-align: start;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

h1 {
  font-size: clamp(1.5rem, 1.5rem + 6vw, 6rem);      
  margin-bottom: 3rem;
  color: #3C2F3F;
}

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

ul.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.links li {
  margin-bottom: 0.5rem;
}
/* кнопки */
.carousel-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 3rem;
}

.video-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 2rem;
  color: #3C2F3F;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 10;
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}
