/* -----------------------------------------------------------------*/
/* ZÁKLADNÍ NASTAVENÍ */
/* -----------------------------------------------------------------*/

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
        
}

html {
    /* pokud chci bílé, nebylo třeba ani nastavovat, je default */
    background-color: #fff; 
    /* font color */
    color: #2A363B;
    /* font LATO a pokud nebude moc být zobrazeno, zobrazí se Arial. Pokud není k dispozici Arial, zobrazí se sans-serif*/
    font-family: 'open-sans', 'Arial', 'sans-serif';
    /* v css mám k dispozici z google font 100,200 a 300. Jako default dávám 300.*/
    font-weight: 300;
    /* stanovit relativně aby bylo responzivní. http://www.responsivegridsystem.com/*/
    font-size: 20px;
    /* optimalizace zobrazení textu */
    text-rendering: optimizeLegibility;
    
}

/* -----------------------------------------------------------------*/
/* ZNOVU POUŽÍVANÉ KOMPONENTY */
/* využité na celé stránce    */
/* -----------------------------------------------------------------*/


.row {
    max-width: 1140px;
    /* nastavit všechna zarovnání - pravé, levé, horní ,spodní na automatické */
    margin: 0 auto;
    
}

section {
    padding: 20px 0;
}

.box {
    padding: 1%;
}

/* NADPISY */ 

h1, 
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    /* procenta ze zadaného font size v pixelech */
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h3 {
   font-size: 110%;
    margin-bottom: 15px;
    text-align: center;
    margin-top: 20px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #0E544A;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 20px;
}

/* PARAGRAFY */ 

.description {
    line-height: 145%; 
    width: 80%;
    /* zarovnat na střed 80 + 10*2 = 100 % */
    margin-left: 10%;
    margin-top: 20px;
    text-align: center;
}

/* format paragraph in the box */ 
.box p {
    font-size: 90%;
    line-height: 135%;
    text-align: center;
}

ol.nested
{
    counter-reset: item;
    margin-top: 20px;
    text-indent: 50px;
    text-align: center;
}
li.nested
{
    display: block;
    margin-top: 5px;
    margin-bottom: 20px;
    text-indent: 50px;
    text-align: center;
}
li.nested:before
{
    content: counters(item, ".") ". ";
    counter-increment: item;
    margin-top: 20px;
    margin-bottom: 20px;
    text-indent: 50px;
    text-align: center ;
}

/* IKONY */
ion-icon{
    font-size: 350%;
    display: block;
    color: #0E544A;
    margin-bottom: 10px;
}


/* TLAČÍTKA */ 

/* nenavštívené linky = btn: link, navštívené linky = btn:visited */
.btn:link,
.btn:visited {
    display:  inline-block;
    /* 10px nahoře a dole, 20px vlevo a vpravo */
    padding: 10px 30px; 
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    /* postupná změna barvy, když najedu na tlačítko */
    transition: background-color 0.2s, border 0.2s, color 0.2s;
    text-transform: uppercase;
}

/*https://flatuicolors.com/*/
.btn-full:link,
.btn-full:visited {
   /* background-color: aliceblue; */
   /* border: 1px solid #d35400; */
    color: #0E544A;
    /* místo mezi tlačítky */ 
    margin-right: 15px;
}

/*.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #E84A5F; 
    color: #E84A5F;
}
*/

/* aktivní a tlačítka a tlačítka na která najedu*/
.btn:hover,
.btn:active {
    color: aliceblue;
    background-color: #0E544A;
}

.btn-full:hover,
.btn-full:active {
    /*border: 1px solid #e74c3c;*/
}

/*.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #E84A5F; 
    color: aliceblue;
}*/

/* -----------------------------------------------------------------*/
/* ZÁHLAVÍ */
/* -----------------------------------------------------------------*/

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/title.jpg);
    background-size: cover;
    background-position: center;
    height: 60vh; 
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    /* responzivně se zarovná na střed */
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.logo {
    width: 100px;
    height: auto;
    margin: 0 auto;
    /* Center vertically and horizontally*/ 
    position: relative;
    left: 46%;
    /*text-align: center;*/
}

.centerImage
{
    text-align:justify;     
    width: 15%;
    height: 15%;
    margin: 0 auto;
    display: block;
}

.centerImageLowQuality
{
    text-align:justify;     
    width: 60%;
    height: 60%;
    margin: 0 auto;
    display: block;
}

.home_page {
    text-align: right;
    font-size: 15px;
}

.main-nav {
    float: right;
    list-style: none;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited{
    padding: 8px 0;
    color: aliceblue;/*#E37478*/
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active{
    border-bottom: 2px solid #0E544A;
}

p {
    /* horizontálně vše centrovat*/
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
  }