
* {
    font-family: 'Roboto';
    color: #3e175a;
    box-sizing: border-box;
}

nav {
  text-align: center;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1em;
  float: left;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  color: #3e175a;
  background: #fff;
  transition: all ease 400ms;
  -o-transition: all ease 400ms;
  -ms-transition: all ease 400ms;

  z-index: 100;
  border-bottom: #3e175a dashed 1px;
}

nav a {
    font-weight: 400;
    color: #3e175a;
    padding: 1em .5em;
    font-size: .85rem;
    line-height: 1em;

  transition: all ease 400ms;
  -o-transition: all ease 400ms;
  -ms-transition: all ease 400ms;
}

nav a:hover {
  background: #3e175a;
  color: #fff;
  border-radius: .5em;
}


nav.active {
  position: fixed
}

header, #about {
  display: flex;
  justify-content: center;
}
section, header {
  width: 100%;
  padding: 4em 2em;
  float:left;
  overflow: hidden;
}

header .logo, h1, h2, p {
  margin: auto;
  position: relative;
}

.logo img {
    max-width: 50em;
    width: 80%;
}

h1 {
  font-size: 1.25rem;
}
h1, h2, p {
   line-height: 1.5em;
    max-width: 20em;
    text-align: center;
}


h2 {
    max-width: 10em;
}



h2 small {
    padding-left: .5em;
    font-weight: 100;
    font-size: .5em;
}


#about {
  background: #3e175a;
}


#iw-cms-3 {
  background: #eaad65;
  color: #fff;
}



#iw-cms-3 p {
  font-weight: 400;
  font-size: 1.5em;
  padding: 1em 0;
}



#iw-cms-3 * {
  color: #fff;
}


#iw-cms-3 h2 {
  font-size: 3em;
    max-width: 10em;
}


#iw-cms-3 h2:before {
    content: "JIŽ BRZY";
    color: #eaad65;
    background: #fff;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    height: 1rem;
    line-height: 1rem;
    position: absolute;
      top: -1em;
      left: -6rem;
    width: 10rem;
    letter-spacing: .1em;
    transform: rotate(-45deg);
}


#about * {
    color: #fff;  
  }


#about strong {
    color: #fff;
    letter-spacing: .1em;  
}


@media only screen and (min-width: 568px) {

#iw-cms-3 h2 {
  font-size: 4em;
}

  nav a {
      padding: .75em 1.5em;
      font-size: 1rem;
  }
}

@media only screen and (min-width: 768px) {
    
section, header {
  
  min-height: calc(100vh - 4.5em);
}

#about h1 {
  font-size: 2rem;
}

#iw-cms-3 h2 {
  font-size: 5em;
}

  section {
    display: flex;
    justify-content: center;
  }


#iw-cms-3 p {
  font-size: 2em;
}

}


@media only screen and (min-width: 1200px) {
    

  #iw-cms-3 h2:before {
      width: 8rem;
      padding: 1rem 2rem;
      right: 3rem;
      bottom: 0;
      left: unset;
      top: unset;
  }

}