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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-image: linear-gradient(to bottom, #fed4e0, rgb(254, 255, 253));
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}

nav {
  position: absolute;
  top: 2rem;
  right: 5rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid black;
  border-radius: 50px;
  color: black;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: black;
  color: white;
}

.contact-title-img {
  width: 600px;  
  height: auto;
  margin-bottom: 5rem;
  transition: transform 0.3s ease;
}


.logo {
  position: absolute;
  top: 10px;
  left: 10px;
}

.header-logo {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.1);
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

input, textarea {
  padding: 1rem;
  border: 2px solid black;
  border-radius: 50px;
  font-size: 1rem;
  resize: none;
  outline: none;
}

input[type="number"] {
  border-radius: 50px;
}

textarea {
  border-radius: 30px;
  min-height: 120px;
}

button {
  padding: 0.75rem;
  border: 2px solid black;
  background-color: white;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background-color: black;
  color: white;
}

#feedback {
  margin-top: 1rem;
  color: red;
  font-weight: 500;
}

.error {
  border: 2px solid red;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #f1f1f1;
  position: fixed;
  bottom: 0;
  width: 100%;
}
