/*February 24, 2022 */

main{
  display:flex;
}

section{
  margin-left: 50px;
}
.chesspiece {

  display: grid;
  grid-template-columns: repeat(4rem, 2rem);
  width:4rem;
  height: 4rem;
  background-color: hsl(0, 0%, 90%);  
  outline-color: black;
  outline-style: solid;
}

.grid {
  margin:0;

  /* width: 550px; */
  margin-left: 50px;
  display: grid;
  grid-template-columns: repeat(8, 4rem);
  /* gap: -5rem; */
  /* list-style-type: none; */
  border-radius: 0.5rem;
  height: 540px;
}

.cell {
  display:inline-block;
  width:4rem;
  height: 4rem;
  background-color: hsl(0, 0%, 90%);
  outline-color: black;
  outline-style: solid;

 
}
.king{
  background-color:coral;
}
.queen{
  background-color: cyan;
}
.knight{
  background-color:gold;
}

.bishop{
  background-color:hotpink;
}

.rook{
  background-color:mistyrose;
}

.pawn{
  background-color:palegreen;
}



 

.bking{
  background-color:coral;
}
.bqueen{
  background-color: cyan;
}
.bknight{
  background-color:gold;
}

.bishop{
  background-color:hotpink;
}

.brook{
  background-color:mistyrose;
}

.bpawn{
  background-color:palegreen;
}



.cell.color1{
  background-color:yellow;
}

.cell.color2{
  background-color:green;
}

 
.chesspieces{
  width: 550px;
  height: 30px;
  margin-top: 10px;
  margin-left: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  outline-color: black;
  outline-style: solid;

}
  
.bchesspieces{
  width: 550px;
  height: 30px;
  margin-top: 5px;
  margin-left:  250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  outline-color: black;
  outline-style: solid;
  
}




#setup{
  font-size: 30px;
  border-radius: 10%
  
}
  


#clear{
  margin-left: 20px;;
  font-size: 30px;
  border-radius: 10%
  
}


#move{
  margin-left: 20px;;
  font-size: 30px;
  border-radius: 10%
  
}
/* 
p{
  width: 600px;
  height: 50px;
  font-size: 30px;
  background-color:blanchedalmond;
  
  outline-color: black;
  outline-style: solid;
}
  */

.pone{
  width: 100px;
  height: 50px;
  font-size: 30px;
  background-color:blanchedalmond;
  /* border-radius: 10%; */
  outline-color: black;
  outline-style: solid;
  padding-left: 5px;
}
  
.ptwo{
  width: 600px;
  height: 50px;
  font-size: 30px;
  background-color:blanchedalmond;
  /* border-radius: 10%; */
  outline-color: black;
  outline-style: solid;
  padding-left: 5px;
}

.pthree{
  width: 100px;
  height: 50px;
  font-size: 30px;
  background-color:blanchedalmond;
  /* border-radius: 10%; */
  outline-color: black;
  outline-style: solid;
  padding-left: 5px;
}
  
  





nav{
  display: flex;
  width:99%;
  height: 80px;
  background-color: brown;
  margin-bottom: 50px;
  margin-left: 5px;
  color:white;
  justify-content: space-between;
  /* border-radius: 51%; */
  padding-bottom: 10px;
  
}


a{border: 2px solid white;
  margin-top:20px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 11px 25px;
  font-family: 'Playfair Display', serif;
  font-size:25px;
  display: inline-block;
  position: relative;
  color: white;
  text-decoration: none;
  border-radius: 25%;
}



.dropdown {
  display: none;
  position: absolute;
  z-index: 1;
  padding-top: 20px;
  /* padding-right: 20px; */
  text-align: center;
  /* width:200px; */
  /* border-radius: 25%; */
  
}


.navbutton:hover .dropdown {
 display: block;
}



.dropdown .navbutton {
  border-radius: 50%;
  width: 200px;
  background-color: black;
  padding-bottom: 20px;
  font-size: 3px;
}

#chessforchildren{
  background-image: url("images/chessforchildren.jpg");
  border-style: solid;
  border-width:5px;
  border-color: black;
  width:300px;
  height: 300px;
  /* background-color: red; */


}

#thetime{
 margin-top: 20px;
  height: 60px;
  width: 200px;
  background-color: blue;
}