:root {
  --color-phthalo-blue: rgb(0, 13, 129);
  --color-lavender: rgb(210, 218, 239);
  --color-night: rgb(18, 19, 15);
  --color-powder-blue: #138b91;
  --color-white: rgba(255, 255, 255, 0.969);
  --color-aqua-blue: #5bc5d2;
  --color-black: #000000;
  --color-dark-gray: #333333;
  --color-orange: #f28e1a;
  --color-bright-green: #a3ed29;
  --color-neon-yellow: #fbff2e;
  --color-hot-pink: #ff1d9c;
  --color-midnight-blue: #3a3e4e;
  --color-peach: #ffab48;
  --color-slate-gray: #575b70;
  --color-dark-teal: #003e58;
  --color-cave-water-blue: #002637;
}

body {
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: var(--color-powder-blue); /* Optional background color */
}

.contact-image-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust the height as needed */
  overflow: hidden;
}

.contact-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 600px;
}

form {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

label {
  font-weight: light;
  margin-bottom: 0.5rem;
  color: var(--color-dark-teal);
}

.indicate {
  font-style: italic;
  font-size: 10px;
  color: black;
  text-align: left;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: #28a745;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  margin: 5px;
}

button:hover {
  background-color: #218838;
}

button[type="reset"] {
  background-color: #dc3545;
}

button[type="reset"]:hover {
  background-color: #c82333;
}

.star {
  color: red;
  font-size: 1rem;
}

.notification {
  display: none; /* Hidden by default */
  position: fixed;
  top: 60px; /* Adjust this value based on the height of your header */
  left: 50%;
  transform: translateX(-50%);
  padding: 15px;
  background-color: #f44336; /* Red background for error */
  color: white;
  border-radius: 5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: auto;
  max-width: 90%; /* Ensures it doesn’t exceed the viewport */
  text-align: center;
}

.notification.success {
  background-color: #4caf50; /* Green background for success */
}

.notification.error {
  background-color: #f44336; /* Red background for error */
}

.notification.show {
  display: block;
  animation: fadeout 3s forwards;
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
