@import url(../style/font-style.css);

@font-face {
  /*
IranSansX fonts are considered a proprietary software. To gain information about the laws
regarding the use of these fonts, please visit www.fontiran.com
---------------------------------------------------------------------
This set of fonts are used in this project under the license: (H9KGPQM6)
---------------------------------------------------------------------
*/
  font-family: "IRANSansX";
  src: local("IRANSansX-Bold"),
    url(../Fonts/IRANSansXFaNum-Bold.ttf) format(truetype);
  src: url("../Fonts/IRANSansXFaNum-Bold.woff2") format("woff2");
  src: url("../Fonts/IRANSansX-Bold.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #eeeeee;
}
:root {
  --primary_title_color: #546e7a;
}

.header--style {
  position: sticky;
  top: 0;
  padding: 2rem;
  background-color: navy;
  width: 1280px;
  margin: 0 auto;
  border-radius: 8px;
  align-items: center;
  z-index: 1000;
}

.logo-title {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}
.log {
  width: 6rem;
  height: 6rem;
}
.slogan {
  font-size: 1.5rem;
  color: #fafafa;
}
.radspa {
  font-size: 4rem;
  color: white;
  text-align: center;
  text-decoration: none;
}

.home {
  display: block;
  position: fixed;
  right: 2rem;
  bottom: 1rem;
}

.suggested_services {
  width: 80rem;
  margin: 3rem auto;
  font-size: 30px;
  color: var(--primary_title_color);
  background-color: #fafafa;
  box-shadow: 2px 2px 8px #cfd8dc;
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
}

.information {
  background-color: #fff;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  width: 80rem;
  margin: 0 auto;
}

.p1,
.p2,
.p3,
.p4,
.p5 {
  width: 80rem;
  margin: 2rem auto;
  padding: 0 2rem;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80rem;
  background-color: #fafafa;
  border-radius: 15px;
  margin: 3rem auto;
  padding: 1rem;
}

p.call {
  margin-top: 2px;
}

.tellmail--container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.tellmail1 {
  text-decoration: none;
  color: var(--primary_title_color);
}

.tellmail1:hover {
  color: black;
}

.address {
  color: var(--primary_title_color);
  text-decoration: none;
  margin-top: 1rem;
}

.address:hover {
  color: #009688;
}

.path {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #ab47bc;
  display: flex;
  align-items: end;
  transition: all 0.2s;
}

.arrow_up {
  width: 2rem;
  margin-right: 0.3rem;
}

.contact:has(.path:hover) .address {
  transform: scale(1.1);
  transition: all 0.2s ease-in 20ms;
}

/* Responsive */

@media screen and (max-width: 1280px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .contact,
  .information,
  .p1,
  .p2,
  .p3,
  .p4,
  .p5 {
    width: 960px;
  }
}

@media only screen and (max-width: 992px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .contact,
  .information,
  .p1,
  .p2,
  .p3,
  .p4,
  .p5 {
    max-width: 720px;
  }
}

@media only screen and (max-width: 768px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .contact,
  .information,
  .p1,
  .p2,
  .p3,
  .p4,
  .p5 {
    max-width: 100%;
  }
  .slogan {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .contact,
  .information,
  .p1,
  .p2,
  .p3,
  .p4,
  .p5 {
    max-width: 100%;
  }
.header--style ,
  .logo-title {
    height: auto;
  }

  .log {
    height: 3rem;
  }
  .radspa {
    font-size: 2rem;
  }
  
  .slogan {
    display: block;
    font-size: 0.75rem;
  }
  .main--title_h {
    font-size: 1.5rem;
  }
}
