#menu-btn-check {
    display: none;
}

@media screen and (min-width: 769px) {
    nav {
        width: calc(100% - 230px);
    }

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

    nav ul li:nth-child(1) {
        width: 9.3%;
    }

    nav ul li:nth-child(2) {
        width: 18.6%;
    }

    nav ul li:nth-child(3) {
        width: 17.4%;
    }

    nav ul li:nth-child(4) {
        width: 24.4%;
    }

    nav ul li:nth-child(5) {
        width: 16.3%;
    }

    nav ul li:nth-child(6) {
        width: 14%;
    }


    nav ul li a {
        border-right: solid 1px #333;
        color: #333;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
        display: block;
        text-align: center;
        padding: 5px 0;
        font-size: 13px;
    }

    .main-menu ul li a:hover {
        color: #ad9300;
    }

}


@media screen and (max-width: 768px) {
    nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    #menu-btn-check {
        display: none;
    }

    .menu-btn {
        position: fixed;
        top: 15px;
        right: 10px;
        display: flex;
        height: 32px;
        width: 32px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #333;
        cursor: pointer;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #00afc4;
        position: absolute;
        transition: all 0.5s;
    }

    #menu-btn-check:checked~.menu-btn span {
        background: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        transition: all 0.5s;
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        transition: all 0.5s;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    nav ul {
        margin: 70px 0 0 0;
        padding: 0;
    }

    .main-menu ul {
        padding: 0px 10px 0;
    }

    .main-menu ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
        position: relative;
        margin: 0;

    }

    .main-menu ul li a {
        display: block;
        width: calc(100% - 40px);
        font-size: 15px;
        box-sizing: border-box;
        color: #fff;
        text-decoration: none;
        padding: 9px 15px 10px 40px;
        /* Adjust padding to align text */
        position: relative;
    }

    .main-menu ul li a:hover {
        color: #ffd900;
    }

    .main-menu ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }

    .main-menu {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background: rgba(0, 175, 196, 0.9);
        transition: all 0.5s;
        font-weight: bold;
    }

    #menu-btn-check:checked~.main-menu {
        left: 0;
    }


}