/* GLOBAL RESET --------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;

/* Background image */
.register-background-wrapper::before {
  content: "";
  position: absolute;
  width: 120%;          /* slightly bigger than the form */
  max-width: 900px;     /* prevents it from getting too huge */
  height: 120%;         /* slightly taller */
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;          /* puts it behind the form */
  border-radius: 20px;  /* optional aesthetic */
          /* optional */
}




/* REGISTER PAGE MAIN CONTENT ------------------------------------ */
main {
  padding: 60px 10%;
  max-width: 1000px;
  margin: auto;
}

.register-section {
  margin-top: 40px;
  z-index: 5;
  border: #f8c7cc;
  border-radius: 20px;
  border-width: 7px;
   background-image: url("../IMAGES/blue_painting.jpg");
  background-size: cover;        /* makes it fill naturally */
  background-repeat: no-repeat;
  width: 100%;
  padding: 60px 0;
  border-radius: 10px;

}

.register-container {
  background: #f0f0f0;
  padding: 40px;
  border-left: 6px solid #f8c7cc;
}

.register-text h2 {
  font-family: "Rozha One", serif;
  color: #57886C;;
  margin-bottom: 15px;
  font-size: 2rem;
}

.register-text p {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333;
}

/* FORM ------------------------------------------------------------ */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.subscribe-form label {
  font-weight: bold;
  color: #466060;
}

.subscribe-form input {
  padding: 12px;
  border: 2px solid #cdd4d4;
  border-radius: 6px;
  font-size: 1rem;
}

.subscribe-form input:focus {
  border-color: #466060;
  outline: none;
}

button {
  background-color: #466060;
  color: #ffffff;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #4a765d;
}


/* FOOTER ---------------------------------------------------------- */
footer {
  background-color: #466060;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  font-size: 0.9rem;
}


/* MOBILE RESPONSIVE ---------------------------------------------- */
@media (max-width: 850px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #466060;
    position: absolute;
    top: 100%;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  nav ul.open {
    display: flex;
  }

}



 
