*{
    font-family: 'Montserrat';
}

:root{
    --main_color: rgba(0, 0, 255, 0.514);
    --hover_color:rgb(65, 0, 180);
}

.Ehyo_Header{ 
    position: fixed;
    background-color: white;
    width: 100%;
    margin: auto;
    z-index: 1000;
    transition: top 0.3s linear;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.Start_Header{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

.Start_Header img{
    width: 20px;
    height: 20px;
}

.End_Header{
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.Start_Header img{
    width: 45px;
    height: 45px;
}

.Start_Header h1{
    text-decoration: none;
    font-size: 36px;
    color: var(--main_color);
    font-weight: 600;
}

.Start_Header a{
    text-decoration: none;
}

.End_Header a{
    text-decoration: none;
    color: var(--main_color);
    font-size: 16px;
    font-weight: 500;
}

.End_Header a:hover{
    color: var(--hover_color);
}

.Menu_List {
    display: none;
    width: 220px;
    height: auto;
    background-color: white;
    position: absolute;
    top: 70px;
    z-index: 9999;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    color: var(--main_color);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
}

.Menu_List a:hover{
    color: var(--hover_color);
}


.Menu_List.enable{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
}

.End_Header div i{
    color: var(--main_color);
    font-size: 13px;
}

.End_Header div i:hover{
    color: var(--hover_color);
}

.Burger_Menu {
    display: none;
    font-size: 20px;
    color: var(--main_color);
    cursor: pointer;
    padding: 10px;
}

.Nav_Menu{
    display: none;
    width: 100%;
    padding: 10px;
    position: fixed;
    z-index: 100;
    background-color: white;
}

.Nav_Menu ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.Nav_Menu ul a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--main_color);
}

.Nav_Menu ul a:hover{
    color: var(--hover_color);
}

.Nav_Menu.show {
    height: 270px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

@media (max-width: 768px) {
    .Ehyo_Header {
        width: 100%;
        height: 70px;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
    }

    .Start_Header {
        width: 80%;
        justify-content: center;
        gap: 5px;
    }

    .Start_Header h1 {
        font-size: 22px;
        text-align: center;
        font-weight: 600;
    }

    .Start_Header img {
        width: 25px;
        height: 25px;
    }

    .End_Header a {
        font-size: 14px;
    }

    .Menu_List {
        width: 180px;
        font-size: 14px;
        padding: 8px 12px;
    }

    .Burger_Menu {
        display: block;
    }
    
    .End_Header {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: white;
        gap: 15px;
        padding: 20px 0;
    }

    .Nav_Menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 70px; /* match mobile header height */
        left: 0;
        background-color: white;
        z-index: 999;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        transition: all 0.3s ease;
    }

    .Nav_Menu ul {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .Nav_Menu ul li {
        width: 100%;
        text-align: left;
    }

    .Nav_Menu ul a {
        font-size: 16px;
        color: var(--main_color);
        text-decoration: none;
        padding: 10px 0;
        display: block;
        width: 100%;
    }

    .Nav_Menu ul a:hover {
        color: var(--hover_color);
    }

    .Nav_Menu.show {
        display: flex;
        height: initial;
    }
}
