/* global styles */
body {
  font-family: 'Public Sans', sans-serif;
  font-size: 15px;
  background-color: #f6f6f6;
}

body#layout {
  padding: 0px;
  margin: 0px;
}

table {
   border-collapse: collapse;
}

td {
   padding: 0; 
   margin: 0;
}

a, a:visited {
  color: #0f52ba;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}




.hidden {
    display: none;
}


/* top bar */
div#top {
  background-color: #222;
  color: white;
}
div#top span {
  margin-top: 5px;
  margin-bottom: 5px;
}
div#top span.left {
  font-size: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  padding-left: 10px;
}
div#top span.left a, div#top span.left a:visited, div#top span.left a:hover {
  color: white;
  text-decoration: none;
}
div#top span.middle {
  color: #bbb;
}
div#top span.middle a, div#top span.middle a:visited, div#top span.middle a:hover {
  padding-right: 5px;
  padding-left: 5px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

div.bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 12px;
}

div.bar span.left, div.bar span.middle, div.bar span.right {
  flex-grow: 1;
  vertical-align: middle;
}

div.bar span.left {
  text-align: left;
}

div.bar span.middle {
  text-align: center;
}
div.bar span.right {
  text-align: right;
  padding-right: 10px;
}

div.bar span.right img {
  height: 20px;
  padding-right: 10px;
  vertical-align: middle;
}


/* connect button */
#network {
  padding: 5px;
  border: 1pt solid #ddd;
  border-radius: 15px;
  white-space: nowrap;
}
#network.disconnected {}
#network.connected {
    border: 1pt solid #fff;
    background-color: #fff;
    color: black;
}






/* main formatting */


div#main {
  padding: 10px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

div.body {
    width:min(1000px,95vw);
    align:center;
}
div.body div.titleAndDate {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding-bottom: 5px;
}
div.titleAndDate div.title {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
div.titleAndDate div.title h2 {
    display: inline-flex;
    margin: 0;
}
div.titleAndDate div.date {
    flex: 1 1 auto;
    text-align: right;
    padding-left: 20px;
    display: block;
}


div.body div.titleAndLink {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* align-items: flex-end; */
}
div.titleAndLink h1 {
    padding-top: 20px;
    flex: 1 1 auto;
    margin: 0;
}
div.titleAndLink div.titleContent {
    flex: 1 1 auto;
    max-width: 600px;
}
div.titleAndLink div.titleContent h1 + h3 {
    margin-top: 10px;
}
div.titleAndLink div.links {
    flex: 1 1 auto;
    margin-bottom: 5px;
    margin-top: 10px;
    text-align: right;
    padding-left: 20px;
    margin-bottom: auto;
}
div.titleAndLink div.links a {
    display: block;
    float: right;
    clear: both;
}


div.body a[target=_blank] {
    white-space: nowrap;
}
div.body a span.externalIndicator::after {
    content: '';
    display: inline-block;
    margin-top: 2px;
    width: 7px;
    height: 7px;
    vertical-align: top;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgc3Ryb2tlPSJncmV5IiAgZmlsbD0id2hpdGUiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBvbHlnb24gcG9pbnRzPSIzLDkgMSw3IDQsMyAyLDEgOSwxIDksOCA3LDYiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-size: contain;
}

a.explore {
    font-size: 90%;
    white-space: nowrap;
}
a.explore::after {
    content: ' >';
    vertical-align: baseline;
}
div.titleAndLink div.links a.explore {
    padding: 1px 5px;
}

div#main a.social img {
    width: 12px;
    height: 12px;
    vertical-align: bottom;
    padding-bottom: 2px;
    padding-left: 5px;
}



a.minting {
    background-color: #F2F8EE;
    border: 1px solid #888;
    border-radius: 10px;
    font-weight: bold; 
    font-size: 90%;
    color: #0049B9;
    padding: 1px 5px;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}
@keyframes cycleColor {
    0% { background-color: #B8EBB5; }
    45% { background-color: #5EE257; }
    55% { background-color: #5EE257; }
    100% { background-color: #B8EBB5; }
}
a.minting::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: cycleColor 3s infinite;
    margin-right: 4px;
    vertical-align: middle;
    margin-bottom: 3px;
}
a.minting::after {
    content: ' >';
    vertical-align: baseline;
}



h2, h2:hover {
    color: #000;
    text-decoration: none !important;
}
h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}
div.projectBlurb {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 85%;
    color: #333;
}

p.info {
    font-size: 85%;
    color: #888;
}
p.info a {
    opacity: 80%;
}



input {
  border: 1px solid #777;
  border-radius: 3px;
  background-color: #fff;
}

button {
  border: 1pt solid #999;
  border-radius: 5px;
  background-color: #ddd;
}
button:hover {
  background-color: #ccc;
}

div.pending {
  animation: processing 1s infinite;
}

@keyframes processing {
  0% { opacity: 100%; }
  50% { opacity: 0%; }
}


input.tokenId {
  width: 30px;
}



/* image rows */
div.imageRow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    flex-wrap: nowrap;
}

div.imageRow a, div.imageRow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

div.imageRow img, div.imageRow iframe {
    width: 100%;
    height: auto;
    margin: 1px;
}

div.imageRow.bordered img, div.imageRow.bordered iframe {
    border: 1px solid #bbb;
}

div.imageRowCaption {
    padding-bottom: 3px;
    text-align: center;
    font-size: 90%;
    color: #333;
    margin:0 7%
}



/* exhibit */
div#exhibitContainer {
    width: 500px;
    height: 300px;
    border:0px;
    margin:0px;
}
div#exhibit {
  position:relative;
  width:100%;
  height:100%;
  border:0px;
  margin:0px;
}

div#exhibit iframe#generator {
  position:relative;
  width:100%;
  height:100%;
  border-collapse:collapse;
  border: 0px;
}

div#qr {
  position:absolute;
  width: 7vmin;
  height:auto;
  bottom: 1vw;
  right: 1vw;
  color: white;
  background-color: black;
  font-size: 1vmin;
  text-align: center;
}

/* exhibit controller */
div#exhibitController button {
  color: black;
  font-size: 20px;
  border: 1pt solid #333;
  margin: 0px 10px 10px 0px;
  padding: 5px 10px 5px 10px;
  border-radius: 15px;
  background-color: #ddd;

}


/* other general formatting */
.clickable {
    cursor: pointer;
}



/* interview */
div.interview > b {
    display: block;
    padding-top: 20px;
}
div.interview > span {
    display: block;
    padding-top: 8px;
}
div.interview img {
    padding: 1px;
    border: 1px solidy #333;
}

