@font-face {
  font-family: Paytone One;
  src: url('../assets/fonts/PaytoneOne-Regular.ttf');
}

html {
  height: 100%;
}

body {
  font-family: Paytone One;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
}

.button_return {
  position: absolute;
  right: 30px;
  top: 30px;
  background: none;
  border: none;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.button_return > a > i {
  font-size: 30px;
  color: #042b60;
}

.buttons_wrap {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

#reload {
  display: none;
  text-align: center;
  font: 32px Paytone One;
  padding: 8px 30px;
  color: #ffffff;
  background: #042b60 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 14px #00000029;
  border: 8px solid #ffffff;
  border-radius: 27px;
}

#exit {
  display: none;
  text-align: center;
  font: 32px Paytone One;
  padding: 8px 30px;
  color: #ffffff;
  background: #042b60 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 14px #00000029;
  border: 8px solid #ffffff;
  border-radius: 27px;
}

.Img-finish-text-wrap {
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
  width: 50%;
}

#p1 {
  display: none;
  text-align: center;
  font: 157px Paytone One;
  margin: 0px;
  color: #ffffff;
}

#p2 {
  display: none;
  text-align: center;
  font: 30px Paytone One;
  margin: 0px;
  color: #ffffff;
}

#p3 {
  display: none;
  text-align: center;
  font: 40px Paytone One;
  margin: 0px;
  color: #ffffff;
}

#p4 {
  display: none;
  text-align: center;
  font: 60px Paytone One;
  margin: 0px;
  color: #ffffff;
}

.Img-finish {
  z-index: 1;
  width: 40%;
  align-self: center;
}
.Img-holder {
  width: 1000px;
  height: 650px;
  border-radius: 0 0 20px 20px;
  background-size: cover;
  position: relative;
  background-color: #00c0b5;
  align-self: flex-end;
  display: flex;
  flex-direction: row;
  z-index: 99;
}

.Img-Top-holder {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 1000px;
  margin: auto;
  background-color: #ccf3f0;
  box-shadow: 0px 3px 15px #00000029 inset, 0px 7px 15px #00000029;
  border: 11px solid #ffffff;
  border-radius: 30px;
  color: #042b60;
  font-weight: bold;
}

.Img-Top {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.rings_wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 100px;
  margin: 20px 50px;
  width: 75%;
}

.rings_wrapper > img {
  height: 61px;
}

.image-popup1 {
  top: 373px;
  left: 553px;
  position: relative;
  background-size: cover;
}

.image-popup2 {
  top: 373px;
  left: 553px;
  position: relative;
  background-size: cover;
}

.Img-ring1 {
  position: absolute;
  top: 20px;
  left: -20px;
}

.Img-ring2 {
  position: absolute;
  top: 0px;
  left: 20%;
}

.Img-ring3 {
  position: absolute;
  top: 10px;
  left: 38%;
}

.Img-ring4 {
  position: absolute;
  top: 15px;
  left: 55.5%;
}

.Img-ring5 {
  position: absolute;
  top: -3px;
  left: 75.2%;
}

.Img-ring6 {
  position: absolute;
  top: 20px;
  left: 98%;
}

.ring_number {
  font-size: 34px;
  font-style: normal;
  font-family: 'Lato', bold;
  font-weight: 400;
  position: absolute;
  top: 51%;
  left: 52%;
  transform: translate(-50%, -50%);
  z-index: 0;
  background: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 6px solid #042b60;
}

/* Popup box BEGIN */
.popup_rogatek_finded {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
  height: 100%;
  position: absolute;
  font-size: 40px;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
  border-radius: 0 0 20px 20px;
}
.popup_rogatek_finded .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.popup_rogatek_finded > div {
  background-color: #00c0b5;
  font-family: 'Paytone One';
  font-weight: 400;
  color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 400px;
  min-height: 100px;
  vertical-align: middle;
  width: 60%;
  position: relative;
  border: 8px solid #ffffff;
  border-radius: 68px;
  padding: 15px 5%;
  box-shadow: 0px 3px 39px #00000029;
}
.popupCloseButton {
  background-color: #fff;
  border: 3px solid #999;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-family: Paytone One;
  font-weight: bold;
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 25px;
  line-height: 30px;
  padding: 10px 30px;
  text-align: center;
  background: #042b60;
  box-shadow: 0px 3px 14px #00000029;
  border: 8px solid #ffffff;
  border-radius: 27px;
  font-weight: 300;
}
.popupCloseButton:hover {
  background-color: #aaa;
}
.trigger_popup_fricc {
  cursor: pointer;
  font-size: 20px;
  margin: 20px;
  display: inline-block;
  font-weight: bold;
}
/* Popup box BEGIN */
.popup_rogatek_isNOT {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
  height: 100%;
  position: absolute;
  font-size: 40px;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
  border-radius: 0 0 20px 20px;
}
.popup_rogatek_isNOT .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.popup_rogatek_isNOT > div {
  background-color: #dc0451;
  font-family: 'Paytone One';
  font-weight: 400;
  color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 400px;
  min-height: 100px;
  vertical-align: middle;
  width: 60%;
  position: relative;
  border: 8px solid #ffffff;
  border-radius: 68px;
  padding: 15px 5%;
  box-shadow: 0px 3px 39px #00000029;
}
.trigger_popup_finish {
  cursor: pointer;
  font-size: 20px;
  margin: 20px;
  display: inline-block;
  font-weight: bold;
}
