@media (max-width: 760px) {
  header {
    background-color: white;
    color: #474747;
    height: 60px;
    display: flex;
    align-items: center;
  }


  ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  li {
    margin: 5px 0;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    font-family: sans-serif;
    color: white;
    text-align: center;
  }

  .Home {
    background-color: #DBDFD0;
    transition: 0.5s;
    color: #b3002d;
  }

  li:hover {
    background-color: #DBDFD0;
    transition: 0.5s;
    color: #b3002d;
  }

  .book-table {
    display: none;
  }

  .logo {
    display: flex;
    align-items: center;
    margin: 0px 0px 0px 3px;
  }

  .logo img {
    height: 30px;
    width: 30px;
  }

  .logo p {
    font-weight: 600;
    margin-left: 10px;
    font-size: x-large;
  }

  .small_button {
    position: absolute;
    display: flex;
    right: 0px;
    font-size: 20px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    background-color: white;
  }


  .nav-bar {
    display: none;
    flex-direction: column;
    background-color: #b3002d;
    width: 180px;
    padding: 20px 10px;
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 100;
    height: 360px;
  }

  .nav-bar.show {
    display: flex;
  }

  .close_button {
    display: flex;
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: 300;
  }
}

@media (max-width: 1322px) and (min-width: 760px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  header {
    background-color: white;
    color: #474747;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: relative;
    flex-wrap: wrap;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo img {
    height: 36px;
    width: 36px;
  }

  .logo p {
    font-weight: 600;
    font-size: x-large;
    width: auto;
    white-space: nowrap;
  }

  ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0 10px;
    padding: 0;
    flex-wrap: wrap;
    gap: 4px;
  }

  li {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-family: sans-serif;
  }

  li:hover {
    background-color: #b3002d;
    transition: 0.5s;
    color: #DBDFD0;
  }

  .book-table {
    color: #b3002d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-family: sans-serif;
    border: 1px solid #b3002d;
    background-color: white;
    white-space: nowrap;
  }

  .book-table:hover {
    background-color: #b3002d;
    border: 1px solid #DBDFD0;
    transition: 0.5s;
    color: #DBDFD0;
  }

  .Home {
    background-color: #b3002d;
    color: #DBDFD0;
    transition: 0.5s;
  }

  .small_button,
  .close_button {
    display: none;
  }
}

@media (max-width:996px)and (min-width:760px) {

  .book-table {
    display: none;
  }
}

@media (min-width: 1345px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  header {
    background-color: white;
    color: #474747;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 40px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .logo img {
    height: 40px;
    width: 40px;
  }

  .logo p {
    font-weight: 600;
    font-size: xx-large;
    white-space: nowrap;
  }

  ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0 30px;
    padding: 0;
    gap: 12px;
  }

  li {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: medium;
    font-family: sans-serif;
    transition: 0.3s;
    cursor: pointer;
  }

  li:hover {
    background-color: #b3002d;
    color: #DBDFD0;
  }

  .Home {
    background-color: #b3002d;
    color: #DBDFD0;
  }

  .book-table {
    color: #b3002d;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: medium;
    font-family: sans-serif;
    border: 1px solid #b3002d;
    background-color: white;
    white-space: nowrap;
    transition: 0.3s;
  }

  .book-table:hover {
    background-color: #b3002d;
    border: 1px solid #DBDFD0;
    color: #DBDFD0;
  }

  .small_button,
  .close_button {
    display: none;
  }
}