@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');
* {
    margin: 0;
    
}
body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    min-width: 900px;
}
h1 {
    font-size: 18px;
    margin: 30px;
}
p {
    font-size: 14px;
    margin: 30px;
    display: block;
    width: 550px;
}
#ches {
    width: 400px;
    height: 400px;
    
    box-shadow:  0px 0px 30px #ada291;
    
}
#ches div {
    width: 50px;
    height: 50px;
    float:left;
    background: #faf1df;
    margin: 0;
    font-size: 45px;
    color: #a78551;
    text-align: center;
    
    
}
#ches div span {
    transition: transform 0.5s;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
}
#ches div span:hover{
    transform: scale(1.2) translateY(0px);
}
#ches div:nth-child(-2n+8),
#ches div:nth-child(8) ~ div:nth-child(-2n+15), 
#ches div:nth-child(16) ~ div:nth-child(-2n+24), 
#ches div:nth-child(24) ~ div:nth-child(-2n+31), 
#ches div:nth-child(32) ~ div:nth-child(-2n+40), 
#ches div:nth-child(40) ~ div:nth-child(-2n+47), 
#ches div:nth-child(48) ~ div:nth-child(-2n+56), 
#ches div:nth-child(56) ~ div:nth-child(-2n+63) {
    background: #5c3901;
}

#all {
    margin: 30px;
    width: auto;
    height: auto;
    
}
#top {
    
    
    margin: 0 auto;
    height: 35px;
    margin-bottom: 10px;
}

#left ul, #right ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

#play {
    width: 30px;
    height: 35px;
    border: 1px solid #dadada;
    margin: 10px;
    padding:10px;
    float: left;
}

#left ul li, #right ul li {
    
    display: block;
    height: 50px;
    width: 35px;
    line-height: 50px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

#left, #ches, #right {
    float:left;
    
}
#chess {
    
    border: 1px solid grey;
}
#bottom {
    clear: both;
    
    margin: 0 auto;
}

#bottom ul, #top ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
    margin-left: 35px;
}


#bottom ul li, #top ul li {
    
    display: block;
    height: 35px;
    width: 50px;
    line-height: 50px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    float: left;
}

#white, #black {
    height: 30px;
    clear: both;
}

