﻿
:root {
    --yellow:#ffff00;
    --pink:#ff07c9;
    --blue:#57ffff;

}

* {
    box-sizing:border-box;
    font-family: "niveau-grotesk", sans-serif;
}

html {
	overflow-y:scroll;
    overflow-x: hidden;
}

html, body {
	padding:0;
	margin:0;
    font-size:16px;
    font-weight:300;
}

h1 {
    font-size:3rem;
}

h2 {
    font-size:2.4rem;
}

h3 {
    font-size:2rem;
}

h4 {
    font-size:1.5rem;
}

h5 {
    font-size:1rem;
}

p {
    line-height:1.4rem;
}

section.supporters h2 {
    color:var(--pink);
    text-align:center;
    margin:0 0 2rem 0;
}

section.supporters .inner {
    padding:3rem 0;
}

.hero.page h1 {
    font-size: 6rem;
    text-align: center;
    font-style: italic;
}

.hero {
    max-width:1280px;
    margin:0.5rem auto;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.hero.page {
        margin: 5rem auto;
}

.hero.home {
    height:100vh;
}

.hero svg {
    display:block;
    width:100%;
    max-height: calc(100vh - 1rem);
}

.hero > svg {
    min-width: 1200px;
}

.hero-content {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

header {
    position:sticky;
    top:0;
    display:flex;
    background:#FFFFFF;
    opacity:0;
    gap:24px;
    justify-content:space-between;
    align-items:center;
    padding: 1rem 2rem;
    z-index:10;
    transition:0.5s;
    width:100%;
    pointer-events:none;
}

header::after {
    position:absolute;
    content:"";
    display:block;
    bottom:0;
    width:0;
    left:0;
    height:1px;
    background:#000000;
    transition:0.7s;
}

header.stuck {
    opacity:1;
    pointer-events:all;
}

header.stuck::after {
    width:100%;
}

.nav-icon-desktop,
.nav-icon-mobile {
    display:block;
    position:fixed;
    top:1rem;
    right:1rem;
    cursor:pointer;
    z-index:2;
}

.nav-icon-desktop svg,
.nav-icon-mobile svg {
    pointer-events:none;
    display:block;
    width:36px;
    height:36px;
}

.nav-icon-mobile {
    display:none;
}

header a.logo {
    display:block;
    text-decoration:none;
}

header a.logo svg {
    display:block;
    width:100px;
}

nav {
    display:flex;
    gap:24px;
    justify-content:center;
}

nav a {
    text-decoration:none;
    color:#000000;
    position:relative;
    display:block;
    padding: 0.2rem 0;
    transition:.5s;
}

nav a::after {
    content:"";
    display:block;
    position:absolute;
    bottom:0;
    left:0;
    background:var(--pink);
    height:1px;
    width:0;
    transition:.5s;
}

nav a:hover::after  {
    width:100%;
}

nav a:hover {
    color:var(--pink);
    background:transparent;
}

a.link-button,
.rte a.link-button {
    display:block;
    padding:6px 12px;
    width:fit-content;
    background:var(--pink);
    color:#000000;
    text-decoration:none;
    font-weight: 500;
    text-transform: uppercase;
    transition:.5s;
}

a.link-button.lb-black:hover,
a.link-button.lb-blue:hover,
a.link-button.lb-pink:hover,
a.link-button:hover {
    background:#000000;
    color:var(--pink);
}

.become-sponsor a.link-button {
    margin:2rem 0;
}

header a.link-button {
    justify-self:flex-end;
}

.inner {
    max-width:1280px;
    margin:0 auto;
    width:100%;
}

span.blue {
    color:var(--blue);
}

span.pink {
    color:var(--pink);
}

h1 span.normal {
    font-weight:400;
    padding:1rem 0;
    display:inline-block;
    font-size:2rem;
}

.home .hero-text {
    margin:0 auto;
    width:100%;
}

.home.intro {
    padding:3rem 0;
}

.home.intro h1 {
    font-size:2.5rem;
    text-align:center;
    max-width:960px;
    margin:2rem auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.home .hero-text svg {
    display: block;
    max-width: 300px;
    min-width:220px;
    width: 25%;
    margin: 0 auto;
}

.fg {
    display:grid;
    gap:36px;
    margin:1rem 0 3rem 0;
}

.fg-3 {
    text-align:center;
    grid-template-columns:1fr 1fr 1fr;
}

.fg-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.fg-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
}

.team-group {
    padding:3rem 0;
}

.team-group h2 {
    margin-bottom:2rem;
    text-align:center;
}

.team-player .name {
    font-weight:600;
    font-size:1.1rem;
}

.fg .team-player {
    display:flex;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    text-align:center;
}

.articles .fg-3 > div {
    text-align:left;
    background:#EDEDED;
    padding:2rem;
    position:relative;
}

.articles .fg-3 > div {
    text-align:left;
    background:#EDEDED;
    padding:2rem;
}


.articles .fg-3 > div h3 {
    margin:0;
}
.articles .fg-3 > div .date {
    margin-top:6px;
}

article {
    padding-bottom:2rem;
}

article h1 {
    margin-bottom:1rem;
    max-width:720px;
}

article .date {
    margin-bottom:2rem;
}

.wlink {
    padding-top:2rem;
}

.fg .team-player img {
    display:block;
    width:140px;
    height:140px;
    border-radius:50%;
    margin:1rem auto;
    box-shadow: -8px 8px var(--pink);
}

section.challenges .inner,
section.solutions .inner {
    padding:3rem 0;
}

section.solutions {
    background:#EDEDED;
}

section.solutions h3 {
    color: #ff07c9;
    font-size: 1.5rem;
}

section.aims {
    background:var(--pink);
}

section.aims .inner {
    padding:3rem 0;
}

section.aims h2 {
    text-align:center;
}


section.aims .fg-3 {
    text-align:left;
}

section.aims .fg-3 > div {
    text-align:left;
    line-height: 1.6rem;
    font-size: 1.2rem;
    position:relative;
}

section.aims .fg-3 > div::after {
    content:"";
    display:block;
    position:absolute;
    bottom:0;
    left:2rem;
    width:calc(100% - 4rem);
    background:#000000;
    height:2px;
}

section.aims .fg-3 > div:nth-child(2)::after {
    background:var(--blue);
}

section.aims .fg-3 > div:nth-child(3)::after {
    background:#FFFFFF;
}

.project-intro h1 {
    font-size:5rem;
}

.project-intro p {
    line-height: 2rem;
    font-size: 1.2rem;
}

.project-intro p.note,
.project-intro p em {
    font-size:0.9rem;
    line-height:1rem;
    color:#999999;
}

.fg img {
    display:block;
    width:100%;
}

.fg-3 > div {
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding: 1rem 2rem;
    position:relative;
    overflow:hidden;
}

.link-button.lb-blue {
    background:var(--blue);
    color:#000000;
}
.link-button.lb-pink {
    background:var(--pink);
    color:#000000;
}
.link-button.lb-black {
    background:#000000;
    color:#FFFFFF;
}

.home-page .fg-3 > div:nth-child(1) {
    background:var(--blue);
    color:#000000;
}

.home-page .fg-3 > div:nth-child(2) {
    background:#000000;
    color:#FFFFFF;
}

.home-page .fg-3 > div:nth-child(3) {
    background:var(--pink);
    color:#000000;
}

.home-page .fg-3 > div .icon {
    position: absolute;
    bottom: -58px;
    right: -53px;
    width: 138px;
}

.home-page .fg-3 > div:nth-child(2) .icon {
    top: -30px;
    right: -56px;
}

.home-page .fg-3 > div:nth-child(1) .icon svg {
    fill:var(--pink)
}

.home-page .fg-3 > div:nth-child(2) .icon svg {
    fill:var(--blue)
}

.home-page .fg-3 > div:nth-child(3) .icon {
        left: -34px;
}

.home-page .fg-3 > div .link-button {
    margin:2rem auto;
}
section.team-header {
    background: #ff07c9;
}

.team-page h1 {
    padding: 1rem;
    background: #ff07c9;
    text-align: center;
}

body.team-page {
    background:url(/media/3wgl1ob3/grid-gradient.svg);
    background-position:0 0;
    background-attachment:fixed;
    background-size: 900px;
}

.sponsors-grid {
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    justify-content:center;
}

.sponsors-grid a {
    display:block;
    max-width:200px;
    width:50%;
    text-decoration:none;
}

section.support.support-page {
    margin-top:3rem;
}

section.supporters.sponsors .inner {
    background: #000000;
} 

.supporters.backers {
    text-align:center;
}

.sponsors-grid a svg,
.sponsors-grid a img {
    display:block;
    width:100%;
}

section.support {
    text-align:center;
    margin:1rem 0 3rem 0;
}

section.support .inner {
    border: 2px solid #ff07c9;
    padding:1rem;
    position:relative;
    overflow:hidden;
}

section.support .inner svg.tooth {
    display:block;
    width:200px;
    position:absolute;
    top:-60px;
    left:-60px;
    z-index: -1;
}

section.support .inner > div {
    max-width:640px;
    margin:0 auto;
}

section.support .link-button {
    margin:2rem auto;
}

.articles .fg-3 > div a.item-close {
    padding:0;
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 2;
}

.text-page {
    padding-bottom:2rem;
}

.rte a {
    color:var(--pink);
}

.rte a:hover {
    background:black;
}

hr {
    margin:2rem 0;
    border:none;
    border-top:2px solid var(--pink);
}

.item-close svg {
    pointer-events: none;
    display: block;
    width: 36px;
    height: 36px;
}

footer {
    padding: 0;
}

footer .footer-contacts .inner {
    border-top:2px solid var(--pink);
    padding:1rem 0;
}

footer .footer-legal .inner {
    padding:1rem 0;
}


footer .footer-contacts .inner,
footer .footer-legal .inner {
    padding:1rem;
}

.cost-note {
    display:inline-block;
    margin-left:4px;
    font-size:16px;
}

.mobile-nav {
    display:none;
    background:#FFFFFF;
    border-bottom: 1px solid #000000;
    padding:1rem 0;
}

.mobile-nav a {
    display:block;
    padding:0.5rem 2rem;
    text-decoration:none;
    color:#000000;
    width:100%;
}

.mobile-nav.popped {
    display:flex;
    position:absolute;
    top:100%;
    flex-wrap:wrap;
    left: 0;
}

.body-background {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:-1;
}

.rte img {
    display:block;
    width:100%;
    max-width:960px;
    margin:1rem auto;
}

figcaption {
    font-style:italic;
    color:#333333;
}

.footer-legal .inner {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.footer-legal .inner a {
    color:black;

}

.footer-contacts .inner {
    display:flex;
    gap:24px;
    align-items:center;
    flex-wrap:wrap;
}

footer {
    margin-top:2rem;
}

.footer-nav,
.social {
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
}

.social a {
    text-decoration:none;
    display:block;
}

.social a svg {
    display:block;
    width:24px;
    height:24px;
    fill:var(--pink);
}

.social a:hover svg {
    fill:var(--blue);
}

.footer-nav a {
    text-decoration:none;
    color:black;
}

.footer-legal .inner {
    border-top: 1px solid #000000;
}

.footer-nav a:hover,
.footer-legal .inner a:hover {
    color:var(--pink);
    text-decoration:underline;

}

/* Tablet */
@media screen and (max-width:1024px) {
    
    section.challenges .inner,
    section.solutions .inner {
        padding:2rem;
    }

    .inner {
        padding:0 2rem;
    }

    header nav,
    header .link-button {
        display:none;
    }

    .nav-icon-mobile {
        z-index: 11;
    }

    .nav-icon-desktop {
        display:none;
    }

    .nav-icon-mobile {
        display:block;
    }

    header,
    header.popped {
        opacity:1;
        pointer-events:all;
    }

    .fg-4 {
        grid-template-columns:1fr 1fr;
    }

}

/* Mobile */
@media screen and (max-width:600px) {

    .hero {
        height:unset;
        overflow:hidden;
    }

    .fg-2,
    .fg-3,
    .fg-4 {
        grid-template-columns:1fr;
    }

    section.support {
        margin:0 1rem;
    }

    h1,
    .hero.page h1 {
        font-size: 3rem;
    }

    .hero.page {
        margin: 3rem auto;
    }

    .hero:not(.home) > svg {
        min-width: 640px;
    }

}