/* CONTACT  */
.contact {
  padding-top: 7rem !important;
  margin-bottom: -7rem;
}
.contact__container {
  background: #5555;
  padding: 4rem;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4rem;
  height: 30rem;
  margin: 7rem auto;
  border-radius: 1rem;
}
.getInTouch-title {
  margin-top: -7rem;
  margin-bottom: 2rem;
  margin-right: 55px;
}
/* ASIDE  */
.contact__aside {
  background: #555;
  padding: 3rem;
  border-radius: 1rem;
  position: relative;
  bottom: 10rem;
}
.aside__image {
  width: 12rem;
  margin-bottom: 2rem;
}
.contact__aside h2 {
  text-align: left;
  margin-bottom: 1rem;
}
.contact__aside p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.contact__details li {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.contact__details a {
  transition: color 0.3s ease;
}
.contact__details a:hover {
  color: rgba(244, 217, 86, 0.5);
}
.contact__socials {
  display: flex;
  gap: 1.8rem;
  margin-top: 3rem;
}
.contact__socials a {
  background: rgba(244, 217, 86, 0.5);
  padding: 0.5rem;
  border-radius: 45%;
  font-size: 1.2rem;
  transition: var(--transition);
}
.contact__socials a:hover {
  background: transparent;
}
.get-in-touch .btn-primary {
  font-size: 1rem;
  letter-spacing: 1px;
}
.sent-message {
  display: none;
  justify-content: center;
  color: white;
  font-weight: 500;
  letter-spacing: 1.2;
  background-color: green;
  border-radius: 2px;
  padding: 10px;
}

/* FORM  */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-right: 4rem;
  margin-top: 3rem;
}
.form__name {
  display: flex;
  gap: 1.2rem;
}
.contact__form input[type="text"] {
  width: 50%;
}
input,
textarea {
  width: 100%;
  padding: 1rem;
  background: #555;
  color: #888;
}
.contact__form btn {
  width: max-content;
  cursor: pointer;
  margin-top: 1rem;
}
.contact__form .btn:hover {
  cursor: pointer;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none; /* Remove the default focus outline */
  box-shadow: 0 0 3px rgba(244, 217, 86, 0.5); /* Add a custom box shadow on focus */
}

/* MEDIA QUERIES FOR TABLETS  */
@media screen and (max-width: 1024px) {
  /* ASIDE  */
  .contact__container {
    padding: 1.5rem;
    margin-top: 3rem;
    gap: 1.5rem;
    height: auto;
  }
  .contact__aside {
    width: auto;
    padding: 1.5rem;
    bottom: 0;
  }
  .getInTouch-title {
    margin-top: 0;
  }

  /* FORM  */
  .contact__form {
    align-self: center;
    margin-right: 1.5rem;
  }
}

.textarea-message {
  max-width: 100%;
  min-width: 100%;
  max-height: 180px;
  color: #888;
  font-size: 13.33px;
  font-family: arial;
}
input::placeholder textarea::placeholder {
  /* Set the placeholder color */
  color: #888; /* Change this color to your desired placeholder color */
}

/* MEDIA QUERIES FOR MOBILES  */
@media screen and (max-width: 600px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
    padding: 0;
  }

  /* FORM  */
  .contact__form {
    margin: 0 1.5rem 3rem;
  }
  .form__name {
    flex-direction: column;
  }
  .contact__form input[type="text"] {
    width: 100%;
  }
}

#message-count {
  float: right;
  font-size: 12px;
  margin-top: -7px;
}

#message-count {
  color: gray;
}
