@import url('https://fonts.googleapis.com/css?family=Raleway+Dots|Raleway:400,400i,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Kosugi+Maru');

body, html {
    margin: 0px;
    padding: 0px;
}

#vis-container {
    position: fixed;
    z-index: -100;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#vis-container svg {
    opacity: 1;
}

#intro-vis-container {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 50px 0px;
}

#intro-vis-container svg {
    margin: 15px;
}

#header-wrapper {
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


#body-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    font-size: 10pt;
    justify-content: flex-start;
}

#content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 1 50%;
    width: 50%;
    max-width: 960px;
}

#title {
    font-family: "Raleway","Helvetica","Arial",sans-serif;
    color: #4682b4;
    margin-top: 50px;
    text-align: left;
    padding: 50px;
    line-height: 1.6em;
    font-weight: 700;
    pointer-events: none;
}

#title #top {
    display: block;
    font-size: 3.8em;
    margin: 0px;
}

#title #bottom {
    display: block;
    font-size: 3.8em;
    margin: 0px;
}

.content {
    margin: 10px 0px 10px 0px;
    padding: 50px;
    font-family: "Raleway", sans-serif;
    font-size: 1.6em;
    line-height: 2.0em;
    font-weight: 400;
    text-align: justify;
    background-color: rgba(255,255,255,0.8);
    cursor: default;
}

.spacer {
    width: 100%;
    height: 100vh;
    content: "";
    pointer-events: none;
}

.kanji {
    color: #4682b4;
    font-size: 1.8em;
    width: 54px;
    height: 54px;
    display: inline-flex;
    cursor: pointer;
    border: 1px solid #FFFFFF;
    justify-content: center;
    align-items: center;
}

.kanji:hover {
    border: 1px solid #F6C900;
    color: #F6C900;
}



span.japanese {
    font-family: "Kosugi Maru", sans-serif;
}

.image {
    width: 109px;
    height: 109px;
}

.grade {
    width: 100%;
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: 2.0em;
    line-height: 1.6em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4682b4;
    text-align: center;
    margin: 50px 0px;
    cursor: default;
}


#image-wrapper {
    padding: 50px;
    background-color: rgba(255,255,255,0.8);
    font-family: "Kosugi Maru", sans-serif;
}

.kanji-container {
    margin: 10px 0px 10px 0px;
    padding: 50px;
    font-size: 1.6em;
    line-height: 2.0em;
    font-weight: 400;
    text-align: justify;
    background-color: rgba(255,255,255,0.8);
    cursor: default;

}

#loading {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 500;
    width: 100%;
    height: 100vh;
    background-color: #EFEFEF;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.subheader {
    font-weight: 700;
    text-transform: uppercase;
    color: #4682b4;
}

#background-wrapper {
    position: fixed;
    z-index: -200;
    top: 0px;
    left: 0px;
    width:100%;
    height:100vh;
    opacity: 0.2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

a:link, a:visited {
    text-decoration: none;
    color: #4682b4;
}

a:hover {
    text-decoration: underline;
}