html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

::selection{
  background: #ffff9b;
  color:black;
}

.small-text{
  font-size:0;
  margin:0;
}

.center{
  text-align: center;
}

[data-active="false"]{
  display: none;
}

[data-visible="false"]{
  display: none;
}

body {
  max-width: 100%;
  position:relative;
  background:#111;
  margin: 0;
  font-family:helvetica, arial, sans-serif;
  text-rendering: optimizeLegibility;
  color:#fff;
  font-size:1em;
  line-height:1.5;
  padding-top:150px 0 0 0;
}

a{
  color: #fff;
}
a[data-active="true"]{
  color:yellow;
  text-decoration: underline;
}

h1{
  text-align: center;
  margin: 0;
}

p{
  margin: 0;
}
strong{
  font-weight:800;
}

button{
  border: none;
  padding: 10px;
  border-radius: 9px;
}
button:hover{
  cursor: pointer;
}

figure {
  margin: 5px 2px;
  break-inside: avoid;
  position:relative;
}

img{
  max-width:100%;
  display:block;
}

header{
  position: sticky;
  top: 0;
  background:#111;
  width:100%;
  z-index: 10;
}

nav{
  padding:1em 1em 0 1em;
  overflow-x: auto;
  overflow-y: hidden;
}

.sub-header{
  padding: 20px;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  background:rgba(17, 17, 17, 0.95);
  z-index:6;
}

.sub-header a, .sub-header span{
  font-family: georgia;
  font-size: 0.85em;
  line-height: 1.75;
  text-align: center;
}

.sub-header .filter-bucket{
  text-align:left;
}


.prompt-generator-container{
  padding-bottom:1em;
}


.grid-container{
  /* max-width:2080px; */
  max-width:2400px;
  margin: 32px auto 0 auto;
  display: flex;
  position:relative;
  z-index:2;
  background:#111;
}
.grid-col{
  flex: 50%;
}

/*============== Stable-Diffusion ================= */
.row {
  display: flex;
}
.column {
  flex: 50%;
}

iframe{
  max-width: 100%;
  margin: 10px auto 0 auto;
  display: block;
  width:100%;
}


/*============== PROMPT GENERATOR ================= */
img[data-active] + p{background:#2bff62bf; color:#111}

#generate-prompt {
  padding: 10px;
  border-radius: 9px;
}

#user-prompt{
  min-width:235px;
  padding: 12px;
  background: #3f3f46;
  border: none;
  color: #fff;
  border-radius: 9px;
  }

#prompt-result{
  margin-top:1em;
  display:block;
  width:100%;
  color:#fff;
  font-weight:600;
  border:none;
  background: none;
  text-align: center;
}

#promp-result a{
  text-align:center;
  font-family:arial;
}

#prompt-result:focus{
  outline: none;
}


#prompt-filters-container{
  position:relative;
  z-index:5;
  padding-bottom:1.5em;
  background:rgba(0,0,0,0.6);
}
.filter-buckets-container{
  max-width:1690px;
  margin: 0 auto;
  display:flex;
  height:400px;
  overflow-y:scroll;
}
.filter-bucket{
  padding:1em;
  flex: 20%;
}
.filter-bucket strong{
  text-transform:capitalize;
}
.filter-bucket ul{
  list-style:none;
  padding: 0;
}

.text-based-button{
  background: none;
  color: #fff;
  font-size: 24px;
  padding: 0px 0;
  vertical-align: middle;
}
.text-based-button:hover{
  text-decoration: underline;
}

#prompt-history-container{
  position: fixed;
  top: 0;
  z-index: 10;
  left: 0;
  background: rgba(0,0,0, 0.95);
  height: 100%;
  width: 25%;
}

.prompt-history-title{
  margin: 3% 0 2% 5%;
  text-align:left;
}
#prompt-history-container ol{
  /* list-style:none; */
  padding:0% 5% 5% 5%;
  margin: 0;
  overflow-y:auto;
  height:85%;
}
#prompt-history-container li{
  margin-top:10px;
  text-align:left;
}

/* #clear-prompt-history, #select-prompts{
  float: right;
  margin-right: 5%;
  margin-top:5%;
} */

input[type="checkbox"][data-active="false"]{
  display: inline-block;
}

button[data-checkall]{
  background: none;
  padding: none;
  border: none;
  text-decoration:underline;
  color:#9b9b9b;
}

.combinations{
  width:40px;
}

.artist-name{
  text-align:center;
  font-size: 24px;
  width: 100%;
  background: rgba(0,0,0,0.5);
}

iframe{
  height: 600px;
}



#slider-image{
  margin: 0 auto;
}
#slider-description{
  text-align:center;
  margin:0.5em 0 3em 0;
}





@media screen and (max-width: 520px){
  body{
    padding-top:0;
  }
  #show-prompt-filters,
  #show-prompt-history{
    display:none;
  }
  .sub-header{
    padding: 23px 15px;
  }
  nav{
    padding:0;
  }
  a{
    font-size:0.85em
  }
}


@media screen and (min-width: 520px){
  body{
    padding-top:20px;
  }
}

@media screen and (min-width: 800px){
  #user-prompt{
    min-width:530px;
  }
}

@media screen and (min-width: 1200px){
  .sub-header{
    padding: 1em 0 0 0;
  }
  .grid-col{
    flex: 33.33%;
  }
}

@media screen and (min-width: 1580px){
  body{
    padding-top:45px;
  }
  #prompt-result{
    font-size:1.45em;
  }
  #user-prompt{
    min-width:400px;
  }
  iframe{
    height: 886px;
  }
  figure {
    border:4px solid #27272a;
  }
  .grid-col{
    flex: 25%;
  }
}




.glow-on-hover {
  border: none;
  outline: none;
  background: none;
  border:2px solid #fff;
  color:#fff;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  /* background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); */
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 200%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 2s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #ddd
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}