:root {
    --page-bg-accent: #ffffff;
    --text-accent: #454545;
    --page-pushdown: 0px;
    --page-height: 100%;
    --splash-bg-colour: #dadada;
    --splash-fg-colour: #494949;
}
@font-face { font-family: PP_Mori_Regular; src: url(/assets/fonts/PPMori-Regular.otf); font-weight: normal; }
@font-face { font-family: PP_Mori_Bold; src: url(/assets/fonts/PPMori-SemiBold-Edited.otf); font-weight: bold; }

html {
    height: 100%;
    width: 100%;
    background-color: #ffffff;
}
body {
    margin: 0;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    font-family: Helvetica, arial, sans-serif;
    position: relative;
    width: 100%;

    -webkit-tap-highlight-color: transparent;
}

#splash {
    display: grid;
    place-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color:var(--splash-bg-colour);
    color:var(--splash-fg-colour);
}

#application-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#application-canvas.fill-mode-NONE {
    margin: auto;
}
#application-canvas.fill-mode-KEEP_ASPECT {
    width: 100%;
    height: auto;
    margin: 0;
}
#application-canvas.fill-mode-FILL_WINDOW {
    width: 100%;
    height: 100%;
    margin: 0;
}

canvas:focus {
    outline: none;
}

#dpi-div {
    /* background-color: red; */
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}

.htp-cont {
    /* display: none !important; */
    display: none;
    /* display: flex; */
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 43, 0.501);
    flex-direction: row;
    justify-content: flex-end;
}
.htp-page {
    background-color: var(--page-bg-accent);
    width: 25%;
    min-width: 350px;
    /* height: calc(100% - 40px); */
    height: calc(var(--page-height) - 40px);
    translate: 0px var(--page-pushdown);
    margin: 20px;
    border-radius: 10px;
    border: #5e5e5e 3px solid;
    color: var(--text-accent);
    font-family: PP_Mori_Regular;
    /* padding-left: 20px; */
    /* padding-right: 20px; */
    overflow-y: scroll;
    overflow-x: hidden;
}
.htp-page p {
    margin-top: 19px;
    margin-left: 20px;
    margin-right: 20px;
}
.tut-img{
    /* height: 100px; */
    width: 100%;
    display: grid;
    place-items: center;
}
.tut-img img {
    width: 100%;
    max-width: 400px;
    opacity: 70%;
}


.htp-page::-webkit-scrollbar {
    width: 0.25em;
}
/*
.htp-page::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
*/
.htp-page::-webkit-scrollbar-thumb {
    background-color: rgb(95, 95, 95);
    outline: 0px solid slategrey;
}
.footer {
    background-color: #e4e4e4;
    margin-top: 20px;
    height: 100px;
    width: 100%;
    padding-top: 20px;
}

.video-cont{
    height: 270px;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-top: 10px;
}
video {
    width: 100%;
}

.mobile-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e4e4e4;
    display: none;
    place-items: center;
    font-family: PP_Mori_Bold;
}
.help-group{
    display: none;
}
.profile-group{
    display: block;
}
.profile-page-bg{
    background-color: var(--page-bg-accent);
    position: absolute;
    width: 100%;
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 620px;
    /* background-color: purple; */
    margin-left: 5px;
}
.profile-cont{
    /* box-sizing:border-box; */
    /* background-color: red; */
    height: 620px;
    /* width: 100%; */
    /* display: grid; */
    /* place-items: center; */

    width: 465px;
}

.card-cont{
    display: grid;
    place-items: center;
    height: 260px;
}
.card{
    background-color: #ECE7D1;
    width: 410px;
    height: 210px;
    border-radius: 15px;
    border-bottom: #C7C2B0 4px solid;
    display: flex;
    flex-direction: column;
}
.card-section-name{
    /* background-color: blue; */
    /* border: blue 1px solid; */
    height: 35%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    
    box-sizing: border-box;
    padding: 15px;
}
.player-name{
    font-size: 50px;
    font-weight: bold;
}
#player-name-input{
    font-size: 50px;
    font-weight: bold;
    width: 270px;
    height: 40px;
    border: none;
    background-color: transparent;
    padding: 7px;
    color: rgba(43, 43, 43);
}
.edit-name-button{
    border: #C7C2B0 2px solid;
    border-radius: 7px;
    height: 22px;
    width: 90px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: bold;
}
.edit-name-button:hover{
    border: #918d7e 2px solid;
}

.card-section-total{
    /* background-color: red; */
    /* border: red 1px solid; */
    height: 25%;
    width: 100%;
    display: grid;
    place-items: center;
}
.card-puzzles-complete-count{
    font-size: 30px;
    font-weight: bold;
}
.card-puzzles-complete-title{
    font-size: 15px;
    font-weight: bold;
}

.card-section-medals{
    /* background-color: yellow; */
    /* border: yellow 1px solid; */
    height: 40%;
    width: 100%;
    display: grid;
    place-items: center;
}
.medal-row{
    display: flex;
    flex-direction: row;
}
.medal-cont{
    width: 35px;
    margin-left: 2px;
}
.medal-image{
    width: 100%;
}

.settings-cont {
    display: grid;
    place-items: center;
    height: 340px;
    /* border: green 1px solid; */
}
.settings-list{
    /* border: yellow 1px solid; */
    width: 330px;
    height: 320px;
}
.dropdown-cont{
    /* border: red 1px solid; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 35px;
    margin-bottom: 12px;
    /* margin-top: 12px; */
}
.dropdown-cont p {
    margin: 10px 0px 0px 0px;
}
.dropdown-box{
    background-color: rgb(229, 229, 229);
    width: 135px;
    height: 30px;
    margin-top: 2px;
    margin-right: 2px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}
select {
    width: calc(100% - 15px);
}

.toggle-box{
    background-color: #e5e5e5;
    width: 30px;
    height: 30px;
    margin-top: 2px;
    margin-right: 55px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.slider-box{
    background-color: #e5e5e5;
    width: 135px;
    height: 30px;
    margin-top: 2px;
    margin-right: 2px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.slider{
    width: 120px;
}
.settings-info-para{
    margin-top: 10px;
    margin-bottom: 10px;
}