.modal {
  --gap: 15px;

  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: var(--gap);
  background: rgba(0, 0, 0, 0.5);
  font-family: sans-serif;
  opacity: 0;
  animation: modalFadeIn 0.3s ease-in-out forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal.modal--closing {
  animation: modalFadeOut 0.3s ease-in-out forwards;
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.modal__inner {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  border: white solid 1px;
  border-radius: 4px;
}

.modal__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #141414, #5f1717, #200a0a);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 4px;
}


.modal__content {
  padding: var(--gap);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal__content h2,
.modal__content p,
.modal__content img {
  text-align: center;
  font-family: 'Lato', sans-serif;
  color: white !important;
  text-decoration: none !important;
}

.modal__content a {
  color: white !important;
}

.modal__content a:-webkit-any-link {
  color: white !important;
}

.modal__content img {
  border: black solid 2px;
}

.image-container {
  width: 300px;
  height: 200px;
  background-image: url("mainfiles/images/running-sushi.jpg");
  background-size: cover;
  background-position: center;
  border: white solid 1px
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  /* Add any link styling if needed */
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #333;
  z-index: 1;
}

.modal__close:hover {
  background-color: #dddddd;
}

.modal__close::before {
  content: "\2715";
  font-size: 24px;
  display: block;
}
