* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

img {
  border: none;
  display: block;
  max-width: 100%;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer !important;
}

p {
  margin-bottom: 10px;
}
p:last-child {
  margin-bottom: 0;
}

body {
  font-family: "Dancing Script", cursive;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 600;
  font-size: 20px;
  background: #ad0201 url("../images/bg.png") no-repeat center center;
  background-size: cover;
}

html, body, .wrapper {
  height: 100%;
}

.group {
  display: inline-block;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  max-width: 300px;
  margin: 0 auto 10px;
}

.content {
  text-align: center;
  padding: 5px 20px;
  max-width: calc(100% - 15px);
  margin: 0 auto;
  background-color: rgba(17, 17, 17, 0.3);
  position: relative;
}
.content .title,
.content .description {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.content .warning-info {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: #111111;
  font-size: 21px;
  background-color: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 20px 10px;
  display: none;
}
.content .warning-info.active {
  display: block;
}

.content-wrap.error .description,
.content-wrap.error .title,
.content-wrap.error .btn-wrap {
  opacity: 0;
}

.btn-wrap {
  width: calc(100% - 15px);
  margin: 15px auto 0;
}

.btn {
  font-family: "Rubik", sans-serif;
  font-size: 21px;
  color: #ffffff;
  width: 100%;
  margin: 0 auto;
  height: 60px;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 10px;
  border: none;
  background: -webkit-gradient(linear, left top, left bottom, from(#ff6666), to(#cc0000));
  background: linear-gradient(to bottom, #ff6666, #cc0000);
  -webkit-box-shadow: 0 6px 0 #990000, 0 6px 12px rgba(0, 0, 0, 0.4);
          box-shadow: 0 6px 0 #990000, 0 6px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  position: relative;
}
.btn.btn-animte {
  -webkit-animation: pulse 0.5s ease-in-out infinite alternate;
          animation: pulse 0.5s ease-in-out infinite alternate;
}
.btn.loading {
  pointer-events: none;
  -webkit-animation: none;
          animation: none;
}
.btn.loading span {
  opacity: 0;
}
.btn.loading:before {
  content: '';
  display: block;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
            transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
            transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
            transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
            transform: translate(-50%, -50%) rotate(360deg);
  }
}
.content-win {
  line-height: 1.4;
  display: none;
  text-align: center;
  padding: 5px 20px;
  max-width: calc(100% - 15px);
  margin: 0 auto;
  background-color: rgba(17, 17, 17, 0.3);
}
.content-win .win-title,
.content-win .win-desc,
.content-win .note {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.content-win .win-title {
  font-size: 37px;
  line-height: 1.3;
  margin-bottom: 7px;
}
.content-win .win-desc {
  font-size: 25px;
  margin-bottom: 15px;
}
.content-win .win-desc .person-name {
  position: relative;
  display: inline-block;
  -webkit-animation: pulse 0.5s ease-in-out infinite alternate;
          animation: pulse 0.5s ease-in-out infinite alternate;
}
.content-win .win-desc .person-name::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #ffffff;
}
.content-win .note span:first-child {
  font-size: 27px;
  display: inline-block;
  -webkit-animation: pulse 0.5s ease-in-out infinite alternate;
          animation: pulse 0.5s ease-in-out infinite alternate;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
            transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
            transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}
