@import url('https://fonts.googleapis.com/css2?family=Prata&family=Zen+Antique&family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;700;900&family=Poppins:wght@400;600;700;900');



/*** BODY ***/
body {
  color: #381900;
  background: url(https://dreamy.neocities.org/img/danaus_bg.png);
  font-family: verdana;
}
a, a:link, a:visited {
  color: #666B4D;
  text-shadow: 0 0 3px #EAD7C7, 0 0 5px #EAD7C7;
  text-decoration: underline double 1px #5D8967;
  transition: none;
}
a:hover {
  color: #996B37;
  text-shadow: 0 0 3px #FFE1BA, 0 0 5px #FFE1BA;
  text-decoration: underline dotted 2px #8E835C;
  font-style: italic;
}
.clear {
  clear: both;
  height: 20px;
}
#preload, .dropdown-mobile {
  display: none;
}
code {
  border: 7px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus2.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
  -webkit-user-select: all;
  user-select: all;
  display: block;
  padding: 0.8em;
  margin: 0.9em;
  max-height: 100px;
  overflow-y: auto;
  cursor: crosshair;
  word-wrap: break-word;
  white-space: pre-wrap;
  z-index: 999;
}
code:focus {
  color: #54756A;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus1.png) fill 25 round;
  }
code::selection {
  background: #EFDBCB;
}
mark {
  color: #935729;
  background: #DFBEA1;
  font-weight: bold;
  border-radius: 5px;
}
#cover {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99;
}



/*** HEADER ***/
header {
  height: 275px;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  text-align: center;
  z-index: 1;
}



/*** CONTAINER ***/
#container {
  position: absolute;
  top: 275px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  width: 1200px;
  max-width: 100vw;
}



/*** MAIN ***/
#right-container {
  float: right;
  position: relative;
}
main section {
  background: url(https://dreamy.neocities.org/img/danaus_strip.png) repeat-y top right;
  width: 800px;
  max-width: calc(100vw - 300px);
  padding: 1.25em;
  z-index: 1;
  position: relative;
  z-index: 1;
}
#main-bg {
  background: url(https://dreamy.neocities.org/img/danaus_tile.png) right;
  position: absolute;
  left: 0;
  top: 0;
  width: 640px;
  max-width: calc(100% - 200px);
  height: 100%;
  z-index: -1;
}
main h1 {
  color: #57231F;
  text-shadow: -1px -1px 2px #DBC79A, 1px 1px 7px #C95D1E;
  font-family: georgia;
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px 0;
}
main h2 {
  color: #124f4f;
  border: 15px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus1.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
  font-family: palatino linotype, book antiqua, palatino, serif;
  font-size: 2.25em;
  font-style: italic;
  text-transform: lowercase;
  margin: 0;
  display: inline-block;
  padding: 0 10px;
}
main h2 span {
  text-shadow: -2px 2px 0 rgba(254,193,158,0.5);
  font-style: normal;
  font-size: 0.65em;
}
main h3 {
  color: #677E74;
  text-shadow: 1px 1px #381900, 0 0 2px #381900;
  font-family: palatino linotype, book antiqua, palatino, serif;
  font-size: 1.65em;
  font-style: italic;
  line-height: 1em;
}
main h4 {
  color: #AA663B;
  text-shadow: 1px 1px 0 #4C2200;
  font-family: palatino linotype, book antiqua, palatino, serif;
  font-size: 1.2em;
  line-height: 1.2em;
  margin-bottom: 0;
}
main h4 a, main h4 a:link, main h4 a:visited {
  color: #4D6D5F;
  text-decoration: underline dotted 2px #5D8967;
  background: url(https://dreamy.neocities.org/img/butterfly-icon-yellow.png) center left no-repeat;
  font-family: prata;
  font-size: 1.4em;
  font-style: normal;
  padding-left: 20px;
}
main h4 a:hover {
  color: #996B37;
  text-decoration: underline wavy 1px #8E835C;
  background: url(https://dreamy.neocities.org/img/butterfly-icon-red.png) center left no-repeat;
}
hr {
  background: url(https://dreamy.neocities.org/img/danaus_hr.png) no-repeat center;
  height: 25px;
  border: none;
}
main p b {
  color: #115952;
  text-shadow: 0 0 3px #667E74;
  font-weight: bold;
}
main ol {
  list-style: none;
  counter-reset: li;
}
main ol li::before {
  color: #533A26;
  background: #D3C29E;
  border: 1px solid #605136;
  content: counter(li);
  text-align: center;
  font-size: 0.8em;
  box-shadow: 1px 1px 2px rgba(96,81,54,0.5);
  border-radius: 25px;
  padding: 3px;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 .5em 3px -1.5em;
}
main ol li {
  counter-increment: li;
}
.vert-top {
  vertical-align: top;
}
.vert-middle {
  vertical-align: middle;
}
.vert-bottom {
  vertical-align: bottom;
}
.float-img {
  width: 35%;
  border: 12px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus2.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}
.float-img figcaption {
  color: #935729;
  text-align: center;
  font-size: 0.9em;
}
.float-img img {
  width: 100%;
}
.float-right {
  float: right;
  margin: 0 0 10px 10px;
}
.float-left {
  float: left;
  margin: 0 10px 10px 0;
}
#sticky {
  text-align: center;
}
#sticky .banner {
  max-width: calc(100% - 50px);
  border: 25px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus2.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}
#sticky .banner:hover {
  border-image: url(https://dreamy.neocities.org/img/lace-danaus1.png) fill 25 round;
}
#affiliate {
  text-align: center;
}


/*** PHOTOSET ***/
.photoset {
  margin: 15px 0;
  border: 15px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus2.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
  display: flex;
  width: calc(100% - 40px);
  padding: 5px;
  gap: 0.5em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
}
.photoset .photo {
  width: calc(33.3% - 0.5em);
  height: auto;
  margin: 0;
}
.photoset .photo-img {
  width: 245px;
  height: 245px;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.photoset .photo-img img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 245px;
  height: auto;
  padding: 0;
  margin: 0;
}
.photoset figcaption {
  font-size: 0.9em;
}


/*** GALLERY ***/
.photoset.gal-entry {
  display: block;
}
.gal {
	width: 100%;
	max-height: 100%;
}
.gallery {
	position: relative;
}
.photoset .gal-img {
  width: 100%;
	max-width: 100%;
	max-height: 1000px;
  margin: 0;
	display: none;
	z-index: 999;
	cursor: pointer;
	transition: all .5s;
}
.photoset .gal-img.photo-img {
  cursor: zoom-in;
}
.photoset.gal-entry .photo-img {
  width: 100%;
  height: auto;
}
.photoset.gal-entry .photo-img img {
  max-width: 100%;
}
.gallery .gal-img:first-child {
	display: inline;
}
.gal-img:hover {
	box-shadow: 0 0 10px #AA663B;
}
.gal-buttons {
	z-index: 1;
	position: relative;
	top: 350px;
	left: -30px;
  max-height: 1000px;
}
.gallery .btn {
	z-index: 99999;
	width: 25px;
	height: 25px;
	cursor: pointer;
	display: inline-block;
}
.gallery .btn .icon {
	height: 25px;
	width: 25px;
	background-image: url(https://dreamy.neocities.org/img/danaus-pxl-btn.png);
	transition: none;
}
.gallery .btn .icon {
	position: relative;
	top: calc(50% - 12px);
}
.gallery .btn {
	height: 100%;
	max-height: 100%;
	position: absolute;
}
.gallery .btn.left {
	float: left;
}
.gallery .btn.left .icon {
	background-origin: 0 0;
}
.gallery .btn.left:hover .icon {
	background-position: 25px 0;
}
.gallery .btn.right {
	float: right;
	left: calc(100% + 40px);
}
.gallery .btn.right .icon {
	background-position: 0 50px;
}
.gallery .btn.right:hover .icon {
	background-position: 25px 50px;
}
.gallery .price, #gal-pop .price {
  color: #6B3F0A;
  font-family: mulish;
  font-weight: 600;
  font-size: 1.75em;
  text-align: center;
}


/*** POPUP ***/
#gal-cover {
  cursor: zoom-out;
	display: none;
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}
#gal-pop {
  color: #AA663B;
  text-align: center;
  border: 15px solid transparent;
  border-image: url(https://dreamy.neocities.org/img/lace-danaus1.png) fill 25 round;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
	display: none;
	z-index: 999;
	position: absolute;
	left: 50%;
	top: 10em;
	transform: translate(-50%, 0);
	max-width: calc(100% - 140px);
	padding: 40px 40px 10px 40px;
}
#gal-pop .popimg img {
	max-width: calc(100vw - 300px);
}
#gal-pop .close {
	z-index: 9999;
	position: absolute;
	right: 0;
	top: 0;
  height: 25px;
  width: 25px;
	padding: 10px;
}
#gal-pop .close .icon {
	background-position: 0 25px;
}
#gal-pop .close:hover .icon {
	background-position: 25px 25px;
}



/*** FOOTER ***/
footer {
  color: #AD7354;
  text-align: center;
  width: 100%;
  float: right;
}



/*** NAV ***/
#left-container {
  float: left;
}
nav {
  background: url(https://dreamy.neocities.org/img/danaus_weird-bg.png) repeat-x;
  width: 300px;
  height: 800px;
  position: absolute;
  top: 0;
  left: 0;
}
nav h2 {
  color: #133333;
  background: url(https://dreamy.neocities.org/img/danaus_nav-bg.png) top left repeat-x;
  background-size: auto 60px;
  box-shadow: 0 3px 5px 1px rgba(0,0,0,0.4);
  text-shadow: -1px -1px #9AAFA4, 1px 1px #9AAFA4, 1px -1px #9AAFA4, -1px 1px #9AAFA4, 2px 2px 3px rgba(0,0,0,0.5);
  font-family: georgia;
  font-weight: bold;
  line-height: 60px;
  margin: 0;
  padding-left: 65px;
}
nav ul {
  padding: 0;
}
#out-links {
  display: flex;
  justify-content: center;
  margin-right: 1px;
}
nav ul li {
  list-style: none;
  font-family: palatino linotype, book antiqua, palatino, serif;
  font-size: 1.25em;
  text-align: center;
}
nav ul li a, nav ul li a:link, nav ul li a:visited,
nav ul li .parent {
  color: #935729;
  text-shadow: none;
  text-decoration: underline;
}
#home-links a:hover,
#home-links .parent.clicked {
  color: #6B3F0A;
}
#home-links li {
  background: linear-gradient(to bottom,#99957A, #876C4D);
  border: 2px solid #704726;
  box-shadow: -2px -2px 3px inset rgba(112,71,38,0.5);
  border-radius: 25px;
  margin: 0 20px 3px 20px;
  text-align: left;
}
#home-links a, #home-links a:link, #home-links a:visited,
#home-links .parent {
  display: block;
  width: 215px;
  padding: 5px 15px;
  text-decoration: none;
}
#home-links li:hover {
  background: linear-gradient(to right,#B2AB72,#91875A);
  border: 2px solid #845440;
  text-decoration: underline dotted 2px #874B20;
  box-shadow: 3px 3px 5px 1px inset rgba(0,0,0,0.25);
}
#home-links li:hover a{
  background: url(https://dreamy.neocities.org/img/butterfly-icon-red.png) no-repeat right;
}


#home-links .dropdown:hover, #home-links .dropdown.clicked {
  border-radius: 25px 0 0 25px;
  border-width: 2px 0 2px 2px;
}
#home-links .dropdown {
  position: relative;
}
#home-links .dropdown a::after {
  content: ' ▶';
}
#home-links .dropdown a:hover::after,
#home-links .dropdown .parent.clicked::after{
  font-style: normal;
}
#home-links .more a::after {
  content: '';
}
#home-links .more {
  position: absolute;
  left: 258px;
  top: -2px;
  font-size: 0.8em;
}
#home-links .more li {
  background: #CEB78E;
  border-radius: 0;
  border-style: solid;
  border-color: #A89070 #877759 #CC9668 #A89070;
  border-width: 0 2px 1px 2px;
  box-shadow: 0 0 3px inset #CC9668;
  margin: 0;
  display: none;
  position: relative;
  z-index: 999;
}
#home-links .more li:first-child {
  border-width: 5px 2px 1px 0;
  border-top-width: 5px;
  border-color: #A89070 #877759 #CC9668 #877759;
}
#home-links .more li:last-child {
  border-bottom-width: 5px;
  border-color: #A89070 #877759 #877759 #A89070;
}
#home-links .more li a {
  background: none;
}
#home-links .more li:hover, #home-links .more li.clicked {
  background: #C9AC84 url(https://dreamy.neocities.org/img/butterfly-icon-yellow.png) no-repeat right;
  background-position-x: 215px;
  color: #B74C31;
  text-decoration: #C46E6B underline dotted 2px;
  box-shadow: 0 0 3px inset #B78559;
}
#home-links .dropdown:hover .more li,
.dropdown.clicked .more li {
  display: block;
}

.support-btn {
  margin-top: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
}
.patreon-btn {
  background: #AA663B;
  box-shadow: 0.1em 0.1em 0.05em rgba(0,0,0,0.25);
  color: white;
  text-shadow: none;
  font-family: mulish;
  font-weight: bold;
  font-size: 0.9em;
  height: 1.4em;
  border-radius: 0.5em;
  padding: 10px;
  transition: all .5s;
}
.patreon-btn-contain a {
  text-decoration: none;
}
a:hover .patreon-btn {
  opacity: .85;
}
.patreon-btn img {
  height: 20px;
  vertical-align: bottom;
}



/*** MOBILE NAV ***/
.dropdown-mobile .parent {
  color: #6B3F0A;
}
#home-links .dropdown-mobile .more {
  display: block;
  position: relative;
  top: 0;
  left: 0;
}
#home-links .dropdown-mobile .more li {
  display: block;
}


/*** MOBILE HAMBURGER ***/
.hamburger {
	position: absolute;
	top: 0;
	left: 0;
	width: 3em;
	height: 2.8em;
	cursor: pointer;
	padding: 0.5em;
  transition: all .5s;
  line-height: 1em;
}
.clicked .hamburger {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
}
.hamburger div {
	border-radius: 1em;
	width: 3em;
	height: 0;
	border-top: 0.3em solid #33382F;
	border-bottom: 0.3em solid #33382F;
	margin: 0.1em 0 0.1em 0;
  display: inline-block;
}
.clicked .hamburger div {
	border-top: 0.3em solid #133333;
	border-bottom: 0.3em solid #133333;
	margin: 0 0.1em 0 0.1em;
}
.mobile {
	display: none;
}


/*** MOBILE QUERIES ***/
@media only screen and (orientation: portrait) {
  body {
    margin: 0;
  }
  #container {
    position: relative;
    width: 100%;
    left: 0;
    top: 42vw;
    transform: none;
    -ms-transform: none;
    -webkit-transform: none;
    -moz-transform: none;
  }
  #right-container, #left-container {
    float: initial;
  }
  .clicked #cover, .clicked .nav-links, .mobile {
    display: inline;
  }
  header {
    margin-top: 3.5em;
  }
  header img {
    width: 100vw;
  }
  #right-container {
    width: calc(100% - 8vw);
  }
  main {
    width: 100%;
  }
  main section {
    width: 100%;
    max-width: 100%;
    padding: 4vw;
  }
  #main-bg {
    width: calc(100% - 200px);
    max-width: calc(100% - 200px);
  }
  code {
    margin: 0.9em 0.45em;
  }
  .photoset .photo .photo-img {
    width: 6.9em;
    height: 6.9em;
  }
  .photoset .photo .photo-img img {
    width: 6.9em;
  }
  .photoset.gal-entry {
    padding: 0;
  }
  .photoset .photo-img.gal-img,
  .photoset .photo-img.gal-img img {
    width: 100%;
    height: auto;
  }
  .gallery .gal-buttons {
    top: 100px;
  }
  #gal-pop {
    max-width: calc(100% - 4em);
    padding: 0;
  }
  #gal-pop .popimg img {
    max-width: calc(100vw - 4em);
  }
  #left-container {
    background: url(https://dreamy.neocities.org/img/danaus_nav-bg.png);
    position: relative;
    left: 0;
    top: 0;
    height: 100%;
    content: '';
  }
  nav {
    background: url(https://dreamy.neocities.org/img/danaus_mobile-nav.png);
    background-size: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
    position: relative;
    max-width: 100vw;
    width: 100vw;
    height: 3.75em;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 0;
    z-index: 9999999;
    position: fixed;
    top: 0;
    left: 0;
  }
  .clicked nav {
    height: auto;
  }
  .clicked nav:before {
    bbackground: url(https://dreamy.neocities.org/img/danaus_weird-bg.png) center;
    background-size: 50vw;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
  }
  .dropdown-mobile {
    display: list-item;
  }
  .nav-links, .dropdown-default {
    display: none;
  }
  nav h2 {
    display: none;
    height: 100px;
    font-size: 1.9em;
    transition: all .5s;
  }
  .clicked nav h2 {
    display: block;
    height: 60px;
    font-size: 30px;
    margin-bottom: 5px;
  }
  nav #out-links li a {
    padding: 0;
    margin-right: 1px;
  }
  #home-links .more li, #home-links .more li:first-child {
    background: none;
    border-width: 0 0 1px 0;
    border-bottom: 1px solid #8C6D4E;
    box-shadow: none;
  }
  #home-links .more li:first-child {
    border-top: 1px solid #6B3F0A;
  }
  #home-links .more li:last-child {
    border-bottom: none;
  }
  nav ul li a, nav ul li a:link, nav ul li a:visited {
    width: auto;
    font-size: 1.3em;
    line-height: 1.1em;
    padding: 10px 10px 10px 55px;
    margin: 0;
  }
  #container > .clear:last-child {
    height: 50px;
  }
}


@media only screen and (orientation: portrait) and
  (max-width: 768px) {
  body {
    background-size: 102px;
  }
  main section {
    background-size: 100px;
  }
  #main-bg {
    background-size: 10px;
    width: calc(100% - 100px);
    max-width: calc(100% - 100px);
  }
}


@media only screen and (max-width: 600px) {
  body {
    font-size: 0.9em;
  }
  .clicked nav h2 {
    font-size: 25px;
  }
  nav ul li a, nav ul li a:link, nav ul li a:visited {
    font-size: 0.8em;
    line-height: 100%;
  }
  .gallery .gal-buttons {
    top: 100px;
  }
}


@media only screen and (orientation: landscape)
  and (max-width: 1080px) {
    #left-container, nav {
      width: 250px;
      font-size: 0.9em;
    }
  .gallery .gal-buttons {
    top: 100px;
  }
}


@media only screen and (orientation: portrait)
  and (max-width: 1080px) {
  .gallery .gal-buttons {
    top: 200px;
  }
}