/************************************************************************************************************************/
#top_menu_list {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: var(--dialogue-box-background);
}

#top_menu {
    width: 100%;
    position: fixed;
    z-index: 4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.75vw;
}

.menu_cell {
    position: relative; /* Necessary for correctly positioning the submenu */
    cursor: pointer;
    padding: 1vw;
    padding-left: 1vw;
    padding-right: 1vw;
    box-sizing: border-box; /* We will see if this makes the submenus start */
}

.submenu {
    display: none; /* Initially the submenu is hidden */
    position: absolute;
    top: 100%; /* So that it appears right below the element */
    left: 0;
    /*background-color: red;*/
    color: black;
    text-align: center;
    width: 100%;
    font-size: 1.5vw;
    padding-bottom: 0;
    background: var(--submenu-link-background);

}

.submenu_link {
    width: 100%;
    height: 100%;
    padding: 0;
    /*padding-top: 0vw;
    padding-bottom: 0;
    padding-left: 0.5vw;
    padding-right: 0.5vw;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/************************************************************************************************************************/
/* STYLES FOR THE EMERGING MENUS: */
.menu_cell:hover .submenu {
    display: flex;
    flex-direction: column;
    justify-content: center;

}
/************************************************************************************************************************/
/* STYLE FOR WHEN HOVERING: */

.menu_link:hover,  .submenu_link:hover{
    background: var(--colored-letters);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}
/************************************************************************************************************************/
/* RESPONSIVE SCREEN SIZES: */
@media (max-width: 499px) {
    #top_menu {
        font-size: 4vw;
    }
    .submenu {
        font-size: 3vw;
    }
}
