header {
    display: flex;
    flex-direction: row;
    padding: 50px 0;
    border-bottom: 1px solid var(--Weiss, #FFF);
}

.site-title a {
    color: var(--auxilo-lila, #333185);
    text-align: center;
    font-family: Raleway;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.site-description {
    color: var(--auxilo-lila, #333185);
    font-family: Raleway;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.main-navigation {
    padding: 15px 0 0 0;
}

.main-navigation a {
    color: var(--auxilo-lila, #333185);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
}

.main-navigation a:after {
    display: flex;
    height: 1px;
    width: fit-content;
    content: attr(data-text);
    font-weight: 700;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.main-navigation a:hover {
    font-weight: 700!important;
}

.main-navigation ul ul {
    box-shadow: none;
}

.main-navigation li {
    margin: 0 15px;
}

.main-navigation ul ul li:first-child {
    margin-left: 0;
}

.main-navigation ul ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 30px;
}

.main-navigation ul ul li:before {
    content: '|';
    margin-right: 10px;
}

.header-button,
.header-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auxilo-lila, #333185);
    font-family: Raleway;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 20px;
    margin: 5px 0 auto auto;
    border-radius: 15px;
    min-width: 160px;
    border: 1px solid var(--auxilo-lila, #333185);
    background: rgba(51, 49, 133, 0.00);
}

.header-button:hover{
    font-weight: 700;
    outline: 2px solid var(--auxilo-lila, #333185);
}

/*region FrontPageHeader*/
.front-page-header {
    position: absolute;
    display: flex;
    width: 100%;
    color: var(--Weiss, #FFF);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    z-index: 20;
    background-color: transparent;
    transition: 0.3s background-color;
}

.front-page-header:hover {
    background: #FFFFFF;
    color: var(--auxilo-lila, #333185) !important;
    transition: 0.3s background-color;
}

.front-page-header .site-branding .site-title,
.front-page-header .site-branding .site-title a,
.front-page-header .site-branding .site-title a:visited {
    color: var(--Weiss, #FFF);
    text-align: left;
    font-family: Raleway;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.front-page-header .site-branding .site-description {
    color: var(--Weiss, #FFF);
    text-align: left;
    font-family: Raleway;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


.front-page-header .main-navigation a {
    color: var(--Weiss, #FFF);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.front-page-header:hover .site-branding .site-title,
.front-page-header:hover .site-branding .site-title a,
.front-page-header:hover .site-branding .site-title a:visited,
.front-page-header:hover .site-branding .site-description,
.front-page-header:hover .main-navigation a,
.front-page-header.fixed-top-header .site-branding .site-title,
.front-page-header.fixed-top-header .site-branding .site-title a,
.front-page-header.fixed-top-header .site-branding .site-title a:visited,
.front-page-header.fixed-top-header .site-branding .site-description,
.front-page-header.fixed-top-header .main-navigation a {
    color: var(--auxilo-lila, #333185) !important;
    transition: 0.3s background-color;
}

.front-page-header .header-button,
.front-page-header .header-button:visited {
    color: white;
    border-color: white;
}

.front-page-header:hover .header-button,
.front-page-header:hover .header-button:visited,
.front-page-header.fixed-top-header .header-button,
.front-page-header.fixed-top-header .header-button:visited {
    color: var(--auxilo-lila, #333185);
    border-color: var(--auxilo-lila, #333185);
}

.front-page-header .header-button:hover {
    font-weight: 700;
    outline: 2px solid var(--auxilo-lila, #333185);
}

/*endregion*/

.fixed-top-header {
    position: fixed;
    z-index: 100;
    background: #FFFFFF;
    color: var(--auxilo-lila, #333185) !important;
    border-bottom: 1px solid var(--auxilo-lila, #333185);
    transition: 0.3s background-color ease-in-out;
}

.fixed-header {
    position: fixed;
    width: 100%;
    z-index: 10;
    background: #FFFFFF;
    border-bottom: 1px solid #333185;
}

header.fixed-header ~ main {
    padding-top: 170px;
}

header.fixed-header ~ main > section:first-child {
    padding-top: 75px;
}


@media all and (width < 1400px) {
    header {
        padding: 20px 0;
    }

    header.fixed-header ~ main {
        padding-top: 110px;
    }
}

@media all and (width < 1200px) {

}

@media all and (width < 992px) {
    .main-navigation {
        padding: 0 0 30px 0;
    }

    header.fixed-header ~ main {
        padding-top: 155px;
    }
}

@media all and (width < 768px) {
    .fixed-header {
        border: none;
        top: 0;
    }

    header.fixed-header ~ main {
        padding-top: 110px;
    }

    header.fixed-header ~ main > section:first-child {
        padding-top: 10px;
    }

    .burger {
        display: flex;
        width: 30px;
        height: 23px;
        margin-top: 11px;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("data:image/svg+xml,%3Csvg width='30' height='23' viewBox='0 0 30 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1H30' stroke='%23333185' stroke-width='2'/%3E%3Cpath d='M0 12H30' stroke='%23333185' stroke-width='2'/%3E%3Cpath d='M0 22H30' stroke='%23333185' stroke-width='2'/%3E%3C/svg%3E%0A");
    }

    .front-page-header:not(:hover) .burger {
        background-image: url("data:image/svg+xml,%3Csvg width='30' height='23' viewBox='0 0 30 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1H30' stroke='white' stroke-width='2'/%3E%3Cpath d='M0 12H30' stroke='white' stroke-width='2'/%3E%3Cpath d='M0 22H30' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    }

    .front-page-header.fixed-top-header .burger {
        background-image: url("data:image/svg+xml,%3Csvg width='30' height='23' viewBox='0 0 30 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1H30' stroke='%23333185' stroke-width='2'/%3E%3Cpath d='M0 12H30' stroke='%23333185' stroke-width='2'/%3E%3Cpath d='M0 22H30' stroke='%23333185' stroke-width='2'/%3E%3C/svg%3E%0A");
    }

    .site-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #MobileMenu ul.menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #MobileMenu ul.menu > li:not(:last-child) {
        margin-bottom: 30px;
    }

    #MobileMenu ul.menu > li:has( > a + ul ) {
        margin-bottom: 0 !important;
    }

    #MobileMenu ul.menu li a {
        color: var(--auxilo-lila, #333185);
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;
    }

    #MobileMenu ul.menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #MobileMenu ul.menu ul {
        margin-top: 20px;
    }

    #MobileMenu ul.menu ul li {
        margin-bottom: 20px;
    }

    #MobileMenu ul.menu ul li a {
        color: var(--auxilo-lila, #333185);
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;
    }

    #MobileMenu ul.menu ul li:before {
        content: '|';
        margin-right: 10px;
    }
    .header-button, .header-button:visited{
        font-size: 18px;
    }
}