/* -- General -- */
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 100%;
  --w3m-z-index: 1500;
  overflow-x: hidden;
}

@media only screen and (max-width:  768px) { html { font-size: 12px; } }
@media only screen and (min-width:  769px) { html { font-size: 13px; } }
@media only screen and (min-width: 1024px) { html { font-size: 14px; } }
@media only screen and (min-width: 1200px) { html { font-size: 15px; } }
@media only screen and (min-width: 1400px) { html { font-size: 16px; } }

body {
  background-color: #fbf9f6;
}

* {
  font-family: 'proxima-nova', sans-serif;
  color: #000;
  text-rendering: optimizeLegibility;
}

.unselectable {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container {
  position: relative;
  width: 60rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  z-index: 100;
}

/* -- Nav -- */

.nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
  padding: 2rem 0 1rem;
  background-color: #fbf9f6;
}

.nav-left {
  display: inline-flex;
  align-items: self-end;
}

.nav-right {
  display: inline-flex;
  align-items: self-end;
}

.nav-logo {
  width: 4rem;
  min-height: 3rem;
  margin-right: 2rem;
}

.nav-item {
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
}

.nav-item:hover {
  text-decoration: underline;
}

.nav-btn {
  padding: .5rem 1.5rem;
  background: #5A8F69;
  color: #fff;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none !important;
}

.nav-btn:hover {
  background-color: #4B7958;
}

.nav-btn:active {
  background-color: #000;
}

.nav-txt {
  padding: .5rem 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

/* -- goats -- */

.foods {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.food-left {
  position: absolute;
  bottom: -40rem;
  left: -30rem;
  width: 50rem;
  height: 50rem;
  
  border-radius: 50%;
  background-color: #78b3aa;
}

.food-center-bg {
  position: absolute;
  bottom: -23rem;
  left: -25vw;
  width: 100vw;
  height: 30rem;
  
  border-radius: 50%;
  background-color: #5a8a8f;
}

.food-center-fg {
  position: absolute;
  bottom: -23rem;
  right: -15vw;
  width: 70vw;
  height: 30rem;
  
  border-radius: 50%;
  background-color: #78b3b3;
}

.food-right {
  position: absolute;
  bottom: -46rem;
  right: -40rem;
  width: 60rem;
  height: 60rem;
  
  border-radius: 50%;
  background-color: #011325;
}

.cow {
  position: absolute;
  width: 5rem;
}

@media only screen and (min-width: 769px) {
  .hero {
    margin: -4rem auto 0;
  }

  .foods {
    display: block;
  }
}

/* -- Body -- */

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 3rem 0 2rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.2rem;
}

#results {
  margin-bottom: 10rem;
}

.grid-container {
  display: flex;
  padding: 1rem 0;
}

.grid-container.grid-header {
  position: sticky;
  top: 6rem;
  background-color: #fbf9f6;
  border-bottom: 1px solid #DED9D5;
  font-weight: 700;
}

.grid-container.grid-header .grid-address {
  padding-top: 0 !important;
}

.grid-address {
  width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 2rem;
  padding-top: .6rem;
}

.grid-address a {
  text-decoration: none;
}

.grid-address a:hover {
  text-decoration: underline;
}

.grid-action {
  width: 30%;
  display: flex;
  justify-content: space-between;
}

.grid-action span {
  text-transform: capitalize;
  font-weight: 700;
  padding-top: .6rem;
}

.grid-action span.limited {
  color: #000;
}

.grid-action span.unlimited {
  color: #BF0D0D;
}

.grid-action button,
.revoke-btn {
  padding: .5rem 1.5rem;
  border: 1px solid;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}

.grid-action button.limited {
  background-color: #FBF6F0;
  border-color: #DED9D5;
  color: #000;
}

.grid-action button.unlimited,
.revoke-btn {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.grid-action button:hover,
.revoke-btn:hover {
  border-color: #5A8F69;
  background-color: #5A8F69;
  color: #fff;
}

.grid-action button:active,
.revoke-btn:active {
  background-color: #3F6449;
}

@media only screen and (min-width: 769px) {
  .grid-address {
    width: 40%;
  }

  .grid-action {
    width: 20%;
  }
}

#WEB3_CONNECT_MODAL_ID > * {
  z-index: 100;
}