html {
    overflow-y:scroll;
}

ul {
/*  background: rgb(241,239,212);*/
  background: rgb(89,155,5);
  list-style-type: none;
  margin: 3px;
  padding: 0;
  width: 100%;
  max-width: 87.1em;

  font-weight: normal;  
  font-size: 1.5em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

li a {
  display: block;
  color: #000;
  background: #006600 ;
  padding: 16px;
  text-decoration: none;
  text-align: center;
}


.button-area-y {
  padding: 10px 10px 0px 10px;
  background: rgb(234,242,223);
  margin: 3px;
  bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 340px;
}

.button-area-x {
  background: white;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

/*.button a.link { font-weight: bold; border-radius: 0.3em; background: #006600 ;color: rgb(42,42,42);}*/
.button a.link { font-weight: bold; border-radius: 0.3em; background: rgb(89,155,5);color: rgb(42,42,42);}
/*border: 2px black;border-style: solid;*/
.button a.empty { background: rgb(234,242,223);}
.button a.biografie {background: rgb(255,255,153);color: rgb(42,42,42);}
.button a.boruvka {background: rgb(0, 80, 0);}
.button a.brkos {background: rgb(254,225,27);color: rgb(42,42,42);}
.button a.brloh {background: rgb(204,204,204);color: rgb(42,42,42);}
.button a.comenius {background: rgb(92,111,32);}
.button a.cdeit {background: #5D9E06 ;}
.button a.dgax {background: rgb(204,102,51);}
.button a.eci {background: rgb(84,147,21);}
.button a.equadiff {background: rgba(6, 12, 34, 0.98);}
.button a.keks {background: rgb(51,51,51);}
.button a.komar {background: rgb(35,82,124);}
.button a.icdea {background: rgb(0, 128, 128);}
.button a.ksi {background: rgb(251,175,65);}
.button a.los {background: rgb(240,226,197);color: rgb(42,42,42);}
.button a.ode {background: rgb(206,50,48);}
.button a.scv {background: rgb(88,120,143);}
.button a.sob {background: rgb(42,42,42);color: rgb(70,130,180);}
.button a.srni {background: rgb(240,255,255);color: rgb(186,0,0);}
.button a.ties {background: rgb(176,181,140);color: rgb(186,0,0);}
.button a.redata {background: rgb(51, 51, 51);}
.button a.ucit {background: rgb(16,48,123);}
.button a.vibuch {background: rgb(95,158,224);}
.button a.vylety {background: rgb(121,160,107);}
.button a.ameqmvs{background: #4c1c58;}


.button  a. { 
width: 15.7em;
}

.button  a { 
display: flex;        
text-decoration: none;
padding: 0px 5px 0px 5px;         
margin: 0px 0px 10px ;         
background: rgb(128, 128, 128);       
color: white;         
font-weight: normal;  
font-size: 1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 15.7em;         
height: 3em;        
text-align: center;   
align-items: center;  
justify-content: center;              
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);         
-webkit-font-smoothing: antialiased;
-webkit-transition: all 0.1s ease-in; 
-ms-transition: all 0.1s ease-in;     
-moz-transition: all 0.1s ease-in;    
-o-transition: all 0.1s ease-in;      
transition: all 0.1s ease-in;         
}


@media screen and (min-width: 1174px)  {
  ul {
  margin: 3px;
  list-style-type: none;
/*  width: 1805px;*/
  width: 100%; 
  }
  .button-area-x {
      justify-content: center;
  width: 100%;
  }
}
@media screen and (min-width: 756px) and (max-width: 1173px) {
  ul {
  margin: 3px;
  list-style-type: none;
  width: 850px;
  }
}

@media screen and  (max-width: 755px) {
  ul {
  margin: 3px;
  list-style-type: none;
  width: 565px;
  }
}
/*
@media screen and (max-width: 602px) {
  ul {
  margin: 3px;
  list-style-type: none;
  width: 280px;
  }
}

*/
.space:empty::after {
    content: ".";
    visibility: hidden;
}