.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: rgb(141, 214, 57); */

  height: 9.6rem;
  padding-right: 4.8rem;
  z-index: 2;
  position: absolute;
  width: 100%;
  position: fixed;
  background-color: white;
}
/* mobile nav */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.logo {
  height: 8rem;
  padding-left: 5rem;
}
.logo-bottom {
  height: 8rem;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 2.3rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #93d051;
  text-decoration: underline;
}

/*Section how*/
.section-how {
  padding: 9.6rem 0;
  padding-top: 0rem;
  padding-bottom: 0;
}

.start-img {
  width: 100%;
  z-index: 1;
  position: absolute;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.people-img-box {
  position: relative;
  display: block;
  align-items: center;
  justify-content: center;
}
.people-img-box::before,
.people-img-box::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img {
  width: 100%;
}

.people-header {
  text-align: center;
}

.section-people {
  padding: 0rem 0;
  padding-top: 10rem;
}

.people-text {
  text-align: center;
  font-weight: 400;
  font-size: 3rem;
}

.section-bar {
  margin-top: 12rem;
  padding: 2.3rem 0;
  text-align: center;
}

.bar-img {
  width: 80%;
}
.bar-img-top {
  /* width: 95%;
  display: flex;
  position: absolute;
  margin-top: 15%;
  align-content: center;
  margin-left: 3%; */
  width: 40%;
}

/*Footer*/
.footer {
  padding: 12.3rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}
.social-icon-down {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/* Slider */
.slider {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  align-items: center;
}
.slide-img {
  width: 60%;
  display: inline;
}
.slider-image-container {
  align-items: center;
  display: flex;
}

.slider-part {
  text-align: center;
}
.slider-button {
  width: 10rem;
}

.about-img {
  width: 100%;
}
.roz-img {
  width: 100%;
}
#roz-img-section {
  padding-bottom: 2rem;
}
/* End slider */

#Oferta {
  /* border-top: 1px solid #eee; */
  /* padding-top: 5rem; */
  padding-bottom: 0;
}

#Onas {
  /* border-top: 1px solid #eee; */
  /* padding-top: 5rem; */
  padding-bottom: 0;
}

#Rozwiazanie {
  /* border-top: 1px solid #eee; */
  /* padding-top: 5rem; */
  padding-bottom: 0;
}

/* Startowe ustawienie wyświetlania zdjęć */

#first-image-phone {
  display: none;
}
#reply-first-image-phone {
  display: none;
}
#second-image-phone {
  display: none;
}
#three-image-phone {
  display: none;
}

.address-col {
  margin: auto auto;
}

.nav-col {
  margin: auto auto;
}

#phone-rozwiazanie {
  display: none;
}

/* Media query */
@media (max-width: 1636px) {
  .logo {
    height: 7rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 2rem;
  }
}
@media (max-width: 1482px) {
  .logo {
    height: 6rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.8rem;
  }
}
@media (max-width: 1372px) {
  .logo {
    height: 5rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.5rem;
  }
  .social-icon {
    height: 1.8rem;
    width: 1.8rem;
  }
}
@media (max-width: 1250px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 1144px) {
  html {
    font-size: 53.3%;
  }
}
@media (max-width: 1156px) {
  html {
    font-size: 50%;
  }
  .grid--footer {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
@media (max-width: 925px) {
  /* html{
    font-size: 46.6%;
  } */

  .bar-img-top {
    width: 65%;
  }
  .logo {
    height: 7rem;
  }
  .social-icon {
    height: 2.4rem;
    width: 2.4rem;
  }
  .btn-mobile-nav {
    display: block;
  }
  .main-nav {
    background-color: hwb(0 100% 0% / 0.897);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;

    /* Hide navigation */
    /* display: none; */
    /* 1 Hide it visualy */
    opacity: 0;
    /* 2 Make it uneacesable to mo=ouse and keyboard */
    pointer-events: none;

    /* 3  */
    visibility: hidden;
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }
  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem;
  }

  .html-over {
    overflow: hidden;
  }
  .grid--footer {
    grid-template-columns: 2.5fr 1fr 1fr;
  }
}
@media (max-width: 805px) {
  html {
    font-size: 46.6%;
  }
  .grid {
    column-gap: 5rem;
  }
  .people-text {
    font-size: 2.5rem;
  }
}

@media (max-width: 706px) {
  html {
    font-size: 43.4%;
  }
}

@media (max-width: 601px) {
  .grid--3-cols {
    grid-template-columns: repeat(1, 1fr);
  }
  .people-img-box {
    width: 60%;
    margin: 0 auto;
  }
  .people-text {
    font-size: 3.5rem;
  }
  .logo {
    height: 5rem;
    padding-left: 3rem;
  }
}

@media (max-width: 559px) {
  .grid {
    column-gap: 2rem;
  }
}
/* @media(max-width: 862px){
  html{
    font-size: 43.3%;
  }
}
@media(max-width: 801px){
  html{
    font-size: 40%;
  }
}
@media(max-width: 740px){
  html{
    font-size: 36.6%;
  }
}
@media(max-width: 677px){
  html{
    font-size: 33.3%;
  }
}
@media(max-width: 616px){
  html{
    font-size: 30%;
  }
  
}
@media(max-width: 555px){
  html{
    font-size: 26.6%;
  }
} */
@media (max-width: 492px) {
  .header {
    padding-right: 2rem;
  }
  .logo {
    padding-left: 2rem;
  }
  #pc-rozwiazanie {
    display: none;
  }
  #phone-rozwiazanie {
    display: block;
  }
  #first-image-pc {
    display: none;
  }
  #first-image-phone {
    display: block;
  }
  #reply-second-image-pc {
    display: none;
  }
  #second-image-pc {
    display: none;
  }
  #reply-first-image-phone {
    display: block;
  }
  #three-image-pc {
    display: none;
  }
  #four-image-pc {
    display: none;
  }
  #second-image-phone {
    display: block;
  }
  #five-image-pc {
    display: none;
  }
  #six-image-pc {
    display: none;
  }
  #three-image-phone {
    display: block;
  }
  .grid--3-cols {
    grid-template-columns: repeat(1, 1fr);
  }
  .people-img-box {
    width: 70%;
    margin: 0 auto;
  }

  .footer {
    padding: 0;
  }
  .grid--footer {
    grid-template-columns: 1fr 1fr;
  }
  /* .logo {
    height: auto;
    width: 100%;
  } */
  /* #logo-up {
    width: 50%;
  } */

  .social-links {
    display: none;
  }
  .address-col {
    margin: 0 auto;
    padding-left: 40%;
  }

  .nav-col {
    margin: 0 auto;
    padding-right: 25%;
  }
  /* .bar-img-top {
    margin-top: 20%;
  } */
  .logo-col {
    grid-column: 1 / span 2;
    padding-top: 4rem;
  }
  .footer {
    padding-bottom: 6rem;
  }
}

@media (max-width: 399px) {
  html {
    font-size: 33.3%;
  }
}
@media (max-width: 300px) {
  html {
    font-size: 30%;
  }
  .nav-col {
    padding-right: 0%;
  }
  .header {
    padding-right: 1rem;
  }
  .logo {
    padding-left: 1rem;
  }
}
