@font-face {
  src: url("../assets/fonts/YekanBakh-Bold.ttf");
  font-family: YekanBakh-Bold;
}

* {
  font-family: YekanBakh-Bold;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 2;
  direction: rtl;
}

html {
  height: 100vh;
}

body {
  background-image: url("../assets/images/background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Common Styles */

.logo {
  position: absolute;
  width: 100px;
  height: 50px;
  top: 5%;
  left: 5%;
}

.icon {
  width: 40px;
  height: 40px;
}

.main-logo {
  position: absolute;
  width: 200px;
  height: 100px;
  top: 5%;
  left: 5%;
  cursor: pointer;
}

.nta-logo {
  position: absolute;
  width: 200px;
  height: 100px;
  bottom: 5%;
  right: 0;
}

.show {
  opacity: 1 !important;
  transition: opacity 0.2s ease-in !important;
  pointer-events: auto !important;
}

/* main container styles */

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.main-container-none {
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.604);
}

.btn-container-rows {
  position: absolute;
  top: 30%;
  right: 35%;
  width: 40%;
  height: 50%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  transition: opacity 0.2s ease-out;
}

.btn-container-wrapper {
  position: absolute;
  top: 25%;
  right: 28%;
  width: 55%;
  height: 60%;
  box-shadow: inset 0 0 0 3000px rgba(150, 150, 150, 0.652);
  border: 3px solid rgba(26, 26, 26, 0.693);
  filter: blur(10px);
  border-radius: 15px;
  z-index: 0;
}

.row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.page-link-btn {
  width: 200px;
  height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(223, 222, 222);
  color: #000;
  box-shadow: 5px 10px 10px #888888;
  cursor: pointer;
  transition: 0.2s ease-out;
  font-size: 20px;
}

.page-link-btn:hover {
  background-color: rgba(253, 73, 73, 0.768);
  color: #fff;
  transition: 0.2s ease-in;
}

/* 
end of main style
begining modal styles
*/

.about-modal-container {
  position: relative;
  border: 2px solid #000;
  width: 70%;
  height: 90%;
  z-index: 2;
  padding: 80px;
  background-color: #eeeeeee7;
  border-radius: 10px;
  box-shadow: 5px 10px 15px #727272;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  font-size: 15px;
}

.about-border {
  border-top-left-radius: 20px;
}

.contact-border {
  border-bottom-left-radius: 20px;
}

.products-border {
  border-top-right-radius: 20px;
}

.services-border {
  border-bottom-right-radius: 20px;
}

.about-title {
  text-align: center;
  margin-top: -20px;
}

.about-modal-btn {
  position: absolute;
  left: 5%;
  width: 10%;
  height: 8%;
  background-color: rgb(255, 0, 0);
  color: #fff;
  box-shadow: 5px 10px 10px #888888;
  border: none;
  border-radius: 10px;
  transition: 0.2s ease-out;
  font-size: 15px;
  cursor: pointer;
}

/*
end of about modal
beginnig of service modal
*/

.service-modal-container {
  position: absolute;
  font-size: 12px;
  line-height: 1;
  width: 90%;
  max-height: 95vh;
  z-index: 2;
  padding: 80px;
  background-color: #eeeeeee7;
  border-radius: 10px;
  box-shadow: 5px 10px 15px #727272;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  border: 2px solid #000;
  opacity: 0;
}

.service-modal-btn {
  position: absolute;
  left: 5%;
  width: 10%;
  height: 8%;
  background-color: rgb(255, 0, 0);
  color: #fff;
  box-shadow: 5px 10px 10px #888888;
  border: none;
  border-radius: 10px;
  transition: 0.2s ease-out;
  font-size: 15px;
  cursor: pointer;
}

.service-modal-btn:hover {
  background-color: rgba(253, 26, 26, 0.686);
  color: #fff;
  transition: 0.2s ease-in;
  font-size: 15px;
  cursor: pointer;
}

.service-title {
  font-size: 30px;
  text-align: center;
  margin-top: -20px;
}

/*
end of service modal styles /
beginning contact us modal style
*/

.contact-modal-container {
  position: absolute;
  width: 80%;
  height: auto;
  z-index: 2;
  padding: 80px;
  background-color: #eeeeeee7;
  border-radius: 10px;
  box-shadow: 5px 10px 15px #727272;
  transition: opacity 0.2s ease-out;
  border: 2px solid #000;
  opacity: 0;
  pointer-events: none;
}

.contact-modal-btn {
  position: absolute;
  margin-top: 2%;
  left: 5%;
  width: 10%;
  height: 8%;
  background-color: rgb(255, 0, 0);
  color: #fff;
  box-shadow: 5px 10px 10px #888888;
  border: none;
  border-radius: 10px;
  transition: 0.2s ease-out;
  font-size: 15px;
  cursor: pointer;
}

.contact-modal-btn:hover {
  background-color: rgba(253, 26, 26, 0.686);
  color: #fff;
  transition: 0.2s ease-in;
  font-size: 15px;
}

.contact-icon-box {
  position: absolute;
  bottom: 15%;
  left: 5%;
  margin-top: 5%;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  flex-direction: column;
  direction: ltr;
}

.contact-title {
  font-size: 30px;
  text-align: center;
  margin-top: -20px;
}

.contact-map {
  position: absolute;
  top: 25%;
  left: 5%;
  width: 250px;
  height: 200px;
  border: 0;
}

.contact-job-container {
  position: absolute;
  top: 25%;
  right: 30%;
  width: 45%;
  height: 30%;
  z-index: 5;
  padding: 20px;
  background-color: #1c1c1cea;
  border-radius: 10px;
  box-shadow: 5px 10px 15px #434343;
  transition: opacity 0.2s ease-out;
  border: 2px solid #000;
  opacity: 0;
  pointer-events: none;
  color: #fff;
}

.job-text {
  letter-spacing: 1.5;
  font-size: 18px;
}

.job-email {
  color: #f34f4f;
  margin: auto 5px;
}

.job-modal-btn {
  position: absolute;
  width: 15%;
  height: 20%;
  left: 5%;
  bottom: 10%;
  background-color: rgba(255, 24, 24, 0.981);
  color: #fff;
  box-shadow: 5px 10px 10px #4d4d4d;
  border: none;
  border-radius: 10px;
  transition: 0.2s ease-out;
  font-size: 10px;
  cursor: pointer;
}

.contact-job-btn {
  position: absolute;
  margin-top: 2%;
  left: 17%;
  width: 10%;
  height: 8%;
  background-color: rgb(30, 23, 173);
  color: #fff;
  box-shadow: 5px 10px 10px #888888;
  border: none;
  border-radius: 10px;
  transition: 0.2s ease-out;
  font-size: 15px;
  cursor: pointer;
}

.contact-job-btn:hover {
  background-color: rgba(30, 23, 173, 0.713);
  color: #fff;
  transition: 0.2s ease-in;
  font-size: 15px;
}

/*
end of contact modal style
beginning products button container
*/

.products-btn-container {
  position: absolute;
  top: 30%;
  right: 40%;
  width: 35%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  pointer-events: none;
  opacity: 0;
}

.product-btn {
  text-decoration: none;
  width: 300px;
  height: 80px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(223, 222, 222);
  border: #fff;
  color: #000;
  font-size: 20px;
  box-shadow: 5px 10px 10px #888888;
  cursor: pointer;
  transition: 0.2s ease-out;
}

.product-btn:hover {
  background-color: rgba(253, 73, 73, 0.768);
  color: #fff;
  transition: 0.2s ease-in;
}

#product-to-home-btn {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

#product-printer-btn {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.footer-text {
  position: absolute;
  bottom: 0;
  right: 35%;
  letter-spacing: 2px;
  color: rgb(218, 218, 218);
  font-size: 18px;
  font-weight: 900;
}

/*produdts items*/

.copy-products-container {
  position: absolute;
  width: 80vw;
  height: 75vh;
  top: 15%;
  right: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease-out;
}

.copy-products-container-show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.products-row {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
}

.product {
  width: 20%;
  height: 65%;
  background-color: rgb(223, 222, 222);
  color: #000;
  box-shadow: 5px 10px 10px #888888;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
}

.copy-product-logo {
  width: 100px;
  height: 30px;
}

.copy-product-image {
  width: 35%;
  height: 90%;
  transition: transform 0.2s;
  cursor: pointer;
}

.product-wrapper-none {
  opacity: 0;
  pointer-events: none;
}

.production-title-decrption {
  margin-top: 30px;
  color: rgb(218, 218, 218);
}

.back-to-product-btn-container {
  color: rgb(218, 218, 218);
  cursor: pointer;
  transition: 0.2s ease-out;
  font-size: large;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-top: 10px;
  padding: 5px;
}

.back-to-product-btn-container:hover {
  color: rgba(253, 73, 73, 0.768);
  transition: 0.2s ease-in;
}

.copy-product-container-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-out;
}

#cross-icon {
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #fff;
  width: 50px;
  height: 50px;
  color: #000;
  z-index: 11;
  text-align: center;
  padding-top: 5px;
  cursor: pointer;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease-out;
  opacity: 0;
  pointer-events: none;
}

#cross-icon:hover {
  border: 2px solid rgb(116, 113, 113);
  background-color: rgb(116, 113, 113);
  transition: all 0.1s ease-in;
}

.opened-image {
  overflow: hidden;
  pointer-events: none;
  cursor: pointer;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  overflow: hidden;
  z-index: 11;
  transition: all 0.2s ease-out;
}

/* make responsive */

@media only screen and (max-width: 768px) {
  .logo {
    width: 50px;
    height: 40px;
    top: 5%;
  }

  .main-logo {
    position: absolute;
    width: 80px;
    height: 40px;
    z-index: -6;
    top: 2%;
    left: 2%;
  }

  .nta-logo {
    position: absolute;
    width: 65px;
    height: 25px;
    bottom: 3%;
    right: -8px;
  }

  .footer-text {
    position: absolute;
    font-size: 10px;
    font-weight: 200;
    right: 8%;
    top: 100%;
    letter-spacing: 1.5px;
  }

  /* Main container responsive styles */

  .main-container {
    width: 100%;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .btn-container-rows {
    width: 30%;
    height: 40%;
    top: 10%;
  }

  .page-link-btn {
    width: 200px;
    height: 80px;
    font-size: 20px;
  }

  .btn-container-wrapper {
    top: 5%;
    right: 10%;
    width: 80%;
    height: 90%;
  }

  .about-border {
    border-radius: 0;
  }

  .contact-border {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .products-border {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
  }

  .services-border {
    border-radius: 0;
  }

  /* Contact responsible modal styles*/

  .contact-modal-container {
    font-size: 10px;
    width: 97%;
    height: 95vh;
    padding: 30px 15px;
    overflow: scroll;
  }

  .contact-map {
    top: 30%;
    width: 200px;
    height: 200px;
  }

  .contact-modal-btn {
    font-size: 10px;
    border-radius: 5px;
    width: 10%;
    height: 5%;
    bottom: 3%;
  }

  .contact-icon-box {
    bottom: 13%;
    left: 5%;
    width: 50%;
  }

  .contact-modal-btn:hover {
    font-size: 10px;
  }

  /* Service responsible modal styles */

  .service-modal-container {
    font-size: 8px;
    line-height: 1;
    width: 95%;
    height: 100vh;
    padding: 30px 20px;
    overflow: scroll;
  }

  .service-modal-btn {
    font-size: 10px;
    border-radius: 5px;
    width: 10%;
    height: 5%;
  }

  .service-modal-btn:hover {
    font-size: 10px;
  }

  .service-title {
    font-size: 25px;
    margin-top: -15px;
  }

  /*products button container responsble styles */

  .products-btn-container {
    top: 20%;
    right: 20%;
    width: 10%;
    height: 60%;
  }

  .product-btn {
    width: 200px;
    height: 80px;
    font-size: 15px;
  }

  /* about us modal responsible styles*/

  .about-modal-container {
    font-size: 10px;
    line-height: 1.5;
    width: 95%;
    height: 85vh;
    padding: 30px 20px;
    overflow: scroll;
  }

  .about-modal-btn {
    font-size: 10px;
    border-radius: 5px;
    width: 10%;
    height: 5%;
    bottom: 1.5%;
  }

  .about-title {
    font-size: 25px;
    margin-top: -15px;
  }

  .contact-job-btn {
    position: absolute;
    font-size: 10px;
    border-radius: 5px;
    padding: auto 8px;
    width: 20%;
    height: 5%;
    bottom: 3%;
  }

  .contact-job-btn:hover {
    font-size: 10px;
  }

  .contact-job-container {
    width: 70%;
    height: 35vh;
    right: 15%;
  }

  .job-text {
    font-size: 15px;
  }

  .job-modal-btn {
    width: 25%;
    height: 15%;
    font-size: 13px;
  }

  /*produdts items*/

  .copy-products-container {
    width: 75vw;
    height: 75vh;
    margin-top: 5px;
  }

  .products-row {
    width: 80vw;
    height: 95vh;
  }

  .product {
    margin: 8px;
    padding: 8px;
    width: 100%;
  }

  .copy-product-logo {
    width: 60px;
    height: 20px;
  }

  .copy-product-image {
    width: 40%;
    transition: transform 0.2s;
  }

  .product-title {
    font-size: 12px;
  }

  .production-title-decrption {
    width: 200px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .back-to-product-btn-container {
    font-size: 14px;
  }

  .products-row {
    width: 90vw;
  }

  .middle-products {
    height: 70%;
  }

  #sumsung-copy-machine {
    width: 35%;
  }

  .bottom-product {
    height: 15%;
    width: 70%;
  }

  .copy-product-container-wrapper {
    position: fixed;
    height: 105vh !important;
  }

  .opened-image {
    width: 100vw !important;
  }

  .opened-top-right-image {
    width: 75vw !important;
    margin-top: 15px;
    margin-right: 50px;
  }

  .bottom-opened-image {
    width: 110vw !important;
    position: fixed;
    top: 40%;
  }

  .middle-product-opened-image {
    width: 130vw !important;
    position: fixed;
    top: 40%;
  }

  #cross-icon {
    position: fixed;
    width: 35px;
    height: 35px;
    top: 95vh;
    padding: 0;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) and (orientation: landscape) {
  .icon {
    width: 30px;
    height: 30px;
  }

  .main-container {
    overflow: hidden;
    z-index: -5;
  }

  .nta-logo {
    position: absolute;
    width: 70px;
    height: 50px;
    right: 2%;
    top: 95%;
  }

  .btn-container-rows {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 70%;
    right: 15%;
  }

  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 800px;
  }

  .page-link-btn {
    font-size: 18px;
    width: 160px;
    height: 75px;
  }

  .products-btn-container {
    right: 30%;
    height: 70%;
    top: 15%;
  }

  .about-modal-container {
    height: 90vh;
  }

  .product-btn {
    font-size: 14px;
    width: 200px;
    height: 60px;
  }

  .about-modal-btn {
    height: auto;
  }

  .service-modal-container {
    height: 90vh;
    padding: 25px 25px;
  }

  .service-modal-btn {
    height: auto;
  }

  .contact-icon-box {
    bottom: 10%;
  }

  .contact-map {
    height: 100px;
    width: 250px;
    top: 40%;
  }

  .contact-job-btn {
    width: 15%;
    height: 7%;
    bottom: 2%;
  }

  .contact-modal-btn {
    width: 10%;
    height: 7%;
    bottom: 2%;
  }

  .job-modal-btn {
    width: 15%;
    height: 25%;
  }

  .about-border {
    border-bottom-right-radius: 20px;
  }

  .contact-border {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 20px;
  }

  .products-border {
    border-top-right-radius: 20px;
    border-top-left-radius: 0;
  }

  .services-border {
    border-top-left-radius: 20px;
  }

  .footer-text {
    right: 30%;
    top: 120%;
  }

  .bottom-product {
    height: 30%;
    width: 70%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1100px) and (orientation: landscape) {
  html {
    height: 100vh;
    overflow: hidden;
  }

  .main-logo {
    width: 130px;
    height: 70px;
    left: 3%;
    z-index: -5;
  }

  .nta-logo {
    width: 130px;
    height: 70px;
   bottom: -5% !important;
  }

  .main-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .btn-container-rows {
    width: 70%;
  }

  .icon {
    width: 30px;
    height: 30px;
  }

  .btn-container-rows {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 70%;
    right: 15%;
    height: 65%;
    top: 20%;
  }

  .row {
    width: 30%;
  }

  .btn-container-wrapper {
    width: 50%;
    right: auto;
    height: 75%;
    top: 15%;
  }

  .page-link-btn {
    font-size: 15px;
    width: 140px;
    height: 60px;
  }

  .products-btn-container {
    right: 32%;
    height: 60%;
    top: 22.5%;
  }

  .product-btn {
    font-size: 15px;
    width: 200px;
    height: 55px;
  }

  .about-modal-container {
    overflow: scroll;
    width: 95%;
    height: 95vh;
    padding: 40px;
  }

  .about-modal-btn {
    height: auto;
  }

  .service-modal-container {
    overflow: scroll;
    width: 95%;
    height: 95vh;
    padding: 40px 25px;
  }

  .service-modal-btn {
    height: auto;
  }

  .contact-modal-container {
    overflow: scroll;
    width: 95%;
    height: 95vh;
    padding: 60px 25px;
  }

  .contact-modal-btn {
    height: auto;
  }

  .contact-job-btn {
    height: auto;
    width: 15%;
  }

  .contact-icon-box {
    top: 100%;
    margin-top: 60px;
  }

  .contact-job-container {
    width: 50%;
    height: 50%;
    top: 60%;
    right: 25%;
  }

  .job-modal-btn {
    height: auto;
    font-size: 15px;
  }

  .footer-text {
    top: 120%;
    right: 25%;
    font-size: 15px;
    letter-spacing: 1.5;
    padding: 0;
    margin: 0;
  }
}

@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .copy-products-container {
    margin-top: 15px;
    width: 85vw;
    height: 80vh;
    right: 15%;
  }

  .products-row {
    width: 70%;
  }

  .product {
    padding: 15px 5px;
    width: 30%;
    margin: 8px;
  }

  .copy-product-logo {
    width: 60px;
    height: 20px;
  }

  .middle-products {
    height: 80%;
    margin-bottom: 12px;
  }

  .copy-product-image {
    width: 40%;
    height: 100%;
    transition: transform 0.2s;
  }

  .product-title {
    font-size: 12px;
  }

  .production-title-decrption {
    position: absolute;
    left: 80%;
    top: 0;
    width: 150px;
    font-size: 14px;
  }
  .back-to-product-btn-container {
    position: absolute;
    left: 87%;
    top: 60%;
    width: 100px;
    font-size: 10px;
  }

  .middle-products {
    height: 70%;
    width: 30%;
  }

  .bottom-product {
    height: 30%;
    width: 30%;
  }

  .copy-product-container-wrapper {
    position: fixed;
    max-height: 120vh !important;
  }

  .opened-image {
    width: 60vw !important;
    top: 35%;
    max-height: 90vh;
    margin-top: 25px;
    right: -10%;
    position: fixed;
  }

  .opened-top-right-image {
    max-width: 35vw !important;
    top: 35%;
    max-height: 90vh;
    right: 15%;
    position: fixed;
  }

  .bottom-opened-image {
    margin-top: 40px !important;
    height: 90vh;
  }

  .middle-product-opened-image {
    width: 65vw !important;
    right: -20% !important;
    position: fixed;
    margin-top: 40px !important;
    top: 35%;
  }

  #cross-icon {
    position: fixed;
    width: 35px;
    height: 35px;
    top: 90vh;
    padding: 0;
  }
}
