body {
  position: absolute;
  min-height: 100vh;
  background-image: url('https://joseywails.com/assets/bg.jpg');
  transition: background-image 1s ease-in-out;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: repeat;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: Georgia;
  z-index: 10;
}

@font-face {
  font-family: "dymoregular";
  src: url("https://joseywails.neocities.org/assets/dymo.woff2") format("woff2"),
    url("https://joseywails.neocities.org/assets/dymo.woff") format("woff"),
    url("https://joseywails.neocities.org/assets/dymo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "homemadeapple";
  src: url("https://joseywails.neocities.org/assets/homemadeapple.woff2")
      format("woff2"),
    url("https://joseywails.neocities.org/assets/homemadeapple.woff")
      format("woff"),
    url("https://joseywails.neocities.org/assets/homemadeapple.ttf")
      format("truetype");
  font-weight: normal;
  font-style: normal;
}

h1 {
  position: relative;
  background-image: url("https://joseywails.neocities.org/assets/paper.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "homemadeapple";
  font-size: 4vw;
  font-style: normal;
  font-weight: normal;
  position: relative;
  margin-bottom: 25px;
  padding: 5px;
  text-align: center;
  box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.75);
  color: #d2cab1;
  opacity: 0.9;
  z-index: 10;
}

.wobbly-border {
  display: inline-block;
  filter: url(#wobblyBorderFilter);
}

a {
  color: #800000;
}

a:link {
  color: #800000;
}

a:visited {
  color: #80000;
}

a:active {
  color: #8000;
}

footer {
  font-family: "dymoregular";
  font-size: 25px;
  font-weight: normal;
  position: relative;
  line-height: 0.9;
  opacity: 0.9;
  color: black;
  z-index: 0;
}

footer .footer-left {
  font-family: "dymoregular", sans-serif;
  text-align: left;
  padding-top: 200px;
  line-height: 26px;
}

.copyright-symbol {
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.grayscale-emoji {
  filter: grayscale(100%);
}

.main-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img[src="https://joseywails.neocities.org/assets/cover.png"]
{
  width: 90vw;
  height: auto;
  display: block;
  margin-top: -75px;
  margin: 0 auto;
  position: relative;
}

.cover {
  animation: gentle-bounce 1.5s ease-in-out infinite alternate;
}

@keyframes gentle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

#shadow {
  -moz-box-shadow: rgba(0, 0, 0, 0.8) 3px 3px 10px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.8) 3px 3px 10px;
  -o-box-shadow: rgba(0, 0, 0, 0.8) 3px 3px 10px;
  box-shadow: rgba(0, 0, 0, 0.8) 3px 3px 10px;
}

@media screen and (max-width: 767px) {
  iframe[src*="youtube"] {
    width: 100% !important;
  }
}

.icon {
  width: 50px;
  max-width: 50px;
  height: auto;
}

@media (max-width: 768px) {
  .icon {
    max-width: 30px;
  }
}

.icon:hover {
  transform: scale(1.1);
  animation: wobble 0.5s ease-in-out;
}

.social {
  position: absolute;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 3%;
  gap: 25px;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  50% {
    transform: rotate(-2deg);
  }

  75% {
    transform: rotate(2deg);
  }
}

.bio {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2em;
  font-style: normal;
  line-height: 1.6;
  text-align: left;
  max-width: 800px;
  margin: 2em 0;
  margin-top: -58px;
  padding: 1.5em 2em;
  color: #000;
  background-image: url("https://joseywails.neocities.org/assets/paper-a.png");
  background-size: cover;
  position: relative;
  z-index: 5;
}

.bio::div {
  display: block;
  position: relative;
  z-index: 5;
  opacity: 0.9;
}

.bio-photo-container {
  position: relative;
  background-image: url("https://joseywails.neocities.org/assets/paper.png");
  background-size: cover;
  position: relative;
  margin: 2em 0;
  z-index: 5;
}

.bio-photo {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 370px;
  overflow: hidden;
  z-index: 2;
  margin-left: 2em 0;
  margin-top: -100px;
  margin-bottom: -52px;
  z-index: 4;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  cursor: zoom-in;
  filter: none;
}

.bio-photo img:hover {
  opacity: 1;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding-top: 50px;
  z-index: 10000;
  place-items: center;
  min-height: 100vh;
}

.lightbox-overlay:target {
  display: block;
}

.lightbox-overlay img {
  display: grid;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  place-items: center;
  min-height: 90vh;
}

.lightbox-overlay a {
  color: white;
  font-size: 2em;
  position: absolute;
  top: 10px;
  right: 20px;
  text-decoration: none;
  z-index: 10000;
}

blockquote {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2em;
  font-style: italic;
  line-height: 1.6;
  max-width: 800px;
  margin: 2em 0;
  padding: 1.5em 2em;
  border-left: 4px solid #b3a394;
  color: #d2cab1;
  background-image: url("https://joseywails.neocities.org/assets/paper.png");
  background-size: cover;
  opacity: 0.9;
  quotes: "“" "”" "‘" "’";
  position: relative;
  z-index: 5;
}

blockquote::before {
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.1em;
  vertical-align: -0.4em;
  color: #c7b6a7;
}

blockquote::after {
  content: close-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-left: 0.1em;
  vertical-align: -0.4em;
  color: #c7b6a7;
}

blockquote cite {
  display: block;
  text-align: right;
  font-size: 0.9em;
  margin-top: 1em;
  color: #aa9e79;
  font-style: normal;
}

blockquote cite::before {
  content: "— ";
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
  margin-top: -25px;
  margin-bottom: 30px;
  padding: 40px;
  position: relative;
  z-index: 5;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-grid iframe:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.bandcamp-embed {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4;
  z-index: 5;
}

.bandcamp-embed:iframe {
  position: relative;
  z-index: 5;
}

.responsive-embed-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  z-index: 5;
}

.responsive-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.content-display {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}

.image-left {
  margin-right: -8%;
  margin-left: -4%;
}

.image-left img {
  max-width: 100%;
  height: auto;
  z-index: 5;
}

.youtube-embed iframe {
  border: none;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.background-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.overlay-image {
  position: absolute;
  top: 10%;
  left: 40%;
  transform: translate(-40%, -40%);
  width: 100%;
  height: auto;
  z-index: 3;
}

.cig-background-image {
  position: absolute;
  top: 1500px;
  left: 80%;
  width: 12%;
  height: 12%;
  z-index: 5;
}

.cig-background-image img {
  max-width: 50%;
  height: auto;
  display: inline-block;
  cursor: not-allowed;
}

.bottom-image-container {
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 270px;
  overflow: hidden;
  opacity: 0.7;
  z-index: 0;
}

.bottom-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  z-index: 0;
}

.tele-resized {
  position: relative;
  width: 10vw;
  height: auto;
  z-index: 0;
}

img[src="https://joseywails.neocities.org/assets/tele.png"]
{
  width: 12vw;
  height: auto;
  display: block;
  position: relative;

}

form {
  font-family: Georgia, Times New Roman, sans-serif;
  font-size: 1.2em;
  padding-left: 15%;
  padding-top: 5%;
}


input[type="text"],
input[type="email"],
textarea {
  border: none;
  background-image: url("https://joseywails.neocities.org/assets/paper-a.png");
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px;
  margin-bottom: 3px;
  width: 80%;
  color: #333;
}


button,
input[type="submit"],
input[type="button"] {
  background-color: #c0c0c0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 23px;
  padding: 2px 2px 2px 2px;
  border: 2px outset #c0c0c0;
  border-color: #ffffff #808080 #808080 #ffffff;
  outline: none;
  cursor: pointer;
}

input[type="submit"]:active {
  border-style: inset;
  border-color: #808080 #ffffff #ffffff #808080;
}

input[type="submit"]:focus {
  outline: 1px dotted #000;
  outline-offset: 2px;
}

.ml-form-embedSubmit {
  background-color: #c0c0c0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 18px;
  padding-top: 5px;
  border: 2px outset #c0c0c0;
  border-color: #ffffff #808080 #808080 #ffffff;
  outline: none;
  cursor: pointer;
}

.ml-form-fieldRow {
  border: none;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 23px;
  background-image: url("https://joseywails.neocities.org/assets/paper-a.png");
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -30%;
  padding: 0px;
  margin-bottom: 3px;
  width: 80%;
  color: #333;
}

  #toggleBgButton {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    cursor: default;
    outline: none;
    user-select: none;
    transition: transform 0.2s ease-in-out;
    width: 9vw; 
    height: 9vw; 
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat; 
    opacity: 0.5;
    z-index: 2;
  }

  @keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }

  #toggleBgButton:hover {
    animation: wiggle 0.5s ease-in-out 1;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }

.nightmode-container {
  position: absolute;
  display: block;
  top: 1%;
  left: 3%;
}


