* {
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  height: 100%;
  background: #0d82ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  color: #fff;
  margin-block: 0;
}

ul li {
  list-style-type: none;
  padding-left: 0;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom, #001037 0%, #000719 100%);
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  color: #fdb504;
}

.footer .link-box {
  display: flex;
  justify-content: center;
  font-size: 12px;
  margin-bottom: 10px;
}

.footer .link-box .separate {
  margin: 0 16px;
}

.footer .link-box a {
  text-decoration: none;
  color: #fdb504;
}

.footer .copyright {
  margin: 16px 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer .copyright img {
  width: 35px;
  height: 35px;
  cursor: pointer;
}

.footer .copyright span {
  font-size: 12px;
}

::-webkit-scrollbar {
  width: 1px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-button {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

#app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: 56px;
}

.container {
  height: 100%;
  display: flex;
}

.ant-input {
  border: none !important;
  color: #fff !important;
  border-radius: 3px !important;
  background-color: #012f47 !important;
  border-color: #057db2 !important;
  border-style: solid !important;
  border-width: 2px !important;
  box-shadow: 0px 0px !important;
  font-family: Nunito, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 700 !important;
  font-size: 13px !important;
  height: 36px !important;
}

.ant-input-group-addon {
  background-color: #fe9e0c !important;
}

.ant-btn-primary {
  font-size: 18px !important;
  color: #853600 !important;
  background-color: #fe9e0c !important;
  border-color: #fe9e0c !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
}

.ant-input-clear-icon {
  font-size: 16px !important;
  color: #fff !important;
}

.top-heng {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  max-height: 100%;
  min-height: 100%;
  height: 100%;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  position: relative;
  box-shadow: 2px 3px 5px #222;
}

.top-heng:hover .text-m {
  display: flex;
}

.top-heng .img-m {
  height: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
}

.top-heng .img-m .img {
  width: 100%;
  height: 100% !important;
  border-radius: 10px;
}

.top-heng .text-m {
  display: flex;
  transition: all 1s ease;
  /* display: none; */
  position: absolute;
  width: 100%;
  flex-direction: column;
  height: 40px;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.top-heng .text-m .text {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: #f5a732;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.top-heng .text-m .name {
  width: 100%;
  font-size: 12px;
  color: #dddddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.type-title {
  width: 100%;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  border-bottom: #c9c9c9 solid 1px;
}

.category-list-m {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
}

.category-list-m .category-item-m {
  padding: 2px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
  background: #fff;
  border-radius: 27px;
  box-shadow: 1px 1px 5px -3px #44b6fd;
}

.category-list-m .category-item-m .name {
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  font-weight: 700;
  font-size: 15px;
  color: #44b6fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-list-m .category-item-m .num {
  font-size: 12px;
  color: #44b6fd;
}

.list-m,
.grid-m {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  display: grid;
  grid-gap: 12px;
  grid-auto-rows: 1fr;
}

.list-m.height,
.grid-m.height {
  height: 581px;
}

@media screen and (max-width: 576px) {
  .list-m {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-m {
    grid-template-columns: repeat(3, 1fr);
  }

  .ip0 {
    grid-column: span 3;
    grid-row: span 2;
  }
}

@media screen and (min-width: 577px) {
  .list-m {
    grid-template-columns: repeat(12, 1fr);
  }

  .grid-m {
    grid-template-columns: repeat(4, 1fr);
  }

  .ip0 {
    grid-column: span 4;
    grid-row: span 2;
  }
}