/* ==== OPAKUJE SE VE VSEM ======== OPAKUJE SE VE VSEM ==== */
body {
    background-color: #f6f5f2;
    font-family: "atyp-bl-variable", sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}



main {
    padding-top: 64px;
}

/* ==== HEADER ======== HEADER ======== HEADER ==== */

.header {
    background-color: #c3d9ab;
    z-index: 2000;
}

@media (min-width:1220px) {
.navbar-mobile {
    display: none;
}

.navbar-desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: #c3d9ab;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.navbar-desktop ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 3rem;
    transform: translateX(-5%);
}

.navbar-desktop ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-desktop ul li:first-child {
    margin-right: 6rem;
    transform: scale(1);
}

.navbar-desktop ul li a {
    text-decoration: none;
    color: #2e6d3c;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.2rem 0;
}

.navbar-desktop ul li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5px;
    height: 0;
    background-color: #2e6d3c;
    transition: height 0.3s ease;
    transform-origin: center;
}

.navbar-desktop ul li:not(:first-child):hover::before {
    height: 1.4rem;
}

.navbar-desktop ul li:nth-child(2){
    width: 85px;
}

.navbar-desktop ul li:nth-child(3){
    width: 80px;
    margin-right: -0.5rem;
}

.navbar-desktop ul li:nth-child(4){
    width: 75px;
}

.navbar-desktop ul li:nth-child(5){
    width: 60px;
}

.navbar-desktop ul li:nth-child(6){
    width: 85px;
}

.navbar-desktop ul li:nth-child(7){
    width: 140px;
}

.navbar-desktop ul li:nth-child(8) {
    width: 60px;
}

.navbar-desktop ul li:nth-child(9) {
    width: 150px;
}



}


@media (max-width:1220px) {
.navbar-desktop {
    display: none;
}

.navbar-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #c3d9ab;
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    height: 64px;
    z-index: 2000;
}


.logo-header img {
    width: 50px;
}


.menu-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 30px;
    height: 4px;
    background: #2e6d3c;
    border-radius: 2px;
    transition: 0.4s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(12.5px);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-12.5px);
}

.nav-list-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 64px;
    right: 0;
    width: 100%;
    background: #c3d9ab;

    display: flex;
    flex-direction: column;
    
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.nav-list-mobile.active {
    max-height: 500px;
}

.nav-list-mobile li {
    position: relative;
}


.nav-list-mobile a {
    display: block;
    padding: 10px 20px 10px 25px;
    color: #2e6d3c;
    text-decoration: none;
    transition: padding 0.2s ease;
    font-size: 1.5rem;
    font-weight: 500;
}

.navbar-mobile ul li a::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 22px;
    background: #2e6d3c;
    transition: all 0.2s ease;
}


.navbar-mobile ul li:hover a {
    padding-left: 48px;
}

.navbar-mobile ul li:hover a::before {
    width: 20px;
    background: transparent;
    background-image: linear-gradient(#004b28, #004b28),
                      linear-gradient(#004b28, #004b28),
                      linear-gradient(#004b28, #004b28);
    background-repeat: no-repeat;
    background-size: 2px 100%;
    background-position: 0 0, 8px 0, 16px 0;
}

.nav-list-mobile a:hover {
    opacity: 0.8;
}
}


/* ==== FOOTER ======== FOOTER ======== FOOTER ==== */
.footer {
    background-color: #2e6d3c;
    padding: 1rem;
}

.socials .footer-reserve {
    position: relative;
    left: 20%;
    font-size: 1.1rem;
    background-color: #b5dca0;
    border-radius: 50px;
    padding: 5px 10px 5px 10px;
    border: solid 2px #b5dca0;
    transition: border 0.1s;
    transition: background-color 0.1s;
    transform: translateY(-6%);
    color: #2e6d3c;
    font-weight: 500;
    transition: color 0.1s;
   }


.footer-reserve:hover {
    border: white solid 2px;
    background-color: #2e6d3c;
    color:white;
}


.footer-reserve span:hover {
    color:white;
}


.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:15%;
    flex-wrap: wrap;
}

.left-side {
    display: flex;
    flex-direction:column;
}

.right-side {
    margin-top:5.3rem;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1rem 0 1rem;
}

.footer-logo img {
    transform: scale(1.2);
}

.footer-logo h4 {
    font-family: "atyp-kido-variable", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: #b5dca0;
    white-space: nowrap;
    margin-left: 5px;
    transform: translateY(-20%);
}

.footer-main-box {
    position: relative;
    left:0;
    top: 0;
    width: 320px;
    margin: 1rem 1rem 0 1rem;
    color: #b5dca0;
}

.footer-main-box h5, h6 {
    font-family: "atyp-kido-variable", sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    margin-bottom: 1.5rem;
}

.footer-main-box p {
    margin-bottom: 0.7rem;
}

.first {
    font-size: 1em;
    font-weight: 500;
}

.second {
    font-size: 1em;
    font-weight: 350;
}

.second1 {
    position: absolute;
    left:52%;
}

.second2 {
    position: absolute;
    left: 33%;
}

.socials {
    padding: 2.5rem 0 2rem 1rem;
    position: relative;
    display: flex;
    left:0;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    transform: translateX(-4%);
}


.socials a {
    text-decoration: none;
    color: #b5dca0;
}

.socials i {
    font-size: 2rem;
    transition: opacity 0.2s ease;
}

.socials i:hover {
    opacity:0.80;
}


@media (max-width:887.2px) {
    .footer {
        padding: 0;
    }
    .footer-container {
        display:flex;
        flex-direction: column;
        align-items: center;
        gap: 0rem;
    }


    .left-side {
        max-width: 90%;
    }

    .right-side {
        margin: 0 0 0 0rem;
        max-width: 90%;
    }

    .footer-logo {
        padding-top: 2rem;
        transform: translateX(-8%);
    }

    .footer-logo h4 {
        font-size: 2.4rem;
        transform: translateY(-5%);
    }

    .footer-logo img {
        transform: scale(0.98) translateY(10%);
    }

    .footer-reserve {
        left: 10%;
    }
}

@media (min-width:100px) {
    
    .kdyz-je-malo-info {
    margin-top: 10rem;
    }
}