/* nav ul li {
    border: 2px solid  blue;
}
*/

body {
    font-family: Helvetica, San-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #363636;
}

#header {
    background: #59799e;  
    width: 100%;
    height: 103px;
    position: fixed;
    top: 0;
    z-index: 2;
    text-align: center;
}

#logo {
    height: 100px;
}

#logo:hover {
  background-color: #597DA5;
}


/* left column */

#nav-bar {
    height: 100%;
    width: 15%;
    top: 0px;
    margin: 100px 0 0 0;
    padding: 0;
    border-right: 3px solid #59799e; 
    position: fixed;
    text-align: center;
    z-index: 1;
}

#nav-header {
    color: rgb(225, 233, 255);
    font-size: 45px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 0;
    border-bottom: 3px solid #59799e; 
    text-shadow: 0px 3px #59799e;
    background-color: #849cb8;
}

nav ul{
    height: 100vh;
    text-align: center;
    list-style-type: none;
    padding-left: 0;
}

nav ul li {
    margin: 20px 20px 20px 20px;
    padding-bottom: 30px;
    border-bottom: 3px solid #59799e;
}

.nav-link {
    color: #59799e;
    text-shadow: 0px 2px white; 
    font-size: 30px;
}

a:link {
    text-decoration: none;
}
a:hover {
    background-color: #59799e;
    color: white;
}


/* content */

.content {
    text-align: center;
    margin-top: 120px;
    margin-left: 35%;
}

.board {
    width: 700px;
    height: 700px;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid black;
    background-color: rgb(206, 212, 203);
  }

.square {
    width: 83.5px;
    height: 83.5px;
    border: 2px solid black;
}

.green {
    background-color: #47ac58;
  }

.prison {
    width: 700px;
    height: 90px;
    border: 2px solid black;
    background-color: rgb(114, 110, 110);
    margin-top: 20px;
  }



.square::before {
    font-family: "Arial Unicode MS", sans-serif;
    font-size: 50px;
    content: "";
  }
  
#a7::before,
#b7::before,
#c7::before,
#d7::before,
#e7::before,
#f7::before,
#g7::before,
#h7::before  {
    content: "\265F";
  }
  
#g8::before,
#b8::before {
    content: "\265C";
  }

#c8::before,
#f8::before {
    content: "\265D";
}

#a8::before,
#h8::before {
    content: "\265E";
}

#d8::before {
    content: "\265B";
}

#e8::before {
    content: "\265A";
}

#a2::before,
#b2::before,
#c2::before,
#d2::before,
#e2::before,
#f2::before,
#g2::before,
#h2::before  {
    content: "\2659";
  }
  
#g1::before,
#b1::before {
    content: "\2656";
  }

#c1::before,
#f1::before {
    content: "\2657";
}

#a1::before,
#h1::before {
    content: "\2658";
}

#d1::before {
    content: "\2655";
}

#e1::before {
    content: "\2654";
}

/* Media Query */

@media all and (min-width: 320px) and (max-width: 767px) {
   
    
    #logo {
        height: 90px;
        padding-right: 150px;
    }


    #nav-bar {
        border-right: transparent;
        margin-top: 110px;
        margin-left: 230px;
        
        display: flex;
        justify-content: center;
        position: static;
        
    }
    nav ul {
        display: flex;
        flex-direction: row;
        height: 80px;
        margin: 0;
    }
    
    #nav-header {
        display: none;
    }

    .nav-link {
        font-size: 15px;
        text-shadow: 0px 1px #59799e;
    }
    nav ul li {
        margin: 10px 20px;
        width: 100%;
        border-bottom: 3px solid #59799e;
    }

    .content {
        text-align: center;
        margin-top: 20px;
        margin-left: 0%;
    }

    .board {
        width: 500px;
        height: 500px;
        margin-left: 10px;

    }
    .square {
        width: 58.5px;
        height: 58.5px;
        border: 2px solid black;
    }
    .prison {
        width: 500px;
        height: 58.5px;
        margin-left: 10px;
      }
}

@media all and (min-width: 768px) and (max-width: 1199px) {
    .nav-link, #nav-header {
        font-size: 20px;
    }
    
    .image {
        margin-left: 0px;
        
     }
     .image img {
        width: 200px;
        height: 200px;
    }
    
    .content {
        text-align: center;
        margin-top: 120px;
        margin-left: 25%;
    }

    .board {
        width: 500px;
        height: 500px;
        margin-left: 10px;

    }
    .square {
        width: 58.5px;
        height: 58.5px;
        border: 2px solid black;
    }
    .prison {
        width: 500px;
        height: 58.5px;
        margin-left: 10px;
      }
}