:root[page-theme="light"]{
    --page-bg: rgb(139, 165, 139);
    --a-color: rgb(42, 42, 43);
    --hoover-bg: rgb(97, 176, 85);
    --nav-bg: rgb(248, 239, 231);
    --header-bg: rgb(231, 223, 216);
    --text-cl: rgb(0,0,0);
    --fade-out-cl: rgb(255, 255, 255, 0);
    --arrow-color: rgb(0,0,0);
    --wave-bg: rgb(255,255,255,1);
    --small-hamb: rgba(255,255,255,0.95);
    --hamb: rgb(255, 255, 255);

    --pokus: rgb(80, 104, 80);
}

:root[page-theme="dark"]{
    --page-bg: rgb(71, 85, 71);
    --a-color: rgb(197, 190, 190);
    --hoover-bg: rgb(97, 176, 85);
    --nav-bg: rgb(41, 43, 42) ;
    --header-bg: rgb(42,42,43);
    --text-cl: rgb(255,255,255);
    --fade-out-cl: rgba(42, 42, 43, 0);
    --arrow-color: rgb(255,255,255);
    --wave-bg: rgb(42,42,43);
    --small-hamb: rgba(34, 34, 34, 0.95);
    --hamb: rgb(42,42,43);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    outline: none;
}
 
header{
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    height: 70px;
    position: absolute; top: 0; right: 0;
    padding: 10px;
    
}
/* Page content */
.content {
    padding: 16px;
    margin-left: 100px;
    height: 97vh;
}

/*stránka*/
.logo{
    text-align: center;
    display: flex;
    transition: all 0.5s ease;
    margin: 10px 0 0 10px;

}
.logo img{
    width: 50px;
    height: 50px;
}
.logo span{
    font-weight: bold;
    padding-left: 15px;
    font-size: 18px;
    text-transform: uppercase;
}
a{
    position: relative;
    color: var(--a-color);
    font-size: 14px;
    display: table;
    width: 300px;
    padding: 10px;
}
.fas{
    position: relative;
    width: 70px;
    height: 40px;
    top: 14px;
    font-size: 20px;
    text-align:center;
}
.nav-item{
    position: relative;
    top: 12px;
    margin-left: 10px;
}
a:not(.logo):hover{
    background: var(--hoover-bg);
    color: var(--nav-bg);
    font-weight: bold;
}
nav:hover{
    width: 280px;
    transition: all 0.5s ease;
}
.napiste{
    position: absolute;
    bottom: 0;
}
nav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 90px;
    overflow: hidden;
    transition: width 0.2s linear;
    background: var(--nav-bg);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1) ;
    z-index: 1;
}


/* Hamburger Menu - Hidden by Default */
.hamburger-menu {
    position: absolute;
    top: 15px;
    left: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: none; /* Hidden on large screens */
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: max-height 0.3s ease-in-out;
}
.hamburger-menu i {
    font-size: 28px;
    color: var(--text-cl);
}

body{
    background: linear-gradient(var(--fade-out-cl), var(--fade-out-cl)), url(../obrazky/bigger-home.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed !important;
    background-size: 100% !important;
    background-position: center top !important;
    padding: 1rem;
    padding-top: 45%;
    color: var(--text-cl);
    overflow-x: hidden;
}
#directionality{
    display: block;
    margin: 0;
    text-align: center;
    font-size: 3rem;
}
.scroll-element {
    background-image: linear-gradient(transparent 15%, currentColor 30%, currentColor 70%, transparent 200%);
	-webkit-background-clip: text;
    background-clip: text;
    background-attachment: fixed;
}

.scroll-element > * {
    color: transparent;
}

h2 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
}

h3{
    font-size: 25px;
    padding-bottom: 20px;
}
h1{
    font-size: 15px;
    text-align: center;
    color:rgb(0,0,0);
    
}
.footer-text{
    font-size: 15px;
    text-align: center;
    padding-top: 40px;
    
}

footer{
    height: 100px;
    width: 95.3%;
    background-color: rgb(248, 239, 231);
    position: absolute;
    right: 0;
    overflow:auto;
    z-index: 0;
  
}
#wavepath{
    fill: var(--wave-bg);
    
}
#wavediv{
    height: 70px;
    width: 110%;
}
.mobile-logo{
    display: none;
}

/*jiné velikosti*/
@media screen and (max-width: 570px) {
    * {
        max-width: 100%;
    }
    #top-obr{
        margin-top: 10px;
    }
    body{
        display: flex;
        flex-direction: column;
        margin: 0;
        min-height: 100vh;
        overflow-x: hidden;
        width: 100%;
        background: var(--wave-bg);
        padding: 0;

    }
    .content{
        flex: 1;
        margin-left: 15px;

    }
    h3{
        font-size: 20px;
        padding-top: 100px;
        margin-left: 0px;
    }

    /*navigace*/
    a{
        position: relative;
        color: var(--a-color);
        font-size: 14px;
        display: table;
        width: 300px;
        padding: 10px;
    }
    .hamburger-container {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 10px;
        padding: 10px;
    }
    .hamburger-menu {
        display: block; /* Show hamburger icon */
    }
    .mobile-logo {
        display: none;
        width: 50px;
        height: auto;

    }
    nav.open .mobile-logo {
        display: block;
        position: absolute;
        left: 200px;
        top: 20px;
    }
    nav {
        width: 23%;
        height: 10vh; /* Default small height */
        background: var(--hamb);
        text-align: center;
        transition: height 0.3s ease-in-out;
        overflow: hidden;
        position: absolute;
        top: 0;
    }
    nav.open {
        height: 65vh;
        background: var(--small-hamb);
    }
    #nav-list {
        display: none;
    }
    #nav-list.show {
        display: flex;
        flex-direction: column;
        text-align: left;
        background: var(--small-hamb);
        height: 65vh;
    }

    /*ostatní*/
    .logo{
        visibility: hidden;
    }
    #theme-switcher{
        top: 15px;
    }
    .napiste{
        position: relative;
    }
    #scroll{
        display: none;
    }
    #directionality{
        display: none;
    }
    footer {
        position: static;
        text-align: center;
        width: 100%;
        margin-top: auto;
    }
}

