* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Nexa";
  src: url("../fonts/nexalight.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: "Nexa";
  src: url("../fonts/nexabold.otf") format("opentype");
  font-weight: bold;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Nexa', arial, sans-serif;
  font-weight: bold;
  color: #444;
  overflow: hidden;
}

#main-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.logo {
  height: 70px;
  margin-bottom: 30px;
}

.logo img {
  height: 100%;
}

.main-form {
  width: 80%;
  max-width: 700px;
  position: relative;
  z-index: 10;
  background: #fff;
}

.main-form label {
  display: block;
  text-transform: uppercase;
  text-align: left;
}

.main-form input {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
  outline: 0;
  margin: 2px 0 15px 0;
  border-radius: 5px;
  border: 1px solid #888;
}

.xbutton {
  background: #7518de;
  color: white;
  text-transform: uppercase;
  font-family: 'Nexa', arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 10px;
  margin-top: 50px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #888;
  text-align: center;
}

.main-form input[type="submit"] {
  background: #7518de;
  color: white;
  text-transform: uppercase;
  font-family: 'Nexa', arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 10px;
  margin-top: 50px;
  cursor: pointer;
}

.main-form .form-cont {
  background: #fff;
  padding: 40px;
  width: 100%;
  height: 100%;
  padding-bottom: calc(100vh - 650px);
  border-radius: 20px;
  border: 1px solid #888;
}

.main-form .shape1 {
  position: absolute;
  width: 130%;
  max-width: 100vw;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -100%);
  z-index: 10;
  display: flex;
  align-items: flex-end;
}

.main-form .shape2 {
  position: absolute;
  width: 130%;
  max-width: 100vw;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -100%);
  z-index: -5;
  display: flex;
  align-items: flex-end;
}

.main-form .shape1 img {
  width: 100%;
}

.main-form .shape2 img {
  width: 100%;
}

#msg {
  transition: opacity 12s;
  text-align: center;
}

.winner {
  height: 100px;
  width: 100%;
  text-align: center;
  font-size: 40px;
}

.winner.running {
  animation-name: running;
  animation-duration: 5s;
}

@keyframes running {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}