@import url('https://fonts.googleapis.com/css2?family=Mate+SC&display=swap');

* {
    box-sizing: border-box;
}

body {
    display: grid;
    grid-template-rows: 5rem auto fit-content(8rem);
    grid-template-areas: "header"
                          "main"
                          "footer";
    height: 100vh;
    margin: 0;
    padding: 0;
}

.backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 100vw;
    height: 100vh;
}

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    background: green;
    padding: 0.5rem 1rem;
}

.toogle-button {
    width: 3rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}

.toogle-button:focus {
    outline: none;
}

.toogle-button__bar {
    width: 100%;
    height: 0.2rem;;
    background: black;
    display: block;
    margin: 0.6rem 0;
}

.main-header__logo {
    font-weight: bold;
    font-style: italic;
    /* text-shadow: 2px 2px 5px lightgreen; */
    vertical-align: middle;
    font-size: 25px;
    font-family: 'Mate SC', serif;
}

.main-header__logo a {
    text-decoration: none;
    color: black;
}

.main-nav__ul {
    display: none;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    background: green;
    height: 100vh;
    width: 50%;
    min-width: fit-content;
}

.sidebar__ul {
    list-style: none;
    margin-top: 10rem;
}

.sidebar__li {
    padding: 1rem;
}

.sidebar__li a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.main-nav__a:hover {
    padding: 0.6rem;
    border: 1px solid black;
    border-radius: 10px;
    background: lightgreen;
}

main {
    grid-area: main;
}

.main-footer {
    grid-area: footer;
    text-align: center;
    background-color: black;
    color: white;
}

.main-footer__privatnost {
    padding-top: 0.5rem;
}

.main-footer__privatnost a {
    text-decoration: none;
    color: white;
}

.main-footer__copyright {
    padding: 1rem;
}

.upozorenje__alkohol {
    text-align: center;
}

.upozorenje__pdv {
    text-align: center;
}


@media (min-width: 55rem) {

    .main-header__logo {
        padding: 1rem;
    }

    .toogle-button {
        display: none;
    }

    .main-nav__ul {
        list-style: none;
        display: flex;
    }

    .main-nav__li {
        margin: 0 1rem;
    }
    
    .main-nav__li a {
        text-decoration: none;
        color: black;
        font-weight: bold;
    }

    .main-nav__li a:hover {
        padding: 0.6rem;
        border: 1px solid black;
        border-radius: 10px;
        background: lightgreen;
    }
}


