@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


html,
body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

* {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

main {
    flex-grow: 1;
    padding-top: 10px;
}

section {
    padding: 0 min(10vw, 120px);
    max-width: 2000px;
}

.save,
.cancel {
    font-size: 18px;
    height: max-content;
    border: 1px solid #277D31;
    border-radius: 12px;
    width: max-content;
    cursor: pointer;
}

.save {
    color: white;
    background-color: #277D31;
}

.cancel {
    color: black;
    background-color: white;
}

.save:hover,
.cancel:hover {
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.25);
}

.save:disabled {
    background-color: #243f28;
    cursor: no-drop;
}


/* NAV */
nav {
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 999;
    padding: 0 min(5%, 30px);
    box-shadow: 0 3px 5px 1px #0004;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    transition: .3s;
}

nav a {
    text-decoration: none;
    color: black;
}

nav .hamburger {
    height: 100%;
    aspect-ratio: 1;
    box-sizing: border-box;
    padding: 3px;
    cursor: pointer;
}

nav .links {
    display: none;
    height: 0;
}

nav .logo {
    height: 100%;
    box-sizing: border-box;
}

nav.opened .links {
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: white;
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 100vh;
    border-top: 1px solid black;
    flex-shrink: 0;
    overflow-y: scroll;
    scrollbar-width: none;
}
nav .nav-subdivider{
    border-bottom: 1px solid #277D31 !important;
}
nav .links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid gray;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

nav .links li a {
    padding: 12px 0;
    width: 100%;
    box-sizing: content-box;
    -webkit-tap-highlight-color: transparent;
}

nav .links li.sub-dropdown ul {
    display: none;
}

nav.opened .links li.sub-dropdown a:focus~ul,
nav.opened .links li.sub-dropdown a~ul:has(a:active) {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 70%;
    border-top: 1px solid gray;
    margin: auto;
}

nav.opened .links li.sub-dropdown ul li {
    width: 100%;
    border: none;
}

nav a:has(img) {
    height: 100%;
    width: max-content;
}

#nav-placeholder {
    position: relative;
    top: 0;
    height: 45px !important;
    width: 100%;
}

nav * {
    font-size: 17px;
}

nav li {
    transition: .3s;
}

nav li li:hover,
nav li li:has(a:focus) {
    background-color: #243f28;
}

nav li li:hover a,
nav li li a:focus {
    color: white;
}

nav li:hover>a {
    color: #243f28;
    text-decoration: underline;
}

nav li li a:focus {
    color: white;
    text-decoration: underline;

}

nav .sub-dropdown ul {
    display: none;
}

nav.opened .links .sub-dropdown.submenu-open ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    width: 70%;
    border-top:
        1px solid gray;
    margin:
        auto;
}

@media only screen and (min-width: 827px) {
    nav.opened .links .sub-dropdown.submenu-open ul {
        border-top: none;
        display: none;
    }
    nav .links,
    nav.opened .links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        flex-grow: 1;
        max-width: 700px;
        gap: 5%;
        height: unset;
        position: relative;
        border-top: unset;
        top: unset;
        overflow-y: visible;
    }

    nav {
        height: 54px;
    }

    #nav-placeholder {
        height: 54px;
    }

    nav * {
        font-size: 18px;
    }

    nav .hamburger {
        display: none;
    }

    nav .links li,
    nav.opened .links li {
        border: none;
        width: min-content;
    }

    nav .links li a,
    nav.opened .links li a {
        width: min-content;
    }

    nav .links li a,
    nav.opened .links li a {
        padding: 15px 0;
    }

    nav .links li.sub-dropdown a~ul,
    nav.opened .links li.sub-dropdown a~ul {
        display: flex;
        height: 0;
        border: none;
        overflow: hidden;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateY(100%) translateX(-50%);
    }

    nav .links li.sub-dropdown a:hover~ul,
    nav .links li.sub-dropdown a~ul:hover,
    nav .links li.sub-dropdown a:focus~ul,
    nav .links li.sub-dropdown a:focus~ul:has(a:focus),
    nav .links li.sub-dropdown a~ul:has(a:focus),
    nav.opened .links li.sub-dropdown a:focus~ul,
    nav.opened .links li.sub-dropdown a:focus~ul:has(a:focus),
    nav.opened .links li.sub-dropdown a~ul:has(a:focus),
    nav.opened .links li.sub-dropdown a:hover~ul,
    nav.opened .links li.sub-dropdown a~ul:hover,
    nav.opened .links li.sub-dropdown a~ul:has(a:active) {
        display: flex;
        position: absolute;
        flex-direction: column;
        bottom: 0;
        left: 50%;
        transform: translateY(100%) translateX(-50%);
        background-color: white;
        width: max-content;
        align-items: start;
        justify-content: center;
        border-top: 1px solid gray;
        overflow: visible;
        height: unset;
    }

    nav .links li.sub-dropdown a,
    nav.opened .links li.sub-dropdown a {
        width: 100%;
        text-align: center;
    }

    nav .links li.sub-dropdown li,
    nav.opened .links li.sub-dropdown li {
        width: 100%;
        padding: 20px 10px;
        height: 30px;
    }

    nav .links li.sub-dropdown li a,
    nav.opened .links li.sub-dropdown li a {
        font-size: 16px;
    }
}
*{
    z-index: 1;
}
.ch, .decor.ch, .checkered-decor{
    max-height: 400px !important;
    z-index: -1 !important;
}