@font-face {
    font-family: "Bricolage Grotesque";
    src:
      local("Bricolage Grotesque"),
      url("./images/BricolageGrotesque_72pt-ExtraBold.woff") format("woff"),
      url("./images/BricolageGrotesque_72pt-ExtraBold.woff2") format("woff2"),
      url("./images/BricolageGrotesque_72pt-ExtraBold.eot") format("eot");
      font-display: swap;
      font-style: normal;
      font-weight: bold;
  }
  
:root {
    --color1: #FCFF64;
    --color2: #1C24E4;
    --color3: #0f126d;
}
*, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family:'Bricolage Grotesque', 'Gill Sans', Arial, 'Trebuchet MS', sans-serif;
    letter-spacing: 0.04rem;
}
body, html {
    background: var(--color1);
    color: var(--color2);
    scroll-behavior: smooth;
}
.mobile {
    display: block;
}
.desktop {
    display: none;
}

.padding {
    padding: 0 1rem;
}
header {
    background-color: black;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    position: relative;
}
#smallprint {
    background-color: transparent;
    overflow: visible;
    height: 6rem;
    margin-bottom: 3rem;
}
img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: left center;
    opacity: 0.7;
}
svg {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 100px;
    height: auto;
}
#smallprint svg {
    position: relative;
    fill: var(--color2);
}
#smallprint svg path {
    fill: var(--color2);
}
h1, #mitmachen h1 {
    font-size: 3.125rem;
    margin-bottom: 1rem;
}
.index h1 span {
    display: block;
    font-size: 1.25rem;
}
h2 {
    font-size: 2.125rem;
    margin-bottom: 1rem;
}
#datenschutz h3, #datenschutz h2 {
    margin-top: 3rem;
}
p, li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    max-width: 1200px;
    line-height: 140%;
}
ul {
    margin-left: 1.7rem;
}
#about, #more {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#more h2 {
    margin-top: 0;
}
#about span {
    margin-top: 2rem;
    display: block;
}
.button {
    text-decoration: none;
    display: inline-block;
    padding: 0.8rem 2rem 0.9rem;
    min-width: 300px;
    border: 2px solid var(--color2);
    border-radius: 40px;
    margin-bottom: 0.4rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
    background-color: var(--color1);
    color: var(--color-2);
    font-size: 1.188rem;
}
a.button:hover {
    box-shadow: 2px 2px 0 var(--color3);
}

#about a:first-of-type {
    color: var(--color1);
    background-color: var(--color2);
}
a:visited {
    color: var(--color2);
}

#more {
    background: var(--color2);
    border-radius: 20px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#more > *:not(.button) {
    color: var(--color1);
}
#more a.button {
    color: var(--color2);
    margin-top: 2rem;
    border: var(--color1);
}
#more > img {
    margin-bottom: 2rem;
    border-radius: 16px;
    opacity: 1;
}
#contact a {
    margin-top: 2rem;
}
footer {
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: flex;
}
footer a {
    color: var(--color2);
}
footer a:first-of-type {
    margin-left: 0;
    margin-right: 1rem;
}
#mitmachen main {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 600px) {
    img {
        height: 560px;
    }
}
@media (min-width: 800px) {
    #more {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    #more > img {
        width: 49%;
        max-width: 600px;
        margin-left: 2%;
    }
}
@media (min-width: 1024px) {
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }
    .headline {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        max-width: 800px;
    }
    .headline h1 {
        color: var(--color1);
    }
    img {
        height: 700px;
        opacity: 0.6;
    }
    h1, #mitmachen h1 {
        font-size: 4rem;
    }
    .index h1 span {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 3rem;
    }
    p, li {
        font-size: 1.8rem;
    }
    #about {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
    #about a:first-of-type {
        margin-right: 1rem;
    }

    footer a:first-of-type {
        margin-left: auto;
        margin-right: 1rem;
    }
}
@media (min-width: 1200px) {
    img {
        height: 80vh;
    }
    svg {
        top: 1.4rem;
        left: 2rem;
    }
    .padding {
        padding: 0 2rem;
    }
    header {
        border-radius: 0 0 30px 30px;
    }
    .headline {
        max-width: 900px;
    }
    h1, #mitmachen h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 4rem;
    }
    #more {
        border-radius: 30px;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}
@media (min-width: 1600px) {
    img {
        height: 90vh;
    }
    #more {
        align-items: flex-start;
    }
    #more > img {
        max-width: 500px;
        height: auto;
    }
}