:root {
  font-size: 62.5%;
}

body {
  font-family: 'LatoRegular', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.6rem;
  color: #222;
  background: #F5F4F4;
}

.sr-only {
  display: none;
}

/* Menu */

header {
  display: flex;
  position: fixed;
  left: 0%;
  right: 80%;
  top: 0%;
  bottom: 0%;

  background: #FBF7FA;
  box-shadow: 0 6px 30px 0 rgba(255, 255, 255, 0.9), 0 6px 30px 0 rgba(209, 205, 199, 0.7);

  flex-direction: column;
  align-items: center;
}

#hamburgerMenuToogle1 {
  display: none;
}

.logoContainer {
  width: 40%;
  max-width: 500px;
  margin: 20% 0;
}

.logo {
  width: 100%;
}

.menu-toggle {
  display: none;
}

nav {
  font-size: 1.2em;
}

.closeMenuIcon {
  display: none;
}

ul {
  margin: 0;
  padding: 0;
}

.outterList {
  margin: 3vw 0;
}

li {
  display: block;
  font-family: 'LatoRegular';
  list-style-type: none;
  margin: 0.7em 0;
}

a {
  text-decoration: none;
  color: #222;
}

.listTitle {
  font-family: 'LatoBold', Helvetica, Arial, sans-serif;
}

@media screen and (max-width:750px) {
  header {
    position: fixed;
      left: 0;
      top: 0;
      right: 0;
      bottom: 90%;
      z-index: 100;
    width: 100%;
    display: block;
    background: #FBF7FA;
  }

  .logoContainer {
    display: block;
    width: 20%;
    position: absolute;
      top: 50%;
      left: 10%;
      transform: translateY(-50%);
    margin: 0;
  }

  .menuToggle {
    display: block;
    text-indent: -99999px;
    width: 26px;
    height: 40px;
    position: absolute;
      top: 50%;
      right: 10%;
      transform: translateY(-50%);
    }

  .menuToggle::before, .menuToggle::after {
    content: "";
    position: absolute;
      top: 0
      left: 0;
      display: block;
    width: 26px;
    height: 3px;
    background-color: #303030;
    transition: all 0.3s;
  }

  .menuToggle::before {
    transform: translateY(15px);
  }

  .menuToggle::after {
    transform: translateY(23px);
  }

  nav {
    display: none;
  }

  #navList {
    display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    margin-top: 10vw;
  }

  .outterList {
    margin: 10vw 0;
  }

  #hamburgerMenuToogle1:checked ~ nav {
      display: flex;
        flex-direction: column;
        justify-content: flex-start;
      position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
      width: 100vw;
      height: 150vw;
      background: #FBF7FA;
      border-radius: 5px;
      font-size: 2rem;
    }

  #hamburgerMenuToogle1:checked ~ .menuToggle::before {
    transform: translate(0, 20px) rotate(45deg);
  }

  #hamburgerMenuToogle1:checked ~ .menuToggle::after {
    transform: translate(0, 20px) rotate(-45deg);
  }

}

/* Main */

main {
  display: block;
  position: absolute;
  left: 20%;
  right: 0%;
  top: 0%;
  padding: 0 10%;;
}

article {
  margin: 10% 10% 0 10%;
}

.oferta {
  /* Styl dla oferty na liscie */
  margin: 2vw 0;
  padding: 2vw;
  background: #FBF7FA;
  box-shadow: 6px 6px 20px 10px rgba(209, 205, 199, 0.20);
}

.oferta:hover {
  box-shadow: 6px 6px 30px 20px rgba(209, 205, 199, 0.20);
}

.postMeta {
  color: #7E8085;
}

.opis {
  margin-top: 2vw;
}

.otwartaOferta a {
  /* Styl dla linków oferty otwartej*/
  color: #A11D70;
}

.readMore {
  color: #A11D70;
}

@media screen and (max-width: 750px) {
  main {
    display: block;
    position: absolute;
      top: 15%;
      left: 0;
      right: 0;
      bottom: 0;
  }

  article {
    margin: 0;
  }

  .oferta {
    padding: 3rem;;
  }
}
