#openForm {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
}

#contactFader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contactFader[open] {
  opacity: 1;
  pointer-events: all;
}

#contactForm {
  background: white;
  width: 90%;
  max-width: 500px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

#closeForm {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: color 0.3s ease, transform 0.2s ease;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  height: 100px;
}

#contactSubmit {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  text-align: center;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  pointer-events: none;
  opacity: 0.6;
  box-sizing: border-box;
}

form:valid #contactSubmit {
  pointer-events: all;
  opacity: 1;
}
