
:root {
    --neutral-0: #000;
    --neutral-50: #F2F2F2;
    --neutral-80: #B8B8B8;
    --neutral-100: #FFF;
    --radius-mid: 1rem;
    --radius-large: 2rem;
    --contentMaxWidth: 95.5rem;

    --coffee-brown: #C1B28B;
    --deine-wahl-orange: #ff4f00;
    --er-blue: #88C2DD;
    --bme-blue: #2034A6;

}

/* Reset all padding and margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */

}


@font-face {
    font-family: 'MDIO';
     src: url('../sources/fonts/MDIO-Regular.woff2') format('woff2'),
         url('../sources/fonts/MDIO-Regular.woff') format('woff'),
         url('../sources/fonts/MDIO-Regular.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    /* font-display: swap; */
}
@font-face {
    font-family: 'MDIO';
    src: url('../sources/fonts/MDIO-Italic.woff2') format('woff2'),
         url('../sources/fonts/MDIO-Italic.woff') format('woff'),
         url('../sources/fonts/MDIO-Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    /* font-display: swap; */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;

    -webkit-font-smoothing: antialiased !important; 
    -moz-osx-font-smoothing: grayscale !important;  
    text-rendering: optimizeLegibility !important;  
}


body {
    font-family: 'MDIO', monospace;
    font-style: normal;
    font-size: 1.125rem;
    line-height: 2.125rem;

    font-size: 1rem;
    line-height: 2rem;

    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

p {
    padding-right: 1.6rem;
}

h1 {
    font-family: 'MDIO', monospace;
    font-style: normal;
    font-size: 2.5rem; /* 40px */
    line-height: 4rem;
}

h2 {
    font-family: 'MDIO', monospace;
    font-style: normal;
    font-size: 3.5rem; /* 56px */
    line-height: 4.2rem;

    margin-bottom: 2rem;
    
}

h3 {
    font-family: 'MDIO', monospace;
    font-style: normal;
    font-size: 2rem; /* 32px */
    line-height: 3rem;

    /* font-size: 2.5rem
    line-height: 3.5rem
    margin-bottom: 2rem */

    margin-bottom: 1.5rem;
}

h4 {
    font-family: 'MDIO', monospace;
    font-style: normal;
    font-size: 1.5rem; /* 40px */
    line-height: 2.5rem;
}

.body-heading {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.body-heading-short {
    text-transform: uppercase;
}

.landing-section-text {
    font-size: 3.5rem;
    line-height: 4.75rem;
    /* font-size: 56px;
    line-height: 67px; */
    word-wrap:break-word;
}

/* header --------------------------------- */

header {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0 2rem 0;
}

header #logo {
    font-style: italic;
}

header p a {
    text-decoration: none;
}


ul {
    list-style: none;
    display: flex;
    flex-direction: row;

}

ul li {
    padding-left: 1.5rem;
}

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

/* a li {
    text-decoration: underline;
} */


/* Grid & Layout ------------------------------------------------------- */

.wrapper {
    width: 90%;
    max-width: var(--contentMaxWidth);
    margin: auto;
  }

#main-content {
    padding-top: 48px;
}

.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 20px;
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; } /* 0px */
.spacer-1   { height: 0.5rem;   grid-column: 1 / span 6; } /* 8px */
.spacer-2   { height: 1rem;     grid-column: 1 / span 6; } /* 16px */
.spacer-3   { height: 1.5rem;   grid-column: 1 / span 6; } /* 24px */
.spacer-4   { height: 2rem;     grid-column: 1 / span 6; } /* 32px */
.spacer-5   { height: 3rem;     grid-column: 1 / span 6; } /* 48px */
.spacer-6   { height: 4rem;     grid-column: 1 / span 6; } /* 64px */
.spacer-7   { height: 6rem;     grid-column: 1 / span 6; } /* 96px */
.spacer-8   { height: 9rem;     grid-column: 1 / span 6; } /* 144px */
.spacer-9   { height: 15rem;    grid-column: 1 / span 6; } /* 240px */
.spacer-10  { height: 21rem;    grid-column: 1 / span 6; } /* 336px */

.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; }


/* projects overview */

.coffee-brown-bg {
    background-color: var(--coffee-brown);
}

.deine-wahl-orange-bg {
    background-color: var(--deine-wahl-orange);
}

.er-blue-bg {
    background-color: var(--er-blue);
}

.bme-blue-bg {
    background-color: var(--bme-blue);
}

.italic-text {
    font-style: italic;
}

.project-card {
    margin-bottom: 10rem;

}

.project-icon-container {
    border-radius: var(--radius-mid);
    width: 100%;
    height: 38rem;
    display: flex;
    align-items: center;
    justify-content: center;

}

.project-top-facts , .project-bottom-facts {
    display: flex;
    justify-content: space-between;
}

.project-card-description {
    width: 40%;
}

#coffee-display-image {
    background-color: var(--coffee-brown);
}

#deine-wahl-image {
    background-color: var(--deine-wahl-orange);
}

#er-image {
    background-color: var(--er-blue);
}

#bme-image {
    background-color: var(--bme-blue);
}

a {
    text-decoration: underline;
    color: var(--neutral-0);
}

p a:hover {
text-decoration: none;
cursor: pointer;
}

.no-break {
    white-space: nowrap;
}

/* index v2 */

.project-tile {
    margin-bottom: 8rem;
}

.project-tile-icon-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-mid);

    overflow: hidden;

    /* margin-top: 1rem; */
    margin-bottom: 2rem;
}

.project-tile-icon-container img {
    width: 100%;
    transition: width 0.3s ease
}

.project-tile-icon-container:hover img {
    width: 110%;
    cursor: pointer;
}


/* .project-tile-name {
    margin-bottom: 1rem;
    text-decoration: underline;
    
}

.project-tile:hover p.project-tile-name{
    text-decoration: none;
} */

/* imprint */

#imprint-container {
    margin-top: 8rem;
}

/* footer */

footer {
    /* border-top: 1px solid var(--neutral-0); */
    padding: 15rem 0 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.footer-links {
display: flex;
flex-direction: row;
}