/*****************/
/* cely dokument */
/*****************/
html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    position: relative;
    overflow-y: scroll;
}


/************/
/* hlavicka */
/************/
/* do 800 px hamburger        */
/* od 1200 vystredeny article */
header {
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)),
        url("../images/hero-strip.png") center/cover repeat-x;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.inner-header {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .inner-header {
        padding: 0 17px;
    }
}

/***************************************/
/* horni cast hlavicky - login, jazyky */
/***************************************/
#login {
    font-family: menuFont, Arial, sans-serif;
    font-size: 15px;
    margin-right: 20px;
    padding: 6px 7px;
    border-radius: 5px;
}

#login:hover {
    background: rgba(255,255,255,0.1);
}

#login a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-family: menuFont, Arial, sans-serif;
    font-size: 15px;
}

#lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: bodyFont, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: white;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
}

#lang-switch:hover {
    background: rgba(255,255,255,0.1);
}

#lang-options {
    position: absolute;
    z-index: 3;
    top: 51px !important;
    width: 120px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 3px;
    border: 1px solid var(--color-gray-light);
}

#lang-options a {
    display: flex;
    align-items: center;
    color: var(--color-gray-dark);
    font-family: bodyFont, Arial, sans-serif;
    text-decoration: none;
    padding: 5px 11px;
}

#lang-options a:hover {
    background-color: #e9ebf0;
}

#lang-options a img {
    border: 1px solid var(--color-gray);
    border-radius: 50%;
    margin-right: 9px;
}

/***********************************/
/* spodni cast hlavicky - navigace */
/***********************************/
#navigace {
    padding-bottom: 15px;
    height: 70px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul a, nav ul span {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding: 0 20px;
    border-radius: 3px;
    color: white;
    font-family: menuFont, Arial, sans-serif;
    font-size: 15px;
}

nav ul a:hover, nav ul span:hover {
    background: rgba(255,255,255,0.1);
}

.main-menu-visible {
    height: 204px !important; /* vyska hlavniho menu */
}

.info-menu-visible {
    height: 153px ! important; /* vyska info menu */
}

#info-menu-options {
    position: absolute;
    z-index: 2;
    list-style-type: none;
    background: #336484;
    transition: height 0.2s linear;
    height: 0px;
    overflow: hidden;
}

#info-menu-options li {
    border-bottom: 1px solid var(--color-gray-light);
}

#info-menu-options a {
    display: inline-block;
    text-decoration: none;
    height: 50px;
    width: 100%;
    line-height: 50px;
    color: white;
    font-family: menuFont, Arial, sans-serif;
}

@media (max-width: 799px) {
    #navigace {
        justify-content: space-between;
    }
    
    #logo {
        height: 50px;
        width: auto;
    }
    
    #hamburger {
        display: block;
        color: white;
        font-size: 35px;
        font-weight: 200;
        cursor: pointer;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        z-index: 2;
        top: 130px;
        left: 0;
        width: 100%;
        overflow: hidden;
        height: 0px;
        transition: height 0.2s linear;
        background: #152936;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-light);
    }
    
    nav ul a, nav ul span {
        width: 100%;
        height: 50px;
        line-height: 50px;
        font-size: 13px;
    }
    
    #info-menu-options {
        left: 0;
        width: 100%;
    }
    
    #info-menu-options a {
        font-size: 13px;
        padding: 0 40px;
    }
}

@media (min-width: 800px) {
    #navigace {
        justify-content: flex-start;
    }
    
    #logo {
        height: 55px;
        width: auto;
        margin-right: 40px;
    }
    
    #hamburger {
        display: none;
    }
    
    nav ul {
        flex-direction: row;
        height: 40px;
    }
    
    nav ul a, nav ul span {
        height: 40px;
        line-height: 40px;
    }
    
    #info-menu-options a {
        font-size: 14px;
        padding: 0 20px;
    }
    
    #info-menu-options a:hover {
        background: rgba(255,255,255,0.1);
    }
}

/***********/
/* article */
/***********/
article {
    margin: 0 auto;
    max-width: 1200px;
}

@media (max-width: 799px) {
    article {
        padding: 30px 20px 70px 20px;
    }
}

@media (min-width: 800px) {
    article {
        padding: 30px 40px 70px 40px;
    }
}

/**********/
/* footer */
/**********/
footer {
    height: 50px;
    line-height: 50px;
    font-size: 13px;
    text-align: center;
    font-family: bodyFont, Arial, sans-serif;
    color: var(--color-gray-dark);
    border-top: 1px solid var(--color-gray-light);
    background-color: var(--color-beige-light);
}

/*****************/
/* error stranky */
/*****************/
#error-page {
    width: fit-content;
    margin: 30px auto;
    padding: 15px;
    font-family: bodyFont, Arial, sans-serif;
    color: var(--color-black);
}

#error-page #main-logo {
    display: block;
    margin-bottom: 40px;
    
}

#error-page #main-logo:hover {
    background: none;
}

#error-page h1 {
    font-size: 2.8rem;
    color: var(--color-red);
}

#error-page p {
    margin: 15px 0;
    padding-left: 5px;
}

#error-page a {
    color: var(--color-blue);
    padding: 5px;
}

#error-page a:hover {
    background-color: var(--color-blue-light);
}

/****************/
/* flash zpravy */
/****************/
.flash {
    font-family: bodyFont, Arial, sans-serif;
    font-size: 18px;
    padding: 5px;
    margin: 25px 0;
    width: 95%;
    border-radius: 10px;
    text-align: center;
    color: var(--color-black);
}
.flash-info {
    background-color: #c1e6d6;
}

.flash-problem {
    background-color: #e6c1c1;
}

/*********************/
/* navigacni prouzek */
/*********************/
.navigation-strip {
    font-size: 14px;
    font-family: bodyFont, Arial, sans-serif;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.navigation-strip a {
    color: var(--color-gray-dark);
    text-decoration: none;
}

.navigation-strip a:hover {
    text-decoration: underline;
    color: var(--color-black);
    
}

.raquo {
    font-size: 16px;
    padding: 0 3px;
}
