h1 {
  margin: 50px 0 30px;
  text-align: center;
  color: var(--text);
}

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10% 0;
  flex-direction: column;
}

.loading-text {
  text-align: center;
  font-size: xx-large;
  font-weight: bold;
  color: var(--text);
}

.lds-roller {
  display: block;
  position: relative;
  margin: 20px auto;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

.auction-all-filter-container {
  margin-bottom: 3rem;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  padding: 1rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.auction-filters-container {
  margin-left: auto;
  display: block;
}

.filter-button.red {
  background-color: var(--important);
  color: var(--btn-text-important);
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
}

.filter-button.red:hover {
  color: var(--primary);
  background-color: var(--btn-text-primary);
  border-color: var(--primary);
}

#auctions-container {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.auction-item {
  width: 300px;
  margin: 1rem;
  background-color: var(--table-background);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.auction-media {
  width: 100%;
}

.auction-info {
  background-color: var(--table-background);
  color: var(--table-font);
  min-height: 8rem;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
}

.auction-name {
  margin: 10px 0 0 15px;
}

.auction-name > div:first-of-type {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  margin: 0;
}

.auction-subtitle {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
}

.auction-btn {
  width: 90%;
  bottom: 10px;
  margin: 0px 5% 0 5%;
  transition: all 0.3s ease-in;
}

.auction-grid-row {
  grid-column-gap: 0px;
  grid-template-columns: 1fr 1fr;
  margin-left: 16px;
  margin-right: 16px;
  padding: 16px 0;
  grid-auto-columns: 1fr;
  display: grid;
}

.auction-item-info.countdown,
.auction-grid-item {
  margin: auto 0;
}

.auction-grid-item {
  margin-top: 5px;
}

.column-title {
  color: var(--table-font);
  min-height: 18px;
  margin: 0;
  font-size: 12px;
}

.auction-item-info {
  color: var(--table-font);
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.auction-item-bidder {
  color: var(--table-font);
  font-size: 12px;
  padding-top: 2px;
  font-weight: 700;
  /* min-height: 24px; */
  margin-top: 5px;
  margin-bottom: 8px;
  align-self: center;
}

.auction-item-explanatory-text {
  text-align: center;
  margin-top: 2rem;
  font-size: large;
  font-weight: bold;
  color: var(--text);
}

.time-flex-wrap {
  grid-column-gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
  line-height: 1.2px;
  display: flex;
  font-size: 19px;
}

.auction-time-circle {
  width: 9px;
  height: 9px;
}

.time-flex-wrap .auction-item-info {
  font-size: 21px;
}

.green-dot {
  width: 16px;
  height: 16px;
  align-self: center;
}

.green-dot canvas {
  width: 16px;
  height: 16px;
}

#load-more-div {
  width: 100%;
  justify-content: center;
  margin-top: 40px;
  display: none;
}

.load-more {
  color: var(--text);
  width: 100%;
  max-width: 329px;
  text-align: center;
  cursor: pointer;
  background-color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 37px;
  padding: 14px 32px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  text-decoration: none;
  color: var(--btn-text-primary);
}

.load-more:hover {
  color: var(--primary);
  background-color: var(--btn-text-primary);
  border: 1px solid var(--primary);
}

.icons-section {
  padding: 1.5rem;
  background-color: var(--field);
  border-radius: 10px;
  margin-bottom: 2rem;
  display: none;
  color: var(--field-text);
}

.icons-section .close-modal-btn svg {
  width: 15px;
  height: 15px;
}

.icons-section-wrapper {
  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.icon-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-tab svg {
  max-width: 60px;
  max-height: 60px;
}

.icon-description {
  text-align: center;
  margin-top: 1rem;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.48px;
  max-width: 231px;
  font-weight: 500;
}

.icon-description a,
.icon-description a:visited {
  color: var(--field-text);
}

.learn-more-btn {
  text-decoration: underline;
  cursor: pointer;
}

.gbm-modal-header {
  text-align: center;
  color: var(--text);
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 3.125rem; /* 104.167% */
}

.gbm-modal-container {
  margin-left: 3rem;
  margin-right: 3rem;
}

.gbm-modal-p {
  max-width: 31rem;
  color: var(--text);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.875rem; /* 166.667% */
}

.video-container {
  position: relative;
  width: 100%; /* Adjust the width as needed */
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media (max-device-width: 768px), (max-width: 768px) {
  .gbm-modal-header {
    font-size: 1.8rem;
  }

  .gbm-modal-p {
    font-size: 0.8rem;
    line-height: 1.3rem;
  }

  .gbm-modal-container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media screen and (max-width: 680px) {
  .auction-all-filter-container {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    align-items: initial;
  }

  .auction-filters-container {
    margin-left: 0;
    margin-top: calc(1rem - 10px);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--primary);
  }

  .auction-filters-container > div:first-of-type {
    width: 50%;
  }

  .icons-section-wrapper {
    display: block;
  }

  .icon-tab {
    margin-top: 10px;
  }
}

@media screen and (max-width: 479px) {
  .auction-filters-container div:first-of-type {
    width: 70%;
  }
}
