@import url("fontFaces.css");

.modal {
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 12vh; /* 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 */
  opacity: 0;
  -webkit-transition: visibility 0s, opacity 0.5s linear;
  -moz-transition: visibility 0s, opacity 0.5s linear;
  -o-transition: visibility 0s, opacity 0.5s linear;
  transition: visibility 0s, opacity 0.5s linear;
}

.modal-content-frame {
  text-align: center;
  margin: auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  background-image: url('../res/ui/modalWindowBG.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-height: 70vh;

}

/* Modal Content */
.modal-content {
  text-align: center;
  margin: auto;
  width: auto;
  max-width: 600px;
  background-size: cover;
  overflow: scroll;
  max-height: 70vh;

}

.modal-content h1 {
  color: black;
  font-size: 2.4rem;
  font-family: ThankfullyFF, Courier, monospace;;
}

.modal-content p {
  font-size: 1.5rem;
  color: #222222;
}

.modal-content a {
  font-size: 1.5rem;
  color: black;
  font-family: BlackJackFF, Courier, monospace;;

}

.modal-content button {
  cursor: pointer;
  background: transparent;
  border: 1px solid darkblue;
  outline: none;
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
  transition: .7s ease-in-out;
}

.modal-content button:hover {
  background: darkblue;

  color: white;
}

.modal-content .closeButton {
  padding-top: 5%;
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 2px solid;
  outline: none;
  font-size: 2rem;
  font-family: ThankfullyFF, Courier, monospace;;
}

.modal-content .closeButton:hover {

  color: white;
  background: none !important;
}



.modal-content button:hover svg {
  stroke-dashoffset: -480;
}

.modal-content button span {
  color: white;
  font-size: 18px;
  font-weight: 100;
}

#characterName {
  font-family: ThankfullyFF, Courier, monospace;;
  font-size: 2em;
  border: none;
  border-bottom: 3px solid black;
  background: none;
  min-height: 4vw;
  min-width: 80%;
  line-height: 3em;
  text-align: center;
}

input:focus {
  outline: none;
}
