.auction-container {
  width: 100%;
  display: none;
}

.column-container {
  border-radius: 10px;
  color: var(--text);
  flex: 0.5;
  margin: 20px;
  position: relative;
  margin-bottom: 2rem;
  contain: inline-size;
}

.company-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.2rem;
}

.media-container {
  background-size: cover;
  background-repeat: no-repeat;
  aspect-ratio: 1 / 1;
}

#description-container,
#description-container-mobile {
  background-color: var(--field);
  min-height: 2rem;
  border-radius: 4px;
  padding: 15px;
  line-height: 24px;
  overflow: hidden;
  color: var(--field-text);
}

#details-container {
  background-color: var(--field);
  color: var(--field-text);
  border-radius: 4px;
  padding: 15px;
  line-height: 24px;
  margin-bottom: 2rem;
}

.collection-and-id {
  font-size: large;
  margin: 0 0 20px;
  align-items: center;
  display: flex;
}

.token-name {
  font-size: xx-large;
  font-weight: bold;
}

.auction-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0.5;
  margin: 50px 0;
  position: relative;
  align-items: center;
  column-gap: 50px;
}

.auction-status div {
  word-wrap: break-word;
  word-break: break-word;
}

.auction-status > div:nth-child(3) {
  grid-column: 2;
}

#hammer-time-section {
  display: none;
  background-color: var(--primary);
  color: var(--btn-text-primary);
  gap: 5px;
  align-items: center;
  min-height: 26px;
  border-radius: 4px;
  font-size: 13px;
  padding: 3px 5px;
}

.label {
  font-size: large;
}

.info-value {
  padding: 20px 0;
  font-size: xx-large;
  font-weight: bolder;
}

.info-value-winner {
  padding: 20px 0;
  font-size: xx-large;
  font-weight: bolder;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bid-input {
  margin: 14px 0;
  height: 4rem;
  width: 100%;
  background-color: var(--field);
  border-radius: 10px;
  color: var(--field-text);
  border: none;
  padding: 10px 15px;
  font-size: x-large;
  cursor: text;
}

.bid-input:disabled {
  margin: 14px 0;
  height: 4rem;
  width: 100%;
  background-color: transparent;
  border-radius: 10px;
  border: 1px dotted var(--primary);
  color: var(--text);
  padding: 10px;
  font-size: x-large;
  cursor: not-allowed;
}

.tooltip {
  display: flex;
  font-weight: lighter;
}

.tooltip.incentive {
  gap: 10px;
}

.incentive-logo {
  display: flex;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.btn-container {
  margin: 15px 0;
}

.bid-btn {
  cursor: pointer;
  margin: 5px 0;
  height: 4rem;
  width: 100%;
  border-radius: 50px;
  border: none;
  padding: 10px;
  font-size: x-large;
}

.bid-btn:disabled {
  cursor: not-allowed;
  border: none;
}

.share-btn,
.cancel-btn {
  margin: 5px 0;
  height: 4rem;
  width: 100%;
  border-radius: 50px;
  padding: 10px;
  font-size: x-large;
}

.share-btn:hover,
.cancel-btn:hover,
#minimum-bid-message {
  cursor: pointer;
}

.cancel-btn {
  margin-top: 15px;
  display: none;
}

.share-btn.active {
  background-color: var(--secondary);
  color: var(--text);
  border: 1px solid var(--secondary);
}

.share-options {
  position: relative;
}

.share-options-expanded {
  position: absolute;
  border: none;
  border-radius: 13px;
  padding: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
  color: var(--field);
  background: var(--field-text);
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  display: none;
}

.share-options-expanded p {
  margin: 0;
  display: block;
  height: 3rem;
  line-height: 3rem;
  padding-left: 1em;
  padding-right: 3em;
  cursor: pointer;
  position: relative;
  transition: 0.3s color ease-in-out;
  border-top: 1px solid var(--border-secondary);
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-options-expanded p:first-child {
  border-top: none;
}

.share-options-expanded p:hover {
  color: var(--primary);
  cursor: pointer;
}

.qr-code-sidebar-overlay {
  /* display: none; */
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
}

.qr-code-sidebar-display {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  padding: 20px 30px;
  min-width: 400px;
  background-color: var(--field);
  z-index: 999;
  /* display: none; */
  animation: navSlideIn 0.4s ease-in-out;
  overflow-y: auto;
  color: var(--field-text);
}

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

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

.simpler-header {
  font-size: larger;
  font-weight: 400;
}

.bid-history-container {
  display: none;
}

.bid-history {
  padding: 30px 0 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.previous-bid {
  margin: 10px 0;
  height: 5rem;
  width: 100%;
  background-color: var(--field);
  border-radius: 4px;
  color: var(--field-text);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.previous-bid-row {
  width: 100%;
  padding: 5px 15px;
  align-items: center;
  gap: 10px;
}

.previous-bidder,
.bid-history-auction-status {
  margin: auto 0;
  font-weight: bold;
}

.previous-bidder a,
.info-value-winner a {
  text-decoration: none;
  color: inherit;
}

.previous-bid-value {
  font-weight: bold;
}

.smaller-row {
  font-size: small;
  text-align: right;
}

.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;
}

.incentive-box {
  display: flex;
  flex-direction: row;
  border-radius: 4px;
  max-height: 2rem;
}

.incentive-box-full {
  border: 2px solid lightgray;
  width: 100%;
  background-color: var(--text);
  align-content: center;
  padding: 5px;
}

.incentive-box-left {
  border: 2px solid lightgray;
  border-right: none;
  background-color: var(--text);
  align-content: center;
  padding: 5px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.incentive-box-right {
  border: 2px solid lightgray;
  border-left: none;
  background-color: var(--primary);
  padding: 5px;
  text-align: center;
  font-weight: 700;
  color: var(--btn-text-primary);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.incentive-text {
  margin: auto 0;
  text-align: left;
  font-weight: 300;
}

#bids-disabled-upper-msg {
  color: var(--primary);
  font-size: large;
  font-weight: 700;
  margin-top: -10px;
  margin-bottom: 10px;
}

#bids-disabled-lower-msg {
  font-size: medium;
  font-weight: 700;
  margin-bottom: 20px;
}

.read-more-btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5625rem;
  text-decoration: underline;
}

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

.read-more-btn:hover,
.see-all-btn:hover,
.learn-more-btn:hover {
  cursor: pointer;
}

.see-all-btn {
  background-color: transparent;
  border: none;
  color: var(--text);
  text-decoration: underline;
  font-size: 1rem;
  margin-top: 5px;
}

.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;
}

#qr-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#traits-container {
  display: flex;
  flex-direction: column;
}

.traits-container-row {
  display: flex;
  width: 100%;
  justify-content: start;
  gap: 10px;
}

.traits-container-item {
  border-radius: 4px;
  flex-basis: 32%;
  padding: 15px 10px;
  background-color: var(--field);
  color: var(--field-text);
}

.trait-box {
  text-align: center;
  font-size: large;
}

#traits-container-mobile .trait-box {
  font-size: 15px;
}

.traits-display-mobile {
  display: none;
}

#auction-cancel-modal .modal-content {
  max-width: 550px;
  padding: 10px 30px;
}

#bid-confirmation-modal .bid-failed .explorer-link a:hover,
#bid-confirmation-modal .bid-submitted .explorer-link a:hover,
#bid-confirmation-modal .bid-failed .explorer-link a,
#bid-confirmation-modal .bid-submitted .explorer-link a {
  cursor: pointer;
  text-decoration: underline;
  color: var(--text);
}

#bid-confirmation-modal .modal-content {
  max-width: 500px;
  padding: 10px 50px;
}

#bid-confirmation-modal .modal-content p {
  line-height: 30px;
}

#auction-cancel-modal .modal-content .gbm-modal-header {
  font-size: 2rem;
}

#auction-cancel-modal .modal-content .gbm-modal-header,
#bid-confirmation-modal .modal-content .gbm-modal-header {
  text-align: start;
}

#bid-confirmation-modal .bid-submitted,
#bid-confirmation-modal .bid-confirmed,
#bid-confirmation-modal .bid-failed {
  display: none;
}

#bid-modal .modal-content > div:first-child > p {
  margin-bottom: 0;
}

#bid-modal .modal-content > div:first-child > p:last-of-type {
  margin-top: 5px;
}

#timerCountdown canvas {
  border-radius: 50%;
  height: 26px;
  width: 26px;
}

#timerCountdown .ens-avatar-image {
  height: 26px;
  width: 26px;
}

#upcoming-auction-min-bid-msg {
  display: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.48px;
  margin-bottom: 2rem;
}

.cancellation-warning-box {
  background-color: var(--primary);
  border: none;
  color: var(--btn-text-primary);
  padding: 15px 13px;
  border-radius: 4px;
  line-height: 24px;
  font-size: 15px;
}

#not-enough-to-bid {
  display: none;
}

@media screen and (max-width: 867px) {
  .auction-status {
    column-gap: 30px;
  }

  .info-value,
  .info-value-winner {
    font-size: 1.8rem;
  }

  #timerCountdown canvas,
  #timerCountdown .ens-avatar-image {
    height: 20px;
    width: 20px;
  }
}

@media (max-device-width: 768px), (max-width: 768px) {
  /* * {
    font-size: x-large;
  } */

  .collection-and-id {
    font-size: 2rem;
  }

  .bid-input {
    font-size: 2rem;
  }

  .token-name {
    font-size: 3.2rem;
  }

  .status-container {
    padding-right: 10px;
  }

  .label {
    font-size: 1.2rem;
  }

  .info-value {
    padding: 20px 0;
    font-size: 1.8rem;
    font-weight: bolder;
  }

  .info-value-winner {
    padding: 26px 0;
    font-size: 16px;
    font-weight: bolder;
  }

  .bid-btn {
    margin-top: 3rem;
    font-size: 2rem;
  }

  .share-btn,
  .cancel-btn {
    font-size: 2rem;
  }

  #bids-disabled-upper-msg {
    font-size: 20px;
    margin-bottom: 5px;
  }

  #bids-disabled-lower-msg {
    font-size: 20px;
  }

  #description-container,
  #description-container-mobile {
    overflow: auto;
    /* line-height: 24px; */
    height: auto;
  }

  .description-display-mobile {
    display: block;
    margin-bottom: 1rem;
  }
  .description-display-desktop,
  .traits-display-desktop {
    display: none;
  }

  .traits-display-mobile {
    display: block;
  }

  .incentive-box-full {
    width: initial;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* .incentive-logo {
    display: block;
    height: 22px;
    padding-left: 0.25rem;
    margin-top: 4px;
  } */

  .incentive-box-right {
    font-size: inherit;
  }

  .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;
  }

  .cost-message {
    flex-direction: row;
    width: 100%;
  }

  .timer-message {
    width: 100%;
  }
}

@media screen and (max-width: 680px) {
  #auction-cancel-modal .modal-content,
  #bid-confirmation-modal .modal-content {
    max-width: initial;
    padding: 10px 15px;
  }
}

@media screen and (max-width: 479px) {
  .total-auction-incentives {
    font-size: 14px;
  }
  .media-container {
    margin-left: -15px;
    margin-right: -15px;
  }

  .bid-btn,
  .share-btn,
  .cancel-btn {
    font-size: 1.5rem;
  }

  .column-container {
    margin: 0px;
    margin-top: 15px;
  }

  .auction-status {
    margin-bottom: 20px;
  }

  .incentive-text {
    font-size: 1rem;
  }

  .incentive-box-full {
    padding-left: 2px;
  }

  .collection-and-id {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .token-name {
    margin-top: 10px;
    font-size: 2rem;
  }

  #description-container-mobile {
    font-size: 0.85rem;
  }

  #details-container {
    font-size: 0.8rem;
  }

  .footer {
    margin-top: 1rem;
  }

  .auction-status {
    column-gap: 10px;
  }

  .auction-status > div:nth-child(3) {
    grid-column: span 2;
    display: flex;
    justify-content: end;
  }
}
