* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

.container {
  width: 100%;
  height: 100vh;
  background: linear-gradient(191deg, rgba(138, 76, 161, 1) 0%, rgba(39, 39, 148, 0.989233193277311) 100%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.content {
  background-color: white;
  width: 500px;
  height: auto;
  padding: 20px 40px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 4px 23px 3px rgba(0,0,0,0.48);
}

.content h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

.content input {
  padding: 10px 20px;
  outline: none;
  border: 1px solid #636363;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.content .btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #ff9b08;
  background-color: #ff9b08;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}

#imgBox {
  width: 200px;
  border-radius: 5px;
  max-height: 0;
  overflow: hidden;
  transition: max-heigth 1s;
}

#imgBox img {
  width: 100%;
  padding: 10px;
}

#imgBox.show-img {
  max-height: 300px;
  margin: 10px auto;
  border: 1px solid #d1d1d1;
}

.error {
  animation: shake .1s linear 10;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px);
  }

  50% {
    transform: translateX(0);
  }

  75% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
  }
}