@font-face {
  font-family: "Raleway";
  src: url("assets/Raleway/static/Raleway-Regular.ttf");
}

:root {
  --primary-color: #328387;
}

html,
body {
  position: relative;
  font-family: "Raleway", Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}

h2 {
  font-size: 1rem;
}

body,
html,
iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

.hidden {
  display: none;
  visibility: hidden;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently */
}

/* iframe */
#viewer {
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 4px;
}

#modal-overlay {
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgb(51, 51, 51);
  /* backdrop-filter: blur(16px); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50vw;
}

h1 {
  margin: 0 12px;
  font-size: 24px;
  line-height: 30px;
  color: white;
  font-weight: normal;
}

/* location dropdown */
#location {
  min-width: 200px;
  width: 50%;
  height: 43px;
  font-size: 18px;
  padding: 10px;
}

/* start button */
button {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 30px 2px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

#counterbox {
  position: absolute;
  z-index: 11;
  top: 20px;
  left: 20px;
  height: 60px;

  color: var(--primary-color);
  font-weight: 600;
  max-width: 50vw;
}

#score {
  position: absolute;
  top: 43px;
  right: 40px;
  color: var(--primary-color);
  font-weight: bolder;
  text-transform: uppercase;
}

button:hover {
  transform: scale(1.1);
}

#bottom-menu {
  position: absolute;
  display: flex;
  bottom: 11px;
  right: 198px;
  vertical-align: middle;
}

.round-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #313844;
  width: 38px;
  height: 38px;
  text-align: center;
  line-height: 40px;
  margin: 0 4px;
  font-size: 24px;
  border-radius: 30px;
  border: 1px solid #00adb3;
  color: #00adb3;
  cursor: pointer;
}

.round-button:hover {
  color: white;
}

.round-button img {
  width: 22px;
}

.round-button img:hover {
  filter: brightness(0) invert(1);
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: inherit;
  font-weight: inherit;
}

#pdf-box {
  width: 75%;
  min-width: 300px;
  background-color: #fff;
  padding: 35px 20px 40px 20px;
  z-index: 100;
  box-shadow: 3px 3px 5px #000;
  position: absolute;
  margin: 0 auto;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-height: 90%;
  overflow-y: scroll;
}

.logo {
  width: 200px;
}

.close-screen-button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background-color: var(--primary-color);
  cursor: pointer;
}

#pdf-box-inner {
  height: 100%;
}

#contact-form-box {
  width: 80%;
  box-shadow: 0 0 4px 10px lightgrey;
  padding: 30px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  #contact-form-box {
    box-shadow: unset;
  }
}
