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

:root {
  --main-font: "Quicksand", Courier, sans-serif;

  /* paleta de colores */
  --main-color: #abf55b;
  --secund-color: #00755c;
  --third-color: #00c16c;
  --dark-color: #222;
  --ligth-color: rgb(148, 172, 124);
}

html {
  font-family: "Quicksand", Courier, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--secund-color);
}

header {
  position: sticky;
  top: 0;
  height: 100px;
  width: 100%;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;

  padding-top: 1rem;
  padding-bottom: 0.1rem;
  background-color: var(--main-color);
}

.bpmco,
.sport {
  z-index: 99999;
  cursor: pointer;
}

.bpmco {
  height: 2.5rem;
  width: auto;
}

.sport {
  transform: rotate(-15deg);
}

.moving-line {
  position: absolute;
  top: 90%;
  left: 0;
  width: 100vw;
  height: 2px;
  background-color: var(--third-color);
  animation: moveLine 6s infinite ease-in-out;
}

@keyframes moveLine {
  0% {
    transform: translateX(-100%); /* Comienza fuera de la pantalla a la izquierda */
  }
  80% {
    transform: translateX(100vw); /* Mueve la línea completamente hacia fuera de la pantalla a la derecha */
  }
  100% {
    transform: translateX(100vw); /* Mantiene la línea fuera de la pantalla a la derecha durante 2 segundos */
  }
}

.item-menu-container {
  /* z-index: 999; */
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  cursor: pointer;
  background-color: var(--main-color);
  border-radius: 50%;
  padding: 0.8rem;
  border: 3px solid var(--dark-color);
}

.panel {
  position: fixed;
  /* z-index: 998; */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--dark-color);
  transition: transform 0.4s ease;
  transform: translate(0, -100%);
  opacity: 0.93;
}

.panel.is-active {
  transform: translate(0, 0);
}

.menu {
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.menu a {
  padding: 3rem;
  font-weight: bold;
  width: inherit;
  display: block;
  font-size: 2rem;
  text-decoration: none;
  color: var(--main-color);
  transition: all 0.3s ease;
}

.menu a:hover {
  color: var(--dark-color);
  font-weight: bold;
  background-color: var(--main-color);
}

.container {
  width: 90%;
  margin: 2rem auto;
}

h1 {
  font-size: 2.5rem;
  color: var(--main-color);
  text-align: center;
}

.video {
  border-radius: 10px;
}

@media only screen and (max-width: 1024px) {
  .container {
    width: 95%;
    margin-bottom: 8rem;
  }
}

@media only screen and (max-width: 910px) {
  .container {
    width: 97%;
  }

  .bpmco {
    height: 2rem;
    width: auto;
  }
}
