html{
    margin: 0 auto;
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: 'Economica', sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
	display: block;
}

header {
    padding-top: 32px !important;
	padding-bottom: 32px !important;
    color: white;
    background-color: #194152;
    text-align: center;
}

header > h1 {
    font-size: 400%;
    margin:auto;
}

header > h2 {
    font-size: 200%;
    margin: auto;
}

@media screen and (max-width: 600px) {
    header > h1  {
      font-size: 200%;
    }
  }

.handwriting {
    font-family: 'Homemade Apple', cursive;
}

nav {
    margin-top: 20px;
    margin-bottom: 20px;
}


nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;

}

nav > ul > li {
    width: 15%;
    margin-left: 32px;
    display: inline-block;
    padding: 32px;
    background-color: #194152;
    color: white;
    font-size: xx-large;
}

@media screen and (max-width: 600px) {
    nav > ul > li {
        margin-left: 8px;
        padding: 4px;
        font-size: smaller;
    }
  }


li > a {
    text-decoration: none;
    color: white;
    width: 100%;
}

li > a:hover {
    text-decoration: underline;
}

.active {
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.sidebar,
.main {
    border: 1px solid black;
}

.sidebar{
    background-color: #194152;
    color: white;
    margin: 32px;
    padding: 32px;
    padding-top: 8px;
}

.sidebar > h2 {
    font-size: xx-large;
}

.settings {
    font-size: x-large;
    display: block;
}

input[type=number] {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    display: block;
    font-size: x-large;
    width: 98%;
    text-align: right;
    font-family: 'Economica', sans-serif;
}

input[type=button] {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    background-color: white;
    border: none;
    color: #194152;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    width: 100%;
}

.main {
    margin: 32px;
    padding: 32px;
}

.main > h2 > a {
    text-decoration: none;
    color: black;
}

#grade {
    display: none;
    font-size: xx-large;
    text-align: center;
    color: red;
}

article {
    text-align: center;
    min-height: 400px;
}

article > span {
    display: block;
}

article > span > input[type=number] {
    width: auto;
    display: inline;
}

.op {
    font-size: 24px;
}

#btn-check {
    display: none;
    background-color: #194152;
    color: white;
}

.btn-april {
    margin: 0 auto !important;
    display: block !important;
    background-color: #194152 !important;
    color: white !important;
    width: 25% !important;
}

@media screen and (max-width: 600px) {
    .btn-april {
        margin-left: 0 auto;
        padding: 4px;
        font-size: smaller;
    }

    input[type=button] {
        margin-top: 0px auto !important;
        margin-bottom: 16px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        background-color: white;
        border: none;
        color: #194152;
        padding: 16px 16px;
        text-align: center;
        text-decoration: none;
        display: block;
        font-size: 24px;
        width: 100% !important;
    }
  }


#aprilFool {
    display: none;
    text-align: center;
    font-size: 300%;
}

#aprilFoolBoard {
    display: none;
}

#aprilFoolBoard > img {
    width: 60%;
}

@media screen and (max-width: 600px) {
    #aprilFool {
        display: none;
        text-align: center;
        font-size: 150%;
    }

    #aprilFoolBoard > img {
        width: 80%;
    }
    
}

footer {
    height: 2vh;
	padding-bottom: 2vh;
    color: white;
    background-color: #ffaa00;
    text-align: center;
}