:root {
    --page-nav-height: 10rem;
    --mobile-page-nav-height: 7rem;
    --activePageTextDeco: underline solid 4px;
    --activePageTextUnderline: 15px;
}

header {
    margin-top: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
}

header img {
    width: auto;
    height: var(--page-nav-height);
    max-width: 100%;
}

nav {
    height: 7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
}

nav ol {
    margin: auto;
    text-align: center;
    padding: 0;
}

nav ol li {
  text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
  display: inline-block;
  color: var(--primary);
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 30px;
}

/*TODO: ielikt lai ir min-width, cuz pagaidam tievām bildēm ir gruti uztrapit*/
nav ol a {
  text-decoration: inherit;
  color: inherit;
  cursor: pointer;
  margin: 10px;
  padding: 15px;
}

nav ol a:hover {
    color: var(--primary-hover);
    text-decoration: var(--activePageTextDeco);
    text-underline-offset: var(--activePageTextUnderline);
}

nav ol a:active {
  color: var(--primary-active);
}


.currentPage {
    text-decoration: var(--activePageTextDeco);
    text-underline-offset: var(--activePageTextUnderline);
}



#hamburger-icon {
    display: none;
    cursor: pointer;

    margin: 2rem 2rem 2rem auto;

    width: fit-content;
}

#hamburger-icon div {
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: 0.4s;
}

.mobile-menu {
    display: none;
    padding: 0;
}

.open {
    margin-top: 20px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

#menuHolder {
    width: 100%;
}


@media (max-width: 800px) {
    :root {
        --activePageTextDeco: none;
    }
    nav {
        height: unset;
    }

    nav ol {
        display: none;
    }

    #hamburger-icon {
        display: block;
    }

    header img {
        width: auto;
        height: var(--mobile-page-nav-height);
    }
}