@font-face {
    font-family: 'Roboto';
    src: url('/homepage/fonts/Roboto/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('/homepage/fonts/Roboto/Roboto-Bold.ttf');
}

html, body {
    font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    min-height: 600px;
}

@media (max-width: 575px) {
    .navbar-collapse.show .btn {
        width: 45%;
        margin: 0.5em 0;
        animation: none;
    }
}

.logo {
    width: 100px;
}

.answer {
    white-space: nowrap;
}

.answer-input {
    display: inline;
    height: auto;
    padding: 0;
    font-size: inherit;
    color: black;
    line-height: normal;
    margin-top: 0.2em;
}

.answer-input:disabled {
    border-color: transparent;
    background-color: white;
    color: #163C6B;
}

.backdrop {
    width: 100%;
    height: 100vh;
    margin-bottom: 2em;
    min-height: 650px;
}

.feature-graphic {
    position: absolute;
    overflow: hidden;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 600px;
}

.feature-graphic > img {
    position: absolute;
    width: 50%;
    right: -5px;
    bottom: -5px;
}

.shadow-bottom {
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.shadow-top {
    box-shadow: -1px -1px 1px 0 rgba(0, 0, 0, 0.4);
}

.navbar-light {
    background-color: white !important;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: white !important;
}

.navbar-brand {
    font-family: 'Roboto-Bold', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5em;
}

.dropdown-item {
    display: flex;
    align-items: center;
}

.bouncy {
    animation: bounce 5s infinite linear;
    position: relative;
}

@keyframes bounce {
    0% {
        transform: scale(1, 1) translate(0px, 0px);
    }

    5% {
        transform: scale(1, 0.8) translate(0px, 10px);
    }

    12% {
        transform: scale(1, 1.1) translate(0px, -5px);
    }

    15% {
        transform: scale(1, 1) translate(0px, 0px);
    }
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    color: #163C6B;
}

h1 {
    font-family: 'Roboto-Bold', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 5em;
    margin: 0.5em 0 0.5em 0;
}

h2 {
    font-size: 4.5em;
}

h3, div.columns > article > p.emoji {
    font-size: 4em;
}

h4 {
    font-size: 3.5em;
}

.poster {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 600px;
}

.poster > h1, .poster > h2, .poster > h3 {
    width: 100%;
    text-align: center;
}

a.action-button {
    display: inline-block;
    padding: 0.35em 1.2em;
    border: 0.2em solid #1c3c6b;
    margin: auto .5em 1em .5em;
    border-radius: 0.5em;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    text-transform: uppercase;
    align-self: center;
    justify-self: flex-end;
    font-weight: bold;
    font-size: 2em;
    background-color: #274f8c;
    color: white;
}

a.action-button:hover {
    background-color: #1c3c6b;
}

article > a.action-button {
    margin-top: 1em;
}

.poster > p {
    width: 40%;
    margin-left: 5%;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 2.5em;
}

article {
    margin: 1em;
    text-align: center;
}

article > p {
    font-size: 1.5em;
    max-width: 1024px;
    margin: 0.5em auto;
}

article > p > b {
    color: #007bff;
}

article > h1, article > h2, article > h3, article > h4 {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
}

div.columns {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1024px;
    margin: 1em auto;
    font-size: 1em;
}

div.columns > article {
    width: 33.333333%;
    text-align: center;;
}

div.columns > article > p {
    padding: 0.5em;
    font-size: 1.5em;
}

div.columns > article > p.emoji {
    padding: 0;
    margin: 0;
}

article.mobile img.google-play {
    width: 200px;
}

article.mobile img.app-store {
    width: 160px;
}

article.mobile {
    text-align: center;
}

.divider {
    margin: 64px auto;
    width: 800px;
    max-width: 100%;
    position: relative;
}

.divider-mask {
    overflow: hidden;
    height: 20px;
}

.divider-mask:after {
    content: '';
    display: block;
    margin: -40px auto 0;
    width: 100%;
    height: 40px;
    border-radius: 125px / 12px;
    box-shadow: 0 0 8px #274f8c;
}

.divider span {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    margin-bottom: -40px;
    left: 50%;
    margin-left: -40px;
    border-radius: 100%;
    box-shadow: 0 2px 4px #274f8c;
    background: #fff;
}

.divider i {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    border-radius: 100%;
    border: 1px dashed #274f8c;
    text-align: center;
    line-height: 75px;
    font-style: normal;
    font-size: 2.5em;
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 60px;
    -webkit-box-shadow: 1px 0 0 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 0 0 1px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 0 0 1px rgba(0, 0, 0, 0.4);
}

a.language {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: .375rem .75rem;
    line-height: 1.5;
    border-radius: .25rem;
    cursor: pointer;
    border: 1px solid lightgray;
}

a.language:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

a.language::after {
    box-sizing: border-box;
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

a.language img {
    border-radius: 100%;
    border: 1px solid lightgray;
    width: 24px;
}

.languages {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 3px solid gray;
    border-radius: 0.5em;
    margin-top: 0.5em;
    overflow: hidden;
}

.languages img {
    width: 1em;
    height: 1em;
    border-radius: 100%;
    margin-right: 0.3em;
}

.languages p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 6em;
    height: 1.1em;
    line-height: 1.1em;
    color: black;
    margin: 0;
    padding: 0.5em;
}

.languages p:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1300px) {
    .poster > p {
        display: none;
    }

    .poster > h2, .poster > h3 {
        width: 50%;
        text-align: center;
    }

    .feature-graphic > img {
        height: 85%;
        width: auto;
    }
}

@media screen and (max-width: 1100px) {
    .poster > h2, .poster > h3 {
        width: 65%;
        text-align: center;
    }

    .feature-graphic > img {
        height: 70%;
        width: auto;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 4.5em;
    }

    h2 {
        font-size: 4em;
    }

    h3, div.columns > article > p.emoji {
        font-size: 3.5em;
    }

    h4 {
        font-size: 3em;
    }

    .feature-graphic > img {
        height: 65%;
        width: auto;
    }
}

@media screen and (max-width: 700px) {
    header > nav > .logo {
        font-size: 1.5em;
        line-height: 1.5em;
    }

    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 3.5em;
    }

    h3, div.columns > article > p.emoji {
        font-size: 3em;
    }

    h4 {
        font-size: 2.5em;
    }

    .poster > h2, .poster > h3 {
        width: 100%;
    }

    .feature-graphic > img {
        height: 60%;
    }
}

@media screen and (max-width: 550px) {
    header {
        font-size: 0.75em;
    }

    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 3em;
    }

    h3, div.columns > article > p.emoji {
        font-size: 2.5em;
    }

    h4 {
        font-size: 2em;
    }

    a.action-button {
        font-size: 1.5em;
    }

    .feature-graphic > img {
        height: 55%;
    }

    .divider-mask:after {
        margin: -30px auto 0;
        height: 30px;
    }

    .divider span {
        width: 60px;
        height: 60px;
        margin-bottom: -30px;
        margin-left: -30px;
    }

    .divider i {
        line-height: 55px;
        font-size: 2em;
    }
}

@media screen and (max-width: 360px) {
    header {
        font-size: 0.72em;
    }

    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.5em;
    }

    h3, div.columns > article > p.emoji {
        font-size: 2em;
    }

    h4 {
        font-size: 1.5em;
    }

    .feature-graphic > img {
        height: 50%;
    }
}

@media screen and (max-width: 240px) {
    header > nav > .logo {
        display: none;
    }

    header a.button {
        margin-right: 0.1em;
        margin-left: 0.1em;
    }
}


@media screen and (max-width: 600px) {
    div.columns {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    div.columns > article {
        width: 100%;
    }

    div.columns > article > p {
        padding: 0.5em 2em 0.5em 2em;
    }
}