@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@800&family=Titan+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@800&display=swap");

.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fb99bf;
}

.contact-card {
  background-color: #f9f0df;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 200px;
  height: 220px;
  z-index: 2;
  border: 2px solid black;
  margin-right: -100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
}

.contact-card h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-family: "Lexend", sans-serif;
}

.contact-card p {
  margin: 10px 0;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
}

.contact-card i {
  margin-right: 10px;
  font-family: "Lexend", sans-serif;
}

.contact-form-container {
  margin-top: 20px;
  background-color: #f9f0df;
  padding: 20px 60px 20px 60px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 380px;
  height: 350px;
  z-index: 1;
  text-align: center;
  margin-bottom: 10px;
  border: 2px solid black;
  margin-left: 50px;
}

.contact-form-container h2 {
  font-size: 20px;
  font-family: "Lexend", sans-serif;
  color: #333;
}

.contact-form-container p {
  margin-bottom: 10px;
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  color: #666;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  outline: none;
  margin: 4px 0;
  font-size: 14px;
  color: #666;
  padding: 10px;
  width: 100%;
  font-family: "Lexend", sans-serif;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 15px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fb99bf;
}

.btn-contact {
  border: 2px solid black;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0 black;
  margin-top: 10px;
  background-color: #e85c3b;
  height: 40px;
  font-family: "Lexend", sans-serif;
  font-size: 16px;
}

.btn-contact:hover {
  transform: translateY(3px);
  box-shadow: 0 0 0 black;
}

#footer-container {
  width: 100%;
  position: absolute;
  bottom: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .contact-card {
    display: none;
  }

  .contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 50px;
  }

  .contact-form-container {
    width: 80%;
    padding: 20px;
    margin-left: 0;
    margin-top: 20px;
    height: 360px;
    border: 1px solid black;
  }

  .contact-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .contact-form-container p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 10px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 10px;
    border: 1px solid #ddd;
  }

  .btn-contact {
    font-size: 14px;
    padding: 10px;
    border: 1px solid black;
  }
}
