* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif !important;
    margin: 0;
    background-color: #F6F7F8;
    overflow-x: hidden;
    height: 100vh;
}

nav {
    background-color: #2A3647;
    position: fixed;
    bottom: 0;
    height: 100%;
    width: 240px;
    display: flex;
    flex-direction: column;
    z-index: 11;
}

.logo img {
    justify-content: center;
    width: 100.03px;
    height: 121.97px;
}

.logo {
    display: flex;
    justify-content: center;
    padding-top: 30%;
    padding-bottom: 40%;
}

.nav-flex-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

header {
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    border-bottom: 4px solid rgba(0, 0, 0, 0.07);
    background-color: white;
    width: 100%;
    padding-left: 240px;
    z-index: 11;
    position: fixed;
    top: 0;
}

.header-text {
    margin-left: 95px;
    font-weight: 500;
    display: flex;
    flex: 1;
    font-size: 21px;
}

.header-icons {
    display: flex;
    align-items: center;
    margin-right: 20px;
    gap: 20px;
}

.overlay-header {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 87px;
    right: 16px;
    z-index: 1;
    background: #2A3647;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
    padding: 26px;
    border-radius: 20px 0px 20px 20px;
    gap: 16px;

}

.overlay-header a {
    color: #CDCDCD;
    cursor: pointer;
}

.overlay-header.overlay-hidden {
    display: none;
}

.help-icon {
    cursor: pointer;
    height: 20px;
    width: 20px;
}

.help-icon:hover {
    width: 25px;
    height: 25px;
}

.group-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 3px solid #2A3647;
    background-color: #FFFFFF;
    margin-right: 50px;
    cursor: pointer;
}

.group-icon:hover {
    background-color: rgb(211, 208, 208);
}

.group-icon span {
    text-align: center;
    color: #29ABE2;
    font-size: 27px;
    font-weight: 700;
}

.nav-bottom {
    display: flex;
    padding-left: 10%;
    flex-direction: column;
    color: #70767D;
    font-size: 17px;
    gap: 10px;
    margin-top: 220px;
}

.nav-bottom2 {
    display: flex;
    padding-left: 10%;
    flex-direction: column;
    color: #70767D;
    font-size: 17px;
    gap: 10px;
    margin-top: 500px;
}

.nav-bottom-a:hover {
    color: #29ABE2;
    cursor: pointer;
}

.nav-bottom-a {
    padding: 10px 0px 10px 50px;
    margin: 0;
    color: rgb(205, 205, 205);
}

.nav-sub {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 0px 10px 50px;
    color: white;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.nav-sub:last-of-type {
    /* mit last-of-type ist "Contacts" gemeint*/
    margin-bottom: 110%;
}

.nav-sub:hover {
    background-color: #091931;
    color: white;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.tools {
    height: 33%;
}

.logoHeaderMobile {
    padding-left: 20px;
    display: none;
}

#popup {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 60px;
    border-radius: 30px;
    z-index: 16;
    max-height: 95vh;
}

@media (max-width: 1000px) {
    header {
        padding: 0;
        position: fixed;
        top: 0;
        z-index: 10;
    }

    .header-text {
        display: none;
    }

    .header-icons {
        display: none
    }

    .logoHeaderMobile {
        display: block;
    }

    .group-icon {
        margin-right: 20px;
    }

    .logo {
        display: none;
    }

    .nav-bottom {
        display: none;
    }

    nav {
        position: fixed;
        margin-bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        width: 100%;
        z-index: 999;
    }

    .nav2 {
        display: none;
    }

    .nav-sub:last-of-type {
        margin-bottom: 0
    }

    .tools {
        display: flex;
        justify-content: space-around;
    }

    .nav-sub {
        display: inline-grid;
        justify-items: center;
        padding: 20px 10px 20px 10px;
        margin: 2px 1px 2px 1px;
        border-radius: 25px;
        width: 120px;
    }
}

@media (max-width: 650px) {
    .tools {
        height: 100%;
    }

    .nav-flex-box {
        height: 80px;
    }

    .nav-sub {
        padding: 0;
        align-content: center;
    }
}

@media (max-width: 650px) {
    .nav-sub {
        font-size: 14px;
    }
}


@keyframes slideIn {
    from {
        right: -100%;
    }

    to {
        right: 50%;
        transform: translate(50%, -50%);
    }
}