.contact_container {
  background: var(--color-bg1);
  padding: 3rem;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4rem;
  height: 30rem;
  margin: 8rem auto;
  border-radius: 2rem;
}

/* aside */
.contact_aside {
  background: var(--color-primary);
  padding: 3rem;
  border-radius: 1.4rem;
  position: relative;
  bottom: 10rem;
}

.aside_img {
  width: 12rem;
  margin-bottom: 2rem;
  margin: 0 auto;
}

.contact_aside h2 {
  text-align: center;
  margin-bottom: 0.6rem;
}

.contact_aside p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact_details li {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.contact_socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 3rem;
}

.contact_socials a {
  background: var(--color-bg2);
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact_socials a:hover {
  background: transparent;
}

/* form */
.contact_form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-right: 4rem;
}
.form_name {
  display: flex;
  gap: 1.2rem;
}

.contact_form input[type="text"] {
  width: 50%;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  color: var(--color-white);
  border-radius: 1rem;
}

textarea {
  resize: none;
}

.contact_form .btn {
  width: max-content;
  margin-top: 1rem;
  border-radius: 1rem;
  cursor: pointer;
}

/* FOOTER FOR ABOUT */

footer {
  padding-top: 2rem;
}

.footer_container {
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}

.footer_1 p {
  padding: 0;
  margin: 0;
}

/* Media Query */
/* small laptop */
@media screen and (max-width: 1024px) {
  .contact {
    margin-top: 4rem;
  }
  .contact_container {
    gap: 1.5rem;
    margin-top: 3rem;
    height: auto;
    padding: 1.5rem;
  }
  .contact_aside {
    width: auto;
    padding: 1.5rem;
    bottom: 0;
  }

  .contact_form {
    align-self: center;
    margin-right: 1.5rem;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  /* aside */

  .contact_aside {
    padding: 0.7rem;
  }

  .contact_details li {
    display: block;
  }
  .contact_socials {
    margin-bottom: 1.5rem;
  }
}

/* mobile */
@media screen and (max-width: 520px) {
  .contact_container {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
    padding: 0;
  }

  .contact_details li {
    display: flex;
  }
  .contact_form {
    margin: 0 1.5rem 3rem;
  }

  .form_name {
    flex-direction: column;
  }
  .form_name input[type="text"] {
    width: 100%;
  }
  .footer_container {
    grid-template-columns: 1fr;
  }
}
