*, *::before, *::after {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
}

.menu-principal {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  width: 100%;
  position: relative;
}

.menu-principal>input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#menuSuperior {
  width: 100%;
  height: 150px;
  background-color: #007b00;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 10px 0;
  transition: border-radius 0.5s ease;
}

#menu-lateral:checked~#menuSuperior {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transform: translateY(0);
  border-radius: 0 0 0 10px;
}

#menu-lateral:not(:checked)~#menuSuperior {
  position: relative;
  z-index: 1;
}

#menuSuperior:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-principal:has(#menu-lateral:checked)~.contenedor-principal {
  margin-top: 150px;
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 0px 20px;
  gap: 20px;
  width: 30%;
  height: 100%;
}

.logo img {
  width: 75px;
  height: 100px;
}

.logo span {
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
}

.menu-superior {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  position: relative;
  padding: 0px 25px;
  gap: 25px;
  width: 70%;
  height: 100%;
}

.enlace-principal,
.submenu-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: auto;
  cursor: pointer;
  font-size: 1.5rem;
  padding-bottom: 5px;
  position: relative;
  overflow: hidden;
  color: white;
  text-decoration: none;
}

.enlace-principal:not(.activo)::after,
#submenuSuperior:not(:checked)~#menuSuperior .submenu-superior::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  border-radius: 5px;
  background-color: white;
  transition: width 0.5s ease;
}

.enlace-principal:not(.activo):hover::after,
#submenuSuperior:not(:checked)~#menuSuperior .submenu-superior:hover::after {
  width: 100%;
}

.enlace-principal.activo {
  cursor: default;
  pointer-events: none;
  border-bottom: #ccc 2.5px solid;
}

#submenuSuperior:checked~#menuSuperior .submenu-superior {
  border-bottom: 2px solid white;
}

.contenedor-submenu-superior {
  position: relative;
  display: inline-block;
}

.contenido-submenu-superior {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #007b00;
  border-radius: 0 0 10px 10px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-15px);
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.25s ease-out,
    transform 0.25s ease-out,
    max-height 0s linear 0.25s,
    visibility 0s linear 0.25s;
}

#submenuSuperior:checked~#menuSuperior .contenido-submenu-superior {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  max-height: 500px;
  transition:
    opacity 0.25s ease-out,
    transform 0.25s ease-out,
    max-height 0s linear,
    visibility 0s linear;
}

.submenu-superior .fa-chevron-right {
  padding: 0 5px;
  transition: transform 0.25s ease;
}

#submenuSuperior:checked~#menuSuperior .fa-chevron-right {
  transform: rotate(90deg);
}

.secundario-superior {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 1.15rem;
  padding: 0 10px;
  width: 100%;
  height: 50px;
  position: relative;
  color: white;
  overflow: hidden;
  text-decoration: none;
}

.secundario-superior:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background-color: white;
  transition: width 0.5s ease;
  z-index: -1;
}

.secundario-superior:nth-last-child(1):after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  border-radius: 0 0 10px 10px;
  background-color: white;
  transition: width 0.5s ease;
  z-index: -1;
}

.secundario-superior:hover::after {
  width: 100%;
}

.secundario-superior:hover {
  color: #007b00;
}

.contenedor-menu-lateral {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  gap: 5px;
}

.sandwitch-menu-lateral {
  display: inline-block;
  cursor: pointer;
  position: relative;
  margin: auto;
  width: 30px;
  height: 30px;
  padding-bottom: 5px;
}

.sandwitch-menu-lateral span {
  display: block;
  width: 100%;
  background-color: white;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

.sandwitch-menu-lateral span:nth-child(1) {
  height: 3px;
  border-radius: 5px 5px 0 0;
}

.sandwitch-menu-lateral span:nth-child(2) {
  height: 4px;
  border-radius: 10px;
}

.sandwitch-menu-lateral span:nth-child(3) {
  height: 3px;
  border-radius: 0 0 5px 5px;
}

#menu-lateral:checked~#menuSuperior .sandwitch-menu-lateral span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
  border-radius: 10px;
  position: absolute;
}

#menu-lateral:checked~#menuSuperior .sandwitch-menu-lateral span:nth-child(2) {
  opacity: 0;
}

#menu-lateral:checked~#menuSuperior .sandwitch-menu-lateral span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
  border-radius: 10px;
  position: absolute;
}

.abrir,
.cerrar {
  text-align: center;
  padding: 2px;
  margin: 0;
  font-size: 1.05rem;
  color: white;
}

#menu-lateral:checked~#menuSuperior .cerrar,
#menu-lateral:not(:checked)~#menuSuperior .abrir {
  display: flex;
}

#menu-lateral:checked~#menuSuperior .abrir,
#menu-lateral:not(:checked)~#menuSuperior .cerrar {
  display: none;
}

#menu-lateral:checked~#menuLateral {
  transform: translateX(0);
  box-shadow: 0px 0px 5px -5px rgba(0, 0, 0, 0.5);
}

#menu-lateral:not(:checked)~#menuLateral {
  transform: translateX(100%);
}

#menuLateral {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 1fr auto;
  background-color: #4ea93b;
  overflow-x: hidden;
  position: fixed;
  width: 250px;
  height: calc(100% - 150px);
  top: 150px;
  margin: 0;
  z-index: 1000;
  transition: transform 0.5s ease-in, box-shadow 0.5s ease-in;
}

.menu-lateral {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 100%;
  height: auto;
}

.principal-lateral,
.submenu-login,
.submenu-lateral {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
  padding: 0 10px;
  width: 100%;
  height: 50px;
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.principal-lateral.activo {
  cursor: default;
  pointer-events: none;
  background-color: #007b00;
}

#submenuLateral:checked~#menuLateral .submenu-lateral,
#submenuLogin:checked~#menuLateral .submenu-login {
  background-color: #007b00;
}

.principal-lateral:not(.activo)::after,
#submenuLateral:not(:checked)~#menuLateral .submenu-lateral::after,
#submenuLogin:not(:checked)~#menuLateral .submenu-login::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background-color: white;
  z-index: -1;
  transition: width 0.5s ease;
}

.principal-lateral:not(.activo):hover::after,
#submenuLateral:not(:checked)~#menuLateral .submenu-lateral:hover::after,
#submenuLogin:not(:checked)~#menuLateral .submenu-login:hover::after {
  width: 100%;
}

.principal-lateral:not(.activo):hover,
#submenuLateral:not(:checked)~#menuLateral .submenu-lateral:hover,
#submenuLogin:not(:checked)~#menuLateral .submenu-login:hover {
  color: #007b00;
}

.contenedor-submenu-lateral {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.contenedor-submenu-login {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.secundario-lateral {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 1.25rem;
  padding: 0 25px;
  width: 100%;
  height: 50px;
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.secundario-lateral.activo {
  cursor: default;
  pointer-events: none;
  background-color: #007b00;
}

.secundario-lateral:not(.activo)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background-color: white;
  z-index: -1;
  transition: width 0.5s ease;
}

.secundario-lateral:not(.activo):hover::after {
  width: 100%;
}

.secundario-lateral:not(.activo):hover {
  color: #007b00;
}

.contenido-submenu-lateral {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
}

#submenuLateral:not(:checked)~#menuLateral .contenido-submenu-lateral {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.6s cubic-bezier(0.68, -0.3, 0.32, 1.3),
    opacity 0.4s ease-out 0.1s,
    transform 0.5s cubic-bezier(0.68, -0.3, 0.32, 1.3);
}

#submenuLateral:checked~#menuLateral .contenido-submenu-lateral {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.8s cubic-bezier(0.68, -0.3, 0.32, 1.3),
    opacity 0.5s ease-out 0.2s,
    transform 0.6s cubic-bezier(0.68, -0.3, 0.32, 1.3);
}

.submenu-lateral i,
.submenu-login i {
  transition: transform 0.5s cubic-bezier(0.68, -0.3, 0.32, 1.3)
}

#submenuLateral:checked~#menuLateral .submenu-lateral i {
  transform: rotate(90deg);
}

.contenido-submenu-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

#submenuLogin:not(:checked)~#menuLateral .contenido-submenu-login {
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    max-height 0.5s ease-in-out,
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.68, -0.3, 0.32, 1.3);
}

#submenuLogin:checked~#menuLateral .contenido-submenu-login {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.8s cubic-bezier(0.68, -0.3, 0.32, 1.3),
    opacity 0.5s ease-out 0.2s,
    transform 0.6s cubic-bezier(0.68, -0.3, 0.32, 1.3);
}

#submenuLogin:checked~#menuLateral .submenu-login i {
  transform: rotate(-90deg);
}

.foto-perfil {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.img-user {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-principal:has(#menu-lateral:checked) ~ #overlay{
  opacity: 1;
  visibility: visible;
}

main {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
}

footer {
  position: relative;
  width: 100%;
  height: auto;
  color: white;
  background-color: #007b00;
  border-radius: 10px 10px 0px 0px;
  transition: box-shadow 0.5s ease-in, transform 0.5s ease-in;
}

footer:hover {
  box-shadow: 0px -5px 5px -5px rgba(0, 0, 0, 0.5);
  transition: 0.5s ease-in;
}

footer>input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contenido-footer {
  display: grid;
  grid-template-columns: minmax(200px, 30%) minmax(200px, 30%) 1fr;
  grid-template-rows: 1fr;
  position: relative;
  width: 100%;
  height: auto;
  gap: 25px;
  padding: 20px 0px;
}

.logo-footer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.logo-footer img {
  width: 110px;
  height: 140px;
}

.logo-footer span {
  font-size: 1.5rem;
}

.menu-footer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.opciones-footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  width: 100%;
  padding-left: 50px;
  gap: 7.5px;
}

.btn-footer {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-bottom: 10px;
  font-size: 1.05rem;
  color: white;
  overflow: hidden;
  text-decoration: none;
}

#prebasica:not(:checked) ~ .contenido-footer label[for="prebasica"]::after,
#basica:not(:checked) ~ .contenido-footer label[for="basica"]::after,
#atencion:not(:checked) ~ .contenido-footer label[for="atencion"]::after,
#direccion:not(:checked) ~ .contenido-footer label[for="direccion"]::after,
#telefono:not(:checked) ~ .contenido-footer label[for="telefono"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 5px;
  border-radius: 5px;
  background-color: white;
  transition: width 0.5s ease;
}

#prebasica:not(:checked) ~ .contenido-footer label[for="prebasica"]:hover::after,
#basica:not(:checked) ~ .contenido-footer label[for="basica"]:hover::after,
#atencion:not(:checked) ~ .contenido-footer label[for="atencion"]:hover::after,
#direccion:not(:checked) ~ .contenido-footer label[for="direccion"]:hover::after,
#telefono:not(:checked) ~ .contenido-footer label[for="telefono"]:hover::after {
  width: 100%;
}

#prebasica:checked ~ .contenido-footer label[for="prebasica"],
#basica:checked ~ .contenido-footer label[for="basica"],
#atencion:checked ~ .contenido-footer label[for="atencion"],
#direccion:checked ~ .contenido-footer label[for="direccion"],
#telefono:checked ~ .contenido-footer label[for="telefono"] {
  cursor: default;
  pointer-events: none;
  padding-bottom: 5px;
  border-bottom: 3px solid #ccc;
}

.contenido-panel{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  min-height: 120px;
}

.panel {
  position: absolute;
  display: flex;
  justify-items: center;
  align-items: center;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: none;
}

#prebasica:checked ~ .contenido-footer #footer-prebasica,
#telefono:checked ~ .contenido-footer #footer-telefono,
#basica:checked ~ .contenido-footer #footer-basica,
#atencion:checked ~ .contenido-footer #footer-atencion,
#direccion:checked ~ .contenido-footer #footer-direccion {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

#prebasica:checked ~ .contenido-footer #footer-prebasica {
  animation: fadeLeft 0.5s ease forwards;
}

#telefono:checked ~ .contenido-footer #footer-telefono {
  animation: fadeRight 0.5s ease forwards;
}

#basica:checked ~ .contenido-footer #footer-basica,
#atencion:checked ~ .contenido-footer #footer-atencion,
#direccion:checked ~ .contenido-footer #footer-direccion {
  animation: fadeCenter 0.5s ease forwards;
}

.redes-sociales {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: 50px;
  padding: 0px 30px;
  background-color: rgb(206, 200, 200);
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: start;
}

.copyright p {
  cursor: pointer;
  color: white;
  transition: color 0.5s ease-in;
}

.copyright p:hover {
  color: black;
}

.siguenos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  gap: 10px;
}

.siguenos p {
  color: black;
}

.siguenos a {
  color: white;
  font-size: 1.8rem;
  transition: transform, 0.5s ease-in;
}

.siguenos a:nth-last-child(1):hover {
  transform: scale(1.05);
  color: blue;
  transition: 0.5s ease-in;
}

.siguenos a:nth-last-child(2):hover {
  transform: scale(1.05);
  color: fuchsia;
  transition: 0.5s ease-in;
}

.version {
  display: flex;
  align-items: center;
  justify-content: end;
}

.version p {
  cursor: pointer;
  color: white;
  transition: color 0.5s ease-in;
}

.version p:hover {
  color: black;
}

@keyframes fadeCenter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sin-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: auto;
  height: auto;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  font-size: 36px;
  font-weight: bold;
}

.proximamente span {
  display: inline-block;
  margin-left: 10px;
  animation: jump 1.2s infinite;
}

.loader-container {
  width: 100%;
  padding: 20px 0px;
}

.loader {
  height: 30px;
  width: 100%;
  border-radius: 10px;
  background-color: grey;
  position: relative;
  overflow: hidden;
}

.loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  background-color: #007b00;
  animation: load 2.5s infinite ease-in-out;
}

@keyframes jump {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.proximamente span:nth-child(1) {
  animation-delay: 0s;
}

.proximamente span:nth-child(2) {
  animation-delay: 0.4s;
}

.proximamente span:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes load {
  0% {
    left: -10%;
  }

  50% {
    left: 110%;
  }

  100% {
    left: -10%;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.modal.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 30px 0px;
  opacity: 1;
}

.modal-content {
  border-radius: 10px;
  background-color: white;
  width: 65%;
  height: auto;
  border: 1px solid #888;
  animation: fadeInModal 0.5s forwards;
}

.modal-header {
  display: grid;
  grid-template-columns: 70px 1fr 50px;
  align-items: center;
  justify-content: center;
  grid-row: 1fr;
  width: auto;
  height: auto;
  padding: 20px;
  border-radius: 10px 10px 0px 0px;
  background-color: #f8f9fa;
  border-bottom: 1px black solid;
}

.modal-header img {
  width: 60px;
  height: 80px;
}

.modal-header span {
  font-size: 50px;
  cursor: pointer;
  transition: all 0.5s ease-in;
}

.modal-header span:hover {
  color: #B80000;
  transition: color 0.3s ease-in;
}

.modal-body {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  height: auto;
  padding: 20px 40px;
}

.modal-footer {
  width: auto;
  padding: 20px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0px 0px 10px 10px;
  border-top: 1px black solid;
  background-color: #f8f9fa;
}

.modal-footer button {
  position: relative;
  overflow: hidden;
  width: 100px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  border: 2px white solid;
  z-index: 1;
}

.modal-footer button:nth-child(1) {
  background-color: #007b00;
  color: white;
}

.modal-footer button:nth-last-child(1) {
  background-color: #B80000;
  color: white;
}

.modal-footer button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: left 0.5s ease-out;
  z-index: -1;
}

.modal-footer button:nth-last-child(1):hover::after {
  left: 0;
}

.modal-footer button:nth-last-child(1):hover {
  cursor: pointer;
  border: 2px solid #B80000;
  color: #B80000;
  padding: calc(10px - 2px);
}

.modal-footer button:nth-child(1):hover::after {
  left: 0;
}

.modal-footer button:nth-child(1):hover {
  cursor: pointer;
  border: 2px solid #007b00;
  color: #007b00;
  padding: calc(10px - 2px);
}

@keyframes fadeInModal {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOutModal {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.body-no-scroll {
  overflow: hidden;
  height: 100%;
}

.modal-contador {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
}

.modal-contador.show{
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-contador-content {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 850px;
  max-height: 750px;
  width: 90%;
  height: 50%;
}

.contenidor-contador {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
}

.fondo-contador {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fondo-contador img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  border-radius: 20px;
}

.contenido-contador {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.contenido-contador h1 {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: white;
}

.contenido-contador .close {
  position: absolute;
  border: none;
  top: 10px;
  right: 10px;
  box-sizing: border-box;
  background-color: rgb(206, 200, 200, 0.75);
  width: 30px;
  border-radius: 10px;
  padding: 5px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.5s ease-in;
}

.contenido-contador .close:hover {
  transform: scale(1.05);
  color: #B80000;
}

.ficha-matricula {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  overflow: hidden;
  font-size: 18px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background-color: #007b00;
  width: 200px;
  height: 50px;
  border-radius: 10px;
  z-index: 0;
}

.ficha-matricula::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 0%;
  background-color: white;
  transition: width 0.5s ease;
  z-index: -1;
}

.ficha-matricula:hover::after {
  width: 100%;
}

.ficha-matricula:hover {
  border: 2px solid #007b00;
  color: #007b00;
}

.contenido-contador p {
  color: white;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.fecha {
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  color: white;
  margin-bottom: 20px;
}

.tiempo {
  font-size: 48px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #FF6347;
  margin-bottom: 20px;
}

.tiempo span {
  background: linear-gradient(90deg, #006400, #32CD32);
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}