@font-face {
  font-family: "Outfit";
  font-display: swap;
  src: url("outfit-variable.woff2") format("woff2 supports variations"),
       url("outfit-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
}

:root {
  --font-fallback: BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Outfit", var(--font-fallback);
  font-size: 18px;
  background: #000;
  color: #fff;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: auto;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

header .title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

header img {
  max-width: 150px;
  max-height: auto;
}

main .container {
  padding: 30px 10px 10px;
}

h1 {
  font-size: 28px;
  text-align: center;
  margin: 0 0 10px;
}

.cert {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
}

.cert-p {
  flex: 1 0 calc(25% - 10px);
  background: #111;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.cert-p a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #fff !important;
  font-style: italic;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.cert-p a:hover {
  color: #fff;
  text-decoration: none;
}

.cert-p a p {
  margin: 0;
  font-style: italic;
  color: #fff;
}

.cert-p svg,
.cert-p img {
  display: block;
  margin: 0 auto;
}

p {
  font-weight: 300;
  margin: 0 0 20px;
}

.author {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #111;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

.aut-img {
  position: relative;
}

.author img {
  border-radius: 5px;
}

.author .aut-info p {
  margin: 0;
}

.author .aut-name {
  position: relative;
  display: inline-flex;
  font-weight: 700;
}

.aut-name:before {
  content: '';
  display: block;
  position: absolute;
  right: -25px;
  top: 55%;
  transform: translateY(-50%);
  background-image: var(--background-image);
  background-size: 20px;
  width: 20px;
  height: 20px;
}

.bkm {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: #111;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
}

.bkm:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg,
      #580ead,
      #0760a8,
      #00ff00,
      #ffff00,
      #ff0000,
      #ffff00,
      #00ff00,
      #fb0094,
      #0760a8,
      #580ead);
  background-size: 300%;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  z-index: -1;
  animation: animate 30s linear infinite;
  border-radius: 5px;
}

@keyframes animate {

  0%,
  100% {
    background-position: 0 0;
  }

  50% {
    background-position: 300% 0;
  }
}

.bkm-img {
  display: flex;
  width: 150px;
  height: 150px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
}

.bkm-img img {
  width: 100%;
}

.bkm-bonus {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 10px;
}

.bkm-bonus svg {
  fill: #f5b268;
}

.bkm-bonus p {
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 0 10px #f00, 0 0 10px #ff0, 0 0 5px #0f0, 0 0 0px #00f, 0 0 0px #0ff, 0 0 0px #f0f, 0 0 0 #fff;
  margin: 0;
}

.bkm-cta a {
  display: block;
  background: #11998e;
  background: -webkit-linear-gradient(to right, #11998e, #38ef7d);
  background: linear-gradient(to right, #11998e, #38ef7d);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 5px;
}

.bkm-desc {

  flex: 1 0 50%;
  padding: 0 10px;
}

.bkm-desc ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  font-weight: 300;
  padding: 0;
  margin: 0;
}

.bkm-desc li {
  display: flex;
  gap: 5px;
}

.bkm-desc li:before {
  content: "";
  display: inline-flex;
  background-image: url(https://mejoresbonos.mx/wp-content/uploads/2025/02/check-icon-c544a4.svg);
  background-size: 20px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
}

.bkm-pay {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}

.bkm-cta {
  flex: 1 0 25%;
}

.code-bonus {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  color: #000;
  background: #F2994A;
  background: -webkit-linear-gradient(to right, #F2C94C, #F2994A);
  background: linear-gradient(to right, #F2C94C, #F2994A);
  padding: 10px 15px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.code {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

a.cell {
  color: #fff;
}

footer {
  position: relative;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

/*
.footer-background {
  position: relative;
  width: 100%;
  height: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.footer-background .left {
  position: absolute;
  height: 100px;
  width: 50%;
  right: auto;
  left: 0;
  background-image: url(https://mejoresbonos.mx/wp-content/uploads/2025/02/check-icon-c544a4.svg);
  background-size: contain;
  background-position: bottom;
  bottom: 0;
  z-index: -1;
}

.footer-background img {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  object-fit: contain;
}

.footer-background .right {
  position: absolute;
  height: 100px;
  width: 50%;
  right: 0;
  left: auto;
  background-image: url(https://mejoresbonos.mx/wp-content/uploads/2025/02/check-icon-c544a4.svg);
  background-size: contain;
  background-position: bottom;
  bottom: 0;
  z-index: -1;
}
*/

.copyright {
  display: block;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  h1 {
    font-size: 24px;
  }

  main .container {
    padding: 10px;
  }

  .cert-p {
    flex: 1 0 calc(50% - 10px);
  }

  .code-bonus {
    justify-content: center;
    width: 100%;
  }

  .bkm-img {
    max-width: 100px;
    height: 100px;
  }

  .bkm-desc {
    flex: 1 0 100%;
    padding: 10px 0;
  }

  .bkm-desc li {
    font-size: 16px;
  }

  .bkm-desc li:before {
    margin-top: 2px;
  }

  .bkm-cta {
    flex: 1 0 100%;
  }

  .bkm-bonus {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: calc(100% - 130px);
    height: 100px;
    padding: 10px;
    background: transparent !important;
    margin: 10px;
  }

  .bkm-pay {
    display: flex;
    justify-content: center;
    gap: 5px;
  }
}
.cert-p a,
.cert-p a:visited,
.cert-p a:active,
.cert-p a:hover,
.cert-p a p {
  color: #ffffff !important;
  font-style: italic;
}
.cert-p a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 5px;
  height: 100%;
  width: 100%;
}

.cert-p svg,
.cert-p img {
  display: block;
  margin: 0 auto;
}
