* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-areas:
    "top-contact"
    "app-contact"
    "grid-footer";
}

.top-contact {
  height: 70vh;
  padding: 100px;
  color: white;
  display: grid;
  align-items: flex-end;
  background-image: url(../img/img-contact/img-contact-12.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  grid-area: top-contact;
}

.h1-top {
  margin-top: 50px;
  font-size: 70px;
  /* padding-top: 30px; */
  font-family: serif;
}

.par-top {
  margin-top: -10px;
  line-height: 1.5em;
  padding-right: 250px;
  font-weight: bold;
  font-size: 20px;
}

.form-btn {
  margin-bottom: 50px;
  display: flex;
  gap: 10px;
}

.btn-top {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
  width: 130px;
  margin: 10px 0;
  padding: 16px;
  border: none;
}

.btn-top-1 {
  color: white;
  background-color: #cd7f32;
}

.btn-top-2 {
  border: 2px solid orange;
  color: white;
  background-color: rgba(0, 0, 0, 0.664);
}

.btn-top-1:hover {
  background-color: #e36414;
}

.btn-top-2:hover {
  background-color: #db7c26;

}

.app-contact {
  margin: 0px 100px 100px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "head-contact head-contact head-contact"
    "address phone email";
}

.app-contact>div {
  line-height: 1.5em;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.head-app {
  padding: 15px;
}

.head-contact {
  font-family: serif;
  padding: 80px;
  font-size: 50px;
  text-align: center;
  grid-area: head-contact;
}

.address {
  display: flex;
  flex-direction: column;
  /* background: #000; */
  grid-area: address;
}

.bxs-map-1 {
  color: #cd7f32;
  font-size: 40px;
}

.phone {
  grid-area: phone;
}

.bxs-phone-1 {
  color: #cd7f32;
  font-size: 40px;
}

.email {
  width: 300px;
  grid-area: email;
}

.bx-envelope-1 {
  color: #cd7f32;
  font-size: 40px;
}

.grid-footer {
  margin: 0 100px 100px 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "form location";
}

.form {
  font-weight: bold;
  width: 100%;
  grid-area: form;
}

.info-user {
  border-radius: 10px;
  outline: none;
  transition: box-shadow 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
  border: 1px solid gray;
  padding: 10px 20px;
  margin: 10px 0;
  width: 85%;
  height: 5vh;
}

.info-user:focus {
  background: #fff;
  /* optional: go white on focus */
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
  /* soft focus ring */
}

.info-user:hover {
  border-radius: 5px;
  border: 1px solid #cd803271;
}

textarea {
  border-radius: 10px;
  outline: none;
  margin: 10px 0;
  height: 15vh;
  width: 85%;
  padding: 20px;
}

textarea:focus {
  background: #fff;
  /* optional: go white on focus */
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.25);
  /* soft focus ring */
}

textarea:hover {
  border-radius: 5px;
  border: 1px solid #cd803271;
}

.btn-seen {
  width: 180px;
  font-size: 16px;
  color: white;
  font-weight: bold;
  border: 2px solid orange;
  background-color: rgba(0, 0, 0, 0.836);
  border-radius: 10px;
  text-align: center;
  margin: 8px 0;
  padding: 15px 0;
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
}

.btn-seen:hover {
  border: none;
  background: #cd7f32;
}

.map {
  border-radius: 12px;
}

.location {
  border-radius: 12px;
  background-color: none;
  /* transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);  */
  /* transition: all 0.3s ease-in-out; */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  grid-area: location;
}

.buttom-contact {
  padding: 200px;
  text-align: center;
  color: white;
  height: 30vh;
  /* background-position: center; */
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../img/img-contact/img-contact-13.png);
}

.h1-contact {
  font-family: serif;
  font-size: 80px;
  padding-bottom: 30px;
}

/* ======template======== */


/* ======Mobile Phone====== */

@media (min-width: 300px) and (max-width: 600px) {
  .grid-container {
    margin-left: -200px;
    margin-top: 50px;
  }

  .app-contact {
    padding: 10px;
    gap: -10px;
  }

  .app-contact>div {
    /* font-size: 8px; */
    display: flex;
    padding: 0px;
  }

  .top-contact {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 55vh;
  }

  .h1-top {
    margin-top: -20px;
    font-size: 50px;
    margin-left: 230px;
  }

  .par-top {
    /* padding-top: -200px; */
    padding: 0;
    margin: -200px 100px 0 230px;
    line-height: 1.5em;
    font-size: 15px;
  }

  .btn-top-1 {
    margin-top: -60px;
    margin-left: 230px;
    grid-area: btn-top-1;
  }

  .btn-top-2 {
    margin-top: -60px;
    margin-left: -0px;
    grid-area: btn-top-2;
  }

  .form-btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "btn-top-1 btn-top-2";
  }

  .grid-footer {
    display: flex;
    flex-wrap: wrap;
  }

  .form {
    width: 323px;
    margin-left: 130px;
  }

  .form-message {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
  }

  .app-contact {
    margin: 50px 0 50px 100px;
    padding: 0;
    display: grid;
    gap: 30px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-areas:
      "head-contact"
      "address"
      "phone"
      "email";
  }

  .head-contact-1 {
    margin: 0;
    padding: 0;
    font-size: 50px;
    grid-area: head-contact;
  }

  .head-app {
    font-size: 20px;
  }

  .par-app {
    font-size: 15px;
  }

  /* .app-contact > .address {
    text-align: center;
    width: 100%;
    display: flex;
    margin-left: 60px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  } */
  /* .app-contact > .email {
    text-align: center;
    width: 100%;
    display: flex;
    margin-left: -50px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .app-contact > .phone {
    text-align: center;
    width: 100%;
    display: flex;

    margin-left: 23px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
  } */

  /* .head-contact {
    padding: 15px;
    font-size: 24px;
  } */

  .info-user,
  textarea {
    width: 100%;
    font-size: 14px;
  }

  .btn-seen {
    margin-left: 40px;
    padding-left: 90px;
    padding-right: 90px;
    width: 180px;
    font-size: 15px;
  }

  .location {
    margin-left: 120px;
    padding: 0;
  }

  .map {
    width: 390px;
  }

  .buttom-service {
    margin: 0;
    padding: 0;
    height: 40vh;
  }

  .h2-contact {
    padding: 0 10px;
    font-size: 18px;
  }

  .h1-contact {
    padding-bottom: 10px;
    font-size: 50px;
  }

  .buttom-contact {
    height: 20vh;
    margin: 0;
    padding: 100px 10px 80px 10px;
  }

  .h1-contact {
    font-size: 50px;
  }

  .h2-buttom-contact {
    line-height: 1.5em;
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 840px) {
  .buttom-contact {
    height: 20vh;
    margin: 0;
    padding: 100px 0 80px 0;
  }

  .top-contact {
    width: 100%;
    padding: 0 100px;
    margin: 0;
    height: 60vh;
  }

  .h1-top {
    font-size: 60px;
  }

  body {
    overflow-x: hidden;
  }

  .form {
    width: 500px;
  }

  .grid-footer {
    display: flex;
    gap: 30px;
    width: 200px;
  }

  .app-contact {
    margin-left: 10px;
  }

  .grid-container {
    margin-left: -60px;
  }

  .top-contact {
    height: 60vh;
  }

  .h1-top {
    padding-bottom: 90px;
    padding-top: 90px;
    font-size: 60px;
  }

  .form-btn {
    margin-bottom: 100px;
    /* margin-top: -50px; */
  }

  .par-top-1 {
    /* width: 300px; */
    margin-top: -80px;
    /* margin-bottom: -150px; */
    font-size: 30px;
  }

  .app-contact {
    width: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 2fr);
    grid-template-areas:
      "head-contact head-contact head-contact"
      "address phone email";
  }

  .address {
    margin-left: 90px;
  }

  .phone {
    margin-left: 60px;
  }

  .grid-footer {
    margin: 0 0 100px 100px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "location";
  }

  .form {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  textarea {
    width: 95%;
    font-size: 20px;
  }

  .info-user {
    font-size: 20px;
    width: 95%;
  }

  .btn-seen {
    padding: 20px 0;
    font-size: 20px;
    width: 100%;
  }

  .location {
    margin: 0;
    padding: 0;
  }

  .map {
    width: 750px;

  }

  /* .app-contact > .address {
    text-align: center;
    width: 90%;
    display: flex;
    margin-left: 60px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .app-contact > .email {
    text-align: center;
    width: 10%;
    display: flex;
    margin-left: 60px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .app-contact > .phone {
    text-align: center;
    width: 90%;
    display: flex;
  } */
}