.header {
    /*height: 5vw;*/
    /*width: 100vw;*/
    width: calc(100vw -50px);
    background-color: rgba(255, 253, 248, 1);
    display: flex;
    padding: 10px 50px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: groove;
}
@media only screen and (max-width: 500px) {
    .header {
        padding: 10px 25px;
    }
}
@media only screen and (max-width: 350px) {
    .header {
        padding: 10px;
    }
}
.header_left {
    flex: 1;
}
/*
@media only screen and (min-width: 1000px) {
    .header {
        
    }
}
*/



.header > .brand_logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    flex: 0;
}
.header > .brand_logo > p {
    font-weight: bold;
    transition: color 0.2s ease;
}
.header > .brand_logo:hover p:nth-of-type(1) {
    color: #00FFFF;
    transition-delay: 0s;
}
.header > .brand_logo:hover p:nth-of-type(2) {
    color: #90EE90;
    transition-delay: 0.3s;
}
@media only screen and (min-width: 1000px) {
    .header > .brand_logo {
        font-size: 4rem;
    }
}



.header > .dropdown_menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header .dropdown_toggle {
    list-style: none;
}
.header > .dropdown_menu > li {
    cursor: pointer;
    list-style: none;
}

.dropdown_menu li,
.submenu li {
    white-space: nowrap;
}

.dropdown_menu li {
    position: relative;
    cursor: pointer;
}

.menu_arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}
@media only screen and (min-width: 1000px) {
    .header > .dropdown_menu {
        font-size: 2rem;
    }
}






/* Dropdown Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 37px;
    left: -150px;
    background-color: #fff;
    padding: 2px;
    border: 1px solid #ccc;
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
.header > .dropdown_menu > span:focus-within .submenu {
    display: block;
}
.submenu li:not(.submenu li:first-child) {
    list-style: none;
    padding: 5px 20px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.submenu li:hover:not(.submenu li:first-child) {
    background-color: lightgreen;
}
.submenu li:nth-child(1) {
    list-style: none;
    padding: 5px 20px;
    background-color: blueviolet;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.submenu li:hover:nth-child(1) {
    background-color: lightgreen;
}

.submenu li a:not(.submenu li a:nth-child(1)) {
    text-decoration: none;
    color: #000;
    display: inline-block;
    transition: color 0.2s ease;
}
.submenu li:hover a {
    color: #fff;
}
.submenu li:nth-child(1) a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    transition: color 0.2s ease;
}
.submenu li:nth-child(1):hover a {
    color: #000;
}
.submenu li > img {
    width: 12px;
    height: auto;
    margin-left: 5px;
}
@media only screen and (min-width: 1000px) {
    .submenu {
        left: -300px;
    }
    .submenu li > img {
        width: 20px;
    }
}