body {
  margin: 0;
  background-color: #EFF299;
  font-family: "Bubblegum Sans", sans-serif;
  overflow-y: hidden;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative; 
}

img {
  width: 70px;
  margin-top: 30px;
  margin-left: 30px;
  cursor: pointer;
  position: fixed; 
  z-index: 10; 
  transition-duration: 0.3s;
}

img:hover{
  scale: 0.8;
  }

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 20px;
}

#register-form {
  background-color: #79A637;
  display: flex;
  width: 350px;
  min-height: 480px;
  height: auto;
  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;
  box-sizing: border-box;
  margin-top: 80px; 
  margin-bottom: 50px;
}

form #register-title {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 30px;  
  color: white;
}

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

form input {
  border: 3px solid black;
  border-radius: 10px;
  margin-bottom: 2px;
  height: 30px;
  width: 300px;
  box-sizing: border-box;
  padding: 0 10px;
}

button {
  font-family: "Bubblegum Sans", sans-serif;
  padding: 6px 18px;
  height: 32px;
  border: 2px 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-top: 15px;
  margin-bottom: 15px;
}

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-top: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

form div a {
  margin-left: 10px;
  font-family: "Bubblegum Sans", sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.3s ease;
}

form div a:hover {
  transform: scale(1.1);
}

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

.visible-error {
  display: block !important;
  animation: fadeIn 0.3s ease-out;
}

/* Animations */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

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