.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); }
  @media screen and (min-width: 960px), print {
    .modal {
      margin-left: 120px; } }

.modal-content {
  background-color: #f0f0f0;
  margin: 150px auto 0;
  width: 90%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s; }
  @media screen and (min-width: 960px), print {
    .modal-content {
      margin: 20% auto;
      width: 50%; } }

@keyframes modalopen {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.modal-header h1 {
  margin: 1rem 0;
  color: #fff; }

.modal-header {
  display: flex;
  justify-content: flex-end; }

.modalClose {
  font-size: 2rem;
  text-align: center;
  line-height: 3rem;
  width: 3rem;
  height: 3rem; }

.modalClose:hover {
  cursor: pointer; }

.modal-body {
  text-align: center;
  padding: 1rem 2rem 2rem;
  color: black; }
  .modal-body input[type='text'] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    outline: none; }
  .modal-body input[type='submit'] {
    min-width: 20%;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    background: #003E74;
    color: #fff;
    font-weight: bold;
    border-radius: 5px; }
  @media screen and (min-width: 960px), print {
    .modal-body {
      padding: 2rem 3rem 3rem; } }
