body {
    margin: 0;
    font-family: "Verdana";
    font-size: 10px;
    background-color: black;
    background-image: url("../../images/kyodai/smooth.jpg");
    background-attachment: fixed;
    background-size:cover;
    background-position: center;
    background-repeat:no-repeat;
    overflow:hidden;
}
.contentborder{
    border-top: 2px inset rgba(0,0,0,0.3);
    border-left: 2px inset rgba(0,0,0,0.3);
    border-bottom: 2px inset rgba(255,255,255,0.3);
    border-right: 2px inset rgba(255,255,255,0.3);
    border-radius: 3px;
    padding: 0.2rem;
    width:15rem;
}
.content{
    width:13.6rem;
    height:18.3rem;
    overflow:scroll;
    overflow-x: hidden;
    background:rgba(255,255,255,0.75);
    padding:0.7rem;
    margin-bottom:0;
}
.content p{
    padding:0.2rem 0;
    margin:0;
}
.content h2{
    font-family: "Arial";
    color:#000080;
    margin:0;
    padding:0 0 0.2rem 0;
}

.content h3{
    font-family: "Arial";
    color:#800000;
    margin:0;
    padding:0.2rem 0 0.1rem 0;
}

ul{
    margin-top:0rem;
    padding-top:0;
    margin-left:0rem;
    padding-left:1.5rem;
}
li{
    margin-left:0rem;
    padding-left:0rem;
}

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {
  background: rgba(0,0,0,0); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 1rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.wrapper{
    width: 68%;
    min-height:100vh;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:0px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:column;
}
.board{
    background-image: url("../../images/kyodai/kyodaigif.gif"), url("../../images/kyodai/classic.jpg");
    background-attachment: fixed;
    background-size:70rem, contain;
    background-position: center;
    background-repeat:no-repeat;
}
h1 {
    font-family: "Arial";
    color:#800000;
    font-style: italic;
    /*#000080*/
    font-size:1.6rem;
    margin:0;
    padding:0.5rem 0 0 0;
    overflow: hidden;
}
.header{
    display:flex;
    flex-direction:row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items:center;
}
.button4, .button5{
    background: rgba(0,0,0,0.2);
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    height:1.6rem;
    width: 4.5rem;
    margin-top:0.2rem;
    border-top: 2px outset rgba(255,255,255,0.3);
    border-left: 2px outset rgba(255,255,255,0.3);
    border-bottom: 2px outset rgba(0,0,0,0.3);
    border-right: 2px outset rgba(0,0,0,0.3);
    border-radius: 3px;
    overflow:hidden;
    font-size:0.7rem;
}
.button4 img{
    width: 1.6rem;
    margin-right:0.4rem;
}
.footer{
    display:flex;
    flex-direction:row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items:center;
    position:absolute;
    bottom:0.2rem;
}
.selectortext{
    border-top: 2px inset rgba(0,0,0,0.3);
    border-left: 2px inset rgba(0,0,0,0.3);
    border-bottom: 2px inset rgba(255,255,255,0.3);
    border-right: 2px inset rgba(255,255,255,0.3);
    border-radius: 3px;
    width:27rem;
    height:1.55rem;
    margin-top:0.1rem;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    margin-right:0.5rem;
    font-size: 0.7rem;
}
.preview{
    margin-left:1.5rem;
    margin-top:1.5rem;
    width: 10.3rem;
}
.border{
    border-top: 2px inset rgba(0,0,0,0.3);
    border-left: 2px inset rgba(0,0,0,0.3);
    border-bottom: 2px inset rgba(255,255,255,0.3);
    border-right: 2px inset rgba(255,255,255,0.3);
    border-radius: 3px;
    width: 100%;
    padding: 0.2rem;
}
.border img{
    width: 100%;
    display:block;
}
.difficulty{
    width:100%;
    margin-left:0.4rem;
    margin-top:0.3rem;
}
.button6, .button7, .button8{
    height: 1.2rem;
    background:rgba(0,0,0,0.2);
    border-top: 2px outset rgba(255,255,255,0.3);
    border-left: 2px outset rgba(255,255,255,0.3);
    border-bottom: 2px outset rgba(0,0,0,0.3);
    border-right: 2px outset rgba(0,0,0,0.3);
    border-radius: 3px;
    overflow:hidden;
    font-size:0.65rem;
    padding-top:0.3rem;
    font-size:0.65rem;
}
.button6{
    width: 2.6rem;
    position:absolute;
}
.button7{
    width: 3rem;
    position:absolute;
    left:9.5rem;
}
.button8{
    width: 3.4rem;
    position:absolute;
    left: 5.6rem;
}
.logo{
    width:10rem;
    margin-left:2rem;
    margin-top: 3.2rem;
}
.button1, .button2 ,.button3{
    background:rgba(0,0,0,0.2);
    width: 80%;
    margin-left: 8%;
    margin-right: 12%;
    border-top: 2px outset rgba(255,255,255,0.3);
    border-left: 2px outset rgba(255,255,255,0.3);
    border-bottom: 2px outset rgba(0,0,0,0.3);
    border-right: 2px outset rgba(0,0,0,0.3);
    border-radius: 3px;
    overflow:hidden;
    font-size:0.65rem;
}
.buttonempty1, .buttonempty2, .buttonempty3{
    width: 80%;
    margin-left: 8%;
    margin-right: 12%;
}
.buttonempty1{
    height:1rem;
}
.buttonempty2{
    height:0.5rem;
}
.buttonempty3{
    height:0.5rem;
}
.button1{
    height:1.5rem;
    padding: 1rem auto;
    margin-bottom:0.3rem;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
}
.button3{
    height:1.6rem;
    padding: 1rem auto;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
}
.button2{
    height:1.25rem;
    padding-top:0.55rem;
    margin-bottom:0.3rem;
}
.button1 p, .button2 p ,.button3 p, .button4 p, .button5 p, .selectortext, .button6 p, .button7 p, .button8 p{
    margin:0px;
    padding:0;
    text-align:center;
    color: #f9dab8;
    font-weight:bolder;
    text-shadow: 1px 1px black;
}
.menubar a, .header a{
    color: #f9dab8;
    text-decoration:none;
}
.button1 img{
    width:1.3rem;
    margin-top:0.1rem;
    margin-right:0.4rem;
}
.button3 img{
    width:1rem;
    margin-top:0.1rem;
    margin-right:0.4rem;
}
.button1:hover, .button2:hover, .button3:hover, .button4:hover, .button5:hover, .button6:hover, .button7:hover, .button8:hover{
    background:rgba(200,255,255,0.1);
    cursor: pointer;
}
.menubox{
    /*width: 755px;
    height: 512px;*/
    /*width:560px;
    height:385px;*/
    width: 40rem;
    height: 26rem;
    display:flex;
    flex-direction:row;
    justify-content: center;
    border:1px solid rgba(0,0,0,0.7);
    filter: drop-shadow(0.7rem 0.7rem rgba(0,0,0,0.4));
}
.menubar{
    background-image: url("../../images/kyodai/menuleft.jpg");
    background-size:cover;
    background-position: center;
    background-repeat:no-repeat;
    width: 16%;
    height: 26rem;
    display:flex;
    flex-direction:column;
    justify-content: center;
}
.menupic{
    background-image: url("../../images/kyodai/menuright.jpg");
    background-size:cover;
    background-position: 0px;
    width: 84%;
    height: 100%;
    padding:0 0.9rem 0 0.5rem;
    position:relative;
}
footer a {
   color: #f9dab8;
   letter-spacing: revert;
   text-decoration:none;
}
footer a:hover{
    text-decoration: underline;
}
footer p{
    margin-bottom:0;
}
footer {
    text-align: center;
    color:#f9dab8;
    font-weight: bold;
    margin-bottom:0.2rem;
}