body{
  padding: 0;
  margin: 0;
  color: #0d7cb4;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.2em;
  letter-spacing: 1px;
}
body > .content{
  overflow: hidden;
}
img{
  max-width: 100%;
  height: auto;
}
a{
  text-decoration: none;
  -moz-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  color: #e91e63;
}
a:hover{
  color: #821037;
}
*{
  scroll-behavior: smooth;
}
h1{
  margin: 0px 0px 0px;
  font-size: 40px;
  line-height: 54px;
  font-weight: normal;
  background: rgba(135,193,222,0.9);
  display: inline-block;
  padding: 5px 20px;
}
h1 strong{
  font-weight: 600;
}
h2{
  margin: 0px 0px 0px;
  font-size: 30px;
  line-height: 42px;
  font-weight: normal;
}
h3{
  margin: 0px 0px 0px;
  font-size: 22px;
  line-height: 32px;
  font-weight: normal;
}
p{
  margin: 0px;
}
a.button{
  display: inline-block;
  margin: 30px 0px 0px;
  padding: 10px 25px;
  color: #fff;
  position: relative;
}
a.button:after,
a.button:before {
	content: "";
	position: absolute;
	height: 100%;
	width: 50%;
	transform: skewX(30deg);
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	z-index: -2;
}
a.button:before {
	background: #87c1de;
	top: -10px;
	left: 0px;
}
a.button:after {
	background: #87c1de;
	top: 10px;
	left: 50%;
}
a.button:hover:before,
a.button:hover:after {
	top: 0;
	transform: skewx(0deg);
}
a.button:hover:after {
  left: 0px;
}
a.button:hover:before {
	left: 50%;
}
/* header */
header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: fixed;
  top: 0px;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, 0%);
}
header:before{
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0px;
  z-index: -1;
  background: #fff;
  transform: translate(-50%, 0%);
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
header .logo{
  position: relative;
  padding: 20px 0px 20px 0px;
  font-weight: 600;
  font-size: 30px;
  line-height: 20px;
}
header ul{
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
header ul li{
  margin: 0px 0px 0px 40px;
}
header ul li a,
header ul li a:hover{
  display: block;
  font-weight: normal;
  position: relative;
  padding: 10px 0px 10px;
  color: #e91e63;
}
header ul li a:before{
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  background: #821037;
  opacity: 0;
  -moz-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
header ul li a:hover:before{
  opacity: 1;
}
a.menu-switcher{
  display: none;
}
/* obsah */
main{
  width: 100%;
  box-sizing: border-box;
  padding: 80px 20px 0px;
  max-width: 1100px;
  margin: 0 auto;
}
main #uvod{
  color: #fff;
  position: relative;
  height: 500px;
}
main #uvod:before,
main #nazory:before{
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0px;
  z-index: -1;
  background: #87c1de;
  transform: translate(-50%, 0%);
}
main #uvod:before{
  background: transparent url(uvod-podkres.jpg) repeat center top;
  background-size: auto 100%;
}
main #uvod .section{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
main #kontakt{
  position: relative;
  padding: 120px 0px;
  text-align: center;
}
main #kontakt:before{
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0px;
  z-index: -1;
  background-image: url(email.png), url(email.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left 10px, right bottom 10px;
  background-size: 400px auto, 400px auto;
  transform: translate(-50%, 0%);
}
main #kontakt p{
  max-width: 540px;
  margin: 20px auto 0px;
}
main #kontakt p:last-child{
  font-size: 24px;
  margin-top: 40px;
}
main #nazory{
  position: relative;
  padding: 80px 0px 40px;
  text-align: center;
  color: #fff;
}
.nazory{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 40px;
}
.nazory .nazor{
  width: calc(50% - 20px);
  background: #fff;
  border-radius: 15px;
  box-sizing: border-box;
  padding: 20px;
  color: #0d7cb4;
  margin: 0px 0px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 175px;
  position: relative;
}
.nazory .nazor p.about{
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 20px;
  min-height: 20px;
}
h2 + p{
  margin-top: 20px;
}
.nazory .nazor:before{
  content: open-quote;
  display: block;
  position: absolute;
  left: 10px;
  top: -10px;
  font-size: 100px;
  line-height: 0px;
}
.nazory .nazor:after {
  content: no-close-quote;
}
main #omne{
  position: relative;
  padding: 80px 0px 20px;
  text-align: center;
}
main #omne:before {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  min-height: 500px;
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translate(-50%, 0%);
  z-index: -1;
  background: transparent url(css3.svg) no-repeat -75px -75px;
  background-size: auto 600px;
  opacity: 0.05;
}
main #omne p{
  text-align: left;
  max-width: 808px;
  margin-left: auto;
  margin-right: auto;
}
main #reference{
  text-align: center;
  padding: 80px 0px 80px;
}
.vypis{
  display: flex;
  flex-wrap: wrap;
  padding-top: 30px;
}
.vypis .polozka{
  width: calc(33.33% - 12px);
  margin: 0px 18px 20px 0px;
  overflow: hidden;
  border: 1px solid #587e91;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  animation-name: refopa;
  animation-duration: 0.25s;
  opacity: 0;
  animation-fill-mode: forwards;
}
@keyframes refopa {
  0%{opacity: 0;}
  100%{opacity: 1;}
}
.vypis .polozka:nth-child(2){
  animation-delay: 0.25s;
}
.vypis .polozka:nth-child(3){
  animation-delay: 0.5s;
}
.vypis .polozka:nth-child(4){
  animation-delay: 0.75s;
}
.vypis .polozka:nth-child(5){
  animation-delay: 1s;
}
.vypis .polozka:nth-child(6){
  animation-delay: 1.25s;
}
.vypis .polozka:nth-child(3n+3){
  margin-right: 0px;
}
.vypis .polozka img{
  -moz-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.vypis .polozka:hover img{
  transform: scale(1.05);
}
#nastroje{
  display: flex;
  justify-content: space-between;
  padding: 70px 0px 30px;
  min-height: 55px;
}
#nastroje p{
  font-size: 24px;
  color: #e91e63;
  animation-name: flip;
  animation-duration: 6s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  perspective: 1000px;
}
@keyframes flip {      
  0%{padding-top: 0px; transform: rotatex(0deg);}
  20%{padding-top: 0px; transform: rotatex(0deg);}
  25%{padding-top: 30px; transform: rotatex(360deg);}
  75%{padding-top: 30px; transform: rotatex(360deg);}
  80%{padding-top: 0px; transform: rotatex(0deg);}
  100%{padding-top: 0px; transform: rotatex(0deg);}
}
#nastroje p:nth-child(even){
  padding-top: 30px;
  animation-name: flip2;
  animation-duration: 6s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  perspective: 1000px;
}
@keyframes flip2 {    
  0%{padding-top: 30px; transform: rotatex(0deg);}
  20%{padding-top: 30px; transform: rotatex(0deg);}
  25%{padding-top: 0px; transform: rotatex(360deg);}
  75%{padding-top: 0px; transform: rotatex(360deg);}
  80%{padding-top: 30px; transform: rotatex(0deg);}
  100%{padding-top: 30px; transform: rotatex(0deg);}
}
#nastroje p:first-child{
  animation-delay: 0.3s;
}
#nastroje p:nth-child(2){
  animation-delay: 0.6s;
}
#nastroje p:nth-child(3){
  animation-delay: 0.9s;
}
#nastroje p:nth-child(4){
  animation-delay: 1.2s;
}
#nastroje p:nth-child(5){
  animation-delay: 1.5s;
}
#nastroje p:nth-child(6){
  animation-delay: 1.8s;
}
#nastroje p:nth-child(7){
  animation-delay: 2.1s;
}
#nastroje p:nth-child(8){
  animation-delay: 2.4s;
}
#nastroje p:nth-child(9){
  animation-delay: 2.7s;
}
#nastroje p:nth-child(10){
  animation-delay: 3.0s;
}
/* footer */
footer{
  color: #fff;
  background: #87c1de;
  text-align: center;
  padding: 20px 20px;
}
footer p.adresa{
  font-size: 12px;
  line-height: 20px;
  padding-top: 10px;
}

@media screen and (max-width: 1023px){
  main #omne:before{background-position: center -75px;}
  main #kontakt:before {background-size: 320px auto, 320px auto;}
}
@media screen and (max-width: 767px){
  .nazory .nazor {width: 100%;}
  .vypis .polozka {width: calc(50% - 10px); margin: 0px 20px 20px 0px;}
  .vypis .polozka:nth-child(3n+3){margin-right: 20px;}
  .vypis .polozka:nth-child(2n+2){margin-right: 0px;}
  main #kontakt {padding: 80px 0px 160px;}
  main #kontakt:before {background-size: 0px auto, 320px auto; background-position: center top, center bottom 10px;}
  header nav{display: none;}
  a.menu-switcher {display: block; margin-right: -20px;}
  a.menu-switcher span {display: block; margin: 28px 20px; width: 30px; font-size: 0px; text-indent: -9999px; height: 4px; background: #e91e63; position: relative; transition-duration: 0.3s; transition-timing-function: cubic-bezier(0.55,0.055,0.675,0.19); border-radius: 2px;}
  a.menu-switcher span:before {content: ""; display: block; width: 30px; height: 100%; position: absolute; top: -10px; right: 0px; background: #e91e63; transition: top 0.1s 0.34s ease-in,opacity 0.1s ease-in,background-color 0.15s ease; border-radius: 2px;}
  a.menu-switcher span:after {content: ""; display: block; width: 30px; height: 100%; position: absolute; bottom: -10px; right: 0px; background: #e91e63; transition: bottom 0.1s 0.34s ease-in,transform 0.3s cubic-bezier(0.55,0.055,0.675,0.19),background-color 0.15s ease; border-radius: 2px;}
  body.mobile-menu-expanded a.menu-switcher span {transform: rotate(225deg); transition-delay: 0.14s; transition-timing-function: cubic-bezier(0.215,0.61,0.355,1); width: 30px;}
  body.mobile-menu-expanded a.menu-switcher span:before {top: 0; opacity: 0; transition: top 0.1s ease-out,opacity 0.1s 0.14s ease-out,background-color 0.15s ease; width: 30px;}
  body.mobile-menu-expanded a.menu-switcher span:after {bottom: 0; transform: rotate(-90deg); transition: bottom 0.1s ease-out,transform 0.3s 0.14s cubic-bezier(0.215,0.61,0.355,1),background-color 0.15s ease; width: 30px;}
  body.mobile-menu-expanded header nav{position: absolute; display: block; width: 100%; left: 0px; top: 100%; box-shadow: 0px 5px 5px rgb(0 0 0 / 20%);}
  header ul {width: 100%; background: #fff; padding: 0px 0px 10px 0px; text-align: center; flex-direction: column;}
  header ul li {margin: 0px 0px 0px 0px;}
  #nastroje {flex-wrap: wrap; padding-bottom: 30px; align-items: center;}
  #nastroje p{animation-name: none; width: 20%; text-align: center; margin-bottom: 40px;}
  #nastroje p:nth-child(even){animation-name: none; padding-top: 0px;}
}
@media screen and (max-width: 479px){
  h1 {font-size: 30px; letter-spacing: -0.5px; line-height: 40px;}
  main #uvod {height: 280px;}
  main #uvod:before {background-size: auto 200%;}
  .vypis .polozka {width: 100%; margin: 0px 0px 15px 0px;}
  .vypis .polozka:nth-child(3n+3){margin-right: 0px;}
  #nastroje{padding-bottom: 0px;}
  #nastroje p{width: 50%;}
}