/* myStyle.css */
html, body {
    cursor: none;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    overscroll-behavior: none;
    -ms-content-zooming: none;
}

* {
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.invisibleButton {position: absolute;
    top: 1px;
    left: 1px;
    color: transparent; background-color: transparent; border-color: transparent; cursor: default;
    font-size: 32px;
    pointer-events: none;
}
#indexLink {
position: absolute;
top: 5px;
left: 100px;
display: none;
font-size: 32px;
pointer-events: none;
}
#item {
    pointer-events: none;
}
.ChallengeSlides {
    display: none;
    margin-left: auto;
    margin-right: auto
}

.lowerMenu {
    position: absolute;
    bottom: 10;
    height: 70px;
    background-color: #d39811;
    width: 100%;
}

mainContainer {
    /* .this is  the full screen*/
    max-width: 1024px;
    max-height: 600px;
}

.MainSlider {
    /* .this is  the full width but not the title */
    margin-top: 60px;
    margin-right: 40px;
    margin-left: 50px;
    height: 460px;
}

.HowToPlay,
.Challenges,
.AtAGlance,
.Tips, .More_math, .Gallery, .People, .History {
    display: grid;
    grid-template-columns: 5fr 3fr;
    grid-gap: 20px;
    height: 390px;
    
}

.left {
    background-color: rgb(207, 198, 183);
    margin-left: 10px;
    overflow-y: scroll;
    padding-left: 10px;
}

.right {
    border-style: solid;
    border-width: 5px;
    border-Color: #d39811;
    background-color: white;
    align-items: center;
    height: 100%;
    display:flex;
}

.body {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.button {
    color: white;
    background-color: brown;

}

.lowerbutton {
    max-width: 70px;
    background-color: #d39811;
    border: none;
    text-align: center;
    padding: 0px 0px;
}

.lowerbutton img[style*="display:none"],
.lowerbutton img[style*="display: none"] {
    pointer-events: none;
}

.lowerbutton:has(img[style*="display:none"]),
.lowerbutton:has(img[style*="display: none"]) {
    pointer-events: none;
    cursor: default;
}

.buttontext {
    position: relative;
    float: left;
}
.submenu{
    position:absolute;
    top: 460px;
    left:640px;
}
.titles{
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    font-size: 28px;
    margin:0 auto;
    color: white;
    font-weight: bold;
    max-width: 80%;
}
.lowerMenu{
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr  1fr ;
    grid-gap: 2px;
}