:root {
    --website-green: #00883a;
    --font-white: #FFFFF3;
    --shade: rgba(0, 0, 0, .35);
  }

html,
body {
    margin: 0;
    min-height: 100%;
    color: var(--font-white);
    font-family: 'League Spartan';
    font-size: 18pt;
    font-weight: 300;
    background: var(--shade);
}

.registration-deadline {
    font-weight: bold;
}

.main_headline {
    text-shadow: -1.2pt 0px cyan, 1.2pt 0px magenta;
    line-height: 95%;
    font-weight: 700;
    font-size: 70pt;
}

.details {
    font-size: 35pt;
    font-weight: 400;
    font-family: 'Sanchez';
}

.abstract {
    max-width: 42em;
}

header {
    background: var(--website-green);
    padding: 20px;
    padding-right: 30px;
    width: 100%;
    position: fixed;
    font-size: 24pt;
}

header .logo {
    float: left;
}

.nav-container {
    background: var(--website-green);
    text-align: right;
    padding-right: 30px;
}

.nav-links {
    list-style-type: none;
    display: inline-flex;
    text-align: right;
    margin: 0px;
    padding: 0px;
}

.nav-links li {
    margin: 0 15px;
    display: inline;
}

a {
    color: var(--font-white);
}

.nav-links a {
    text-decoration: none;
}

.registration-button {
    background: var(--website-green);
    color: var(--font-white);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.headline-container {
    display: flexbox;
    padding: 40px;
    padding-top: 60px;
    padding-bottom: 0px;
}

.mail-link {
    color: var(--font-white);
}

h1 {
    font-size: 40pt;
    font-weight: 400;
}

h2 {
    font-size: 30pt;
}

h3 {
    font-size: 20pt;
}

.background-image {
    top:0;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(assets/bg-pattern.png) center center no-repeat;
    background-size: cover;
}

section {
    padding-left: 40px;
    padding-right: 40px;
    scroll-margin-top: 60px;
  }

.main-content-container {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 100%;
    display: grid;
    margin: 0 auto;
    grid-auto-rows: 0.2fr;
    grid-gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

section.main-content-box {
    padding-left: 0px;
    padding-right: 0px;
  }

.speaker-list {
    grid-auto-rows: 0.9fr;
    /* margin: 0 auto; */
    display: grid;
    grid-gap: 5px;
    grid-template-columns: minmax(200px, 1fr) minmax(250px, 1fr);
    grid-template-rows: masonry;
}

.speaker-affiliation{
    font-weight: 100;
    font-style: italic;
}

.sponsor-list {
    display: grid;
    text-align: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
}

.sponsor-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.mtl-logo-container {
    background-color: #e9e9e9;
    display: flex;
    max-height: 80%;
    max-width: 90%;
    height: auto;
    margin-top: 2%;
    aspect-ratio: 3 / 1;
}

.mtl-logo {
    max-width: 140%;
}

footer {
    background: var(--website-green);
    text-align: center;
    padding: 1px;
  }


.imprint {
    text-align: left;
    font-size: 12pt;
}

@media (max-width: 768px) {
    .main_headline {
        text-shadow: -0.5pt 0px cyan, 0.5pt 0px magenta;
        font-size: 30pt;
    }

    .details {
        font-size: 18pt;
    }

    body {
        font-size: 12pt;
    }

    header {
        font-size: 12pt;
        padding: 10px;
    }

    .nav-links li {
        margin: 0 5px;
    }

    h1 {
      font-size: 24px;
    }

    section,
    .headline-container,
    .main-content-container {
        padding-left: 10px;
        padding-right: 10px;
        grid-gap: 10px;
    }

    section.main-content-box {
        padding-left: 0px;
        padding-right: 0px;
    }

    section {
        scroll-margin-top: 30px;
    }

    .sponsor-image {
        width: 100%;
        height: 60px;
        object-fit: contain;
    }    

    footer {
        padding: 1px;
      }

    .imprint {
        font-size: 8pt;
    }
  }