@media all and (min-width:0px) and (max-width: 450px) {
.climate {
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
}

.climate img:first-child{
  height: 3rem;
  object-fit: contain;
  width: auto;
}

.climate img:last-child{
    width: 13em;
    display: block;
    object-fit: contain;
}

}

@media all and (min-width:0px) and (max-width: 850px) {


  .service_title h1{
  width: 95%;
    margin: 0 auto;
        margin-top: 3rem;  
  }
  .business_cards {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, auto);
    min-width:auto;
    width: 80%;
  }
  .business_cards .card {
    font-size: min(26px, 4vw);
  }
  .business_cards .card .name {
    font-size: min(26px, 6vw);
  
  }
  .card {
    width: 100%;
  }
  
}
@media all and (min-width:0px) and (max-width: 700px) {
nav {
    display: flex;
    flex-direction: column-reverse;
    align-items: inherit;
    font-size: 16px;
  }

  nav .languages {
    margin-top: 0.7rem;
    margin-right: 0.7rem;
  }

  nav .pages{
    margin: 0.7rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-blue);
  }

  nav .pages a{
    margin: 0px;
    text-align: left;
    border-bottom: 1px solid var(--color-blue);
    margin-top: 0.3em;
    padding-bottom: 0.3em;
  }
}
@media all and (min-width:0px) and (max-width: 600px) {
  
  h1 { 
    font-size: min(6rem, 14vw);
  }

  .service_title h1 {
    font-size: min(4rem, 14vw);
  }

  
  
  header {
    padding: 0px;
  }

  .home_section1 {
      height: 780px;
  }

  .home_section1.en {
      height: 700px;
  }

  .home_section1 img {
    height: 59vh; 
    width: auto;
    max-height: auto;
    object-fit: cover; 
    min-height: auto;
    transform: translateY(-3%) translateX(-11%);
  }

  h2{
    font-size: 2em;
  }
 
  .anabasis {
    font-size: 20vw;
  }

 .anabasis_desc{
  max-width: 90%;
    display: block;
    text-align: center;
    margin: 0 auto;
 }

 .home_section1 h2 {
   margin: 0 auto;
    font-size: min(2em, 6.3vw);
    margin-top: 15px;
  }

  .home_aboutus {
    width: 328px;
    margin-top: 115px;
    margin-left: 1em;
    max-width: 85%;
  }
 
  .our_services {
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(3, auto); 
    font-size: min(18px, 4vw);    
  }

  .home_section2 {
    padding: 1rem;
  }

  .aboutus_desc{
    max-width: 90%;
  }

  .notepad_anabasis_text {
    font-size: 2.5em;
  }
 
  .technology_text {
    max-width: 80%;
  }

  .footer_text {
    max-width: 80%;
  }

  .production_images{
    padding: 20px;
  }
  
  .image_grid{
    grid-template-columns: repeat(2, 1fr);
  }

  
  .timeline_img{
    max-width: 1000px;
    width: 100%;
    margin-bottom: 2rem;
  }

  .timeline_img.mobile {
    display: block;
        width: 90%;
    margin: 0 auto;
    margin-bottom: 3rem;
  }
  
  .timeline_img.desktop {
    display: none;
  }

  .service_title .desc {
    max-width: 90%;
  }

  .home_section1 img{
      opacity: 0.5;
  }

body.background.notebooks {
background-position: 50% 19vh;
    background-size: auto 90vh;
}


body.background.calendars {
background-position: calc(50% + 8vh) 16vh;
        background-size: auto 62vh;
}

body.background.cards {
        background-position: 50% 13vh;
        background-size: auto 81vh;
}

body.background.bap {
        background-position: 50% 17vh;
        background-size: auto 81vh;
}

body.background.books {
        background-position: 50% 14vh;
        background-size: auto 81vh;
}
body.background.custom {
        background-position: 50% 17vh;
        background-size: auto 90vh;
}

.footer_address{
  display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 500;
  }

  .footer_address .left {
    text-align: center;
  }

  .footer_address .center {
    text-align: center;
  }

  .footer_address .right {
    text-align: center;
  }

  body.background.calendars::before {
    background-position: calc(50% + 37vw) 19vh;
}

}