/* hero start */
.hero h1 {
  color: white;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url(../../assets/images/contact.png), rgb(53, 53, 53) 50% / cover no-repeat;
  padding: 170px 0;
  font-size: 65px;
  text-align: center;
}

/* hero end */

/* main start */

main {
  background-color: var(--cream);
  padding: 70px 0;
}

.contact-top {
  background-color: var(--creamDark);
  width: 100%;
  padding: 50px 0;
  justify-content: space-around;
  border-radius: 5px;
}

.contact-info {
  color: var(--brown);
  gap: 10px;
  width: 200px;
}

.contact-info a {
  transition: 0.5s all ease-in-out;
}

.contact-info a:hover {
  scale: 1.1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-info-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
}

.contact-info-txt {
  color: #4c192a;
  text-align: center;
  font-family: Mondia;
  font-size: 18px;
  font-weight: 400;
  position: relative;
}

.contact-bottom {
  justify-content: center;
  margin: 50px auto;
}

/* contact form */

.userForm {
  width: 50%;
}

.smallInputsContainer {
  flex-wrap: wrap;
  gap: 20px;
}

.smallInputs {
  width: 48%;
  /* width: 295px; */
  padding: 15px 70px 15px 10px;
  outline: none;
  border: none;
  background-color: var(--white);
  border-radius: 5px;
}

textarea {
  width: 100%;
  resize: none;
  border: none;
  outline: none;
  background-color: var(--white);
  padding: 10px 0 0 10px;
  margin-top: 20px;
  border-radius: 5px;
  transition: 0.4s all ease-in-out;
}

textarea:focus {
  box-shadow: 0 0 10px var(--brown);
}

.formSubmit {
  width: 30%;
  margin-top: 20px;
  text-align: center;
  background-color: transparent;
  color: var(--brown);
  padding: 5px;
  outline: none;
  border: 1px solid var(--brown);
  border-radius: 5px;
  transition: 0.5s all ease-in-out;
  cursor: pointer;
}

.formSubmit:hover {
  background-color: var(--brown);
  color: var(--white);
}

input {
  transition: 0.4s all ease-in-out;
}

input:focus {
  box-shadow: 0 0 10px var(--brown);
}

/* ====== */

/* modal */
/* .modal {
    position: relative;
    border: 1px solid var(--brown);
    border-radius: 5px;
    background-color: var(--creamDark);
    padding: 18px 15px;
    text-align: center;
    color: var(--brown);
    bottom: 400px;
    left: 30%;
    width: 40%;
    display: none;
}

.modalOpen {
    display: flex;
    flex-direction: column;
}



.close-modal {
    position: absolute;
    top: -31%;
    right: -3%;
    cursor: pointer;
}

.close-modal svg path {
    fill: var(--brown);
} */

/* modal  */
.swal2-confirm {
  background-color: var(--brown) !important;
  /* Change button background color */
  color: #fff;
  /* Change button text color */
}

.swal2-popup {
  background-color: #f0f0f0;
  /* Change modal background color */
  border: 2px solid var(--brown);
  /* Change modal border */
}

/* main end */

/* footer start */
.footer-top-container {
  padding: 50px 0;
  background-color: var(--creamDark);
}

.footer-bottom-container {
  padding: 30px 0;
  background-color: var(--cream);
}

footer * {
  color: black;
}

footer a svg path {
  fill: black;
}

.footer-bold-txt {
  font-weight: bold;
}

p.footer-bold-txt {
  width: 60px;
  text-align: end;
  margin-right: 20px;
}

.footer-column-gaps {
  gap: 20px;
}

.address-length {
  width: 60%;
}

footer a {
  transition: 0.4s all ease-in-out;
}

footer a:hover {
  scale: 1.1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* footer end */

/* ------RESPONSIVE------ */

@media only screen and (min-width: 1440px) {
  .container {
    width: 1310px;
  }
}

@media only screen and (max-width: 1440px) {
  .container {
    width: 1190px;
  }
}

@media only screen and (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media only screen and (max-width: 1189px) {
  .container {
    max-width: 1000px;
  }

  /* header and nav */
  nav {
    gap: 40px;
  }

  .social-container {
    gap: 15px;
  }

  .search-box:hover > .search-input {
    width: 120px;
    padding: 1px 6px;
  }
}

@media only screen and (max-width: 1111px) {
  .container {
    max-width: 900px;
  }

  /* header and nav */
  nav {
    gap: 20px;
  }

  .social-container {
    gap: 5px;
  }

  /* search input */
  .search-box:hover > .search-input {
    width: 95px;
  }

  /* main contact bottom */
  .smallInputs {
    width: 46%;
  }
}

@media only screen and (max-width: 1027px) {
  .container {
    max-width: 890px;
  }

  /* hero */
  .hero h1 {
    font-size: 58px;
  }
}

@media only screen and (max-width: 925px) {
  .container {
    max-width: 790px;
  }

  /* header and nav */
  .social-container {
    gap: 0;
  }

  nav {
    gap: 15px;
  }

  .navLink {
    font-size: 14px;
  }

  /* hero */
  .hero h1 {
    font-size: 53px;
  }

  /* main form */
  .userForm {
    width: 57%;
  }
}

@media only screen and (max-width: 870px) {
  .container {
    max-width: 730px;
  }

  /* main news */
  .news-top {
    align-items: flex-start;
  }

  .news-top-btn {
    width: 35%;
  }

  /* main form */
  .userForm {
    width: 65%;
  }

  /* footer */
  .address-length {
    width: 40%;
  }
}

@media only screen and (max-width: 768px) {
  .container {
    max-width: 610px;
  }

  /* TABLET MENU START */

  .mobile-close-icon {
    position: absolute;
    top: 23px;
    right: 5.5%;
    font-size: 40px;
  }

  .mobile-close-icon path {
    fill: var(--white);
  }

  .mobile-header {
    background-color: var(--black);
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 40px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    width: 60%;
    height: 100vh;
    display: flex;
  }

  .mobile-header .logo-container {
    width: fit-content;
  }

  .mobile-header nav {
    gap: 30px;
    opacity: 0;
    transition: 1.5s all ease-in-out;
  }

  .mobile-header nav .navLink {
    font-size: 24px;
  }

  .mobile-header nav .navLink:hover::after {
    width: 40%;
  }

  .mobile-header .social-container {
    display: flex;
    margin-bottom: 40px;
    opacity: 0;
    transition: 1.5s all ease-in-out;
  }

  .mobile-header .social-container a {
    width: 35px;
    height: 35px;
  }

  .mobile-header .social-container a .facebook {
    width: 10px;
    height: 20px;
  }

  .mobile-header .social-container a .instagram {
    width: 22px;
    height: 22px;
  }

  .mobile-header .social-container a .lang {
    width: 22px;
    height: 22px;
  }

  .mobile-header .social-container {
    gap: 10px;
  }

  .header-burger-icon {
    display: inline-block;
    position: absolute;
    top: 23px;
    right: 3%;
    font-size: 35px;
  }

  .header-burger-icon path {
    fill: white;
  }

  .container .search-box .search-btn {
    width: 38px;
    height: 38px;
  }

  .container .search-box:hover {
    height: 35px;
  }

  .container .search-box .search-input {
    font-size: 16px;
  }

  .search-box:hover > .search-input {
    padding: 1px 10px;
  }

  .container .search-box .search-btn svg {
    height: 1.2em;
  }

  header .container nav,
  .social-container {
    display: none;
  }

  header .container {
    justify-content: space-between;
  }

  header .container .search-box {
    margin-right: 70px;
  }

  /* tablet menu end */

  /* main form */
  .userForm {
    width: 70%;
  }

  /* footer */
  .footer-top {
    gap: 40px;
  }

  .address-column {
    width: 45%;
  }
}

/* Mobile */
@media only screen and (max-width: 650px) {
  .container {
    max-width: 500px;
  }

  /* main form */
  .userForm {
    width: 80%;
  }

  .contact-info-heading {
    font-size: 22px;
  }

  .contact-info-txt {
    font-size: 14px;
  }

  /* footer */
  .footer-top {
    flex-wrap: wrap;
  }

  .footer-social {
    flex-direction: row;
    align-items: baseline;
  }
}

/* MOBILE */
@media only screen and (max-width: 565px) {
  .container {
    max-width: 400px;
  }

  /* mobile header */
  .mobile-header {
    width: 100%;
  }

  /* hero */
  .hero h1 {
    font-size: 50px;
  }

  /* main form */
  .userForm {
    width: 100%;
  }

  .contact-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-info-heading {
    font-size: 26px;
  }

  .contact-info-txt {
    font-size: 18px;
  }

  .swal2-popup {
    width: 88%;
  }

  /* footer */
  .footer-top {
    flex-direction: column;
  }

  .footer-top * {
    width: 100%;
  }

  .footer-bold-txt {
    font-size: large;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-bottom :nth-child(2) {
    order: 1;
  }

  .footer-bottom :first-child {
    order: 2;
  }

  .footer-bottom :last-child {
    order: 3;
  }
}

@media only screen and (max-width: 470px) {
  .container {
    max-width: 320px;
  }

  /* main */
  .hero h1 {
    font-size: 43px;
  }

  /* form */
  .smallInputsContainer {
    flex-direction: column;
    width: 100%;
  }

  .smallInputs {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* modal */
  .modal {
    bottom: 500px;
    left: 14%;
    width: 72%;
  }

  /* footer */
  p.footer-bold-txt {
    margin-right: 0;
    width: 50%;
    text-align: start;
  }

  .address-column div {
    gap: 10px;
  }
}

@media only screen and (max-width: 370px) {
  .container {
    max-width: 250px;
  }

  /* hero */
  .hero h1 {
    font-size: 38px;
  }

  /* mobile nav */
  #mobile-nav .navLink {
    font-size: 18px;
  }
}

@media only screen and (max-width: 300px) {
  .container {
    max-width: 200px;
  }

  /* footer */
  .address-column div {
    gap: 0;
  }

  .footer-top {
    text-align: center;
  }

  p.footer-bold-txt {
    width: 50%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
