body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.header {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.header .logo {
  width: 250px;
  height: 142px;
  background: url("assets/logo.jpeg") no-repeat;
  background-size: 100% 100%;
}

.header .helper {
  max-width: 50%;
  font-style: italic;
  font-size: 15px;
  text-align: center;
}

.header .helper-hide {
  color: transparent;
}

.content {
  margin: 20px auto;
  max-width: 50%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 1000px) {
  .content, .header .helper {
    max-width: 90%;
  }
}

.content #form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content #form input[type=text] {
  width: 100%;
  height: 37px;
  border: 1px solid lightgray;
  font-size: 16px;
  padding: 10px;
  margin-right: 10px;
}

.content #form input[type=text]::placeholder {
  color: lightgray;
  font-style: italic;
}

.content #form input[type=text]:focus {
  outline: none;
}

.content #form input[type=submit] {
  background-color: #00ceda;
  outline: none;
  border: none;
  height: 40px;
  color: white;
  font-weight: 400;
  font-size: 16px;
  padding: 0 15px;
  border-radius: 3px;
  cursor: pointer;
}

.content #success {
  display: none;
  flex-direction: column;
  align-items: center;
}

.content #success > a, .content #success > a:active, .content #success > a:link {
  margin-top: 50px;
  color: gray;
}

.content #success .success-content {
  display: flex;
  flex-direction: column;
  border: 1px solid lightgray;
  box-sizing: border-box;
  padding: 30px 100px;
  color: #222480;
  align-items: center;
}

.content #success .success-content h1 {
  margin: 0;
  padding: 0;
}

.content #success .success-content a {
  text-decoration: none;
  color: inherit;
}

.content #success .success-content .controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 30px 0;
}

.content #success .success-content .controls .button-copy {
  background-color: #222480;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 25px;
  cursor: pointer;
  transition: all 0.5s;
}

.content #success .success-content .controls .button-copy:hover {
  background-color: white;
  box-shadow: 0px 0px 10px #222480 inset;
}

.content #success .success-content .controls .button-copy:hover .button-copy-icon {
  filter: invert(100%);
}

.content #success .success-content .controls .button-copy .button-copy-icon {
  width: 25px;
  height: 25px;
  background-image: url("assets/icon-copy.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.content #error {
  display: none;
  color: red;
  text-align: center;
  font-style: italic;
}

.content #error a, .content .error a:link, .content .error a:active {
  color: red;
}

.footer {
  position: relative;
  height: 75px;
  width: 100%;
  /*background-color: #222480;*/
  bottom: 0;
  box-sizing: border-box;
  padding: 17.5px 0;
}

.footer .logo-sub {
  margin: 0 20px 0 auto;
}

.footer .logo-sub,
.footer .logo-sub img {
  width: 145px;
  height: 40px;
}

.footer a.support, .footer a.support:active, .footer a.support:link {
  position: absolute;
  right: 25px;
  bottom: 5px;
  color: #ffffff;
  font-size: 14px;
}

.preloader {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.preloader .dot {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #004489;
  position: absolute;
  left: 30%;
  animation: easeInAndOut 2.5s ease infinite;
}

.preloader .dot:nth-child(1) {
  animation-delay: 0s;
  opacity: 0;
}

.preloader .dot:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 0.8;
}

.preloader .dot:nth-child(3) {
  animation-delay: 0.6s;
  opacity: 0.5;
}

.preloader .dot:nth-child(4) {
  animation-delay: 0.9s;
  opacity: 0.2;
}

@keyframes easeInAndOut {
  0% {
    left: 30%;
    opacity: 0;
  }
  48% {
    left: 49%;
    opacity: 1;
  }
  50% {
    left: 51%;
    opacity: 1;
  }
  100% {
    left: 70%;
    opacity: 0;
  }
}
