@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/uploads/fonts/Raleway-Thin.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Raleway-Thin.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/uploads/fonts/Raleway-Regular.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Raleway-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/wp-content/uploads/fonts/Raleway-Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Raleway-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/fonts/Roboto-Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Roboto-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/fonts/Roboto-Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
    --cl-primary: #8daf96;
    --cl-secondary: #323335;
    --cl-weiss: #fff;
    --primary-font: 'Roboto', sansserif;
    --header-font: 'Raleway', sansserif;
    --header-height: 70px
}

/* Firefox */
* { 
    scrollbar-width: thin;
    scrollbar-color: var(--cl-secondary) var(--cl-weiss);}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar { width: 6px;}
*::-webkit-scrollbar-track { background:var(--cl-weiss);}
*::-webkit-scrollbar-thumb { 
    background-color: var(--cl-secondary);
    border-radius: 20px; border: 0px solid transparent;
}

body, body * {
    font-family: var(--primary-font) !important;
    color: var(--cl-secondary) !important;
    font-weight: 300 !important;
    font-size: 20px !important;
    text-wrap: pretty !important;
}

@media screen and (max-width: 1920px) {

    body, body * {
        font-size: 16px !important;
    }

    #site-header a {
        font-size: 20px !important;
    }
}

@media screen and (min-width: 1921px) {
    .container {
        width: 80vw !important;
    }
}

h1 {
    font-size: clamp(22px, 2vw, 36px) !important;
    line-height: 1.3 !important;
    margin-bottom: 2vh !important;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font-weight: 500 !important;
    color: var(--cl-secondary) !important;
    font-family: var(--header-font) !important;
}

#main #content-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

p, li {
    text-wrap: pretty;
}

a {
    position: relative;
    transition: color 0.5s ease, padding 0.5s ease;
}

a:focus {
    outline: none !important;
}

 #content a:hover {
    color: var(--cl-primary) !important;
    /* padding-left: 10px; */
}

/*

#content a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 0px;
    background-color: var(--cl-secondary);
    transition: height 0.5s ease, background-color 0.5s ease;
} 
    
*/

#content a:hover::before {
    height: 100%;
    background-color: var(--cl-primary);
}

#home-hero, #hero-header {
    padding-top: var(--header-height);
}

#home-hero a {
    display: block;
    margin-top: 3rem;
    position: relative;
    line-height: 1;
}

#site-header {
    position: fixed !important;
    height: var(--header-height) !important;
    border-bottom: 0 !important;

}

#site-header #site-header-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#site-header ul, #footer ul  {
    list-style: none;
}

#site-header ul li, #footer ul li {
    display: inline-block;
    margin: 0 30px;
}

#site-header ul li:last-child {
    margin-right: 0px;
}

#site-header ul li a, #footer ul li a {
    position: relative;
    transition: color 0.5s ease;
}

#site-header ul li:hover a, #footer ul li:hover a {
    color: var(--cl-primary) !important;
}

#site-header ul li a::before {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 0;
    height: 1px;
    width: 0;
    background-color: var(--cl-secondary) !important;
    transition: width 0.5s ease, background-color 0.5s ease;
}

#site-header ul li:hover a::before {
    width: 100%;
    background-color: var(--cl-primary) !important;
}

.top-section {
    height: calc(100vh - var(--header-height)) !important;
}

#main ul {
    list-style: none;
    margin: 20px 0 0 0 !important;
}

#main ul li {
    position: relative;
    padding-left: 20px;
}

#main ul li::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 10px;
    background-color: var(--cl-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#forschung a {
    text-decoration: underline;
}