/* responsive navbar option: ttps://codepen.io/jo_Geek/pen/xgbaEr */
@font-face {
    font-family: "Authentic Sans";
    src: url("fonts/authenticsans.woff2")
}

@font-face {
    font-family: "Rubik";
    src: url("fonts/Rubik-VariableFont_wght.ttf")
}

@font-face {
    font-family: "MPLUS";
    src: url("fonts/MPLUS_Rounded_1c/MPLUSRounded1c-Regular.ttf")
}

:root {
    --logo-green: #bde4a8;
    --body-colour: #4d4d4d;
    --section-divider-colour: #939393;
    --bg-colour1: #ebffe6;
    --bg-colour2: #f9fff7;
    --alert-colour: #df4b36;
    --link-colour: #0d4495;
    --link-visited-colour: #0d4495;
    --input-bg-colour: #fff;
    --hl-colour: #72cb3c;
}

::selection {
  background: var(--body-colour);
  color: var(--bg-colour2);
  text-decoration: none;
}

h1 {
    font-family: Rubik, sans-serif;
    font-size: max(4vw, 5vh);
    font-weight: bold;
    text-align: center;
    overflow-wrap: break-word;
    padding: 1rem;
    margin: 0;
    color: var(--body-colour);
}

#heading {
    padding: 0;
}

h2 {
    font-family: Rubik, sans-serif;
    font-size: 1.7rem;
    text-align: center;
    color: var(--body-colour);
    overflow-wrap: break-word;
    padding: 0;
    padding-bottom: 0.5em;
    margin: 0;
    text-transform: uppercase;
}

h2.priv {
    padding-top: 1em;
    padding-bottom: 0em;
}

h3 {
    font-family: Rubik, sans-serif;
    font-size: 2rem;
    color: var(--body-colour);
    overflow-wrap: break-word;
    padding: 0;
    padding-bottom: 0.5em;
    margin: 0;
}

h3 {
    font-size: 1.8rem;
}

html {
    font-size: 14pt;
}

@media (min-width:320px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
    html {
        font-size: 30pt;
    }
}
@media (min-width:480px)  { /* smartphones, Android phones, landscape iPhone */ 
    html {
        font-size: 30pt;
    }
}
@media (min-width:600px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 
    html {
        font-size: 30pt;
    }
}
@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ 
    html {
        font-size: 30pt;
    }
}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ 
    html {
        font-size: 16pt;
    }
}
@media (min-width:1281px) { /* hi-res laptops and desktops */ 
    html {
        font-size: 14pt;
    }
}

body {
    font-family: Authentic Sans, sans-serif;
    font-size: 1rem;
    margin: 0;
    color: var(--body-colour);
    background-color: var(--bg-colour2);
}

a {
    color: var(--link-colour);
}

a#headerlink {
    text-decoration: none;
    color: var(--body-colour);
}

.navitem {
    font-family: Rubik, sans-serif;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--body-colour);
    border: 3px var(--body-colour) solid;
    margin: 0.333rem;
}

.navitem:hover {
    text-decoration-thickness: 1px;
    background-color: var(--bg-colour1);
    color: var(--body-colour);
}

.box.social:hover {
    background-color: var(--bg-colour1);
}

.box.social {
    text-decoration: none;
    color: var(--body-colour);
    background-color: var(--bg-colour2);
    padding: 0;
    border-radius: 50%;
    margin: 0.5em;
    width: 4rem;
    height: 4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

a#email {
    font-size: 20pt;
    line-height: 25pt;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
}

li {
    padding: 5px;
    list-style-type: none;
}

ul li:before {
    content: '—';
    margin: 0 1em;
}

ul {
    margin: 0;
    margin-left: 1em;
    text-indent: -3em;
    padding-left: 1em;
}

#subhead {
    font-weight: bold;
    font-size: 1.4rem;
    padding: 0.1em;
    height: 35vw;
    background-image: url(images/subhead2.png);
    background-repeat: no-repeat;
    background-position: 25% 30%;
    background-size: 100vw;
    max-height: 400px;
    text-transform: uppercase;
    text-align: center;
    vertical-align: center;
}

#aboutkendo {
    margin: 0;
    padding: 1em;
}

img {
    width: 100%;
    max-width: 400px;
}

img.wklogo {
    height: 10rem;
}

img.bill {
    border-radius: 50%;
}

img.orglogo {
    height: 3.5rem;
    border-radius: 10px;
}

#ckf {
    border: 10px solid #fff;
}

#ko {
    border: 10px solid #01114E;
}

.section {
    background-color: var(--bg-colour1);
    padding: 1em;
    border-bottom: 3px solid var(--section-divider-colour);
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.section:nth-child(odd) {
    background-color: var(--bg-colour2);
}

.subsections {
  position: relative;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}

.box {
    text-align: left;
    max-width: 800px;
    padding: 1em;
    vertical-align: middle;
}

iframe {
    max-width: 100%;
    border-radius: 10px;
}

#instructor {
    padding: 1em;
}

#schedulelocation {
    margin: 0;
    padding: 1em;
}

form {
  position: relative;
  width: 95%;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

input,
textarea {
  font:
    1em/1.5em Authentic Sans, sans-serif;
  border: 1px solid var(--body-colour);
  padding: 1em 1em;
  margin-bottom: 1em;
  width: 100%;
  background: var(--input-bg-colour);
  border-radius: 10px;
}

textarea {
    height: 12em;
    resize: none;
}


input:focus,
textarea:focus {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}

button {
    font: 1em/1.5em Authentic Sans, sans-serif;
    text-align: center;
    width: 4em;
    border: 1px solid var(--body-colour);
    background: var(--input-bg-colour);
    border-radius: 10px;
}

p.alert {
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--alert-colour);
}

.jpn {
    font-family: "MPLUS", sans-serif;
}

.icon {
    width: 50%;
    height: auto;
}

    html * {max-height:1000000px;}
