html {
    scroll-behavior: smooth;
}

.logo {
    padding-top: 35px;
    padding-left: 75px;
    padding-bottom: 25px;
    width: 240px;
    margin-left: -20px;
    margin-top: 10px;
}

.header-right {
    float: right;
    padding-right: 40px;
    padding-top: 10px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul p {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul p a {
    text-decoration: none;
    position: relative;
    color: #9B9B9B;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

nav ul p a::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul p a:hover::after {
    width: 100%;
    transition: 0.5s;
}

.sidemenu {
    display: none;
    position: fixed;
    top: -5px;
    left: 0;
    background-color: #f4f4f4;
    opacity: 0;
    z-index: 1;
    overflow-x: hidden;
    transition: opacity 0.5s;
    width: 0;
    transform: none;
}

.sidemenu.show-sidemenu {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.menu-icon {
    display: none;
    width: 22px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    margin: 29px 30px;    /* First value is top margin, second is right margin */
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.menu-icon div {
    height: 2.7px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-icon.open div:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-icon.open div:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);  /* Hide middle line by sliding it out */
}

.menu-icon.open div:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.close-button {
    display: none;
}

.close-button:hover {
    color: #ddd;
}

.sidemenu a {
    padding: 15px;
    padding-left: 40px;
    text-decoration: none;
    text-align: left;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #000;
    display: block;
    transition: 0.3s;
}

.sidemenu a:hover {
    background-color: #ddd;
}

/* --------------------------------------------RESPONSIVE-------------------------------------------- */
@media only screen and (max-width: 767px){

    .header-right {
        display: none;
    }

    .logo {
        padding: 15px;
        width: 150px;
        margin-left: 10px;
    }

    .sidemenu {
        display: block;
    }

    .logo {
        padding: 15px;
        width: 150px;
        margin-left: 10px;
    }

    .sidemenu-logo {
        padding: 15px;
        width: 150px;
        margin-left: -30px;
        margin-top: 0px;
    }

    .header-right {
        display: none;
    }

    .menu-icon {
        display: flex;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .logo {
        width: 200px;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1559px) {
    .logo {
        width: 220px;
    }
}



