* {
  box-sizing: border-box;
}

main {
  font-family: "Roboto Mono", monospace;
  font-size: 1.2em;
  background-color: #a0a0a0;
  padding: 30px;
  color: #2f2f2f;
}

header {
  background-color: #040404;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-family: "Odibee Sans", cursive;
  font-weight: bolder;
  color: #858585;
  font-size: 2.5em;
}

.italics {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.rep-search > p {
  text-align: center;
  font-size: 1.3em;
  margin-bottom: 15px;
}

body {
  background-color: #a0a0a0;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: bolder;
}

input[type="text"] {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px;
  font-family: "Roboto Mono", monospace;
}

button {
  background-color: #777777;
  color: #060606;
  border: 1px solid #060606;
  padding: 5px;
  font-family: "Roboto Mono", monospace;
  margin-bottom: 15px;
}

.start {
  background-color: #2f2f2f;
  color: #cccbcb;
  border: 1px solid #474747;
}

input[value="next"] {
  background-color: #2f2f2f;
  color: #cccbcb;
  border: 1px solid #474747;
  padding: 5px;
}

.rep-results {
  display: flex;
  flex-direction: column;
  line-height: 1.5em;
}

.reps {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #060606;
  background-color: #474747;
  color: #cccbcb;
  margin: 20px;
  padding: 10px;
}

.full-name {
  margin: 10px;
}

.photo {
  margin-bottom: 30px;
}

.phone {
  margin-bottom: 15px;
}

.phone:hover {
  transform: scale(1.2);
}

.submit:hover {
  cursor: pointer;
}

.white {
  color: rgb(255, 255, 255);
}

.hidden {
  display: none;
}

.question-screen {
  font-size: 0.8em;
}

input[type="radio"] {
  margin: 20px;
}

.submit {
  background-color: #2f2f2f;
  color: #cccbcb;
  border: 1px solid #474747;
  padding: 5px;
  font-family: "Roboto Mono", monospace;
}

.start {
  margin: 15px;
}

a {
  float: right;
  text-decoration: none;
}

.link-color {
  color: #002b42;
}

.question-text {
  text-align: left;
}

/* 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); 
  background-color: rgba(0, 0, 0, 0.4); Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  font-size: 0.6em;
  background-color: #cccbcb;
  color: #474747;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #060606;
  width: 80%; /* Could be more or less, depending on screen size */
}

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

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

.loader {
  border: 16px solid #474747; /* Light grey */
  border-top: 16px solid #060606; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 800px) {
  .rep-results {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* align-items: center; */
  }
  .modal-content {
    font-size: 0.8em;
  }
}
