*, *::before, *::after {
  box-sizing: border-box;
  font-family: sans-serif;
  /* font-family: Oswald, sans-serif; */
  /* font-family: VT323; */
  font-weight: normal;
}

:root {
  --background-colour: #272727;
  --text-colour: #b9b9b9;
  --link-colour: #b9b9b9;
  /* --button-colour: #3d3d3d; */
  --button-colour: #313131;
  --button-border-colour: #171717;
  --button-text-colour: #f2f2f2;
  --main-background-colour: #0b0d28;
  --overlay-background-colour: rgb(10, 4, 40);
  --header-height: 60px;
  --input-border: 3px solid blue;
  --input-background-colour: rgb(0,0,0);
  --input-colour: #bababa;
  --error-colour: #c44e4e;
  --error-colour-subdued: #743030;
  --token-border-colour: rgb(144, 4, 4);
  --explore-header-height: 80px;
  /* --explore-selected-colour: #1b3424 */
  --explore-selected-colour: #881d1d
}

html {
  height: 100%;
  color: var(--text-colour);
}

body {
  /* background-color: #1f1f1f; */
  background-color: #000000;
  position: relative;
  width: 100%;
  top: 0px;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  /* background-image: url("/static/artwork/gifed.background.3.gif"); */
  background-size: 250%;
  background-position: center;
  background-repeat: no-repeat;
}

button:hover, .linkbutton:hover, .linktext:hover{
  filter: opacity(0.8);
}

.linkbutton {
  background-color: var(--button-colour);
  color: var(--button-text-colour);
  border: solid 0.5px var(--button-border-colour);
  padding: 6px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  min-width: 92px;
}

.linkbutton:focus-visible {
  outline: 1px solid red;
}

.supplybutton {
  min-width: 32%;
  transition: color 1s ease-in-out;
  /* transition: color 2s ease-in-out; */
}

.supplyupdate {
  color: var(--error-colour);
  /* transition: color 1s ease-out; */
  /* transition: color 2s ease-in-out; */
}

.navbut {
  width: 45px;
  height: 45px;
  border: none;
  background-color: rgba(0,0,0,0);
  background-image: url('/static/artwork/nav.buttons.svg');
  background-size: cover;
}

.navforwardclose {
  background-position-x: 0%;
}

.navbackbut {
  background-position-x: 25%;
}

.navforwardbut {
  background-position-x: 50%;
}

.navminusbut {
  background-position-x: 75%;
}

.navplusbut {
  background-position-x: 100%;
}


.saltbox {
  width: 100%;
  color: var(--button-text-colour);
}

.saltinputtitle {
  margin-bottom: 10px;
}

.saltinputtitle::after {
  content: url("/static/artwork/info.svg");
  display: inline-block;
  position: relative;
  top: 1px;
  height: .9em;
  width: .9em;
  margin-left: 6px;
}

.saltinputbox {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--button-colour);
  padding: 6px 2px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.saltinput {
  background-color: var(--input-background-colour);
  color: var(--button-text-colour);
  border: none;
  padding: 6px 0px 6px 3px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  width: 11em;
}

.saltloadbut {
  background-color: var(--button-colour);
  border: none;
  /* float: right; */
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.saltinput:focus-visible {
  outline: 1px solid red;
}

header {
  display: flex;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  background-color: rgba(20,20,20,.85);
  top: 0px;
  height: var(--header-height);
  padding: 6px 12px;
  font-size: 1em;
  column-gap: 2%;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}

.headerbuttons {
  display: flex;
}

.headerbutton {
  /* background-color: #256c05; */
}

.headertitle {
  text-decoration: none;
  font-family: oswald;
  font-size: 2em;
  cursor: pointer;
}

/* .headertitle::after {
  content: url("/static/artwork/info.svg");
  display: inline-block;
  position: relative;
  top: -2px;
  height: .6em;
  width: .6em;
  margin-left: 10px;
} */


.backgroundfilter {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.app {
  display: flex;
  flex-direction: column;
  /* overflow-y: scroll; */
  justify-content: space-evenly;
  align-items: center;
  row-gap: 24px;
  min-height: calc(100vh - (2 * var(--header-height)));
  padding: 18px 0 50px;
  column-gap: 20px;
  scroll-behavior: auto;
  /* background-image: url('/static/artwork/gifed.19.47.9aaa13.f3f53520d2a2.gif');
  background-size: 150%;
  background-position: center; */
}

.notcurator {
  position: absolute;
  top: 10%;
  color: var(--error-colour);
}

.explorebox {
  display: flex;
  /* position: relative; */
  position: absolute;
  top: 14%;
  /* top: 0; */
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  /* background-color: rgba(10,10,10,.75); */
  background-color: rgba(10,10,10,1);
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  /* padding: 20px; */
  /* width: 70%; */
  width: 80%;
  transition: width 0.6s ease-in-out, top 0.6s ease-in-out, height 0.6s ease-in-out;
  /* min-height: 50px; */
  /* height: 80px; */
  text-align: center;
  z-index: 3;
}

.fullexplorer {
  /* position: absolute; */
  transition: width 0.6s ease-in-out, top 0.6s ease-in-out, height 0.6s ease-in-out;
  width: 100%;
  height: calc(100% - var(--header-height));
  border: none;
  /* z-index: 3; */
  top: var(--header-height);
  /* padding-top: 5px; */
}

.messageoverlay {
  display: flex;
  position: fixed;
  top: var(--header-height);
  /* top: 0px; */
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  overflow-y: auto;
  /* border-width: 2px; */
  /* border-style: solid; */
  /* animation: redAnimation 1s infinite alternate; */
  /* border-radius: 4px; */
  width: 100%;
  /* min-height: calc(100vh - (var(--explore-header-height))); */
  /* height: 100%; */
  height: calc(100% - (var(--header-height)));
  text-align: center;
  font-size: 1.2em;
  z-index: 3;
  background-color: rgba(10,10,10,.85);
  z-index: 10;
}

.exploreheader {
  display: flex;
  justify-content: space-between ;
  align-items: center;
  background-color: rgba(10,10,10,.75);
  /* border-width: 2px; */
  /* border-style: solid; */
  /* animation: redAnimation 1s infinite alternate; */
  /* border-radius: 4px; */
  /* padding: 10px; */
  width: 100%;
  height: var(--explore-header-height);
  /* text-align: center; */
}

.fullheader {
  /* margin-bottom: 10px; */
}

.exploretitle {
  font-size: 1.4em;
  margin-left: 0px;
  width: 25%
  /* flex-grow: 1; */
}

.exploretitle::after {
  content: url("/static/artwork/info.svg");
  display: inline-block;
  position: relative;
  top: 2px;
  height: .8em;
  width: .8em;
  margin-left: 6px;
}

.exploreheadbutbox {
  width: 75%;
  /* flex-grow: 3; */
}

.exploreheadbut {
  width: 50%;
  height: calc(var(--explore-header-height) / 2);
}

.explorebutselected {
  /* background-color: var(--explore-selected-colour); */
  border: 1px solid red
}

/* .exploreclosebut {
  background-color: red;
} */

.closebut {
  width: 28px;
  height: 28px;
  margin: 0 10px 0 10px;
}

.explorer {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-evenly;
  align-items: flex-start;
  /* background-color: rgba(10,10,10,.75); */
  /* border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px; */
  /* padding: 20px; */
  /* width: 70%; */
  width: 100%;
  /* height: 100%; */
  height: calc(100vh - var(--header-height) - var(--explore-header-height));
  row-gap: 10px;
  /* transition: height 0.5s ease-in-out; */
  /* height: 70vh; */
  text-align: center;
  padding-top: 10px;
}

.nopicks {
  margin-top: 50px;
}

.explorepadding {
  width: 33%;
  height: 100%;
}

.exploreimagebox {
  /* height: 100%; */
  /* height: 60vh; */
  /* height: calc(100vh - (2 * var(--header-height))); */
  /* height: calc(99vh - var(--explore-header-height) - 10px); */
  /* height: calc(100% - var(--explore-header-height)); */
  /* height: calc(100% - 10px); */
  height: 99%;
  /* width: 60vh; */
  background-color: black;
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  aspect-ratio: 1;
}

.mintpickcountbox {
  margin: 20px;
}

.gridbox {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr); */
  height: 99%;
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  aspect-ratio: 1;
}

.griditembox {
  display: flex;
  flex-direction: column;
  width: 33.33%;
  height: 50%;
  text-align: left;
}

.gridimagebox {
  /* background-color: #f1f1f1; */
  /* border: 1px solid black; */
  /* padding: 10px; */
  /* font-size: 30px; */
  /* text-align: center; */
  aspect-ratio: 1;
  width: 100%;
}

.gridimage {
  width: 100%;
}

.griditemcheckboxes {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  margin-left: 20px;
  margin-top: 10px;
}

.griditemwarn {
  color: var(--error-colour);
  margin-left: 20px;
  margin-top: 10px;
}

input[type="checkbox"] {
  margin-right: 12px;
  /* position: relative; */
  /* bottom: 2px; */
  scale: 1.4;
  accent-color: #1976c8;
  filter: invert(92%) sepia(25%) saturate(200%) hue-rotate(103deg) brightness(84%) contrast(94%);
}

.loadmessage {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100%;
}

.loaderrorbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
  width: 100%;
  height: 100%;
}

.exploreimage {
  height: 100%;
  /* aspect-ratio: 1; */
}

.filterselectbox {
  display: flex;
  width: 100%;
  column-gap: 0px;
  justify-content: center;
}

.filterselectbut {
  flex-grow: 1;
  min-width: 0px;
  height: 40px;
}

.exploreinteractbox {
  display: flex;
  /* flex-direction: column-reverse; */
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  /* width: 80%; */
  max-width: 30%;
  height: 99%;
  padding: 10px;
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  min-width: 400px;
  overflow-y: auto;
}

.exploreaddress {
  /* font-size: 0.8em; */
}

.exploreitembox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* min-width: 20vw; */
  height: 100%;
  padding: 10px;
  border: none;
  /* border-width: 2px; */
  /* border-style: solid; */
  /* animation: redAnimation 1s infinite alternate; */
  /* border-radius: 4px; */
}

.explorenavbuts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  /* min-width: 20vw; */
  /* height: 50px; */
  padding: 10px;
  border: none;
  /* border-width: 2px; */
  /* border-style: solid; */
  /* animation: redAnimation 1s infinite alternate; */
  /* border-radius: 4px; */
}

.exploreiteminfobox {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: 100%;
  text-align: left;
}

.exploreitemtitle {
  font-size: 1.1em;
  margin: 2px 0 12px 0
}

.gridselectbox {
  display: block;
  margin-bottom: 10px;
}

/* .exploreitembutbox { */
  /* margin: 12px 0 26px 0; */
  /* width: 100%; */
  /* position: relative; */
/* } */

.exploreitembutbox {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  /* margin: 12px 0 26px 0; */
  position: relative;
}

.explorebottombuttonbox {
  margin: 12px 0 26px 0;
}

.connecttointeract {
  position: absolute;
}

.curatedconnecttointeract {
  position: absolute;
  top: 15px;
}

.actiondisabled {
  position: absolute;
  border: solid var(--error-colour) 1px;
  padding: 6px 24px;
  bottom: 35px;
  color: var(--error-colour);
}

.actiondisabledlow {
  bottom: 10px;
}

.mintdisabled {
  /* position: absolute; */
  border: solid var(--error-colour) 1px;
  padding: 6px 24px;
  /* bottom: 40px; */
  color: var(--error-colour);
}

.pending {
  display: flex;
  position: absolute;
  background-color: rgba(10,10,10,.9);
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100%;
}

.tokenlinkbox {
  display: flex;
  width: 80%;
  height: 20px;
  justify-content: space-around;
  /* column-gap: 20%; */
  margin: 12px 0 12px 0px;
}

.curatebankbox {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 27%;
  background-color: rgba(10,10,10,.75);
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  row-gap: 10px;
  width: 40%;
  text-align: center;
  /* margin-top: 10px; */
  padding: 10px;
}

.pickbut {
  width: 100%;
  height: 50px;
}

.withdrawbut {
  width: 100%;
  height: 50px;
}

.waitbut {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(20,20,20,.75);
  width: 100%;
  /* height: 50px; */
}

.txoverlay {
  display: flex;
  position: absolute;
  top: -2px;
  justify-content: space-evenly;
  align-items: center;
  width: 100vw;
  /* height: 100vh; */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 5;
}

.mintcontain {
  width: 80%;
  position: absolute;
  top: 42.5%;
}

.txbox {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgba(10,10,10,.75);
  border-width: 2px;
  border-style: solid;
  animation: redAnimation 1s infinite alternate;
  border-radius: 4px;
  padding: 20px;
  width: 80%;
  text-align: center;
  row-gap: 10px;
}

.cover {
  width: 100%;
}

.minttitle {
  font-size: 1.6em;
}

.minttitle::after {
  content: url("/static/artwork/info.svg");
  display: inline-block;
  position: relative;
  top: 2px;
  height: .8em;
  width: .8em;
  margin-left: 8px;
}

.mintmessage {

}

/* .calcmessage::after {
  content: url("/static/artwork/info.svg");
  display: inline-block;
  position: relative;
  top: -2px;
  height: .6em;
  width: .6em;
  margin-left: 10px;
} */

.itemtitle {
  height: 2.5em;
}

.mintwarn {
  color: var(--error-colour);
}

.mintbutbox {
  margin-top: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  column-gap: 10%;
  width: 320px;
}

/* .mintcountbuts {
  margin: 14px;
  display: flex;
  column-gap: 20px;
  justify-content: space-evenly;
  align-items: center;
} */



.mintcountbut {
  /* box-sizing: content-box; */
  /*! border: 3px solid #000000; */
  width: 45px;
  min-width: 46px;
  height: 50px;
  margin: 0;
  background-color: #262626;
  border: 2px solid #373030;
  font-size: 28px;
  padding: 2px 2px;
  border-radius: 4px;
  color: var(--button-text-colour);
}

.mintbut {
  /* margin: 20px 0 20px 0; */
  padding: 13px 20px;
  font-size: 20px;
  border: 4px solid aquamarine;
  min-width: 160px;
}

.minterror {
  text-align: center;
  color: var(--error-colour);
}

.tokensbox {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  /* border: solid blue 1px; */
  row-gap: 30px;
  width: 100vw;
}

.tokenbox {
  position: relative;
  justify-content: space-evenly;
  /* align-items: center; */
  text-align: center;
  width: 60vh;
  border: solid grey 2px;
  padding: 20px;
  border-radius: 4px;
  margin: 10px;
  min-height: 50vh;
}

.fetching {
  position: absolute;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  width: calc(100% - 24px);
  height: 100%;
  /* padding: 5%; */
  background-color: rgba(23, 23, 23, 0.71);
}

.statuscheck {

}

.waiting {
  /* width: 90%; */
  text-align: left;
  /* margin-left: 82%; */
}

.waiting:after, .waiting:before {
    /* float: left; */
    animation: dots 2s linear infinite;
    content: '......';
  }

@keyframes dots {
    0%, 20% {
      content: '.....';
    }
    35% {
      content: '....';
    }
    50% {
      content: '...';
    }
    65% {
      content: '..';
    }
    85%, 100% {
      content: '.';
    }
}
/* <p>Loading<span></span></p> */

.tokenimage {
  width: 100%;
  margin-bottom: 20px;

}

.tokeninfo {
  display: flex;
  justify-content: space-between;
  margin: 5px;
}

.linklogosbox {
  display: flex;
  column-gap: 14px;
}

.logolinks {
  display: inline-block;
  height: 100%;
}

.linklogo {
  /* margin-left: 8px; */
  height: 1.5em;
  opacity: 0.45;
}

.loadbox {
  display: flex;
  position: relative;
  width:40%;
  min-height: 50vh;
  flex-direction: column;
  background-color: rgba(10,10,10,.75);
  justify-content: space-around;
  align-items: center;
  padding: 2% 2%;
  text-align: center;
  border-radius: 4px;
  /* background-color: rgba(137, 140, 40, 0.32); */
  border-radius: 8px;
  border: 4px solid aquamarine;
  font-size: 1.2em;
  z-index: 1;
  min-width: 390px;
}

.infobox {
  display: flex;
  /* overflow-y: auto; */
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  width: 80%;
  /* min-height: 50vh; */
  /* border: solid var(--highlight-text) 2px; */
  padding: 20px;
  padding-bottom: 38px;
  /* scroll-behavior: auto; */
  background-color: rgba(0,0,0,0.8);
}

.infowide {
  width: 88%;
}

.infotitle {
  margin: 0;
}

.infobox > a {
  text-decoration: none;
  color: var(--link-colour);
  font-size: 1.2em;
  /*! margin-top: 25px; */
}

.infobox > p {
  margin: 8px 0 8px 0;
}

.smaller {
  font-size: 0.9em;
}

.leftalign {
  text-align: left;
}

.helpcontainer {
  display: flex;
  justify-content: space-around;
}

.helpcontent {
  padding: 2% 2%;
  text-align: center;
  font-size: 1.2em;
  overflow-y: auto;
  overscroll-behavior-y: none;
}

.loadtitle {
  font-size: 1.2em;
}

.loadform {
  width: 100%;
  /*! justify-content: center; */
}

.inputbox {
  display: flex;
  width: 100%;
  /*! text-align: center; */
  justify-content: center;
  column-gap: 15px;
  align-items: center;
  /*! font-size: 1.5em; */
}

.inputBox label {
  font-size: 12px;
}

.inputnumber {
  width: 7.5ch;
  /*! margin-left: 8%; */
  padding: 2px 10px;
  display: inline-block;
  border: var(--input-border);
  border-radius: 4px;
  background-color: var(--input-background-colour);
  color: var(--input-colour);
  /*! font-size: 16px; */
  /* user-select: text; */
  font-size: inherit;
}

.messageinputbox {
  /* width: 7.5ch; */
  width: 80%;
  /* height: 2ch; */
  /*! margin-left: 8%; */
  /* padding: 2px 10px; */
  /* display: inline-block; */
  /* border: var(--input-border); */
  border-radius: 4px;
  /* background-color: var(--input-background-colour);
  color: var(--input-colour); */
  /*! font-size: 16px; */
  /* user-select: text; */
  font-size: inherit;
}

.messageinput {
  resize: none;
  width: 100%;
  border-radius: 4px;
  background-color: var(--input-background-colour);
  color: var(--input-colour);
  /*! font-size: 16px; */
  /* user-select: text; */
  font-size: inherit;
  padding: 10px;
}

.charcounter {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  width: 90%;
  margin: 5px auto;
}
.infobut {
  width: 22px;
  position: relative;
  top: 4px;
  margin-left: 8px;
}

.infobut:hover {
  opacity: 0.7;
}

/* .inputcharity {
  width: 10ch;
} */

.inputnumber:focus-visible {
  /* border-color: rgb(190, 30, 30); */
  outline: 2px solid blue;
}

.imagesBox {
  display: flex;
  column-gap: 21px;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 21px;
}

.tokenbox {
  display: flex;
  flex-direction: column;
  background-color: rgba(40, 40, 40, 0.71);
  padding: 12px;
  border-radius: 8px;
  border: 4px solid var(--token-border-colour);
}

.tokenbox p {
  text-align: center;
}

footer {
  display: flex;
  position: sticky;
  background-color: rgba(20,20,20,.85);
  bottom: 0px;
  height: var(--header-height);
  padding: 6px 0px;
  font-size: 1em;
  align-items: center;
  z-index: 2;
  justify-content: space-between;
}

.footerbuttons {
  margin-left: 12px;
}

.footerbutton {
  margin-right:12px;
}

.homelogo {
  height: 1.8em;
  margin-right: 10px;
  image-rendering: pixelated;
}

#connect {
  /* position: absolute; */
  /*! text-align: center; */
  /*! top: calc(1 * var(--header-height)); */
  margin: 0 5px;
  /* right: 5px; */
}

.wrongnetwork {
  animation: redBackground 0.16s infinite alternate;
  color: var(--text-colour);
}

.notconnected {
  animation: greyBackground 0.16s infinite alternate;
}

@keyframes redBackground {
  0%, 50% {background-color: #871b1b;}
  51%, 100% {background-color: #931d1d;}
}

@keyframes greyBackground {
    0%, 50% {background-color: #a1a1a1;}
    51%, 100% {background-color: #b1b1b1;}
  }

.overlayBox {
  width: 95%;
  height: calc(50% - (2 * var(--header-height)));
  position: fixed;
  top: calc(var(--header-height) + 8px);
  z-index: 2;
  transform: translate(50%, -50%);
  right: 50%;
  max-width: 600px;
  min-height: 460px;
  top: 48%;
}

.smallOverlayBox {
  height: calc(50% - (2 * var(--header-height)));
  min-height: 322px;
}

.overlay {
  position: absolute;
  /* top: var(--header-height); */
  display: flex;
  width: 92%;
  height: calc(100vh - (4 * var(--header-height)));
  color: var(--colour);
  background-color: var(--overlay-background-colour);
  border: 2px solid;
  border-radius: 4px;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px;
  row-gap: 8px;
  z-index: 3;
}

.overlaycontent {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

.overlayImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.overlaytitle{
  margin: 0;
  text-align: center;
  font-size: 1.5em;
  display: inline-block;
}

.overlaymessage {
  margin: 0%;
  text-align: center;
  font-size: 1.2em;
  padding: 20px;
}

.overlayimagebox {
  height: 90%;
  aspect-ratio: 1;
}

.overlayimage {
  height: 90%;
}

.overlaybuttons {
  display: flex;
  flex-direction: column;
  width: 70%;
  row-gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.overlaybutton {
  display: block;
  outline-style: none;
  width: 100%;
  color: white;
  padding: 10px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: medium;
}

.nodisplay {
  display: none;
}

.linkArrow {
  transform: rotate(225deg);
}

.etherscanlogo {
  height: 1.5em;
}

.imageboxinfo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.imageboxlinks {
  display: flex;
  justify-content: space-around;
  align-items: center;
  column-gap: 16px;
}

.tokenbutsbox {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.tokenbut {
  width: 100%;
}

.tokenbuthalf {
  width: 49%;
}

.waitbox {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.withcartoon {
  height: 100%;
}

.waitmessagebox {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  align-items: center;
}

.cartoon {
  padding: 19px;
  background-color: #000000ad;
  width: 84%;
  opacity: 0.8;
  margin-bottom: 12px;
  aspect-ratio: 2;
}

.cartoondiv {
  height: 80%;
  width: 90%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}


.txwaitmessage {
  margin-bottom: 8px;
}

@media (orientation: portrait) and (max-width: 890px){

    main {
      flex-direction: column;
      row-gap: 14px;
      padding: 5px 0 42px 0;
    }

    footer {
      position: relative;
    }

    .footerbutton {
      margin-right: 24px;
    }

    h2 {
      font-size: 1.5em;
      margin: 5px 0;
    }

    .infobox, .loadbox {
      padding: 2% 2%;
      width: 95%;
      min-width: 95%;
      /*! max-height: 400px; */
      overflow-y: auto;
    }

    .overlayBox {
      top: 50%;
    }

    .overlay {
      width: 100%;
      position: fixed;
      top: var(--header-height);
      height: calc(100% - (2 * var(--header-height)));
      /* overflow-y: scroll; */
      overflow-y: auto;
      justify-content: flex-start;
    }

    .curatebankbox {
      width: 90%;
      /* top: 29%; */
      top: calc(var(--header-height) + var(--explore-header-height) + 3%);
      /* margin-top: 10px; */
    }


    .imagesBox {
      flex-direction: column;
      row-gap: 16px;
    }

    .cartoon {
      padding: 0;
      width: 98%;
    }

    .cartoondiv {
      width: 100%;
    }

    .linkbutton {
      padding: 4px 7px;
      min-width: 62px;
      font-size: .8em;
    }

    .supplybutton {
      min-width: 32%;
      transition: color 1s ease-in-out;
      /* transition: color 2s ease-in-out; */
    }

    .saltloadbut {
      min-width: auto;
      width: 32px;
      height: 32px;
    }

    .mintbut {
      padding: 10px;
      /* margin: 5px 0 5px 0; */
      font-size: 1em;
      min-width: 160px;
    }

    main {
      flex-direction: column;
      row-gap: 14px;
      padding: 5px 0 42px 0;
    }

    .page {
        flex-direction: column;
        row-gap: 14px;
        padding: 5px 0 42px 0;
    }

    h2 {
      font-size: 1.5em;
      margin: 5px 0;
    }

    .infobox, .loadbox {
      padding: 2% 2%;
      width: 95%;
      min-width: 95%;
      /*! max-height: 400px; */
      overflow-y: auto;
    }

    .explorebox {
      width: 96vw;
      top: calc(var(--header-height) + 6px);
    }

    .exploretitle {
      font-size: 0.9em;
      margin-left: 5px;
      /* width: auto */
    }

    .exploretitle::after {
      top: 1px;
      /* height: .8em; */
      /* width: .8em; */
    }

    .fullexplorer {
      width: 100%;
      /* height: 100vh; */
      height: auto;
      /* position: relative; */
      top: var(--header-height);
    }

    .messageoverlay {
      padding: 5px;
    }

    .txoverlay {
      /* top: var(--header-height); */
    }

    .exploreheader{
      width: 100%;
      /* padding: 2px; */
    }

    .fullheader {
      margin-bottom: 0px;
    }

    .closebut {
      display: none;
    }

    .explorer {
      flex-direction: column;
      align-items: center;
      height: auto;
      min-height: calc(100vh - var(--header-height) - var(--explore-header-height) - 10px);
    }

    .nopicks {
      margin-top: 0px;
    }

    .exploreimagebox {
      /* height: 90vw; */
      width: 100%;
      height: auto;
      /* margin-top: 12px; */
    }

    .exploreimage {
      width: 100%;
      height: 100%;
    }

    .exploreinteractbox {
      position: relative;
      /* flex-direction: column; */
      max-width: 100%;
      padding: 0;
      width: 100%;
      min-width: initial;
    }

    .explorenavbuts {
      position: absolute;
      top: 12%;
      width: 100%;
      padding: 10px;
    }

    .exploreitembox {
      /* position: absolute; */
      /* height: 100px; */
      width: 68%;
      padding: 10px 0 0 0;
    }

    .gridselectbox {
      /* display: none; */
    }

    .filterselectbut {

    }

    .exploreaddress {
      font-size: 1.1em;
    }

    .tokenlinkbox {
      width: 100%;
      justify-content: space-between;
      /* column-gap: 20%; */
      margin: 24px 0 24px 0px;
    }

    .mintcontain {
      width: 99vw;
      top: auto;
      bottom: 56%;
      /* top: 46%; */
    }

    .txbox {
      width: 97%;
      margin: 5px;
      height: auto;
      position: absolute;
      padding: 10px;
    }

    .griditemcheckboxes {
      margin: 0;
    }

    .overlayimagebox {
      width: 100%;
      height: auto;
    }

    .overlayimage {
      width: 98%;
      height: auto;
    }

    /* .input[type="checkbox"] {
      scale: 1.0;
    } */
}

.sharebut {
  width: 98%;
  height: 40px;
  padding: 10px 5px;
  transition: background-color 0.2s ease-in-out;
}

.copyclicked {
  background-color: var(--error-colour-subdued);
  filter: opacity(1);
  /* transition: background-color .5s ease-out; */
}

.copyclicked:hover {
  filter: opacity(1);
}

.blueborder {
  /* border-width: 4px; */
  animation: blueAnimation 0.2s infinite alternate;
}

.redborder {
  border: solid red 4px;
  animation: redAnimation 0.2s infinite alternate;
}

@keyframes blueAnimation {
0%, 50% { border-color: #236ea4; }
51%, 100% { border-color: #2b7eba; }
}

@keyframes redAnimation {
    0%, 50% { border-color: #931d1d; }
    51%, 100% { border-color: #871b1b; }
  }

@keyframes redColour {
    0%, 50% {color: #871b1b;}
    51%, 100% {color: #931d1d;}
  }

@keyframes blueColour {
    0%, 50% {color: #236ea4;}
    51%, 100% {color: #2b7eba;}
  }

@keyframes redBackground {
    0%, 50% {background-color: #ff42d5;}
    51%, 100% {background-color: #ff0c0c;}
  }

@keyframes redFill {
    0%, 50% {fill: #ff42d5;stroke:#ff42d5;}
    51%, 100% {fill: #ff0c0c;stroke:#ff0c0c;}
  }

.redanimatedfill {
  animation: redFill 0.16s infinite alternate;
}

.redanimated {
  animation: redColour 0.16s infinite alternate;
}

.blueanimated {
  animation: blueColour 0.16s infinite alternate;
}


.xlogo {
  position: relative;
  top: 1px;
  margin-left: 2px;
  width: 16px;
}

/**
 * ==============================================
 * Dot Bricks
 * ==============================================
 */
.dot-bricks {
  position: relative;
  top: 8px;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #771f16;
  color: #771f16;
  box-shadow: 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16;
  animation: dot-bricks 2s infinite ease;
}

@keyframes dot-bricks {
  0% {
    box-shadow: 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16;
  }
  8.333% {
    box-shadow: 10007px -16px 0 0 #771f16, 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16;
  }
  16.667% {
    box-shadow: 10007px -16px 0 0 #771f16, 9991px -16px 0 0 #771f16, 10007px 0 0 0 #771f16;
  }
  25% {
    box-shadow: 10007px -16px 0 0 #771f16, 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16;
  }
  33.333% {
    box-shadow: 10007px 0 0 0 #771f16, 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16;
  }
  41.667% {
    box-shadow: 10007px 0 0 0 #771f16, 10007px -16px 0 0 #771f16, 9991px 0 0 0 #771f16;
  }
  50% {
    box-shadow: 10007px 0 0 0 #771f16, 10007px -16px 0 0 #771f16, 9991px -16px 0 0 #771f16;
  }
  58.333% {
    box-shadow: 9991px 0 0 0 #771f16, 10007px -16px 0 0 #771f16, 9991px -16px 0 0 #771f16;
  }
  66.666% {
    box-shadow: 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16, 9991px -16px 0 0 #771f16;
  }
  75% {
    box-shadow: 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16, 10007px -16px 0 0 #771f16;
  }
  83.333% {
    box-shadow: 9991px -16px 0 0 #771f16, 10007px 0 0 0 #771f16, 10007px -16px 0 0 #771f16;
  }
  91.667% {
    box-shadow: 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16, 10007px -16px 0 0 #771f16;
  }
  100% {
    box-shadow: 9991px -16px 0 0 #771f16, 9991px 0 0 0 #771f16, 10007px 0 0 0 #771f16;
  }
}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #771f16;
  color: #771f16;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #771f16;
  color: #771f16;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #771f16;
  color: #771f16;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

/* little arrow can be used as ::after  */
/* .somelink::after, {
      display: inline-block;
      content: url('data:image/svg+xml,%3Csvg%20fill%3D%22%23206fb4%22%20viewBox%3D%220%20-960%20960%20960%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m216-160-56-56%20464-464H360v-80h400v400h-80v-264L216-160Z%22%3E%3C/path%3E%3C/svg%3E');
      width: 0.7em;
    } */

@keyframes dot-flashing {
  0% {
    background-color: #771f16;
  }
  50%, 100% {
    background-color: rgba(119, 31, 22, 0.2);
  }
}
