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

/* Modal Content */
.modal-content {
  background-color: #d6d1d1;
  margin: auto;
  padding: 26px;
  border: 1px solid #888;
  width: 80%;
  color: rgb(12, 10, 10);
}

.btn {
  width: 40%;
  background-color: #6366f1;
  color: white;
  border-radius: 5px;
  margin-right: 20px;
  padding: 5px;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .modal-content {
    width: 100%;
    padding: 10px;
  }
  .auto {
    width: 40%;
  }
  .manually {
    width: 40%;
    margin-left: 10px;
  }
  .btn {
    font-size: 12px;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

/* form modals */

/* The Modal (background) */
.modals {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* 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: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-contents {
  background-color: #332e2e;
  margin: auto;
  padding: 26px;
  border: 1px solid #888;
  width: 90%;
  color: rgb(255, 255, 255);
}

.modal-contents form textarea {
  width: 100%;
  border-radius: 20px;
  padding: px;
  color: black;
}

.italics {
  font-style: italic;
}
