/* SLIDE IN WHEN HAMBURGER ICON CREATED DIV */

.slidinginsidecontent {
    margin-top: 70px;
}

.sliding-menu {
    position: fixed;
    top: 0;
    right: -250px;
    /* Initially position the div off-screen */
    height: 100%;
    width: 250px;
    background-color: #ffffff;
    /* Set your desired background color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    /* Ensure the sliding div appears on top of other elements */
    transition: right 0.3s ease;
    /* Apply a sliding animation with ease transition */
}

.sliding-menu.open {
    right: 0;
    background-color: #2c5857;
    border-left: 1px solid #dfe1e5;
    /* Slide the div in from the right when it's open */
}

#SlidingContent {
    color: white;
}


/* CSS code targeting the ul inside the div with class "sliding-menu" */

.sliding-menu ul {
    margin-top: 15px;
    margin-left: 15px;
}


/* Styling for the sliding menu container */

.sliding-menu {
    background-color: #333;
    transition: right 0.3s ease;
}


/* Styling for the menu icon */

.menu-icon {
    padding: 15px;
    color: #fff;
    cursor: pointer;
    /* Add any icon-related styling here (e.g., font-size, icon positioning) */
}

.sliding-menu.active {
    left: 0;
}

.IconsInLeftPage {
    fill: white;
}

#SettingInLeftPage {
    vertical-align: middle;
}

.IconsInLeftPage svg {
    vertical-align: middle;
}


/* CSS code targeting the #dropdownMenuSideways element */

#dropdownMenuSideways {
    display: none;
    position: absolute;
    top: 470px;
    right: -250px;
    /* Initially position the element off-screen */
    background-color: grey;
    /* Set your desired background color */
    border: 1px solid #ccc;
    /*min-width: 160px;*/
    width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 0;
    /* Add any other styles you want here for the dropdown menu */
}


/* CSS code to adjust the position of the #dropdownMenuSideways element */

.IconsInLeftPage:hover+#dropdownMenuSideways {
    right: calc(100% + 2px);
    /* Position the element starting at 250px from the right window border */
}

.settingsdropdownsidebar:hover #dropdownMenuSideways {
    display: block;
    /* Show the #dropdownMenuSideways element when .settingsdropdownsidebar is hovered */
}


/* EXPERIMENT */

body {
    background-color: #fff;
    font-family: Trebuchet MS, Lato;
    padding: 0px;
    margin: 0px;
    -webkit-font-smoothing: antialiased;
}

a:-webkit-any-link {
    cursor: pointer;
}

a {
    text-decoration: none;
    font-weight: 700;
}

.sliding-menu {
    position: fixed;
    top: 0;
    right: -290px;
    box-sizing: border-box;
    top: 0px;
    width: 260px;
    height: 100%;
    background-color: #2c5857;
    color: #fff;
    white-space: nowrap;
    overflow-y: auto;
    z-index: 2;
    padding: 20px 20px 20px 20px;
}

.sliding-menu h1 {
    color: #A9D18E;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 100;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sliding-menu ul {
    list-style-type: none;
    margin-top: 0px;
    margin-left: 0px;
}

.sliding-menu li a {
    display: block;
    color: #fff;
    padding: 10px 10px 9px 10px;
    border-radius: 3px;
    font-size: 16px;
}

.sliding-menu li a:hover {
    background-color: #3c6867;
}

.sliding-menu li img {
    width: 20px;
    filter: invert(100%);
    margin-left: 0px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 10px;
}


/* NEW ICON ANIMATION STYLES */

.burger-button-animated {
    background: transparent;
    cursor: pointer;
    position: absolute;
    fill: white;
    width: 50px;
    transform: scale(0.5);
    z-index: 6;
    position: absolute;
    right: 35px;
    top: 23px;
    display: none;
}

.line {
    position: absolute;
    width: 73px;
    height: 6px;
    background-color: white;
    transition: transform 0.3s, opacity 0.3s;
}

.first-line {
    top: 0.75rem;
}

.second-line {
    top: 2rem;
}

.third-line {
    top: 3.25rem;
}

.burger-button-animated.active .first-line {
    transform: translateY(1.25rem) rotate(45deg);
}

.burger-button-animated.active .second-line {
    opacity: 0;
}

.burger-button-animated.active .third-line {
    transform: translateY(-1.25rem) rotate(-45deg);
}

#hauptnavigation {
    border: none;
}

#ClickSpaceMenu {
    width: 50px;
    height: 45px;
    position: absolute;
    right: 19px;
    top: 20px;
    z-index: 6;
    display: none;
}

#ClickSpaceMenu:hover {
    cursor: pointer;
}


/* FINISH -------- FINISH */