@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,900&subset=latin-ext');

div, body{
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  /* color: #101014; */
  color: white;
}

body{
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(-45deg, #5A4FB8, #0EAD90);
}

.inner{
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-50%);
  text-align: center;
}

button, .button{
  padding: 15px 20px;
  font-family: 'Montserrat', sans-serif;
  background-color: rgba(255,255,255,0.2);
  border: 0;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  text-decoration: none;
  box-sizing: border-box;
}

button:hover, .button:hover{
  background-color: rgba(255,255,255,0.4);
}

a.button{
  display: inline-block;
}

h1{
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  opacity: 0.8;
}

#ip{
  font-size: 100px;
  font-weight: 900;
  margin-bottom: 30px;
}

#success{
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  opacity: 0;
  transform: rotateX(30deg) translateY(-20px);
  transition: all 0.3s ease-in-out;
}

#success.opened{
  opacity: 1;
  transform: rotateX(0deg) translateY(0px);
}

#ip-input{
  opacity: 0;
  position: absolute;
  top: -30px;
}

@media screen and (max-width: 800px){
  h1{
    font-size: 20px;
  }

  #ip{
    font-size: 60px;
  }
}

@media screen and (max-width: 500px){
  h1{
    font-size: 18px;
  }

  #ip{
    font-size: 40px;
  }

  button, .button{
    display: block !important;
    width: 100%;
    margin-bottom: 10px;
    font-size: 13px;
  }
}

@media screen and (max-width: 380px){
  h1{
    font-size: 18px;
  }

  #ip{
    font-size: 30px;
  }
}

.dg{
  height: 40px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: all 0.3s ease-in-out;
  max-width: 41px;
  overflow: hidden;
}

.dg:hover{
  max-width: 134px;
}

.dg span{
  display: inline-block;
  line-height: 40px;
}

.dg a{
  display: flex;
  text-decoration: none;
  color: white;
}

.dg img{
  height: 40px;
  display: inline-block;
}