.contact {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: var(--section-width);
  background-color: var(--bg-color);
  padding: 5rem 0;
  flex-wrap: wrap;
  gap: 3rem;
  border-top: 2px solid var(--light-gray);
}

.contact svg {
  height: 25rem;
}

#envelope {
  animation: float 2s ease-in-out infinite;
  filter: drop-shadow(15px 18px 18px #838383);
}

#star1,
#star2,
#star3,
#star4,
#star5,
#star6 {
  animation: blink 1s ease-in-out infinite;
}
#star2 {
  animation-delay: 100ms;
}
#star3 {
  animation-delay: 500ms;
}
#star4 {
  animation-delay: 700ms;
}
#star5 {
  animation-delay: 300ms;
}
#star6 {
  animation-delay: 200ms;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: baseline;
  gap: 1rem;
  width: 45%;
}

.contact-form input[type="text"],
input[type="email"],
textarea {
  padding: 0.8rem;
  outline: none;
  border: 1px solid var(--primary-color);
  width: 100%;
  border-radius: 10px;
}

.contact-form input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1px solid var(--secondary-color);
}

.contact-form input[type="submit"] {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 5rem;
  cursor: pointer;
  width: 100%;
}
.contact-form input[type="submit"]:hover {
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.contact-form textarea {
  height: 200px;
}

.btn {
  font-size: larger;
}
