:host,html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif,system-ui,sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
}
body {
    margin: 0;
    line-height: inherit;
    overflow-y: scroll;
    background-color: #fff;
    color: #3647a5;
}
h1 {
    font-weight: normal;
    font-size: 6rem;
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    font-family: 'Caveat';
}
@media (max-width: 600px) {
    h1 {
        font-size: 3.3rem;
    }
}
a {
    color: inherit;
    text-decoration: inherit;
}
img,svg {
    display: block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
*,:after,:before {
    box-sizing: border-box;
    border: 0;
}

main {
    font-size: 1.5rem;
    display: grid;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    justify-content: center;
}

#slightly-smaller {
    font-size: 1.25rem;
}

@media (max-width: 450px) {
    main {
        font-size: 1.25rem;
    }
    #slightly-smaller {
        font-size: 1rem;
    }
}

@media (min-width: 600px) {
    main {
        max-width: 600px;
    }
}
@media (min-width: 900px) {
    main {
        max-width: 900px;
    }
}
@media (min-width: 1200px) {
    main {
        max-width: 1200px;
    }
}
@media (min-width: 1800px) {
    main {
        max-width:1800px;
    }
}

#top-text {
    margin: 1rem 1rem 0rem 1rem;
    display: grid;
    div {
        display: flex;
        justify-content: center;
        text-justify: inter-word;
        text-align: center;
    }
    div:nth-child(3) {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

#image-container {
    margin: 0;
    display: flex;
    justify-content: center;
}

#image-link {
    display: flex;
    justify-content: center;
    /*font-size: 2rem;*/
    margin: 1rem 1rem 2rem 1rem;
    /*margin: 0;*/
    a {
        /*text-decoration: underline;*/
        /*transition-timing-function: cubic-bezier(.4,0,.33,1);*/
        /*transition-duration: 0.2s;*/
        /*color: #008;*/
        /*&:hover {*/
            /*color: #00a;*/
            /*text-decoration: underline;*/
        /*}*/
        display: flex;
        justify-content: center;
        button {
            color: #3647a5;
            background-color: #d1e6ff;
            padding: 1rem 1.5rem;
            border-radius: 1rem;
            font-size: 2rem;
            border-color: #00a;
            border-width: 2px;
            border-style: solid;
            transition-property: box-shadow;
            transition-duration: 0.2s;
            transition-timing-function: cubic-bezier(.4,0,.33,1);
            &:hover {
                box-shadow: 0px 2px 10px 5px #ccc;
            }
        }
    }
}

#footer {
    display: flex;
    justify-content: center;
    margin: 0;
    font-size: 1rem;
    padding: 1rem;
    span:nth-child(3), span:nth-child(6) {
        display: none;
    }
}
