.topnav a.wg {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav {
    overflow: hidden;
    background-color: whitesmoke;
    border-bottom: 1px solid black;
    margin-bottom: 34px;
}

#board {
    margin-top: 35px;
    margin-bottom: 10px;
}


.topnav a.active {
    background-color: #ADD8E6;
    color: black;
}

.topnav .icon {
    transition:color  0.25s;
    display: none;
    background-color: #ADD8E6;
    color: white;
}

@media screen and (min-width: 600px) {
    .topnav a {
        float: left;
        display: block;
        color: black;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }
    .topnav a:hover {
        background-color: #ddd;
        transition: background-color 0.25s, color  0.25s;
        color: black;
    }
}
@media screen and (max-width: 600px) {

    .topnav a:not(:nth-child(2)) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        align-content: center;
        color: black;
    }

    .topnav a.active {
        position: relative;
        float: none;
        display: block;
        text-align: center;
    }

    .topnav.responsive {position: relative;}
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: center;
    }

    .topnav.responsive a.icon {
        background-color:  whitesmoke;
        color: black;
        transition:color  0.25s;
    }
}

@media only screen and (max-width: 768px) {
    .but {
      margin: 0 10px;
        background-color: papayawhip;
        min-width: fit-content;
        height: 30px;
        width: 100px;
        border: 1px solid black;
        font-size: 8px;
    }

    td {
        line-height: calc(100vw / 50);
        font-size:3px;
        overflow: hidden;
        width: 10px;
        height: 10px;
        border-collapse: collapse;
        border: .5px solid black;
        cursor: pointer;
        text-align: center;
        background-color: lightslategrey;
    }
    table {
        min-width: fit-content;
        align-self: center;
        border: 1px solid black;
        margin: auto;
    }
  }

  @media only screen and (min-width: 768px) {
    .but {
        background-color: papayawhip;
        min-width: fit-content;
        height: 30px;
        width: 75px;
        margin: 10px;
        border: 1px solid black;
    }
    table {
        min-width: fit-content;
        align-self: center;
        border: 1px solid black;
        border-collapse: collapse;
        margin: auto;
    }
    td {
        line-height: calc(100vw / 50);
        min-width: calc(100vw / 50);
        max-width: calc(100vw / 80);
        aspect-ratio: 1/1;
        display: inline-block;
        border-collapse: collapse;
        border: 1px solid black;
        cursor: pointer;
        text-align: center;
        background-color: lightslategrey;
        margin: 0 auto;
    }
  
    td:hover {
        background-color: lightgrey;
    }
  }

tr {
  min-height: fit-content;
}

.open {
    background-color: white;
}

.flag {
    background-color: lightpink;
}

.wrong_flag {
    background-color: darkred;
}

.bomb {
    background-color: black;
}

.correct_flag {
    background-color: forestgreen;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: fit-content;
}

.nota {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
    background-color: #f5f5f5;
    padding: 20px;
}


.buttons-centered {
  display: flex;
}

.gamemode {
    margin-top: 15px;
    margin-bottom: 15px;
    position: flex;
}

.debug {
    background-color: purple;
}


html, body {
    margin:0;
    padding:0;
    height:100%;
 }

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2.5rem;
}

.footer-content {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 100%;
}

.footer-content p {
  margin: 0;
}

#footer {
  background-color:#f5f5f5;
  border-top: 1px solid black;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 8%;  
  justify-content: center; 
}