body {
  margin: 0;
  background-color: #EFF299;
  font-family: "Bubblegum Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

img {
  width: 70px;
  position: absolute;
  top: 30px;
  left: 30px;
  cursor: pointer;
  transition-duration: 0.3s;
}

img:hover{
  scale: 0.8;
}

form {
  background-color: #79A637;
  display: flex;
  width: 350px;
  min-height: 400px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 5px solid black;
  border-radius: 15px;
  color: rgb(0, 0, 0);
  animation: reveal3 1s ease-out;
  padding: 20px;
  box-sizing: border-box;
  margin: 20px;
}

form #welcome-label {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 30px;
  color: white;
  text-align: center;
}

form .input-labels {
  margin-bottom: 10px;
  font-size: 18px;
  align-self: flex-start;
  margin-left: 25px;
}

form input {
  border: 3px solid black;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 30px;
  width: calc(100% - 50px);
  max-width: 300px;
  padding: 0 10px;
  font-family: "Bubblegum Sans", sans-serif;
}

button {
  font-family: "Bubblegum Sans", sans-serif;
  padding: 6px 18px;
  height: 32px;
  border: 1px solid #1a1a1a;
  background-color: #FF6B6B;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.37, 0, 0.63, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
  margin-bottom: 10px;
  width: auto;
  min-width: 120px;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1a1a1a 0%, #3a5a40 100%);
  z-index: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

button span {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

button:hover {
  border-color: transparent;
  color: #f8f8f8;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

button:hover::before {
  transform: translateX(0);
}

button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

form div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
  flex-wrap: wrap;
}

form div a {
  margin-left: 10px;
  font-family: "Bubblegum Sans", sans-serif;
  color: white;
  text-decoration: none;
  font-size: 15px;
  text-align: center;
}

.error-messages {
  display: none;
  color: red;
  font-size: 17px;
  height: 16px;
  width: 100%;
  text-align: center;
  font-family: "Bubblegum Sans", sans-serif;
  -webkit-text-stroke: 0.6px #1a1a1a;
}

/* Responsive */

@media (max-width: 480px) {
  body {
      padding: 10px;
  }
  
  img {
      width: 50px;
      top: 15px;
      left: 15px;
  }
  
  form {
      width: 100%;
      max-width: 320px;
      min-height: 380px;
  }
  
  form #welcome-label {
      font-size: 26px;
      margin-bottom: 20px;
  }
  
  form .input-labels {
      font-size: 16px;
      margin-left: 15px;
  }
  
  form input {
      width: calc(100% - 30px);
      height: 28px;
  }
  
  button {
      padding: 5px 15px;
      height: 30px;
      font-size: 11px;
  }
  
  form div a {
      font-size: 13px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  form {
      width: 380px;
      min-height: 420px;
  }
  
  form #welcome-label {
      font-size: 28px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  form {
      width: 400px;
      min-height: 450px;
  }
  
  form #welcome-label {
      font-size: 32px;
  }
}

@media (min-width: 1559px) {
  form {
      width: 420px;
      min-height: 480px;
  }
  
  form #welcome-label {
      font-size: 34px;
  }
  
  button {
      padding: 8px 22px;
      height: 36px;
      font-size: 14px;
  }
}

/* Animations */

@keyframes reveal3 {
  from {
      transform: translateX(1200px);
  }
  to {
      transform: translateY(0);
  }
}