@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: 1.2rem;
  background-color: navy;
  width: 80rem;
  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;
}



.education_container {
  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: 1rem;
  border-radius: 8px;
}

.education_title {
  margin: 0 auto;
  font-size: 25px;
}

.video_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6rem;
  width: 80rem;
  margin: 0 auto;
}

.fire_towel ,
.breathe ,
.forward ,
.backache_hamstring {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center; 
}

.fire_towel_video ,
.breathe_video ,
.forward_video ,
.backache_hamstring_video {
  width: 15rem;
  height: auto;
  border-radius: 1rem;
  box-shadow: 2px 2px 10px rgb(240, 239, 239) ;
}


.fire_towel_video:hover ,
.breathe_video:hover ,
.forward_video:hover ,
.backache_hamstring_video:hover {
  box-shadow: 1px 1px 10px #8a9194;
  border-radius: 30px;
  transition: all 100ms ease-in;
  background-color: #eeeeee;
}


.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 {
    width: 960px;
  }

  .video_container {
    display: flex;
    flex-direction: column;
    width: 960px;
  }

  .education_container ,
  .video_container ,
  .fire_towel_video,
  .breathe_video ,
  .forward_video ,
  .backache_hamstring_video {
    display: flex;
    max-width: 960px;
    gap:1.5rem
  }
  
}


@media only screen and (max-width: 992px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .education_container ,
  .contact {
    max-width: 720px;
  }

  .video_container {
    display: flex;
    flex-direction: column;
    max-width: 720px;
  }

  
  
  .fire_towel_video ,
  .breathe_video ,
  .forward_video ,
  .backache_hamstring_video {
    display: flex;
    max-width: 960px;
    gap:1.5rem
  }
  
}


@media only screen and (max-width: 768px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .education_container ,
  .video_container ,
  .contact {
    max-width: 100%;
  }
  .slogan {
    display: none;
  }
  
  
  .fire_towel_video ,
  .breathe_video ,
  .forward_video ,
  .backache_hamstring_video {
    display: flex;
    max-width: 960px;
    gap:1.5rem
  }
}


@media only screen and (max-width: 576px) {
  .header--style,
  .main--title,
  .suggested_services,
  .service_menu,
  .contact {
    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;
  }

  .education_container {
    display: block;
    max-width: 100%;
  }

  .video_container {
    width: 100%;
    display: flex;
    margin: 0 auto;
    height: auto;
    gap: 2rem;
  }
  .fire_towel_video ,
  .breathe_video ,
  .forward_video ,
  .backache_hamstring_video {
  display: block;
  margin: 0 auto;
  width: 50%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 2px 2px 10px gray ;
}
.teaser {
  width: 50%;
  border-radius: 1rem;
  box-shadow: 2px 2px 10px gray ;
  display: block;
  margin: 1rem auto;
}
}
