:root {
    /* colors */
    --logo-fg-color: #283b63;
    --logo-bg-color: white;
    --bg-color: var(--logo-bg-color);
    --primary-color: var(--logo-fg-color);

    /* sizes */
    --logo-min-width: 180px;
    --logo-min-height: 30px;
    --logo-width: max(30vw, var(--logo-min-width));
    --top-nav-height: max(calc(100vw / 20), var(--logo-min-height));
    --full-height: calc(100vh - var(--top-nav-height));
}

head,
body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
}

body {
    background-color: var(--primary-color);
    padding-top: var(--top-nav-height);
}

#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--top-nav-height);
    background-color: var(--bg-color);
    overflow: hidden;
}

#top-nav,
#top-nav * {
    z-index: 1000;
}

#logo {
    position: absolute;
    top: 40%;
    transform: translate(0, -50%);
    width: var(--logo-width);
}

.button {
    all: unset;
    margin-right: 1rem;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

#link-to-app {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

#link-to-app>a {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.full-height {
    height: var(--full-height);
    width: 100vw;
}

#hero {
    background-color: var(--primary-color);
    display: grid;
    grid-template-rows: repeat(3, 1fr);
}

#tagline {
    position: relative;
    color: var(--bg-color);
    font-size: 5rem;
    width: 100%;
    text-align: center;
}

#pros {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.pros {
    background-color: var(--bg-color);
    width: 30vw;
    height: 100%;
    border-radius: 2rem;
}

.pros-subhead {
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
}

.pros-list {
    list-style: none;
    padding-left: 1em;
    text-indent: -1em;
}

.pros-list li {
    padding-left: 1em;
    text-indent: -1em;
}

.pros-list li:before {
    content: "✅";
    padding-right: 5px;
}

#learn-more-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#learn-more {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

#explanation {
    height: unset;
    min-height: var(--full-height);
    background-color: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#explanation-content {
    width: min-content;
}

#explanation-content>* {
    margin: 1rem 0;
}

#info-block {
    text-align: justify;
    padding: 1rem 0;
}

#info-graphic {
    padding-top: 2rem;
}

#footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 1rem 3rem;
    text-align: center;
}

#footer a {
    color: var(--bg-color);
}