body {
  font-family: "Play", sans-serif;
}
.promo {
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgba(214, 214, 214, 0.3) 50%,
      rgba(214, 214, 214, 0.3) 51%,
      transparent 51%
    ),
    linear-gradient(45deg, #003a78, #6a0ac2);
  background-size: 30px 90px, 100% 100%;
}
.promo-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1150px;
  height: 600px;
  margin: auto;
  color: #ffffff;
}
.top-promo {
  display: flex;
  justify-content: space-around;
}
.rectangle {
  height: 50px;
  background-color: #002e5f;
}
.logo {
  display: flex;
}
.logo .logo-text {
  font-size: 50px;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  width: 210px;
  padding-left: 0px;
  padding-top: 20px;
}
.message .message-text {
  font-size: 35px;
  width: 450px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 30px;
}
.button {
  background-color: #4eb543;
  width: 190px;
  padding: 15px;
  font-size: 25px;
  text-align: center;
  cursor: pointer;
  transition-duration: 0.1s;
  font-family: "Play", sans-serif;
}
.button:hover {
  box-shadow: 7px 7px 0 #367d2e;
  text-shadow: 2px 2px 0 #367d2e;
}
.book {
  background-image: url(../images/bookLogo2.png);
  background-size: contain;
  width: 170px;
  height: 170px;
  background-repeat: no-repeat;
}
.main-block {
  max-width: 1150px;
}
.main {
  font-size: 20px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding-top: 40px;
}
.main p {
  max-width: 600px;
  margin-bottom: 50px;
}
h2 {
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 20px;
}
.table-of-speed {
  background-color: #f5f5f5;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  text-align: center;
  margin: 0 0 30px 0;
}
.table-of-speed h3 {
  margin: auto;
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 30px;
}
.table-of-speed .hat {
  font-weight: bold;
  font-size: 23px;
}
.table-of-speed .row {
  display: flex;
}
.table-of-speed .row li {
  padding: 20px;
  width: 250px;
  border-bottom: 1px solid #4eb543;
}
.pop-up {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 0;
  margin: auto;
  width: 100%;
  min-height: 100%;
}
.pop-up .background-blur {
  width: 100%;
  min-height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
}
.pop-up .pop-up-content {
  position: relative;
  max-width: 1150px;
  background-color: #ffffff;
  margin: 50px auto;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 0 50px 10px #222222;
}
.pop-up .pop-up-content .pop-up-warning ul {
  list-style: decimal;
  max-width: 400px;
  margin: auto;
  font-size: 18px;
}
.pop-up .pop-up-content .pop-up-warning li {
  margin-left: 20px;
  padding-top: 20px;
}
.pop-up .pop-up-content .pop-up-warning .start {
  margin: 40px auto 0 auto;
  color: #ffffff;
}
.pop-up .pop-up-content .exit {
  width: 20px;
  height: 20px;
  background-image: linear-gradient(
      to bottom right,
      transparent 47%,
      #222 47%,
      #222 53%,
      transparent 53%
    ),
    linear-gradient(
      to bottom left,
      transparent 47%,
      #222 47%,
      #222 53%,
      transparent 53%
    );
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}
.pop-up .pop-up-content .exit:hover {
  background-image: linear-gradient(
      to bottom right,
      transparent 47%,
      #bbbbbb 47%,
      #bbbbbb 53%,
      transparent 53%
    ),
    linear-gradient(
      to bottom left,
      transparent 47%,
      #bbbbbb 47%,
      #bbbbbb 53%,
      transparent 53%
    );
}
.pop-up .pop-up-content .pop-up-text {
  font-family: "Marmelad", sans-serif;
  font-size: 1.1em;
  line-height: 1.2em;
}
.pop-up .pop-up-content .pop-up-text h3 {
  font-size: 1.2em;
  font-weight: bold;
}
.pop-up .pop-up-content .pop-up-text p {
  padding-top: 20px;
}
.pop-up .pop-up-content .pop-up-text .stop-button {
  color: #ffffff;
  margin: 50px auto 0 auto;
  background-color: #ff3737;
}
.pop-up .pop-up-content .pop-up-text .stop-button:hover {
  box-shadow: 7px 7px 0 #ea0000;
  text-shadow: 2px 2px 0 #ea0000;
}
.pop-up .pop-up-content .pop-up-test {
  font-size: 1.1em;
  line-height: 1.2em;
}
.pop-up .pop-up-content .pop-up-test h3 {
  font-size: 1.2em;
  font-weight: bold;
}
.pop-up .pop-up-content .pop-up-test p {
  padding-top: 20px;
}
.pop-up .pop-up-content .pop-up-test label {
  display: block;
  margin-top: 5px;
}
.pop-up .pop-up-content .pop-up-test .test-submit {
  margin: 30px auto 0 auto;
  color: #fff;
}
.pop-up .pop-up-content .result .result-table {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  font-size: 1.3em;
  padding-bottom: 50px;
}
.pop-up .pop-up-content .result .result-table div {
  display: flex;
  justify-content: space-between;
}
.pop-up .pop-up-content .result h3 {
  font-size: 1.7em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 50px;
}
.pop-up .pop-up-content .result span {
  display: block;
  padding: 15px;
  border-bottom: 1px solid #4eb543;
  width: 100px;
}
.pop-up .pop-up-content .result span:first-of-type {
  flex-grow: 1;
}
.pop-up .pop-up-content .result b {
  display: block;
  padding: 15px;
  border-bottom: 1px solid #4eb543;
  width: 50px;
}
.visible {
  display: block;
}
.invisible {
  display: none;
}
footer {
  background-color: #2d2d44;
  color: #ffffff;
}
footer .logo {
  margin: auto;
}
footer .logo .book {
  width: 70px;
  height: 70px;
}
footer .logo .logo-text {
  padding-top: 10px;
  font-size: 20px;
  width: 100px;
}
footer .top-footer {
  padding: 25px;
  border-bottom: 1px solid rgba(214, 214, 214, 0.3);
}
footer .top-footer .start-test-2 {
  margin: auto;
}
footer .footer-main {
  max-width: 1150px;
  margin: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
footer .copy {
  padding-top: 10px;
  color: #8b8bb2;
  margin: auto;
}
