* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
p {
  margin-bottom: 0;
}

ul {
  padding: 0;
}

.nav__list {
  margin-bottom: 0;
}

/* SLIDERS DE LOGOS */
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logos {
  background-color: var(--gradient3-color);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
}

.logos:hover .logos_slide {
  animation-play-state: paused;
}

.logos_slide {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.logos_slide img {
  height: 90px;
  margin: 0 50px;
}

/* TITULO DE LA DISCIPLINA */
.menu_titulo {
  display: block;
  background-color: var(--gradient4-color);
  color: var(--low-old-color);
  /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.5),
    3px 3px 3px rgba(0, 0, 0, 0.5); */
  justify-content: center;
  text-align: center;
  transition: 0.3s;
  padding: .5rem;

  
  /* PATRON */
   width: 100%; 
  height: 100%;
  --s: 200px;
  /* control the size */
  --c1: #1b396a;
  --c2: #4783c5;
  --c3: #214683;

  background: repeating-conic-gradient(
        from 30deg,
        #0000 0 120deg,
        var(--c3) 0 180deg
      )
      calc(0.5 * var(--s)) calc(0.5 * var(--s) * 0.577),
    repeating-conic-gradient(
      from 30deg,
      var(--c1) 0 60deg,
      var(--c2) 0 120deg,
      var(--c3) 0 180deg
    );
  background-size: var(--s) calc(var(--s) * 0.577);
}

.menu_titulo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  font-family: "Inter", sans-serif;
}

/* NAV BAR SUPERIOR */
.menu nav {
  background-color: var(--gradient3-color);
  overflow: hidden;
  padding: 0.5rem 0;
  font-weight: 600;
}

.menu nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 1.2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.menu nav ul li {
  margin: 0 10px;
}

.menu nav ul li a {
  display: inline-block;
  color: var(--bg2-color);
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
  position: relative;
  width: 20rem;
}

.menu nav ul li a:hover,
.menu nav ul li a.active {
  background-color: var(--gradient4-color);
  color: var(--bg-color);
}

.menu nav ul li a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--extra);
  position: absolute;
  bottom: 0;
  left: 0;
}

/* RELOJ */
.reloj {
  /* PATRON */
  width: 100%;
  height: 100%;
  --s: 200px;
  /* control the size */
  --c1: #1b396a;
  --c2: #4783c5;
  --c3: #214683;

  background: repeating-conic-gradient(
        from 30deg,
        #0000 0 120deg,
        var(--c3) 0 180deg
      )
      calc(0.5 * var(--s)) calc(0.5 * var(--s) * 0.577),
    repeating-conic-gradient(
      from 30deg,
      var(--c1) 0 60deg,
      var(--c2) 0 120deg,
      var(--c3) 0 180deg
    );
  background-size: var(--s) calc(var(--s) * 0.577);
}

.clock-container {
  text-align: center;
  padding-bottom: 0.5rem;
}

.clock {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.time-unit {
  margin: 0.5rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  position: relative;
  background: var(--gradient2-color);
  padding: 1rem 0;
  max-width: 900px;
  backdrop-filter: blur(20px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  overflow: hidden;
  color: var(--bg-color);
  width: 200px;
  font-weight: 600;
}

.time-unit::before,
.time-unit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2),
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: moveLight 5s linear infinite;
}

.time-unit::after {
  animation-delay: 2.5s;
}

@keyframes moveLight {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(50%, 50%) scale(1.5);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.label {
  font-size: 1rem;
  color: var(--bg-color);
}

.timezone {
  font-size: 1rem;
}

button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: var(--gradient3-color);
  color: white;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

button:hover,
button.active {
  background-color: var(--gradient2-color);
  color: var(--bg-color);
}

button.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--extra);
  position: absolute;
  bottom: -2px;
  left: 0;
}

/* ETIQUETAS */
.etiquetas {
  color: var(--bg-color);
  border-radius: 10px;
  position: relative;
  background: var(--gradient4-color);
  backdrop-filter: blur(20px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 5px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  padding: 1rem 0 0 0;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.etiquetas h1 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

/* MEDIA QUERYS */
@media (max-width: 1440px) {
  /* .menu_titulo {
    font-size: 2rem;
  } */
}

@media (max-width: 1024px) {
  .etiquetas h1 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .menu_titulo h1 {
    font-size: 2rem;
    letter-spacing: 0.5rem;
  }

  .menu nav {
    padding: 0rem 0;
  }

  .menu nav ul {
    align-items: center;
    padding: 1rem;
  }

  .menu nav ul li {
    margin: 0px 0;
    width: 20rem;
  }

  .menu nav ul li a {
    width: 100%;
    text-align: center;
  }

  .logos_slide img {
    height: 70px;
    margin: 0 40px;
  }
}

@media (max-width: 425px) {
  .menu_titulo h1 {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
  }

  .menu nav {
    padding: 0rem 0;
  }

  .menu nav ul {
    padding: 0;
  }

  .menu nav ul li {
    margin: 0px 0;
    width: 15rem;
  }

  .menu nav ul li a.active::after {
    height: 4px;
  }

  .logos {
    padding: 20px 0 10px 0;
  }

  .logos_slide img {
    height: 50px;
    margin: 0 20px;
  }
}
