.closecontainer {
  text-align: center;
  margin: 0;
}

/* The Modal (background) */
#assay-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  padding-top: 0;
}

/* The Close Button (x) */
#assay-modal .close {
  position: relative;
  top: 0;
  left: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

#assay-modal .close:hover,
#assay-modal .close:focus {
  color: red;
  cursor: pointer;
}

/* Modal Content/Box */
#assay-modal .modal-content {
  position: relative;
  background: #cde7f4;
  /* 5% from the top, 15% from the bottom and centered */
  margin: 5% auto 15% auto;
  border-radius: 40px;
  width: 100%;
  max-width: 800px;
  padding: 20px 40px;
  /* Could be more or less, depending on screen size */
  top: 20%;
}

.assay-modal__info {
  display: flex;
  flex-direction: column;
}

.assay-modal__info__name {
  margin-bottom: 30px;
}

.assay-modal__info__name h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  color: #121215;
}

.assay-modal__info__item {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}

.assay-modal__info__item h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #121215;
  flex: 300px;
  margin-right: 100px;
}

.assay-modal__info__item span {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  width: 100%;
}

.assay-modal__info__item span ul {
  padding-left: 20px;
}

.assay-modal__info__button {
  margin: auto;
}

.assay-modal__info__button button.oval-btn.bg-milk {
    border-color: var(--cyan);
}

.assay-modal__parallax-ellipse {
  position: absolute;
  width: 500px;
  height: 250px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: var(--cst_red);
  opacity: 0.3;
  filter: blur(100px);
  top: 0;
  left: 0;
  z-index: 0;
}

@media (max-width: 768px) {
  #assay-modal .modal-content {
    max-width: 688px;
  }

  .assay-modal__info {
    display: flex;
    flex-direction: column;
  }

  .assay-modal__info__name {
    margin-bottom: 30px;
  }

  .assay-modal__info__name h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .assay-modal__info__item {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
  }

  .assay-modal__info__item h3 {
    font-size: 16px;
    line-height: 19px;
    flex: 0;
  }

  .assay-modal__info__item span {
    font-size: 14px;
    line-height: 18px;
  }

  .assay-modal__info__item span ul {
    padding-left: 20px;
  }

  .assay-modal__info__button button {
    font-size: 24px;
    line-height: 29px;
    min-width: 294px;
    padding: 14px 20px;
  }
}

@media (max-width: 600px) {
  .assay-modal__info {
    display: flex;
    flex-direction: column;
  }

  .assay-modal__info__name {
    margin-bottom: 30px;
  }

  .assay-modal__info__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .assay-modal__info__button button {
    font-size: 18px;
    line-height: 22px;
    min-width: 240px;
    padding: 5px 20px;
  }
}

@media (max-width: 425px) {
  #assay-modal .modal-content {
    top: 50px;
    padding: 30px 20px;
  }
}
