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



:root{
  --primary-color: brown;
  --secundary-color: rgb(155, 0, 0);
  --tertiary-color: black;
}

.darkmode{
  --primary-color: rebeccapurple;
  --secundary-color: rgb(108, 6, 152);
  --tertiary-color: white;
}

body {
  background-color: var(--primary-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.nav-link{
  color: var(--tertiary-color);
}

article {
  border: 2px solid transparent;
  mask-image: linear-gradient(to right,
      transparent 0%,
      white 30%,
      white 70%,
      transparent 100%);
}

section {
  min-width: fit-content;
  display: flex;
  gap: 16px;
  animation: scroll_left 20s linear infinite;
  padding: 0 8px;
}

section:hover {
  animation-play-state: paused;
}

span {
  color: #bfbfbf;
  font-family: sans-serif;
  padding: 6px 22px;
  border-radius: 50px;
  background: #0e0e11;
  border: 1px solid #323232;
  display: grid;
  place-items: center;
  transition: all .3s;
}

span:hover {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes scroll_left {
  to {
    transform: translateX(-50%);
  }
}


@keyframes scroll_right {
  from {
    transform: translatex(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

.unity {
  height: 100px;
  width: 100px;
}

.parallax {
  background-image: url("img/Portada.png");
  min-height: 700px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo {
  left: 20px;
  top: 20px;
  position: relative;
}

.cont {
  height: 30vh;
  background-color: var(--primary-color);
}


.barra {
  height: 2px;
  background-image: radial-gradient(var(--tertiary-color), var(--primary-color));

}

.active {
  background-color: var(--secundary-color) !important;
}

.container1 {
  max-width: 85%;
  margin: 20px auto;
}

.container1 .image-container {
  columns: 3 250px;
  gap: 15px;
}

.container1 .image-container img {
  margin-bottom: 10px;
  border-radius: 5px;
  width: 100%;
}

.nav-item {
  color: var(--tertiary-color);
}

h1 {
  color: var(--tertiary-color);
}

h3{
  color: var(--tertiary-color);
  margin-left: 80px;
}

p {
  color: var(--tertiary-color);
  text-align: justify;
}

video {
  object-fit: contain;
  overflow: clip;
  margin-bottom: 10px;
  border-radius: 5px;
  width: 100%;
}

.contacto {
  height: 230px;
  width: 105%;
  background-color: var(--secundary-color);
}

/* boton noche/dia */

.dark-mode-toggle {
  position: absolute;
  z-index: 100;
  top: 1em;
  right: 1em;
  color: var(--secundary-color);
  background: transparent;
  cursor: pointer;
  border-radius: 5px;
  width: 30px;
  height: 30px;
}
