@keyframes flash {
  from {
    color: #00adad;  
    text-shadow: 0px 0px 0px #00adad;
  }
  
  to {
    color: #89c1f6;
    text-shadow: 1px 1px 5px #00adad, -1px -1px 5px #00adad;
  }
}

@keyframes shift {
  from {
    padding-left: 10%;
  }
  
  to {
    padding-left: 15%;
  }
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: #2f2f2f;
  background-image: url("https://eskipaper.com/images/minecraft-wallpaper-hd-7.jpg");
  background-attachment: fixed;
}

header {
  background: linear-gradient(#141414, #0c0c0c);
  height: 15vh;
  clip-path: url(#wave);
  transform: rotate(180deg);
}

header * {    
  height: 90%;
  padding: 0% 5%;
  color: white;
}

header h1 {
  width: 30%;
  margin: 0;
  display: inline-block;
  float: right;
  font-family: Bungee;
  transform: rotate(-180deg);  
  color: #00adad;
  font-size: 200%;
}

header nav {
  display: block;
  white-space: nowrap;
  text-align: right;
  float: left; 
  width: 60%;
  padding: 0;
  font-family: Jura;  
  transform: rotate(180deg); 
  margin-top: -1%;
  font-size: 105%;
  text-transform: uppercase;
}

header nav a {
  text-decoration: none;  
  font-weight: bold; 
  height: 20%;
  color: #00adad;    
  padding: 2%;
}

header nav a:hover {
  animation: flash 1s ease-in-out infinite alternate;     
}

main {
  width: 70%;
  min-height: 500px;
  background: rgba(70%, 70%, 70%, 0.9);
  margin: 0 auto 5% auto;
  font-family: Play;
  box-shadow: 0px 0 15px 0px #000000;
  display: flex; 
}

main nav {
  width: 20%;
  margin: 0;
  padding: 0;
  float: left; 
  box-shadow: 10px 0 12px -12px #7f7f7f, -12px 0 12px -12px #7f7f7f inset; 
  background-color: #00adad;
}

main section span#info {
  display: block;
  text-align: right;
}

ul#menu {
  padding: 0;
  font-weight: bold;
  list-style: none;  
  margin-block-start: unset;
  margin-block-end: unset;
}

ul#menu li {
  cursor: pointer;
  margin-bottom: 3px;
}

ul#menu li span {  
  padding: 3% 5%;
  display: block;
}

ul#menu li span:hover {
  background-color: #00bebe;
}

ul#menu li ul {
  display: none; 
  font-weight: normal;
  padding-left: 10px;
}

ul#menu li ul li {
  list-style: none;
  padding-left: 10%;
  padding-bottom: 3%; 
  transition: 1s;
}

ul#menu li ul li:hover {  
  padding-left: 15%;
  transition: 1s;
}

ul#menu li ul li#aktivni {
  animation: shift 2s ease-in-out infinite alternate;
}

ul#menu li ul li a {     
  text-decoration: none;   
  color: black; 
  display: inline-block;
}

main section {
  margin: 1% 3% 1% 2%;
  width: 76%;
  text-align: justify;
}

article#form {
  margin: auto;
  width: 100%;
  text-align: center;
}

article#form input, select, button.form {
  margin: 0.5%;
  padding: 1%;
  border: 1px solid darkGray;
  width: 20%;
  box-sizing: border-box;
}

article#form input[type="submit"], button.form {
  cursor: pointer;
  background-color: #00adad;
  color: white;
  font-weight: bold;
}

article#form input[type="submit"]:hover, button.form:hover {
  background-color: #00bebe;
}

.ck-content {
  min-height: 280px;
}

[data-placeholder]:empty:before {
  content: attr(data-placeholder);
  color: #888;
}

.novy#before {
  content: "\f0e0";
  font-family: FontAwesome;
  margin-right: 5px;
}

.image {
  text-align: center;
}

.image img {
  max-width: 100%;
}   

@media only screen and (max-width: 1250px) {
  
  html, body {
    font-size: 1.5vw;
  }      
  
  header h1 {        
    font-size: 2.2vw;
  }
  
  header nav {
    font-size: 1.3vw;
  }

  main {        
    min-height: 400px;
    margin-top: -5%;
  } 
  
  main nav {
    width: 22%;
  }   
  
  main section {
    width: 73%;
  }
   
}

@media only screen and (max-width: 1000px) {
  
  html, body {
    font-size: 1.5vw;
  }      
  
  header h1 {        
    font-size: 2.6vw;
  }
  
  header nav {
    font-size: 1.7vw;
  }

  main {        
    min-height: 300px;
    width: 95%;
    margin-top: -10%;
  } 
  
  main nav {
    width: 24%;
  }   
  
  main section {
    width: 71%;
  }
   
}

@media only screen and (max-width: 750px) {
  
  html, body {
    font-size: 1.5vw;
  }
  
  header {
    height: 9vh;
  }
  
  header h1 {        
    font-size: 3vw;
  }
  
  header nav {
    font-size: 2.1vw;
  }

  main {       
    min-height: 200px;
    width: 95%;
    margin-top: -15%;
  }   
  
  main nav {
    width: 26%;
  }
  
  main section {
    width: 69%;
  }
   
}