@media (max-width:84em ) {
/* 1344/16=84em */

.container{
  padding-left: 2rem;
  padding-right: 2rem;
}

.grid-4-col {
  gap: 2rem;
}
}



/***************************
Poniżej 944px (tablets)
***************************/
@media (max-width: 59em) {
  /* 944 / 16 = 59em /*/
  /* MOBILE NAVIGATION */

  .first-stripe-par {
    display: none;
  }
  
.btn-mobile-nav {
  display: block !important;
  z-index: 9999;
  position: absolute;
  right: 2%;
  top: 0;
}


  .main-nav {
  background-color:#fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
    /* 1) Hide it visually */
  opacity: 0;
    /* 2) Make it inaccessible to mouse and keyboard */
  pointer-events: none;
    /* 3) Hide it from screen readers */
  visibility: hidden;
  z-index: 9999;
	}

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0%);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    }
    
  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
    }


  .header-navi {
  flex-direction: column;
  gap: 4.8rem;
  font-size: 2.4rem !important;
  /* z-index: 99999999; */
  }

  .navi-item:link,
  .navi-item:visited {
  font-size: 4.8rem;
  }

  .navi-btn {
    width: 100%;
  }

  .grid-2-col,
  .grid-4-col {
    grid-template-columns: 1fr !important;
  }

  .slide {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-height: 60rem;
    position: relative !important;
  }

  .image, .text {
    height: 50% !important;
    min-height: 25rem !important;
    max-height: 40rem !important;
  }

  .text {
    padding: 1rem !important;
  }

  .header-logo {
    margin-top: 10%;
    height: 6rem !important;
    width: 23rem !important;
  }

  .second-stripe {
    margin-top: 0 !important;
  }

  .navigation {
    display: none !important;
  }

  .arrows {
    position: absolute !important;
    top: 60% !important;
    left: 37% !important;
  }

  .img-text {
    font-size: 2.5rem !important;
  }

    }


  
  
  
  
  


  