* {
    margin: 0;
    padding: 0;
}
header {
    height: max-content;
    font-size: 16px;
    font-weight: 700;
    box-sizing: border-box;
    letter-spacing: -8px;
}
.menu {
    height: 85px;
}
.menu-wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}
.logo-img {
    height: 65px;
}
.menu-icon {
    font-size: 2.4em;
    color: #008847;
    line-height: 50px;
}
nav {
    position: absolute;
    background-color: #ffe84d;
    top: 115px;
    left: 0;
    width: 100%;
    z-index: 1;
}
nav ul {
    list-style-type: none;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
}
nav ul li {
    padding: 0;
    text-align: center; /* MOBILE MENU ALIGNMENT*/
    line-height: 40px;
}
nav ul li:last-child {
    padding-left: 5px;
    line-height: normal;
}
nav ul li a {
    display: inline-block;
    padding: 5px;
    /* Add your custom styles below to change appearance of links */
    color: #118749;
    text-decoration: none;
    letter-spacing: 0.05em;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #88b23d;
}

nav ul li p a:hover,
nav ul li p a:focus {
    color: maroon;
}

#checkbox {
    display: none;
}
#checkbox:checked ~ nav ul {
    max-height: 400px; /* MOBILE MENU BACKGROUND HEIGHT*/
    padding: 10px 0 30px;
    transition: all 0.5s;
}

@media (min-width: 1030px) {
    header {
        height: 110px;
    }
    .menu-icon {
        display: none;
    }
    nav {
        position: relative;
        top: -10px;
        background-color: transparent;
    }
    nav ul {
        max-height: 70px;
        padding: 15px 0;
        text-align: right;
    }
    nav ul li {
        display: inline-flex;
        padding-left: 0;
    }
    nav ul li a {
        padding: 12px;
    }
}
