@import url('./Styles-general.css');

.resultado {
  margin-top: 90px;
  padding: 90px 0;
  background-size: cover;

  background-repeat: no-repeat;


}

.resultado-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  align-items: center;
  flex-wrap: wrap;
}

.resultado-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  border: 4px solid #FF0000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* sombra para resaltar */
}

.resultado-box:first-of-type {
  background-image: url('../images/RESULTADOS/RESULTADOS');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  color: #fff;
}

.resultado-box:last-of-type {
  background-image: url('../images/rayosxbg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.resultado-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55); /* sombra oscura */
  z-index: 0;
}

.resultado-box p,
.resultado-box img,
.resultado-box .button {
  position: relative;
  z-index: 1;
}

.resultado-box p {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.resultado-box img {
  max-width: 120px;
  width: 100%;
  border-radius: 12px;
  padding: 6px;
  background-color: rgb(255 255 255 / 55%);
}

.resultado-box .button {
  margin-top: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #FF0000, #EA6F2C, #FCC834);
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
}

@media only screen and (max-width: 640px) {
  .resultado {
    margin-top: 80px;
    padding: 50px 0;
  }

  .resultado-box {
    padding: 24px;
  }

  .resultado-box p {
    font-size: 22px;
  }
}

@media only screen and (max-width: 480px) {
  .resultado-box img {
    max-width: 70px;
  }
  .resultado-box p {
    font-size: 18px;
    text-align: initial;
  }
}
