* {
  box-sizing: border-box;
}
html,
body {
  font-family: "Prompt", sans-serif;
  font-size: 18px;
  background-image: url(../img/background.jpg);
  /* background-color: #242025; */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #d9d9d8;
  padding: 10px;
  padding-bottom: 40px;
  padding-top: 50px;
  animation: fadeIn 1s;
}

nav {
  position: fixed;
  display: flex;
  width: 100%;
  top: 0;
  left: 0;
  justify-content: space-between;
  align-items: center;
  height: 7%;
  padding: 0 0.5%;
  background-color: #282828a1;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
}

.searchbox-container {
  border: 1px solid #ffffff;
  overflow: auto;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  /* display: flex;
  white-space: nowrap; */
}

.logo-container img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-size: 15px;
  white-space: nowrap;
}

li {
  margin: 0 10px;
}

a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.connect-nostr {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: normal;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 18px;
  font-family: "Prompt", sans-serif;
  cursor: pointer;
  opacity: 50%;
  display: inline-block;
}

.main {
  display: block;
  background-color: #2828289a;
  border-radius: 20px;
  min-height: 100vh;
  padding: 20px 40px;
  width: 1000px;
  max-width: 99%;
  margin: 0 auto;
}

.neon-text {
  color: #fff;
  text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff, 0 0 42px #b44af2,
    0 0 82px #b44af2;
}

.soft-neon-text {
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 21px #fff, 0 0 42px #b44af2, 0 0 82px #b44af2,
    0 0 92px #b44af2, 0 0 102px #b44af2, 0 0 151px #b44af2;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.neon-box {
  box-shadow: 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 2rem #b44af2,
    0 0 0.8rem #b44af2, 0 0 2.8rem #b44af2, inset 0 0 1.3rem #b44af2;
  animation: fadeIn 1s;
}

.soft-neon-box {
  box-shadow: 0 0 0.2rem #fff, 0 0 0.2rem #fff, 0 0 2rem #b44af2,
    0 0 0.8rem #b44af2, inset 0 0 1.3rem #b44af2;
}

img {
  max-width: 95%;
  height: auto;
}
.title {
  text-align: left;
  font-size: 46px;
  font-weight: bold;
  margin: 0px auto;
  padding: 0px 0px 0px 0px;
  background-color: none;
  width: auto;
  display: inline-block;
}

a:hover,
button:hover {
  opacity: 0.7;
  cursor: pointer;
}
.loading {
  padding-top: 5px;
  padding-bottom: 60px;
}
.loading .loading-text {
  padding-left: 5px;
}
.single_listing {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 280px;
  height: auto;
  margin: 10px;
  background-color: #35353538;
  border-radius: 10px;
  word-wrap: break-word;
  box-shadow: 0 0 0.2rem #fff, 0 0 0.2rem #fff;
}
.single_listing button {
  margin: 0 auto !important;
}
.listing-bg {
  width: 100%;
  height: 200px;
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.listing-price {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #353535a6;
  padding: 4px 12px;
  font-size: 16px;
  border-top-left-radius: 10px;
}
.listing-link {
  font-size: 18px;
  font-weight: bold;
  padding: 3px;
  padding-bottom: 10px;
  text-align: center;
  display: inline-block;
}
.listing-title {
  color: #f5f6f1;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  height: 100px;
  word-break: break-word;
}
.listing-title a {
  color: #f5f6f1;
}
.listing-link button {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: normal;
  border-radius: 4px;
  padding: 2px 12px;
  font-size: 18px;
  font-family: "Prompt", sans-serif;
  vertical-align: middle;
  cursor: pointer;
}
.disabled-button {
  opacity: 50%;
}
.listing-link button span {
  font-size: 14px;
  line-height: 100%;
  padding-right: 4px;
  color: #b44af2;
}
.listing-link button a,
.listing-link button span {
  text-decoration: none;
  vertical-align: middle;
}

#listings_title,
#listings_body {
  text-align: center;
}
#search {
  /* margin-top: 40px;
  margin-bottom: 40px; */
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 10px;
  /* width: 50em;
  text-align: center; */
}
#search_term {
  width: 70%;
  display: inline-block;
  background-color: #282828;
  border: 2px solid #ffffff;
  color: #e6e6e5;
  height: 36px;
  border-radius: 5px;
  max-width: 100%;
  line-height: 34px;
  font-size: 16px;
  font-weight: 400;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 0;
  vertical-align: middle;
}
#search_category {
  border: 2px solid #ffffff;
  border-right: 0px;
  color: #e6e6e5;
  height: 36px;
  margin-left: -20px;
  background-color: #282828;
  border-radius: 5px;
  border-right: 2px solid #ffffff;
  width: 25%;
  cursor: pointer;
  margin-top: 0;
  display: inline-block;
  max-width: 100%;
  line-height: 34px;
  font-size: 16px;
  font-weight: 400;
  vertical-align: middle;
  padding-left: 8px;
  text-align: center;
}

.info {
  margin-top: 15px;
  padding-top: 0px;
  text-align: center;
  font-size: 26px;
}
.info-heading {
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  width: 100%;
  font-weight: bold;
  margin: 0px auto;
  margin-bottom: 20px;
  padding: 0px 0px 0px 0px;
  padding-top: 10px;
  padding-bottom: 0px;
  background-color: none;
  display: block;
}
.info-text {
  margin-top: 0px;
  text-align: left;
  font-size: 18px;
  margin-bottom: 10px;
}
.info-column {
  width: 49%;
  vertical-align: top;
  display: inline-block;
}

.no-image {
  background-color: #282828;
  background-image: url("/img/nostrich.jpg");
  background-size: 100%;
  background-position: center;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.toggle-description {
  display: block;
  background: none;
  font-weight: normal;
  color: #e6e6e5;
  font-size: 16px;
  border: 0px;
  cursor: pointer;
}
.toggle-description span {
  font-size: 12px;
  display: inline-block;
  color: #b44af2;
  font-weight: bold;
}
.listing-description {
  padding: 10px;
  font-size: 16px;
  display: none;
}
.footer-bar {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  padding-top: 2rem;
}
a.footer-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 1px;
  text-decoration-style: dashed;
}
@media (max-width: 800px), (hover: none) {
  .main {
    width: 99% !important;
    display: block !important;
    float: none !important;
    margin: 0 auto !important;
    position: static !important;
    border-radius: 20px !important;
    padding: 20px 0px !important;
  }
  .info-heading {
    margin: 0 auto;
    margin-bottom: 20px;
  }
  #listings_title {
    text-align: center;
  }
  button {
    margin-right: 10px;
  }
  .single_listing,
  #listings_body {
    text-align: center;
  }
  .single_listing {
    margin-bottom: 20px;
  }
  #main {
    padding: 20px 0px !important;
  }
  #search_category {
    width: 30% !important;
  }
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  background-color: #282828;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 1%;
  text-align: justify;
}
.div-nostr-connect {
  text-align: center;
  margin-top: 60px;
}

.sidebar a {
  text-decoration: none;
  color: #b44af2;
  transition: 0.3s;
}

.sidebar ol {
  padding-right: 2em;
}

h3 {
  color: #b44af2;
}

.sidebar h2 {
  text-align: center;
}

.example-post {
  width: auto;
  border: 1px solid #b44af2;
  padding: 10px;
  margin: 10px;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 16px;
  cursor: pointer;
  background-color: #11111193;
  color: white;
  padding: 8px 10px;
  border: 2px solid #d9d9d8;
  border-radius: 10px;
  vertical-align: middle;
}

.openbtn:hover {
  background-color: #444;
}

#main-sidebar {
  transition: margin-left 0.5s;
  /* padding: 16px; */
}

@media only screen and (max-device-width: 430px) {
  .logo-container {
    display: none;
  }
  .self-end {
    display: none;
  }
  .neon-box {
    box-shadow: 0 0 0.2rem #fff, 0 0 0.4rem #fff, 0 0 1rem #b44af2,
      inset 0 0 1rem #b44af2;
  }
  .neon-text {
    color: #fff;
    text-shadow: none;
  }
  .soft-neon-text {
    text-shadow: none;
  }
  p,
  h4,
  li {
    font-size: small;
  }
  body,
  html {
    background-image: none;
    background-color: #160b22;
  }
  .onboard {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* .searchbox-container {
  width: 95%;
		margin: 0 auto;
} */
}
