:root {

    --space: #00023B;
    --azure: #1A9FE3;
    --jade: #13BD75;
    --pine: #0E8786;
    --sapphier: #3E5DD6;

    --c0: #00023B;
    --c10: #5F6087;
    --c20: #dedee9;
    --c40: #E0E1E7;
    --c50: #E8E9ED;
    --c60: #EBEBEF;
    --c70: #BFC0CE;
    --c80: #F5F5F7;
    --c90: #F7F7F7;
    --c100: #FFF;
    --test: #ff0000;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;


}

/* grid & layout */

.wrapper {
    width: 80%;
    max-width: 1200px;
    margin: auto;
  }

.content-block {
    padding: 120px 0 120px 0;
    border-bottom: 1pt solid var(--c20);

}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 0px 16px;
    max-width: var(--contentMaxWidth);
    }

.start-1 { grid-column-start: 1; }
.start-2 { grid-column-start: 2; }
.start-3 { grid-column-start: 3; }
.start-4 { grid-column-start: 4; }
.start-5 { grid-column-start: 5; }
.start-6 { grid-column-start: 6; }
.span-1  { grid-column-end: span 1; }
.span-2  { grid-column-end: span 2; }
.span-3  { grid-column-end: span 3; }
.span-4  { grid-column-end: span 4; }
.span-5  { grid-column-end: span 5; }
.span-6  { grid-column-end: span 6; }

.spacer-0  { height: 0px;                     grid-column: 1 / span 6; }
.spacer-1  { height: 1vw; min-height: 8px;    grid-column: 1 / span 6; }
.spacer-2  { height: 2vw; min-height: 16px;   grid-column: 1 / span 6; }
.spacer-3  { height: 3vw; min-height: 24px;   grid-column: 1 / span 6; }
.spacer-4  { height: 4vw; min-height: 32px;   grid-column: 1 / span 6; }
.spacer-5  { height: 5vw; min-height: 40px;   grid-column: 1 / span 6; }
.spacer-6  { height: 6vw; min-height: 48px;   grid-column: 1 / span 6; }
.spacer-7  { height: 7vw; min-height: 56px;   grid-column: 1 / span 6; }
.spacer-8  { height: 8vw; min-height: 64px;   grid-column: 1 / span 6; }
.spacer-10 { height: 10vw; min-height: 80px;  grid-column: 1 / span 6; }

.mobile-spacer-0  { display: none; }
.mobile-spacer-1  { display: none; }
.mobile-spacer-2  { display: none; }
.mobile-spacer-3  { display: none; }
.mobile-spacer-4  { display: none; }
.mobile-spacer-5  { display: none; }
.mobile-spacer-6  { display: none; }
.mobile-spacer-7  { display: none; }
.mobile-spacer-8  { display: none; }
.mobile-spacer-10 { display: none; }


@font-face {
    font-family: 'Aspekta';
    src: url("sources/Aspekta-400.otf") format('otf'),
    url("sources/Aspekta-400.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aspekta';
    src: url("sources/Aspekta-500.otf") format('otf'),
    url("sources/Aspekta-500.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
}


h1 {
    font-family: 'Aspekta';
    font-size: 68px;
    font-style: normal;
    font-weight: 500;
    line-height: 77px;
}

h2 {
    font-family: 'Aspekta';
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 51px; /* 127.5% */
}

h3 {
    font-family: 'Aspekta';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

h4 {
    font-family: 'Aspekta';
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--c0);

}

p {
    font-family: 'Aspekta';
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    padding-right: 32px;

    color: var(--c10);
}

.small {
    font-size: 16px;
}

.grey-title {
    color: var(--c20);
}

.text-width-80 {
    width: 80%;
    margin-right: auto;
}
/* landing page */

.flex-break {
    flex-basis: 100%; /* Forces a line break */
    height: 0; /* Optional, remove height if you want no visual impact */
  }

body {
    background: #fff;
    margin: 0px;

    font-family: 'Aspekta', Helvetica, Arial,  sans-serif;

    -webkit-font-smoothing: antialiased; /* For WebKit (Safari, Chrome) */
    -moz-osx-font-smoothing: grayscale;  /* For Firefox */
    text-rendering: optimizeLegibility;  /* Better kerning and ligatures */

    max-width: 100%;
    color: var(--space);


}

header {
    height: 90px;
    width: 100vw;
    background-color: var(--c100);
    border-bottom: 1pt solid var(--c20);
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 100;
    top: 0px;
    align-items: center;
    padding: 24px;
}

#navigation {
    display: block;
}


nav a {
    font-size: 19px;
    margin-left: 24px;
    font-weight: 500;
    color: inherit;
}


#landing-container {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: calc(100vh - 90px);
    min-height: 800px;
    max-height: 1400px;
    border-bottom: 1pt solid var(--c20);
    margin-top: 90px;
}

#landing-left {
    width: 50vw;
    height: 100%;
    border-right: 1pt solid var(--c20);
}

#landing-right {
    width: 50vw;
    /* background-color: blue; */
}

#landing-left-container {
    width: 100%;
    height: calc(100% - 90px);
    padding-left: 48px;
    padding-top: 48px;
    padding-right: 32px;
    border-bottom: 1pt solid var(--c20);
}

#landing-left-container2 {
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: row;
}

#funding-claim {
    width: 50%;
    border-right: 1pt solid var(--c20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c10);
}

#funding-institutions {
    width: 50%;
    display: flex;
}

.funding-logo-container {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#eu-flag-container {
    border-right: 1pt solid var(--c20);
}

#xecs-logo-container {
    width: 50%;
}

#xecs-logo-container img {
    height: 100%;
}

.funding-logo-container a {
    height: 50%;
}



.claim {
    font-family: 'Aspekta', Helvetica, Arial,  sans-serif;
    font-optical-sizing: auto;
    font-size: 4.8vw;
    line-height: 5.6vw;
    /* font-size: 68px;
    line-height: 77px; */
    font-weight: 500;
    font-style: normal;
}

#landing-right-container {
    width: 100%;
    height: 100%;
    margin: 0px;
    margin-left:auto;
    /* background-color: var(--sapphier); */
}

#svg {
    width: 100%;
    height: 100%;
}

/*  facts */

.fact-heading {
    margin: 0px;
}

/* partners logo wall */

.partner-tile {
    background-color: var(--c90);
    border-radius: 16px;
    margin-bottom: 16px;
}

.partner-tile img {
    width: 100%;
}

/* megatrends */

.megatrend-container {
    background-color: var(--c90);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 64px;
}
.megatrend-container img {
    width: 50%;
}

.megatrend-item {
    padding-right: 28px;
}

/* research fields */

#research-fields-container {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 0px 64px;
    max-width: var(--contentMaxWidth);
}

.research-field img{
    width: 75%;

}

.hearing-support-highlight {
    color: var(--sapphier);
}

.non-intrusive-care-highlight {
    color: var(--azure);
}

.health-monitoring-highlight {
    color: var(--jade);
}

.sleep-monitoring-highlight {
    color: var(--pine);
}

.research-field-section {
    padding: 0px;
    padding-top: 0px;
}

.research-field-cover-image {
   border-top: 1pt solid var(--c20);
   border-bottom: 1pt solid var(--c20);
}

.research-field-cover-image img{
    width: 100%;
}

.research-field-title h1 {
    /* margin: 48px 0 48px 0; */
}

.research-field-content {
    display: flex;
    flex-direction: row;
}

.research-field-col-1 {
    width: 50%;
    /* padding-right: 32px; */
    padding: 16px 40px 256px 0;
    border-right: 1pt solid var(--c20);
}

.research-field-col-2 {
    width: 50%;
    padding: 16px 0 256px 40px;
}

.no-padding {
    padding: 0px;
}

.image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.image img{
    width: 100%;

}

/* Project Partners */

.project-partners-wrapper {
    display: flex;
    flex-direction: row;
}

.project-partners-col-1{
    width: 100%;
    padding-right: 16px;
}

.project-partners-col-2{
    width: 100%;
    padding-left: 16px;
}

.project-partner-tile {
    position: relative;
    background-color: var(--c90);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.associated-partner-tag {
    position: absolute;
    background-color: var(--c50);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    top: 16px;
    right: 16px;
}

.project-partner-logo {
    display: flex;
    justify-content: center;
    border-bottom: 1pt solid var(--c20);
    margin-bottom: 32px;
}

.project-partner-logo img {
    width: 100%;
}

.body-highlight {
    color: var(--c0);
    font-weight: 500;
}

.project-partner-contact {
    margin-top: 0px;
    font-size: 16px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td.main-col {
    color: var(--c0);
    font-weight: 500;
}

tr:not(:last-child) {
    border-bottom: 1pt solid var(--c20);
}

td {
    padding: 16px 0 16px 0;
    color: var(--c10);
}

a {
    text-decoration: none;
    color: var(--c10);
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* footer */

footer {
    height: 90px;
    display: flex;
    border-bottom: 1pt solid var(--c20);
    border-top: 1pt solid var(--c20);
}
#legal-container {
    width: 50%;
    border-right: 1pt solid var(--c20);
    display: flex;
    align-items: center;
    padding-left: 24px;
    font-size: 19px;
}

#legal-container a {
    margin-right: 24px;
}

#funding-container-bottom {

    display: none;
}

/* test */

.masonry-grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    grid-auto-rows: 0;
}

.grid-item {
    grid-row-end: span 100;
    background-color: red;
}



/* imprint */

#partners-section {
    border-bottom: none;
    padding-bottom: 240px;
}

#imprint-content-section {
    margin-top: 90px;
    padding-bottom: 240px;
}
