.qdi-background {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(300deg, #1c2d4f 50%, #17243e 50%);
}

.qdi-infos {
  color: white;
  padding-bottom: 20rem;
}

.qdi-padding {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.svg-image {
  width: 250px;
  padding-bottom: 3rem;
  padding-top: 15rem;
  display: flex;
  justify-content: center;
}

.top_padder {
  padding-top: 15rem;
}

.left-padding {
  padding-left: 2rem;
}

.qdi-ferrari {
  color: #f54c53;
}

.text-highlight {
  color: #a7d0cf;
}

.login-box {
  font-family: "Roboto", Arial, sans-serif;
  position: relative;
  top: 50%;
  /*left: 50%;*/
  width: 380px;
  padding: 40px;
  /*transform: translate(-50%, -50%);*/
  /*background: rgba(0,0,0,.5);*/
  background: transparent;
  box-sizing: border-box;
  /*box-shadow: 0 15px 25px rgba(0,0,0,.6);*/
  border-radius: 10px;
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #fff;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
}
.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px 100px;
  font-size: 12px;
  color: #f54c53;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box .auth span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0px 0px;
  font-size: 12px;
  color: #f54c53;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0;
  color: #f54c53;
  font-size: 12px;
}

.login-box form a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #f54c53;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  margin-left: 200px;
  margin-top: 40px;
  letter-spacing: 4px;
}

.login-box a:hover {
  background: #f54c53;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #f54c53, 0 0 25px #f54c53, 0 0 50px #f54c53,
    0 0 100px #f54c53;
}

.login-box a span {
  position: absolute;
  display: block;
}

.login-box a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f54c53);
  /*animation: btn-anim1 1s linear infinite;*/
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.login-box a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #f54c53);
  /*animation: btn-anim2 1s linear infinite;*/
  /*animation-delay: .25s*/
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.login-box a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #f54c53);
  /*animation: btn-anim3 1s linear infinite;*/
  /*animation-delay: .5s*/
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.login-box a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #f54c53);
  /*animation: btn-anim4 1s linear infinite;*/
  /*animation-delay: .75s*/
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.gototop.active {
  opacity: 1;
  visibility: visible;
}
.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}
.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}
.gototop a:hover,
.gototop a:active,
.gototop a:focus {
  text-decoration: none;
  outline: none;
}
