body {
  background-image: linear-gradient(to bottom right, rgba(245, 255, 250, 0.8), rgba(255, 255, 255, 0.8));
  font-family: Montserrat, Verdana, sans-serif;
  font-size: 14px;
  color: #000;
  font-stretch: expanded;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  text-align: left;
}



.totalcenter {
  width: 100%;
  padding: none;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  align-content: center;
  justify-content: center;
  display: flex;
  flex-flow: column;
}

header {
  width: 100%;
  align-items: center;
  align-content: center;
  justify-content: center;
  display: inline;
}

header>h1 {
  font-size: 22px;
  font-weight: 600;
  font-family: sans-serif;
  color: #101010;
  align-self: center;

}

.logo {
  width: 300px;
  height: 120px;
  float: left;
  font-family: monospace;
  font-size: 40px;
  font-weight: 600;
  margin: 5px;
  padding: 5px;
}

main {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  align-content: center;
  justify-content: center;
  display: flex;
  flex-flow: column;
}

main>h1 {
  color: rgba(30, 144, 255, 0.8);
  font-size: 22px;
  font-weight: 600;
  font-family: sans-serif;
  align-self: center;

}

.grid-container {
  width: 100%;
  display: grid;
  flex-flow: column;
  flex-wrap: wrap;
  grid-column: auto;
  align-items: center;
  align-content: center;
  grid-template-columns: auto auto auto auto auto auto;
  background-color: none;
  padding: 0;
}

.grid-item {
    width: auto;
    height: 65px;
    line-height: 30px;
    background-color: #3a3b3d;
    color: #fff;
    padding: 20px;
    font-size: 30px;
    font-weight: 500;
    font-family: sans-serif;
    text-align: center;
    margin: 3px;
}

    .grid-item:hover {
        background-color: rgba(5, 5, 5, 0.9);
        color: #0d6efd;
        cursor: pointer;
    }

.grid-item>a:link {
  font-variant: normal;
  text-decoration: none;
  color: #fff;
}

    .grid-item > a:active {
        font-variant: normal;
        text-decoration: none;
        color: #0d6efd;
    }

.grid-item>a:visited {
  font-variant: normal;
  text-decoration: none;
  color: #fff;
}

    .grid-item:active {
        background-color: rgba(30, 144, 255, 0.8);
        font-variant: normal;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }

    .grid-item:visited {
        background-color: rgba(30, 144, 255, 0.8);
        font-variant: normal;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }



#myInput {
  width: 99%;
  height: 50px;
  font-size: 16px;
  border: 1px solid rgba(30, 144, 255, 0.8);
  color: #101010;
  margin-top: 30px;
  margin-bottom: 12px;
}


/*search*/
#myUL {
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#myUL li a {
  border: 1px solid #ddd;
  margin-top: -1px;
  /* Prevent double borders */
  background-color: #f6f6f6;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  color: black;
  display: block
}

#myUL li a:hover:not(.header) {
  background-color: #eee;
}


#myTable {
  border-collapse: collapse;
  width: 100%;

}

/*search*/

#myTableid {
  border-collapse: collapse;
  width: 90%;
  border: none;
  font-size: 18px;
}


.btsubmit {
  width: 92%;
  height: 50px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  background-color: darkcyan;
  border-radius: 0;
  margin-bottom: 20px;
}

.btsubmit:hover {
  background-color: yellowgreen;
  cursor: pointer;
}

@media screen and (min-width: 600px) {
  .grid-container {
    width: 100%;
    display: grid;
    flex-flow: column;
    flex-wrap: wrap;
    grid-column: auto;
    align-items: center;
    align-content: center;
    grid-template-columns: auto auto auto;
    background-color: none;
    padding: 0;
  }

    .grid-item {
        width:auto;
        height: auto;
        max-height: 70px;
        background-color: #3a3b3d;
        color: #fff;
        padding: 10px;
        font-size: 16px;
        font-weight: 500;
        font-family: sans-serif;
        text-align: center;
        margin: 3px;
    }
}
@media screen and (min-width: 360px) {
    .grid-container {
        width: 100%;
        display: grid;
        flex-flow: column;
        flex-wrap: wrap;
        grid-column: auto;
        align-items: center;
        align-content: center;
        grid-template-columns: auto auto auto;
        background-color: none;
        padding: 0;
    }

    .grid-item {
        width: auto;
        height: auto;
        background-color: #3a3b3d;
        color: #fff;
        padding: 5px;
        font-size: 12px;
        font-weight: 500;
        font-family: sans-serif;
        text-align: center;
        margin: 3px;
    }
}

@media screen and (min-width: 800px) {
  .grid-container {
    height:auto;
    width: 100%;
    display: grid;
    flex-flow: column;
    flex-wrap: wrap;
    grid-column: auto;
    align-items: center;
    align-content: center;
    grid-template-columns: auto auto auto auto;
    background-color: none;
    padding: 0;
  }

    .grid-item {
        width:auto;
        height: auto;
        line-height: 30px;
        background-color: #3a3b3d;
        color: #fff;
        padding: 10px;
        font-size: 16px;
        font-weight: 500;
        font-family: sans-serif;
        text-align: center;
        margin: 3px;
    }
}

@media screen and (min-width: 1000px) {
  .grid-container {
    width: 100%;
    display: grid;
    flex-flow: column;
    flex-wrap: wrap;
    grid-column: auto;
    align-items: center;
    align-content: center;
    grid-template-columns: auto auto auto auto auto auto;
    background-color: none;
    padding: 0;
  }

    .grid-item {
        height: auto;
        width:auto;
        background-color: #3a3b3d;
        color: #fff;
        padding: 5px;
        font-size: 20px;
        font-weight: 500;
        font-family: sans-serif;
        text-align: center;
        margin: 3px;
    }
}

@media screen and (min-width: 1280px) {
    .grid-container {
        width: 100%;
        display: grid;
        flex-flow: column;
        flex-wrap: wrap;
        grid-column: auto;
        align-items: center;
        align-content: center;
        grid-template-columns: auto auto auto auto auto auto;
        background-color: none;
        padding: 0;
    }

    .grid-item {
        height: auto;
        min-height: 100px;
        background-color: #3a3b3d;
        color: #fff;
        padding: 20px;
        font-size: 30px;
        font-weight: 500;
        font-family: sans-serif;
        text-align: center;
        margin: 3px;
    }
}
