html, body {
  height: 100%;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
}

h1 {
  text-align: center;
  font-weight: 600;
  letter-spacing: -1px;
  padding-top: 1rem;
}
p {
  text-align: center;
}

label {
  display: block;
  text-align: center;
}
input {
  margin: 1rem;
  border: 0.3rem solid black;
  border-radius: 5%;
  padding: 1rem 0 1rem 1rem;
  font-size: 1.2rem;
  text-align: center;
}

input:focus {
  outline: none;
}
.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

button {
  margin: 1rem;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 6%;
  background-color: #e0d71f;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
button:hover {
  opacity: 0.8;
}
button:active {
  opacity: 1;
}
button:focus {
  outline: none;
}


#bordered {
  width: 50%;
  margin: 1rem auto;
  background-color: #e0d71f;
  height: 50%;
  border-top-left-radius: 0%;
  border-top-right-radius: 25%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 75%;
}

/* The Modal (background) */
.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 */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  font-size: 2rem;
}

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

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


@media (max-width: 640px) {
  h1 {
    font-size: 1.3rem;
  }
  label {
    font-size: 0.8rem;
  }
  input {
    margin: 0.5rem;
    border: 0.2rem solid black;
    border-radius: 5%;
    padding: 0.5rem 0 0.5rem 0.5rem;
    font-size: 1rem;
    text-align: center;
  }
  .modal-content {
    width: 80%; /* Could be more or less, depending on screen size */
    font-size: 1rem;
  }
}
@media (min-width: 641px) and (max-width: 800px) {

  .modal-content {
    width: 80%; /* Could be more or less, depending on screen size */
    font-size: 2rem;
  }
}
