@font-face {
    font-family: "makinas";
    src: url(fonts/Makinas-4-Flat.otf);
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

a {
    word-wrap: break-word;
}

.bgColor {
    background-color: hsl(206, 94%, 88%);
    position: relative;
    z-index: 1;
}

.button-gotop {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 65px;
    height: 65px;
    background-color: hsl(208, 81%, 49%);
    transform: translateX(100%);
    transition: .2s;
    z-index: 50;
}

.gotop-show {
    transform: translateX(0%);
}

.button-gotop::before {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: block;
    background-color: white;
    width: 25px;
    height: 25px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 20%, 20% 20%, 20% 100%, 0% 100%);
    transform: translateY(25%)rotateZ(45deg);
}

header {
    position: fixed;
    width: 100%;
    height: 80px;
    padding: 0 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: hsla(0, 0%, 100%, 0.8);
    color: hsl(208, 81%, 25%);
    z-index: 100;
    top: 0;
    left: 0;
    transition: .2s;
}

.h-menu {
    display: flex;
    align-items: center;

    z-index: 100;
}

.h-menu>ul {
    list-style: none;
    display: flex;
    font-size: 1.1em;
}

.h-menu>ul li {
    margin-right: 20px;
}

.h-title h1 {
    font-size: 1.6em;
    margin-left: 10px;
    font-family: "makinas";
}

.h-link {
    color: hsl(208, 81%, 25%);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.h-titleImg {
    width: 70px;
    height: 70px;
}

.hamburger-button {
    width: 60px;
    height: 60px;
    display: flex;
    z-index: 10;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

#hamburger-button_id {
    appearance: none;
    position: fixed;
    right: 0;
}

.hamburger-button-inner,
.hamburger-button-inner::before,
.hamburger-button-inner::after {
    width: 30px;
    height: 2px;
    content: " ";
    background-color: hsl(208, 81%, 25%);
    position: absolute;
    transition: .3s;
}

.hamburger-button-inner::before {
    transform: translateY(-9px);
}

.hamburger-button-inner::after {
    transform: translateY(9px);
}

.hamburger-button:hover>.hamburger-button-inner::before {
    transform: translateY(-7.5px);
}

.hamburger-button:hover>.hamburger-button-inner::after {
    transform: translateY(7.5px);
}

#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner,
#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner::before,
#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner::after {
    background-color: white;
}

#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner {
    background-color: transparent;
}

#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner::before {
    transform: translateY(0px)rotateZ(45deg);
}

#hamburger-button_id:checked+.hamburger-button>.hamburger-button-inner::after {
    transform: translateY(0px)rotateZ(-45deg);
}

nav {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 100px 90px;
    display: grid;
    gap: 15px 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: repeat(auto-fit, max-content);
    background-color: hsla(208, 81%, 25%, 0.8);
    color: white;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#hamburger-button_id:checked+.hamburger-button+nav {
    pointer-events: all;
    opacity: 1;
}

#hamburger-button_id:checked+.hamburger-button+nav .hm-contentTheme {
    transform: translateX(0);
    opacity: 1;
}

#hamburger-button_id:checked+.hamburger-button+nav .hm-contentPages li {
    transform: translateX(0);
    opacity: 1;
}

.hm-contentBox {
    list-style: none;
    font-size: 1.5em;
    min-width: min-content;
}

.hm-contentTheme {
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .2s .2s, transform .2s .2s;
}

.hm-contentPages {
    font-size: 0.85em;
    box-sizing: border-box;
    padding-left: 30px;
    list-style-type: "-";
    margin-bottom: 20px;
}

.hm-contentPages li {
    margin-bottom: 7.5px;
    opacity: 0;
    padding-left: 10px;
    transform: translateX(10px);
    transition: opacity .2s .3s, transform .2s .3s;
}

.hm-contentBox a {
    text-decoration: none;
}

.hm-contentTheme,
.hm-contentPages li {
    color: white;
}

.hm-contentTheme:hover,
.hm-contentPages li:hover {
    text-decoration: underline;
}

.hm-currentPage {
    position: relative;
    display: flex;
    align-items: center;
}

.hm-currentPage {
    color: hsl(200 100% 86%) !important;
}

.hm-currentPage::before {
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(images/miniIcon.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -0.75em;
}

.hm-contentTheme.hm-currentPage::before {
    left: -1.25em;
}

.m-siteMap {
    display: grid;
    gap: 15px 20px;
    margin: 10px 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: repeat(auto-fit, max-content);
}

.ms-contentBox {
    list-style: none;
    font-size: 1.3em;
    min-width: min-content;
}

.ms-contentBox a {
    text-decoration: none;
}

.ms-contentTheme {
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 2.5px solid hsl(208, 81%, 49%);
    background-color: hsl(210, 88%, 86%);
    padding: 2.5px 12.5px;
}

.ms-contentPages {
    font-size: 0.9em;
    box-sizing: border-box;
    padding-left: 30px;
    list-style-type: "-";
    text-indent: 10px;
    margin-bottom: 20px;
}

.ms-contentPages li {
    margin-bottom: 7.5px;
}

.ms-contentTheme,
.ms-contentPages li {
    text-decoration: none;
    color: black;
}

.h-blank {
    width: 100%;
    height: 80px;
}

.m-mv {
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
    box-sizing: border-box;
    /* background-color: rgb(116, 147, 174); */
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.m-picDisplayBg {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.m-picDisplay {
    background-color: white;
}

#canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#canvas2 {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.m-titleBox {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    padding: 2%;
    color: hsla(207, 52%, 27%, 0.9);
    mix-blend-mode: multiply;
    box-sizing: border-box;
    pointer-events: none;
}

.m-title {
    font-size: 3.25em;
    line-height: 1.25;
    margin-bottom: 15px;
}

.m-subTitle {
    font-size: 1.25em;
}

main {
    background-color: hsl(209, 100%, 91%);
}

.m-outer {
    width: 100%;
    min-height: 80vh;
    box-sizing: border-box;
    margin-top: 80px;
    padding: 20px 15%;
    line-height: 2;
    letter-spacing: 0.04em;
}

.m-breadcrumbs {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.m-breadcrumbs a {
    color: hsl(208, 81%, 49%);
}

.m-pageTitle {
    width: 100%;
    display: block;
    font-size: 1.5em;
    background-color: white;
    box-sizing: border-box;
    border-left: 5px solid hsl(208, 81%, 49%);
    border-bottom: 1px solid hsl(208, 81%, 25%);
    text-align: left;
    padding: 10px 15px;
    padding-right: 0;
    font-weight: normal;
    margin-top: 80px;
    margin-bottom: 50px;
}

.m-pageContentTitle {
    width: 100%;
    display: block;
    font-size: 1.45em;
    position: relative;
    box-sizing: border-box;
    border-bottom: 4px solid hsl(207, 52%, 27%);
    text-align: left;
    padding: 0px 10px;
    padding-right: 0;
    font-weight: normal;
    margin-bottom: 17.5px;
}

.m-pageContentTitle::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 20%;
    min-width: 150px;
    height: 4px;
    background-color: hsl(208, 73%, 62%);
}

.m-pageSectionContent,
.m-pageContent,
.m-pageSection {
    width: 100%;
    font-size: 1.05em;
    text-align: left;
    box-sizing: border-box;
    padding: 0 25px;
    margin-bottom: 12.5px;
}

.m-bubble {
    box-sizing: border-box;
    padding: 5px 25px;
    display: flex;
    align-items: flex-start;
}

.m-bubbleImage {
    width: 90px;
    height: 90px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 90px;
    border: 2.5px solid hsl(208, 81%, 49%);
    background-color: white;
}

.m-bubbleContent {
    position: relative;
    margin-left: 15px;
    box-sizing: border-box;
    background-color: hsl(206, 94%, 88%);
    padding: 12.5px 17.5px;
    border-radius: 10px;
    border: 2.5px solid hsl(208, 81%, 49%);
}

.m-pageBlank {
    width: 100%;
    height: 40px;
}

.m-pageImageWrapper {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    padding: 15px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.m-pageImageWrapper p {
    margin-left: 10px;
}

.m-pageImage {
    position: relative;
    max-width: 600px;
    /* width: 600px; */
    min-width: 300px;
    box-shadow: 0.5px 1px 2px 0 hsl(207, 52%, 27%);
    overflow: hidden;
}

.img-fullsize {
    max-width: 1000px;
}

.m-pageImage figcaption {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 0.8);
    color: white;
    box-sizing: border-box;
    padding: 2.5px 10px;
    z-index: 1;
}

.m-pageImage figcaption a,
blockquote a {
    color: hsl(208, 72%, 58%);
}

.m-pageImage figcaption a:visited,
blockquote a:visited {
    color: hsl(208, 63%, 65%);
}

.m-pageImage img {
    display: block;
    width: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: all .2s;
}

.m-sameSize .m-pageImage img {
    height: 100%;
}

.m-pageImage img:hover {
    transform: scale(1.01);
    filter: contrast(125%);
}

.m-pageSection {
    padding: 10px 20px;
}

.m-pageSection ul {
    list-style: none;
}

.m-pageSectionTitle {
    position: relative;
    display: block;
    font-size: 1.2em;
    margin-bottom: 12.5px;
    box-sizing: border-box;
    padding: 2.5px 10px;
    padding-left: 40px;
    border-bottom: 2px solid hsl(207, 52%, 27%);
}

.m-pageSectionSubTitle {
    position: relative;
    display: block;
    font-size: 1.2em;
    margin-bottom: 12.5px;
    box-sizing: border-box;
    padding: 2.5px 10px;
    padding-left: 20px;
    border-bottom: 2px solid hsl(207, 52%, 50%);
}

.m-pageSectionTitle:before {
    content: "";
    background-color: black;
    position: absolute;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 15px;
    transform: translateY(-40%);
}

.m-pageSection p:not(blockquote p) {
    margin-bottom: 15px;
}

blockquote {
    box-sizing: border-box;
    padding: 20px 30px;
    margin: 20px 20px;
    margin-top: 30px;
    background-color: white;
    border-left: 3px solid hsl(208, 63, 41);
    display: flex;
    justify-content: space-between;
    box-shadow: 5px 7.5px 2px 0 hsl(207, 52%, 27%);
}

blockquote::before {
    content: "\f10d";
    font-family: "FontAwesome";
    font-size: 1.5em;
    display: block;
    line-height: 1.5;
    color: hsl(207, 52%, 27%);
}

blockquote>div {
    margin-left: 20px;
    margin-right: 10px;
    width: -webkit-fill-available;
}

.m-blockQuote {
    color: hsl(208, 62%, 44%);
}

.m-reference {
    margin: 20px 0 5px;
    margin-left: 20px;
}

.m-pageReference {
    color: hsl(208, 72%, 58%);
}

.m-pageReference:visited {
    color: hsl(208, 63%, 65%);
}


.m-word {
    position: relative;
    background: linear-gradient(transparent 40%, hsl(30, 100%, 75%) 60%);
}

.m-wordDesc {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 40%;
    max-width: 500px;
    min-width: 300px;
    height: max-content;
    background-color: hsl(207, 77%, 95%);
    box-sizing: border-box;
    z-index: 1;
    padding: 15px 20px;
    transform: translateY(100%);
    transition: transform .2s;
}

.m-wordDescShow {
    transform: translateY(0);
}

.m-wordInner {
    display: none;
    font-size: 1.1em;
}

.m-wordTitle {
    display: block;
    font-weight: bold;
    font-size: 1.4em;
}

.m-wordContent {}


.m-contentBoxLinks {
    width: 80vw;
    margin: 0 calc(50% - 40vw);
    margin-top: 30px;
    /* background-color: hsl(208, 64, 66); */
    display: grid;
    gap: 40px 30px;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    grid-template-rows: repeat(auto-fit, max-content);
}

.m-contentBoxLinksHeader {
    width: 80vw;
    padding: 0 calc(50% - 40vw);
    padding-top: 30px;
    /* background-color: hsl(208, 64, 66); */
    display: grid;
    gap: 40px 30px;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    grid-template-rows: repeat(auto-fit, max-content);
}

.m-contentBox {
    min-height: 350px;
    background-color: hsl(210, 88%, 86%);
    text-align: center;
    transition: .2s;
}

.m-contentBox:active {
    scale: 0.95;
}

.m-boxLink {
    width: 100%;
    height: 100%;
    color: black;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid hsl(208, 64%, 66%);
    padding: 20px 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .2s;
}

.m-contentBoxImage {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    transition: .3s;
}

.m-contentBoxImageWrapper {
    display: block;
    width: 85%;
    overflow: hidden;
    aspect-ratio: 3/ 2;
}

.m-contentBoxDetail {
    padding: 0 30px;
}

.m-contentBoxTitle {
    font-size: 1.4em;
    margin: 15px 0 10px;
}

.m-contentBoxDesc {
    font-size: 1.1em;
    text-align: left;
}

.m-boxLink:hover {
    background-color: hsl(208, 90%, 71%);
    /* color: white; */
}

.m-boxLink:hover .m-contentBoxImage {
    scale: 1.05;
    filter: brightness(0.7);
}

.m-pageIndex {
    /* width: 60%; */
    box-sizing: border-box;
    margin: 30px 25px;
    background-color: hsl(207, 74%, 91%);
    border: 5px solid hsl(208, 69%, 74%);
    border-radius: 5px;
}


.m-pageIndex h1 {
    box-sizing: border-box;
    font-size: 1.5em;
    padding: 0 20px;
    padding-bottom: 5px;
    color: white;
    background-color: hsl(208, 69%, 74%);
}

.m-pageIndex ol {
    padding: 15px 50px;
    line-height: 2.5;
}

.m-pageIndex ol ul {
    padding-left: 30px;
}

.m-pageList {
    box-sizing: border-box;
    padding: 10px 25px;
}

.m-pageList ul,
.m-pageList ol {
    box-sizing: border-box;
    border-radius: 5px;
    background-color: hsl(207, 74%, 91%);
    border: 2px solid hsl(208, 69%, 74%);
    padding: 15px;
    padding-left: 35px;
}

.m-pageList ul {
    list-style: disc;
}

.m-pageList ol {
    list-style: decimal;
}

.m-pageList li {
    margin-bottom: 5px;
}

.m-marker {
    background: linear-gradient(transparent 40%, hsl(60, 100%, 75%) 60%);
}

.m-contentWrapper {
    width: 100%;
    min-height: 80vh;
    display: flex;
    box-sizing: border-box;
    padding: 50px 60px 20px;
    gap: 0 10px;
    position: relative;
    align-items: flex-start;
}

.m-suggest-scroll {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 0.75em;
    color: white;
    padding-bottom: 5px;
    box-sizing: border-box;
    z-index: 1;
    top: calc((100vh + 80px) / 2);
    left: 50vw;
    transform: translateX(-50%)translateY(0%);
    pointer-events: none;
    opacity: 0;
}

.m-suggest-scroll::before {
    content: "";
    display: block;
    padding-bottom: 7px;
    width: 33px;
    height: 44px;
    background-image: url(images/cursor.svg);
    background-repeat: no-repeat;
}

.m-suggest-scroll i {
    display: block;
    position: absolute;
    top: 17.5px;
    left: 37.5px;
    opacity: 0;
    width: 20px;
    height: 20px;
    transform-origin: 33.3% 33.3%;
    animation: ripple .5s .5s infinite ease-in-out;
}

.m-slideIn {
    animation: scBtn_slideIn .75s .5s alternate ease-in-out forwards,
        scBtn_slideIn .75s 3.5s reverse ease-in-out forwards;
}

@keyframes scBtn_slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%)translateY(0%);
    }

    to {
        opacity: 1;
        transform: translateX(-50%)translateY(-150%);
    }
}

@keyframes ripple {
    from {
        transform: scale(0%);
        opacity: 1.5;
    }

    to {
        transform: scale(250%);
        opacity: 0;
    }
}

#canvas-home {
    width: 40%;
    box-sizing: border-box;
    background-color: hsl(208, 64%, 66%);
    margin: 40px 0;
    min-height: 350px;
    object-fit: cover;
}

.m-content {
    width: 60%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    padding-left: 40px;
}

.mp-title {
    width: 100%;
    position: relative;
    display: inline-block;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
    background-color: white;
    box-sizing: border-box;
    border-left: 5px solid hsl(208, 81%, 49%);
    border-bottom: 1px solid hsl(208, 81%, 25%);
    text-align: left;
    margin-bottom: 20px;
    padding: 10px 15px;

}

.mp-intro {
    padding: 0 10px;
    font-size: 1.1em;
    line-height: 2.5;
    letter-spacing: 0.05em;
    padding-left: 20px;
    margin-bottom: 20px;
}

.mp-button {
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    text-align: left;
}

.button-wrapper {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    justify-content: space-between;
    align-items: center;
}

.button-link {
    display: inline-block;
    background-color: hsl(208, 61%, 47%);
    color: white;
    box-sizing: border-box;
    border: 3px solid transparent;
    font-size: 1.1em;
    text-decoration: none;
    padding: 8px 20px;
    transition: .2s;
}

.button-after i {
    margin-left: 15px;
    transition: .2s;
}

.button-before i {
    margin-right: 15px;
    transition: .2s;
}

.button-link:hover {
    background-color: white;
    color: hsl(208, 61%, 47%);
    border-color: hsl(208, 61%, 47%);
}

.button-link:active {
    transform: scale(0.95);
}

.button-after:hover i {
    transform: translateX(50%);
}

.button-before:hover i {
    transform: translateX(-50%);
}

.m-activity-and-browser {
    background-color: hsl(207, 71%, 81%);
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    box-sizing: border-box;
    padding: 30px 3.5%;
}

.m-activity,
.m-browser {
    width: 45%;
    min-width: 400px;
    box-sizing: border-box;
    background-color: hsl(207, 74%, 91%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.ma-title,
.mb-title {
    box-sizing: border-box;
    padding-bottom: 15px;
}

.ma-title h1,
.mb-title h1 {
    font-size: 1.65em;
    color: hsl(208, 81%, 25%);
}

.m-activity ul {
    list-style: none;
    width: 80%;
    height: 250px;
    overflow-y: scroll;
    box-sizing: border-box;
    border: 2px solid hsl(208, 64%, 66%);
}

.m-activity ul li {
    padding: 6px 0;
    background-color: hsl(207, 77%, 95%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.m-activity ul li:not(:last-child) {
    border-bottom: 1px dashed hsl(208, 69%, 74%);
}

.ma-date {
    background-color: hsl(208, 61%, 47%);
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    margin-left: 15px;
    margin-right: 20px;
}

.m-browser {
    padding: 20px 70px;
}

.m-browser ul {
    list-style: none;
    width: 90%;
}

.m-browser>p {
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
}

.m-browser ul li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 0;
}

.m-browser i {
    font-size: 1.75em;
    margin-right: 10px;
}

.m-browser ul li p {
    font-size: 1.25em;
}

.m-quiz {
    font-size: 1.1em;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2.5px solid hsl(208, 63%, 41%);
}

.m-quiz>* {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.m-quizTitle {
    background-color: hsl(208, 86%, 77%);
    font-size: 1.35em;
    padding: 5px 3vw;
    border-bottom: 2px solid hsl(208, 61%, 47%);
}

.m-quizContent {
    background-color: hsl(207, 77%, 95%);
    padding: 10px 3vw;
}

.m-choiceWrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.m-choice-circle,
.m-choice-cross {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
}

.m-choice-circle {
    /* position: relative; */
    left: 0;
    background-color: hsl(0, 96%, 67%);
    width: 50%;
    height: 100px;
}

.m-choice-cross {
    /* position: relative; */
    right: 0;
    background-color: hsl(218, 93%, 53%);
    width: 50%;
    height: 100px;
}

.m-quizPanel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: none;
    /* color: white; */
    box-sizing: border-box;
    padding: 10px 15px;
}

.m-quizNext {
    margin-top: 5px;
    font-size: 0.9em;
}

.m-choice-cross i {
    font-size: 1.1em;
}

.m-choiceWrapper i::before {
    display: block;
}

.m-quizResult {
    display: inline-block;
    width: 90%;
    box-sizing: border-box;
    border: 2px solid black;
    margin: 10px 0;
    text-align: left;
    padding: 8px 15px;
    border-radius: 5px;
}

.m-numberCorrectAnswer {
    font-size: 1.25em;
    font-weight: bold;
}

.m-QandE {
    margin-top: 15px;
    font-size: 1.2em;
}

.m-spread {
    z-index: 1;
    width: 100%;
    transition: width .3s ease-in-out;
}

.m-shrink {
    z-index: 0;
    width: 0%;
    transition: width .3s ease-in-out;
}

.m-table {
    border-collapse: collapse;
    box-sizing: border-box;
    margin: 10px 25px;
    /* table-layout: fixed; */
}

.m-table th {
    background-color: hsl(208, 86%, 77%);
    box-sizing: border-box;
    padding: 5px 10px;
    border: 2px solid hsl(208, 63%, 50%);
}

.m-table td {
    background-color: hsl(207, 74%, 91%);
    box-sizing: border-box;
    padding: 5px 10px;
    border: 2px solid hsl(208, 63%, 50%);
}

.m-progress {
    position: fixed;
    width: 100%;
    height: 5px;
    background-color: hsl(207, 71%, 81%);
    top: 80px;
    left: 0;
    overflow: hidden;
    z-index: 50;
}

.m-progress-inner {
    position: fixed;
    width: 50%;
    height: 5px;
    background-color: hsl(208, 61%, 47%);
    top: 80px;
    left: 0;
}

.m-canvasArea {
    width: 800px;
    height: 450px;
    overflow: hidden;
    background-color: blue;
}

.m-canvasArea img {
    width: 100%;
    height: 100%;
    transition: transform .3s ease-in-out;
}

footer {
    width: 100%;
    background-color: hsl(208, 81%, 25%);
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 20px 70px;
    padding: 40px 50px;
}

footer ul {
    list-style: none;
}

.f-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.f-main h1 {
    font-size: 1.75em;
    margin-bottom: 30px;
}

.f-main ul {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.f-main ul li {
    margin-right: 10px;
}

.f-main ul li p {
    color: white;
    text-decoration: underline;
    font-size: 0.8em;
}

.f-img {
    width: 2em;
    height: 2em;
    border-radius: 3px;
}

.f-main i {
    color: white;
    font-size: 2em;
}

.f-pages {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 15px 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: repeat(auto-fit, max-content);
}

.fm-contentBox {
    list-style: none;
    font-size: 1.3em;
    min-width: min-content;
}

.fm-contentTheme {
    margin-bottom: 10px;
}

.fm-contentPages {
    font-size: 0.9em;
    box-sizing: border-box;
    padding-left: 30px;
    list-style-type: "-";
    text-indent: 10px;
    margin-bottom: 20px;
}

.fm-contentPages li {
    margin-bottom: 7.5px;
}

.fm-contentBox a {
    text-decoration: none;
}

.fm-contentTheme,
.fm-contentPages li {
    color: white;
}

.fm-contentTheme:hover,
.fm-contentPages li:hover {
    text-decoration: underline;
}

@media screen and (max-width: 959px) {
    .m-activity-and-browser {
        flex-direction: column;
        align-items: center;
    }

    .m-activity {
        margin-bottom: 30px;
    }

    .m-activity,
    .m-browser {
        width: 90%;
        min-width: 0;
    }

    .m-mv {
        justify-content: center;
    }

    .m-titleBox {
        margin-left: 0;
        text-align: left;
    }

    .h-menu>ul {
        display: none;
    }

    .h-title h1 {
        font-size: 1.5em;
    }

    .m-outer {
        padding: 20px 7vw;
    }

    .m-bubble {
        flex-wrap: wrap;
    }

    .m-bubbleContent {
        margin-left: 0;
        margin-top: 15px;
    }

    .m-contentWrapper {
        padding: 50px 7vw;
    }

    #canvas-home {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        margin: 0;
        opacity: 0.2;
    }

    .m-content {
        position: relative;
        width: 100%;
        padding: 20px 15px;
    }

    nav {
        padding: 100px 50px;
    }
}

@media screen and (max-width: 450px) {
    .m-titleBox {
        text-align: center;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translateX(-50%)translateY(-50%);
    }

    header {
        padding: 0 10px;
    }

    .mp-intro {
        padding: 0 4vw;
    }

    .h-titleImg {
        width: 60px;
        height: 60px;
    }

    .h-title h1 {
        font-size: 5.25vw;
        margin-left: 5px;
    }

    .m-title {
        font-size: 2.5em;
    }

    .m-subTitle {
        font-size: 1em;
    }

    .m-browser {
        padding: 20px 40px;
    }

    .m-outer {
        padding: 20px 3vw;
    }

    .m-content {
        position: relative;
        width: 100%;
        padding: 20px 10px;
    }

    .m-pageList {
        padding: 10px 15px;
    }

    .m-pageImageWrapper {
        padding: 15px 5px;
        text-align: center;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .m-pageImage {
        min-width: 100%;
    }

    .m-pageImage img {
        width: 100%;
    }

    .m-pageIndex {
        margin: 30px 10px;
    }

    .m-pageIndex ol {
        padding: 15px 20px;
        padding-left: 40px;
    }

    .m-pageContent,
    .m-pageSection,
    .m-pageSectionContent {
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        padding: 0 15px;
        margin-bottom: 12.5px;
    }

    .m-table {
        margin: 10px 10px;
    }

    .m-bubble {
        padding: 5px 15px;
    }

    blockquote {
        margin: 15px 10px;
        padding-left: 15px;
    }

    blockquote>div {
        margin-left: 10px;
    }

    footer {
        padding: 40px 20px;
    }

    .f-pages {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .m-contentWrapper {
        padding: 50px 3vw;
    }

    nav {
        padding: 100px 30px;
    }
}