* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal__content {
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  animation: aparecer 0.25s ease;
  margin: 0 50px;
  background-color: white;
  background-image: url(../Imagenes/FondoManchado.png);
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal__buttons {
  display: flex;
  justify-content: space-around;
}

.modal__buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 30px;
  transition: background-color 0.2s;
  margin: 5px;
}

#modal-confirm {
  background-color: #062F4F;
  color: white;
}

#modal-confirm:hover {
  background-color: #044679;
}

#modal-cancel {
  background-color: #ccc;
}

#modal-cancel:hover {
  background-color: #aaa;
}

#modal-text {
  margin: 15px;
  font-size: 35px;
}


@media (max-width:900px) {
  #modal-text {
    font-size: 25px;
  }

  .modal__buttons button {
  font-size: 20px;
}
}