.hm-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--menuFont);
}

.hm-menuItem {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 0.5rem 0.2rem 0px 0.2rem;
    color: inherit;
    cursor: pointer;
    transition: 0.5s;
}

@media (max-width: 1366px) {
    .hm-menuItem {
        font-size: 22px;
    }
}

@media (min-width: 1537px) {
    .hm-menuItem {
        padding: 1rem 1rem 5px 1rem;
    }
}

.hm-selected>.hm-underline {
    left: 0;
    right: 0;
}

.hm-menuItem>span {
    position: relative;
    z-index: 2;
}

.hm-menuItem:hover>.hm-underline {
    left: 0;
    right: 0;
}

.hm-subMenu>.hm-menuItem:hover {
    background-color: white;
    color: var(--color1);
}

.hm-menuAlignleft {
    justify-content: left;
}

.hm-menuAligncenter {
    justify-content: center;
}

.hm-menuAlignright {
    justify-content: right;
}

.hm-menuIcon {
    display: none;
    width: 30px;
    height: 30px;
    padding: 1rem;
    cursor: pointer;
    margin: 15px;
}

.hm-subMenu {
    position: absolute;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    opacity: 0;
    background-color: #344f40;
    color: white;
    left: 0;
    top: 100%;
    width: 300px;
    transform: translateY(60px);
    transition: 0.4s;
}

.hm-showSubMenu {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.hm-underline {
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 3px;
    background-color: #9bd5b9;
    transition: 0.3s;
}

.hm-hamburger {
    width: 30px;
    height: 30px;
}

@media (max-width: 1200px) {
    .hm-menuIcon {
        display: block;
    }
    .hm-container {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .hm-subMenu {
        position: relative;
    }
}