/*=============== responsive for larger than 550px screen ===============*/
/*=============== responsive for larger than 550px screen ===============*/
@media (min-width: 300px) {}

@media (min-width: 550px) {}

/*=============== responsive for larger than 650px screen ===============*/

@media (min-width: 650px) {
  .carousel {
    height: 65vh;
  }
}

/*=============== responsive for larger than 768px screen  ===============*/
@media (min-width: 768px) {
  main .desktop {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  main .img-mobile {
    display: none;
  }

  main .logo-yasaman {
    width: 150px;
    left: calc(50% - 75px);
  }

  main .content {
    top: 40vh;
  }

  main .content .a-content {
    font-size: var(--fs-base)
  }

  main .content p {
    font-size: larger;
  }

  main .social-link {
    left: 40px;
    top: 70px;
  }

  .welcome {
    padding: 0 0 40px 0;
  }

  .welcome .content {
    padding: 40px 20% 40px 20%;
  }

  .masir {
    position: relative;
    height: 83vh;
    width: 100%;
    padding: 50px 5px;
    z-index: 105;
  }

  .masir h2 {
    background-color: var(--background-tertiary);
    position: absolute;
    padding: 40px 20px;
    width: 40vw;
    left: 30vw;
    top: 0px;
    background: none;
    z-index: 120;
  }

  .masir>img {
    position: absolute;
    width: 50vh;
    height: 50vh;
    right: 52vw;
    margin: 0;
    top: 150px;
    z-index: 105;
  }

  .masir .content {
    padding: 20px;
    position: static;
    float: right;
    margin: 70px 5vw 0 0;
    width: 42vw;
  }

  .masir p,
  .gam p {
    padding: 20px 10px;
  }

  .gam {
    position: relative;
    margin: 0;
    z-index: 105;
  }

  .gam img {
    position: relative;
    left: 0;
    width: 100vw;
    height: 65vh;
  }

  .gam .content {
    position: relative;
    text-align: right;
    padding: 80px;
  }

  .gam .content h2,
  .gam .content em {
    text-align: right;
  }

  .sorat {
    height: 63vh;
    z-index: 105;
  }

  .sorat .content {
    position: absolute;
    width: 80vw;
    top: 7vh;
    left: 10vw;
  }

  .sorat img {
    position: absolute;
    width: 87vw;
    height: 57vh;
    left: 6vw;
    top: 55vh;
    z-index: 105;
  }

  .khas {
    position: relative;
    margin-top: 60vh;
    height: 67vh;
    z-index: 10;
  }

  .khas img {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0%;
    bottom: 0;
  }

  .khas .content {
    width: 27vw;
    top: 0vh;
    float: left;
    left: 8vw;
  }

  .bottom-wrapper {
    position: relative;
    background-color: var(--background-secondary);
    width: 100%;
    height: 90vh;
    padding: 10vh 0;
    display: flex;
    margin: 0;
    z-index: 50;
  }

  .bottom-wrapper img {
    position: relative;
    margin-top: 3vh;
    width: 45%;
    height: 65vh;
    margin-left: 4%;
  }

  .bottom-wrapper .content {
    position: sticky;
    top: 0px;
    background-color: var(--background-secondary);
    width: 30%;
    direction: rtl;
    padding: 20px 10px;
    margin: 5vh 0% 0 10%;
    font-size: 30px;
  }

  .jahan {
    position: relative;
    padding: 15vh 0 0vh 0;
    height: 120vh;
  }

  .img-jahan {
    display: flex;
    margin: 0vw 0 0 3%;
    height: 62vh;
  }

  .img-jahan .img1 {
    width: 60vw;
  }

  .img-jahan .img2 {
    margin-left: 3%;
    width: 29vw;
  }

  .jahan .content {
    padding: 0;
  }

  .jahan .content .right {
    float: right;
    margin-right: 7vw;
    margin-top: 0px;
    padding: 80px 40px;
    background-color: var(--background-tertiary);
  }

  .jahan .content .right em {
    margin-top: -20px;
  }

  .jahan .content .left {
    position: absolute;
    width: 35vw;
    left: 12vw;
    margin: 0px 0 0 0vw;
    padding: 20px;
    background-color: var(--background-tertiary);
  }

  .home {
    height: 95vh;
  }

  .home img {
    height: 100%;
    width: 100%;
  }

  .carousel {
    height: 75vh;
  }

  .carousel .list .item .content {
    position: absolute;
    width: 65vw;
    left: 12vw;
    top: 14vh;
    bottom: 14vh;
    margin: 0;
    padding: 50px;
    color: var(--black);
  }

  .carousel .list .item .des {
    font-size: var(--fs-base);
  }

  .pish .content {
    text-align: center;
    width: 50vw;
    margin-left: 25vw;
    padding: 10px 10px 50px 10px;
  }

  .pish img {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 20px;
    height: 43vh;
  }

  .background-image>img {
    height: 120vh;
  }

  .background>.content {
    width: 35vw;
    margin-top: 30vh;
    left: 13vw;
  }

  .background>.content p {
    padding: 50px;
  }
}

/*=============== responsive for larger than 1024px screen  ===============*/
@media (min-width: 1024px) {

  .side-menu {
    overflow: visible;
  }

  .submenu,
  .submenu2,
  .submenu3,
  .submenu4 {
    display: none;
    position: absolute;
    z-index: 100;
    padding-top: 100px;
    right: 250px;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--background-tertiary);
  }

  main .social-link {
    left: 40px;
    top: 70px;
  }

  main .content {
    top: 47vh;
  }

  .welcome {
    padding: 0 0 40px 0;
  }

  .welcome .content {
    padding: 0 25% 40px 25%;
  }

  .masir {
    position: static;
    height: 73vh;
    width: 100%;
    padding: 50px 5px;
  }

  .masir h2 {
    position: relative;
    padding: 20px;
    width: 20vw;
    right: 3vw;
    top: 15vh;
    z-index: 105;
  }

  .masir>img {
    position: relative;
    width: 50vh;
    height: 50vh;
    top: 0;
    margin-top: -130px;
    margin-right: -25vw;
    z-index: 105;
  }

  .masir .content {
    position: relative;
    float: left;
    width: 30vw;
    left: 5vw;
    top: -40vh;
    margin: 0;
  }

  .masir p,
  .gam p {
    padding: 20px 10px;
  }

  .gam {
    position: relative;
    height: 50vh;
    margin: 0;
    z-index: 10;
  }

  .gam img {
    position: absolute;
    left: 0;
    top: 0;
    width: 49vw;
    height: 100%;
    z-index: 10;
  }

  .gam .content {
    position: relative;
    width: 45vw;
    padding-top: 50px;
    margin: 0px 0vw 0px 0;
    z-index: 105;
  }

  .gam .content h2 {
    text-align: right;
  }

  .sorat {
    height: 84vh;
    z-index: 105;
  }

  .sorat .content {
    width: 60vw;
    left: 20vw;
  }

  .sorat img {
    position: absolute;
    width: 82vw;
    height: 90vh;
    left: 9vw;
    margin-top: 8vh;
    z-index: 105;
    padding-bottom: 120px;
  }

  .khas {
    position: relative;
    margin-top: 60vh;
    height: 57vh;
    z-index: 10;
  }

  .khas img {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0%;
    bottom: 0;
  }

  .khas .content {
    position: relative;
    text-align: right;
    width: 40vw;
    float: left;
    top: 50px;
    left: 0vw;
  }



  .bottom-wrapper {
    position: relative;
    background-color: var(--background-secondary);
    width: 100%;
    height: 90vh;
    padding: 10vh 0;
    display: flex;
    margin: 0;
  }

  .bottom-wrapper img {
    position: relative;
    margin-top: 3vh;
    width: 45%;
    height: 65vh;
    margin-left: 4%;
  }

  .bottom-wrapper .content {
    position: relative;
    background-color: var(--background-secondary);
    width: 35%;
    direction: rtl;
    text-align: right;
    padding: 20px 10px;
    margin: 20vh 0% 0 10%;
  }

  .bottom-wrapper .content h2,
  .bottom-wrapper .content .em {
    text-align: right;
  }

  .jahan {
    position: relative;
    padding: 15vh 0 0vh 0;
    height: 120vh;
  }

  .img-jahan {
    display: flex;
    margin: 0vw 0 0 3%;
    height: 62vh;
  }

  .img-jahan .img1 {
    width: 60vw;
  }

  .img-jahan .img2 {
    margin-left: 3%;
    width: 29vw;
  }

  .jahan .content {
    padding: 0;
  }

  .jahan .content .right {
    float: right;
    margin-top: 0px;
    padding: 80px 40px;
    background-color: var(--background-tertiary);
  }

  .jahan .content .right em {
    margin-top: -20px;
  }

  .jahan .content .left {
    position: absolute;
    width: 35vw;
    margin: 60px 0 0 0vw;
    padding: 20px;
    background-color: var(--background-tertiary);
  }

  .home {
    height: 100vh;
  }

  .home img {
    height: 100%;
    width: 100%;
  }

  .carousel {
    height: 100vh;
  }

  .carousel .list .item .content {
    left: .5vw;
    width: 41vw;
    height: 73vh;
  }



  #next {
    left: calc(41.5vw);
    bottom: calc(13vh + 41px);
  }

  #prev {
    left: calc(41.5vw);
    bottom: 13vh;
  }


  .pish {
    padding: 5vh 0 10vh 0;
  }

  .pish .content {
    text-align: center;
    width: 50vw;
    margin-left: 25vw;
    padding: 10px 10px 50px 10px;
  }

  .pish .content h3 {
    font-size: 55px;
  }

  .pish img {
    width: 90%;
    margin-left: 4%;
    margin-bottom: 20px;
    height: 55vh;
  }
}

/* ====== min width 1366 ====== */
@media (min-width: 1200px) {


  .welcome {
    height: 70vh;
  }

  .welcome .content {
    padding: 0 25% 40px 25%;
  }

  .masir {
    position: static;
    height: 90vh;
    width: 100%;
    z-index: 10;
  }

  .masir h2 {
    position: relative;
    padding: 20px;
    width: 20vw;
    top: 150px;
    background: none;
    z-index: 105;
  }

  .masir>img {
    position: relative;
    width: 62vh;
    height: 62vh;
    left: 40vw;
    top: 10vh;
    z-index: 105;
  }

  .masir .content {
    position: relative;
    float: left;
    width: 30vw;
  }

  .masir p,
  .gam p {
    padding: 0px;
  }

  .gam {
    position: relative;
    height: 65vh;
    margin: 0;
    z-index: 10;
  }

  .gam img {
    position: absolute;
    left: 0;
    width: 49%;
    height: 100%;
    z-index: 10;
  }

  .gam .content {
    padding-top: 100px;
  }

  .gam .content h2 {
    text-align: right;
  }

  .sorat {
    height: 96vh;
    z-index: 105;
  }

  .sorat .content {
    width: 40vw;
    left: 30vw;
    top: 10vh;
  }

  .sorat img {
    position: absolute;
    width: 74%;
    height: 107vh;
    left: 13%;
    margin-top: 10vh;
    z-index: 105;
    padding-bottom: 20vh;
  }

  .khas {
    position: relative;
    margin-top: 70vh;
    height: 65vh;
    z-index: 10;
  }

  .khas img {
    position: absolute;
    width: 50.5%;
    height: 100%;
    top: 0;
    right: 0%;
    bottom: 0;
  }

  .khas .content {
    text-align: right;
    padding-left: 10vh;
  }

  .khas .content h3,
  .khas .content .em {
    font-size: var(--fs-3);
    text-align: right;
  }




  .bottom-wrapper {
    position: relative;
    background-color: var(--background-secondary);
    width: 100%;
    height: 110vh;
    padding: 10vh 0;
    display: flex;
    margin: 0;
  }

  .bottom-wrapper img {
    position: relative;
    margin-top: 4vh;
    width: 40%;
    height: 82vh;
    margin-left: 9.5%;
  }


  .jahan {
    position: relative;
    padding: 15vh 0 0vh 0;
    height: 140vh;
  }

  .img-jahan {
    display: flex;
    width: 100%;
    margin: 0vw 0 0 9%;
    height: 80vh;
  }

  .img-jahan .img1 {
    width: 53%;
  }

  .img-jahan .img2 {
    margin-left: 2%;
    width: 26%;
  }

  .jahan .content .right {
    float: right;
    margin-right: 7vw;
    margin-top: 0px;
    padding: 80px 40px;
    background-color: var(--background-tertiary);
  }

  .carousel .list .item .content {
    left: 6.5vw;
    width: 35vw;
    height: 73vh;
  }


  #next {
    left: calc(41.5vw);
    bottom: calc(13vh + 41px);
  }

  #prev {
    left: calc(41.5vw);
    bottom: 13vh;
  }


  .pish {
    padding: 10vh 0 10vh 0;
  }

  .pish .content {
    text-align: center;
    width: 50vw;
    margin-left: 25vw;
    padding: 50px 10px;
  }

  .pish img {
    width: 82%;
    height: 70vh;
    margin-left: 9%;
    margin-bottom: 20px;
  }


  .footer-col {
    width: calc(100% / 4 - 10px);
  }

  .footer-logo img {
    position: relative;
    width: 150px;
    margin-right: calc(50% - 75px);
    margin-top: calc(50% - 100px);
  }
}