@import "./Global-style.css";
/*
Website Name: MSMCO
Website URI: http://MESHKINSAZE.IR
Author: HOSSEIN NADERKHANI	
Author URI: http://NADERKHANI.ir
*/
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
	@font-face {
			font-family: 'Yekan';
			src: url(../fonts/Yekan.eot); 
			src: url(../fonts/Yekan.eot?#iefix) format("embedded-opentype"), 
				url(../fonts/Yekan.woff) format("woff"), 
				url(../fonts/Yekan.ttf) format("truetype"), 
				url(../fonts/Yekan.svg#BYekan) format("svg");
			font-weight: normal;
			font-style: normal;
}
@font-face {
			font-family: 'IranNastaliq';
			src: url("../fonts/IranNastaliq.eot"); 
			src: url(../fonts/IranNastaliq.eot?#iefix) format("embedded-opentype"), 
				url("../fonts/IranNastaliq.woff") format("woff"), 
				url("../fonts/IranNastaliq.ttf") format("truetype"), 
				url(../fonts/IranNastaliq.svg#BYekan) format("svg");
			font-weight: normal;
			font-style: normal;
}

@font-face {
  font-family: 'Stalemate';
  src: url("../fonts/SellenaBrush-x3JyK.ttf");
font-weight: bolder;
}
html,
body {
	font-family: 'Yekan';
  font-size: 79.5%;
  overflow: hidden;
}
.sidebar-mobile-real {
  display: none;
}
.main {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.sidebar-hover,
.sidebar-real,
.left-part,
.content,
.bg-part {
  position: absolute;
  top: 0;
  height: 100%;
}
.boxfont{
	text-align: justify;
	direction: rtl;
}
/* END OF GLOBAL STYLES */
/* SIDEBAR HOVER STYLES */
.sidebar-hover {
  position: fixed;
  z-index: 100;
  left: 0;
  width: 11.1vw;
}
.sidebar-hover:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.5);
}
.sidebar-hover:hover ~ .sidebar-real {
  max-width: 30rem;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem {
  transform: translateX(0);
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-1 {
  transition-delay: 0.4s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-2 {
  transition-delay: 0.55s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-3 {
  transition-delay: 0.7s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-4 {
  transition-delay: 0.85s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-5 {
  transition-delay: 1s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-6 {
  transition-delay: 1.15s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-7 {
  transition-delay: 1.3s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-8 {
  transition-delay: 1.45s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-9 {
  transition-delay: 1.6s;
}
.sidebar-hover:hover ~ .sidebar-real .nav-elem.nav-10 {
  transition-delay: 1.75s;
}
.sidebar-hover:hover ~ .sections .content {
  transform: translateX(30rem);
}

.pagination {
  z-index: 500;
  position: absolute;
  font-size: 1.6rem;
  top: calc(50vh - 14px);
  left: 0;
  width: 11.1vw;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  /*
  &:before {
    content: "";
    display: block;
    position: absolute;
    top: -0.5rem;
    right: -0.2rem;
    height: 4rem;
    width: 0.5rem;
    border-radius: 5px;
    background: rgba(255,255,255, 0.9);
  }*/
}
.pagination:after {
  content: ">";
  color: #fff;
  position: absolute;
  display: block;
  right: 3rem;
  top: -1.4rem;
  -webkit-animation: navArrowMove 1s infinite;
  animation: navArrowMove 1s infinite;
	font-size: 3rem;
}
.pagination .page {
  color: #fff;
}

/* END OF SIDEBAR HOVER */
/* REAL SIDEBAR (OFF-CANVAS MENU) STYLES */
.sidebar-real {
  z-index: 200;
  left: 11.1vw;
  width: 30rem;
  height: 500rem;
  max-width: 0;
  background: #000;
  overflow: hidden;
  transition: max-width 0.4s 0.2s, transform 0.3s;
  will-change: max-width, transform;
}
.sidebar-real:hover {
  max-width: 30rem;
}
.sidebar-real:hover .nav-elem {
  transform: translateX(0);
}
.sidebar-real:hover .nav-elem.nav-1 {
  transition-delay: 0.4s;
}
.sidebar-real:hover .nav-elem.nav-2 {
  transition-delay: 0.55s;
}
.sidebar-real:hover .nav-elem.nav-3 {
  transition-delay: 0.7s;
}
.sidebar-real:hover .nav-elem.nav-4 {
  transition-delay: 0.85s;
}
.sidebar-real:hover .nav-elem.nav-5 {
  transition-delay: 1s;
}
.sidebar-real:hover .nav-elem.nav-6 {
  transition-delay: 1.15s;
}
.sidebar-real:hover .nav-elem.nav-7 {
  transition-delay: 1.3s;
}
.sidebar-real:hover .nav-elem.nav-8 {
  transition-delay: 1.45s;
}
.sidebar-real:hover .nav-elem.nav-9 {
  transition-delay: 1.6s;
}
.sidebar-real:hover .nav-elem.nav-10 {
  transition-delay: 1.75s;
}
.sidebar-real:hover ~ .sections .content {
  transform: translateX(30rem);
}
.nav-elem {
  position: relative;
  width: 100%;
  height: 18.81rem;
  background-size: cover;
  transition: transform 0.4s 0.3s;
  will-change: transform;
  transform: translateX(-100%);
  cursor: pointer;
}
.sidebar-real .link-box {
  position: relative;
}
.sidebar-real a {
  width: 100%;
  height: 18.81rem;
  display: none;
  position: absolute;
  top: 0;
}
.nav-elem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  transition: background 0.2s;
  will-change: background;
  height: 18.81rem;
  font-size: 32px;
  color: #fff;
  text-shadow: 0 0 6px #000;
  text-align: center;
  line-height: 18.81rem;
}
.link-box:hover .nav-elem::before {
  background: rgba(0, 0, 0, 0.4);
}
.nav-1::before {
  content: "درباره ما";
}
.nav-2::before {
  content: "سازه فضاکار";
}
.nav-3::before {
  content: "سازه های طرح خاص(چادری) ";
}
.nav-4::before {
  content: "ساخت غرفه نمایشگاهی";
}
.nav-5::before {
  content: "دکوراسیون و طراحی داخلی";
}
.nav-6::before {
  content: "پروژه ها";
}
.nav-7::before {
  content: "تماس با ما";
}
.nav-elem.nav-1 {
  background-image: url("../img/menu/About-us-menu.jpg");
}
.section.section-1 .left-part,
.section.section-1 .bg-part {
  background-image: url("../img/About-us1.jpg");
}
.nav-elem.nav-2 {
  background-image: url("../img/menu/Design-menu.jpg");
}
.section.section-2 .left-part,
.section.section-2 .bg-part {
  background-image: url("../img/Design.jpg");
}
.nav-elem.nav-3 {
  background-image: url("../img/menu/sazechadori-menu.jpg");
}
.section.section-3 .left-part,
.section.section-3 .bg-part {
  background-image: url("../img/sazechadori.jpg");
}
.nav-elem.nav-4 {
  background-image: url("../img/menu/construction-menu.jpg");
}
.section.section-4 .left-part,
.section.section-4 .bg-part {
  background-image: url("../img/construction.jpg");
}
.nav-elem.nav-5 {
  background-image: url("../img/menu/decoration-menu.jpg");
}
.section.section-5 .left-part,
.section.section-5 .bg-part {
  background-image: url("../img/decoration.jpg");
}
.nav-elem.nav-6 {
  background-image: url("../img/menu/projects-menu.jpg");
}
.section.section-6 .left-part,
.section.section-6 .bg-part {
  background-image: url("../img/projects.jpg");
}
.nav-elem.nav-7 {
  background-image: url("../img/menu/contact-us-menu.jpg");
}
.section.section-7 .left-part,
.section.section-7 .bg-part {
  background-image: url("../img/Contact-us.jpg");
}

/* REAL SIDEBAR STYLES END */
/* SECTIONS STYLES */
.sections {
  height: 100%;
  transition: margin 0.5s;
  will-change: margin;
}

.section {
  position: relative;
  height: 100%;
}

.left-part,
.bg-part {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  transition: margin 0.8s;
  will-change: margin;
}
.section.section-6 .left-part,
.section.section-6 .bg-part {
  background-position: right;
}

.left-part {
  z-index: 20;
  left: 0;
  width: 11.1vw;
  transition-delay: 1s;
  background-position-x: -6.4vw !important;
}

.content {
  left: 11.1vw;
  width: calc(100% - 11.1vw);
  height: 100%;
  transition: transform 0.4s 0.2s;
  will-change: transform;
}

.section-heading,
.additional-text {
  display: block;
  position: absolute;
  z-index: 700;
  color: #fff;
  line-height: 1;
  transition: transform 0.4s, opacity 0.1s, color 0.3s;
  will-change: transform, opacity;
}
.section-heading.not-visible,
.additional-text.not-visible {
  transform: translateY(-10rem);
  opacity: 0;
  transition: transform 0.4s, opacity 0.2s 0.2s;
}

.section-heading {
  width: 600px;
  top: calc(50vh - 14px);
  left: 0;
  font-size: 50px;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 2rem 9rem;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.section.section.section-6 .section-heading {
  padding: 0 2rem 11rem;
}
.section-heading a,
.section-heading span {
  transition: 0.3s;
}
.section-heading:hover,
.section-heading:hover a,
.section-heading:hover span {
  color: rgba(255, 89, 89, 0.7);
}
.content a {
  text-decoration: none;
}
.content h2 span,
.content h2 img {
  width: 120px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
}
.content h2 img {
  width: 100px;
  right: 20px;
  bottom: 50px;
  border: none;
}
.additional-text {
  width: 434px;
  line-height: 20px;
  top: calc(50vh + 47px);
  left: 2rem;
  font-size: 17px;
  text-transform: uppercase;
  pointer-events: none;
}
.section.section-1 .additional-text {
  line-height: 24px;
  font-size: 16px;
}
.bg-part {
  width: 11.2vw;
}
.bg-part:nth-child(4) {
  transition-delay: 0.4s;
}
.bg-part:nth-child(3),
.bg-part:nth-child(5) {
  transition-delay: 0.6s;
}
.bg-part:nth-child(2),
.bg-part:nth-child(6) {
  transition-delay: 0.8s;
}
.bg-part:nth-child(1),
.bg-part:nth-child(7) {
  transition-delay: 1s;
}
.bg-part:nth-child(8) {
  transition-delay: 1.2s;
}
.bg-part:nth-child(1) {
  background-position-x: -17.6vw !important;
  left: 0;
}
.bg-part:nth-child(2) {
  background-position-x: -28.8vw !important;
  left: 12.5%;
}
.bg-part:nth-child(3) {
  background-position-x: -40vw !important;
  left: 25%;
}
.bg-part:nth-child(4) {
  background-position-x: -51.2vw !important;
  left: 37.5%;
}
.bg-part:nth-child(5) {
  background-position-x: -62.4vw !important;
  left: 50%;
}
.bg-part:nth-child(6) {
  background-position-x: -73.6vw !important;
  left: 62.5%;
}
.bg-part:nth-child(7) {
  background-position-x: -84.8vw !important;
  left: 75%;
}
.bg-part:nth-child(8) {
  background-position-x: -96vw !important;
  left: 87.5%;
}

.scroll-down {
  position: fixed;
  z-index: 500;
  transition: transform 0.5s 1.5s, opacity 0.3s 1.7s, z-index 0.5s 1.5s;
  font-size: 1.5rem;
  text-transform: uppercase;
  bottom: 8rem;
  left: calc(50% - 15rem);
  color: #fff;
  width: 30rem;
  text-align: center;
}
.scroll-down.removed {
  transform: translateY(-20rem);
  opacity: 0;
  z-index: -10;
  transition: transform 0.5s, opacity 0.3s 0.2s, z-index 0.5s;
}
.scroll-down:after {
  content: "";
  position: absolute;
  display: block;
  bottom: -3rem;
  left: calc(50% - 1.5rem);
  width: 2rem;
  height: 2rem;
  border: 0.5rem solid #fff;
  border-left: none;
  border-top: none;
  transform-origin: 50% 50%;
  transform: rotate(45deg);
  -webkit-animation: arrowMove 1.2s infinite;
  animation: arrowMove 1.2s infinite;
}
.logo{
  width: 10vw;
  height: 75px;
  position: fixed;
  top: 60px;
/*  left: 5px;*/
  z-index: 50000;
}
.logo img
{
 width: 100%;
  height: 75px;	
}
.editheder{
	font-size: 40px;
}.edittext{
	top: calc(50vh + 37px);
}
.editheder2{
	font-size: 34px;
}.edittext2{
	top: calc(50vh + 29px);
}

@-webkit-keyframes arrowMove {
  to {
    transform: rotate(45deg) translateY(2rem) translateX(2rem);
    opacity: 0;
  }
}

@keyframes arrowMove {
  to {
    transform: rotate(45deg) translateY(2rem) translateX(2rem);
    opacity: 0;
  }
}
@-webkit-keyframes navArrowMove {
  to {
    transform: translateX(2rem);
    opacity: 0;
  }
}
@keyframes navArrowMove {
  to {
    transform: translateX(2rem);
    opacity: 0;
  }
}
.us {
  position: fixed;
  right: 0;
  z-index: 1000;
  display: grid;
  width: max-content;
  grid-template-columns: 70px 1fr;
  height: 70px;
  background-color: var(--primaryColor);
  border-radius: 10px 0 0 10px;
  text-align: center;
  align-items: center;
  transition: 1s;
  margin-top: 10px;
  transform: translateX(calc(100% - 70px));
}
.callUs {
  top: 50px;
}
.emailUs {
  top: 130px;
}
.locationUs {
  top: 210px;
}
.checkUs {
  top: 290px;
  background-color: #fff;
}
.us:hover {
  transform: translateX(0);
}
.us a {
  text-decoration: none;
}
.checkUs a {
  display: grid;
  grid-template-columns: auto 1fr;
}
.contactUs .checkUs p {
  padding: 0 0 0 10px;
  line-height: 70px;
}
.checkUs img {
  height: 60px;
  padding: 12px;
  place-self: center;
}
.contactUs i {
  width: 70px;
  color: white;
  text-shadow: 0 0 3px #000000;
  font-size: 33px;
  pointer-events: none;
}
.contactUs p {
  transition: 1s;
  color: white;
  text-shadow: 0 0 3px #000000;
  font-size: 17px;
  text-align: center;
  padding: 0 30px 0 10px;
}
.checkUs p {
  color: var(--primaryColor);
  text-shadow: 0 0 3px var(--primaryColor);
}
.top-cont {
  position: absolute;
  top: 40px;
  left: 0;
}
.top-text {
  padding: 20px;
  font-size: 19px;
  line-height: 24px;
  max-width: 70%;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
}
@-moz-document url-prefix() {
  .left-part,
  .bg-part {
    background-position: unset;
    background-attachment: unset;
  }
  .bg-part:nth-child(1) {
    background-position: -11vw;
  }
  .bg-part:nth-child(2) {
    background-position: -22.1vw;
  }
  .bg-part:nth-child(3) {
    background-position: -33.2vw;
  }
  .bg-part:nth-child(4) {
    background-position: -44.3vw;
  }
  .bg-part:nth-child(5) {
    background-position: -55.4vw;
  }
  .bg-part:nth-child(6) {
    background-position: -66.5vw;
  }
  .bg-part:nth-child(7) {
    background-position: -77.6vw;
  }
  .bg-part:nth-child(8) {
    background-position: -88.7vw;
  }
}
@media (max-width: 900px) {
.callUs {
  top: 90px;
}
.emailUs {
  top: 170px;
}
.locationUs {
  top: 250px;
}
.checkUs {
  top: 330px;
}
.logo{
 min-width:95px;
  position: fixed;
  top: 10px;
  right: 4px;
	
}
}
@media screen and (max-width: 755px) {
  .sidebar-hover:hover ~ .sidebar-real {
    max-width: 20rem;
  }
  .sidebar-real {
    z-index: 900;
    left: 11.1vw;
    width: 13rem;
    height: 100vh;
  }
  .sidebar-real a {
    display: block;
    height: 14.28571428571429vh;
  }
  .nav-elem {
    height: 14.28571428571429vh;
  }
  .nav-elem::before {
    height: 14.28571428571429vh;
    font-size: 20px;
    line-height: 14.28571428571429vh;
  }
  .sidebar-hover:hover ~ .sections .content {
    transform: translateX(13rem);
  }
  .sidebar-real:hover ~ .sections .content {
    transform: translateX(13rem);
  }
  .section-heading {
    width: 99%;
    font-size: 23px;
    padding: 7px 2rem 14rem;
  }
  .section-1 .section-heading {
    padding: 7px 2rem 14rem;
  }
  .additional-text {
    width: 62%;
    line-height: 21px;
    top: calc(50vh + 25px);
    font-size: 14px;
  }
  .scroll-down {
    font-size: 1.25rem;
    bottom: 2rem;
  }
	.scroll-down:after {
		width: 1rem;
        height: 1rem;
		bottom: 0rem;
	}
  .us {
    grid-template-columns: 50px 1fr;
    height: 50px;
    transform: translateX(calc(100% - 50px));
  }
  .contactUs i {
    width: 50px;
    font-size: 28px;
  }
  .emailUs {
    top: 143px;
  }
  .locationUs {
    top: 196px;
  }
  .checkUs {
    top: 250px;
  }
  .checkUs img {
    height: 37px;
    padding: 0;
  }
  .contactUs p {
    font-size: 13px;
  }
  .contactUs .checkUs p {
    line-height: 50px;
  }
  .checkUs a img {
    height: 30px;
    padding: 5px;
  }
  .top-cont {
    top: 20px;
  }
  .top-text {
    padding: 12px;
    line-height: 23px;
    max-width: 80%;
  }
  .content h2 img {
    width: 25%;
    right: 10px;
  }
  .content h2 span,
  .content h2 img {
    width: 25%;
    font-size: 10px;
  }
  .pagination {
    font-size: 12px;
  }
  .section.section.section-6 .section-heading {
    padding: 0 2rem 14rem;
  }
  .section.section.section-7 .left-part,
  .section.section.section-7 .bg-part {
    background-position: 15% 50%;
  }
}
@media screen and (max-width: 416px) {
	.section-heading {
    width: 99%;
    font-size: 23px;
    padding: 7px 2rem 16rem;
  }
  .section-1 .section-heading {
    padding: 7px 2rem 16rem;
  }
	 .section.section.section-6 .section-heading {
    padding: 0 2rem 16rem;
  }
	#boxcontactus{
		    padding: 0 2rem 12rem;

	}
	#boxchadori{
line-height: 18px;
	}
	#boxsaze{
line-height: 18px;
	}
}

