body {
  font-family: Arial, Helvetica, sans-serif;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 20px;
  /* Location of the box */
  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: hsla(0, 0%, 20%, .8);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: var(--bg);
  margin: 0 auto 0 auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

@media screen and (min-width: 640px) {
  .modal-content {
    width: 60%;
  }
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close {
  color: var(--button-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: var(--button-bg);
  color: var(--button-text);
  height: 3rem;
}

.modal-body {
  padding: 16px;
  /*fallback */
  padding: 0 4rem;
}

.modal-body h3 {
  text-align: center;
  font-size: 2.25rem;
  font-style: bold;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal hr {
  margin-block-end: 1.25rem;
}

.textModal {
  margin-block-end: 1.25rem
}

button.modalcolor {
  color: var(--button-text);
  background: var(--button-bg);
  width: auto;
  margin-inline: auto;
  box-shadow: inset 0px 2px 6px var(--button-border);
  border-radius: 0;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
  padding: .75rem;
}