
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&display=swap');

* {
  font-family: monospace;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  min-height: 100vh;
  background: #D8D8D8;
  background: #ddd;
}

button {
  padding: 6px;
  border-radius: 0;
  border: 1px solid #aaa;
  font-size: 12px;

  cursor: pointer;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 16px 0;
  font-family: "Gilda Display", serif;
  font-size: 48px;
  font-weight: 700;
  /* font-style: italic; */
  font-smoothing: antialiased;
}

h2 {

  font-family: "Gilda Display", serif;
}

a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
  box-shadow: inset 0 0 yellow;

  transition: all .35s ease-out, border .05s linear;
}

a:hover {
  border-bottom: 2px solid #000;
  box-shadow: inset 350px 0 yellow;
}

hr {
  margin: 32px 0;
}

.split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.split h2 {
  margin-top: 0;
}

.wallet {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}

.bid {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0 0 0 16px;
  padding: 0 0 0 16px;

  border-left: 1px solid #ccc;
}

.bidForm {
  margin: 8px 0 0 0;
  display: flex;
  gap: 8px;
}

.bid input {
  border: 1px solid #aaa;
}

.bid button {
  width: 100px;
}

.content {
  margin: 0 24px;
  padding: 24px;
  width: 100%;
  min-height: 100%;
  max-width: 1024px;
}

table td.left {
  padding: 0 24px 0 0;
  width: 120px;
}

.round {
  padding: 16px;
  background: #eee;
  font-size: 11px;
  text-align: center;
  color: #777;
}

.round h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  color: #333;
}

.highbid {
  padding: 4px 0;
  display: block;
  font-size: 24px;
}

.time {
  padding: 16px 0;
  font-size: 11px;
  text-align: left;
}

.time label {
  color: #555;
}

.fineprint {
  padding: 16px 0 0 0;
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: #777;
}

.fineprint a {
  color: #999;
}

.legal {
  font-size: 10px;
  text-transform: uppercase;
  line-height: 14px;
  font-weight: 500;
  color: #bbb;
}

#historyTable {
  border-collapse: collapse;
  width: 100%;
}

#historyTable th, #historyTable td {
  padding: 5px;
  border-bottom: 1px solid #ccc;
  
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  color: #777;
}

#historyTable tr.none {
  opacity: .5;
}

#historyTable td a {
  color: #777;
}

#historyTable th {
  color: #000;
}

.settle {
  margin: 8px 0 0 0;
  display: block;
  font-size: 11px;
  color: #333;
}

.settleButton {
  background: #eee;

  font-size: 11px;
  text-decoration: underline;
  border: 0;

  color: #000;
  box-shadow: inset 0 0 yellow;

  transition: all .15s ease-out, border .05s linear;
}

.settleButton:hover {
  box-shadow: inset 100px 0 yellow;
}

@media (max-width:940px) {

  .content {
    margin: 0 12px;
    width: calc(100% - 24px);
  }

  .split {
    flex-direction: column;
  }

  .bid {
    margin: 16px 0 0 0;
    padding: 0;
    border: 0;
  }
}