/* In style.css */

.hero-slider,
.hero-slider * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* SLIDER CONTAINER */
.hero-slider {
  position:relative;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  overflow: hidden;
  margin-right: 0px;

}

/* EACH SLIDE */
.slide {
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0 */
  display: none;             /* hidden by default */
  flex-direction: row;
}

.slide.active {
  display:flex;             /* only active slide is visible */
}

/* LEFT SIDE IMAGE */
.slide-image {
  flex: 3;                   /* ~2/3 of width */
  background-size: cover;
  background-position: center;
}

/* RIGHT SIDE CONTENT PANEL */
.slide-content {
  flex: 1;                   /* ~1/3 of width */
  background: rgb(3, 193, 149);                              /* #b30f0f;       red panel like YMCA */
  color: #fff;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

#three {
  background: rgb(5, 144, 230);
}

#two{
  background:rgb(187, 8, 214);
}

#four {
  background-color: #83b34f;
}

#five {
   background: #d79e01;
}
.slide-content h2 {
  font-size: 2.8rem;
  line-height: 1.1;
}

.slide-content p {
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.3rem;
  max-width: 26rem;
}

.cta-btn {
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.dot.active {
/* background: #fff; */
background: #971616;
}

/* BASIC RESPONSIVE TWEAK */
@media (max-width: 900px) {
  .slide {
    flex-direction: column;
  }

  .slide-image {
    flex: 1;
    min-height: 40%;
  }

  .slide-content {
    flex: 1;
    padding: 40px 20px;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  /*-------------------------------- */

}

.MidSection {
    margin-left: 0%;
    margin-right: 0%;
    text-align: center;
    color: rgb(0, 0, 0);
}

.MidSection {
  background: rgb(255, 255, 255);
 /* border: solid 1px black; */
  padding: 3rem;
  width: 100%;
}

.MidSection p{
    font-size: 25px;
    text-align: center;
    width: 1200px;
    margin-left: 19%;
}


video{
    display: block;
    margin: 0 auto;
}

/*
.Elevate{
  border: solid 3px black;
}
*/