[data-theme=default] {
  --bg-color: #000100;
  --bg-img: url("../images/bg_space.jpg");
  --floor: url("../images/infini_site_floor.png");
}


[data-theme=light] {
  --floor: url("../images/infini_site_floor_sky.png");


  #project-list {
    background-image: var(--main-bg);
  }
}

[data-theme=vhs] {
  .welcome-desc, .updates {
    border-radius: 0;
    border: 5px solid rgb(223, 223, 223);
  }

}

[data-theme=console] {
}


[data-theme=hypnos] {
  .projects, .writing-entry {
    --main-bg: transparent;
  }
}

[data-theme=bliss] {
  --text-color: #222222;
  --surface: #c0c0c0;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
  --dialog-blue: #000080;
  --dialog-blue-light: #1084d0;
  --dialog-gray: #808080;
  --dialog-gray-light: #b5b5b5;
  --link-blue: #0000ff;

  --bg-img: url(../images/bliss.jpg);
  --bg-repeat: no-repeat;
  --bg-size: cover;
  --bg-attach: fixed;
}

* {
  box-sizing: border-box;
}
.img-stampbook-header:hover {
  transform: translate(-50%, -50%) scale(1.1);
}


body {
  margin: 0;
  color: var(--text-color);
  font-family: var(--default-font)
}
p {  
  font-size: var(--font-size);
}

h1 {
  font-size: var(--header-size);
}
.header,
.footer {
  display: flex;
  /*background-color: rgba(30, 143, 255, 0.308);*/
  min-height: 250px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.header {
  padding-top: 10px;

}

.footer p {
  padding: 0;
  margin: 0;
}

.main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 75%;
  margin: auto;
}

.column {
  /* background-color: var(--bg-color);
			background-image: url(../images/black_paper.jpg); */
  margin: .25em;
  padding: .25em;
  text-align: center;
  width: 25%;
}

.column p {

  text-align: justify;
  text-align-last: center;
}

.column,
.middle-column {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
}


.middle-column {
  width: 50%;
  background-size: 100% 100%;
}

.row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

h2,
h3 {
  margin: 0;
}

.updates-art {
  transition: .5s;
  transition-property: transform;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 50%;
}

.header-latest-art {
  max-width: 100%;
}

.updates-art-frame {
  max-width: 75%;
  height: auto;
  background-size: 100% 100%;
  border-image-slice: 210 215 205 220;
  border-image-width: 30px 30px 30px 30px;
  border-image-outset: 30px 30px 30px 30px;
  border-image-repeat: stretch stretch;
  border-image-source: url(../images/picture_frame.png);
  margin-bottom: 2rem;
  margin: auto;
}

#link-to-me-area {
  width: 11rem;
  height: 3rem;
  margin: .5rem;
}

.updates-writing {
  position: relative;
  align-items: center;
  flex: 60%;
}

.writing {
  width: 100%;
}

.writing-entry {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background: var(--main-bg);
}

.writing-entry li {
  padding: .4rem;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 1rem;
}

.writing-entry li a:nth-child(1) {
  flex-basis: 20%;
}

.writing-entry li a:nth-child(2) {

  flex-basis: 80%;
}

.writing-entry-prev {
  width: 3rem;
  height: 3rem;
}

.writing-entry li:nth-child(even) {
  background-color: var(--alt-1);
}

.writing-entry li:nth-child(odd) {
  background-color: var(--alt-2);
}

.header-cont {
  position: relative;
  width: 500px;
  height: 200px;
}


.full-header-logo {
  width: 90%;
}
.header-logo {
  width: 8rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  top: 1rem;
  left: 50%;
  z-index: 20;
}

.img-starburst {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  top: 1rem;
  left: 50%;
}

.img-hub {
  position: absolute;
  z-index: 20;
  right: -3rem;
  bottom: -.5rem;
  width: 4.5rem;
}

.img-stampbook-header,
.quizbox-header,
.header-latest-art,
.header-latest-writing {
  filter: drop-shadow(2px 2px 2px black);
}

.img-stampbook-header {
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: .2s;
}

.img-stamp {
  max-width: 50%;
  margin: auto;
}

.header-webrings {}

.stampbook-container {
  display: flex;
  position: relative;
  text-align: center;
}

.imood-tv {
  position: absolute;
  width: 8.5rem;
  height: 9.5rem;
  bottom: -3rem;
  right: -3rem;
  z-index: 30;
  font-family: 'Courier New', Courier, monospace;
  font-size: .7em;
  background-image: url(../images/tv.png);
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 2.5em;
  transform: rotate(4deg);
}

.imood-tv-text {
  padding-bottom: .1em;
  color: white !important;
}

.imood-tv-text img {
  width: 100%;
  height: auto;
  image-rendering: -moz-crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

.imood-text {
  text-align: center !important;
  margin: 0;
  padding: 0;
  color: var(--theme-color-5);

}

.img-whats-new {
  position: absolute;
  width: 7rem;
  top: -2rem;
  left: -2rem;
  transform: rotate(14deg);
  z-index: 20;
}

.img-pencil {
  position: absolute;
  width: 8rem;
  transform: rotate(40deg);
  z-index: 20;
  top: 0;
  right: -2rem;
}

.img-logo {
  max-width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  top: 0rem;
  z-index: 20;
}

.header-welcome {
  width: 90%;
}

.welcome-desc {
  padding: .75rem 1rem;
  background-color: var(--main-bg);
  background-image: var(--main-bg), url(https://mymoroccantile.com/cdn/shop/products/checker-mosaic-tilemosaic-tile-471847.png?v=1741317052);
  background-size: 95% 95%, 50%;
  background-repeat: no-repeat, repeat;
  background-position: center;
  border: .3rem outset rgb(42, 53, 38);
  width: 12rem;
  height: auto;
  margin: .5rem auto auto auto;
}

.updates {
  position: relative;
}

.updates-field {
  margin: auto;
  z-index: 10;
  position: relative;
  padding: 2em;
  background: var(--main-bg);
  border-radius: 20%;
  border-top: 6px var(--theme-color-1) double;
  border-bottom: 6px var(--theme-color-3) double;
  border-left: 3px var(--theme-color-2) dotted;
  border-right: 3px var(--theme-color-2) dotted;
}

[data-theme="hypnos"] .updates-field,
[data-theme="bliss"] .updates-field,
[data-theme="aero"] .updates-field {
  padding: .5rem;
}

[data-theme="default"] #project-list,
[data-theme="light"] #project-list  {
  border-image-slice: 25 25 25 25;
  border-image-width: .5rem .5rem .5rem .5rem;
  border-image-outset: 5px 5px 5px 5px;
  border-image-repeat: stretch stretch;
  border-image-source: url("../images/paper_background.jpg");
  border-style: solid;
  box-shadow: 1rem 1.6rem 0px rgba(0, 0, 0, 0.3),
    inset 20px 15px .5rem rgba(0, 0, 0, .2);
}

[data-theme="baba"] #project-list{
  border-radius: 3rem;

}

#project-list {
  background-size: 100% 100%;
  background: var(--main-bg);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
}

#project-list li {
  margin: 1rem;
  text-align: center;
  font-size: 1.2rem;
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#project-list li:nth-child(even) {
  transform: rotate(3deg) translateY(10px);
}

#project-list li:nth-child(odd) {
  transform: rotate(-3deg);
}

#project-list li img {
  display: block;
  margin: auto;
  max-height: 6rem;
}

.header-projects {
  width: 60%;
  margin: auto;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.header-socials {
  width: 80%;
  margin: auto;
  margin-top: 3rem;
  margin-bottom: 1rem;

}
#socials-list {
  list-style-type: none;
  margin: 0;
  margin-top: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#socials-list li img {
  max-height: 3rem;
}

.updates-field ul {
  padding-left: 10px;
  padding-right: 10px;
  list-style-type: "◆";
}

.updates-field ul li {
  margin: 10px;
  padding-left: 20px;
}

.updates-field ul li:nth-child(1n)::marker {
  color: var(--theme-color-1);
}

.updates-field ul li:nth-child(2n)::marker {
  color: var(--theme-color-2);
}

.updates-field ul li:nth-child(3n)::marker {
  color: var(--theme-color-3);
}

.updates-field-text {
  max-height: 400px;
  overflow-y: scroll;
}
.updates-field-text p {
  
  text-align: left;
  text-align-last: left;
}

.updates-field-date {
  display: inline-block;
  background-color: var(--theme-color-1);
}

.quizbox {

  justify-content: center;
}


.quizbox-header {
  background-image: url(../images/cardboard_border.png), url(../images/box.png);
  background-size: 75% 60%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 20;
  transition: .2s;
}

.quizbox-header-img {
  width: 75%;
  height: auto;
}

.container {
  position: relative;
  overflow: hidden;
  min-height: 150vh;
}

.main-body {
  position: relative;
  z-index: 100;
}

.bg-floor {
  position: absolute;
  background-image: var(--floor);
  background-size: cover;
  height: 600px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.bg-element {
  height: 800px;
  z-index: 9;
  mix-blend-mode: lighten;
  position: absolute;
  bottom: 200px;
  right: 0;
  left: 0;
  width: 100%;
}

/* Header */
.header-button-scroll {
  width: 100%;
}

.header-button-scroll-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  margin-top: 1rem;
}

.header-button-scroll-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: .1s;
  position: relative;
}

.header-button-scroll-list li:nth-child(even) {
  transform: rotate(3deg);
}

.header-button-scroll-list li:nth-child(odd) {
  transform: rotate(-3deg);
}

.header-button-scroll-list li:hover {
  transform: scale(1.2);
  z-index: 10000;
  filter: brightness(1.2) drop-shadow(white 0px 0px 10px);
}

.header-button-scroll-list li:active {
  transform: scale(1.2);
  z-index: 10000;
  filter: brightness(1.4);
}
.header-updates {
  width: 55%;
}
.block {
  position: relative;
}
.webrings {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-top: 3rem;
  align-items: center;
}

#webrings-list,
#project-list {
  list-style-type: none;
}

#webrings-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}

#webrings-list li {
  display: flex;
  justify-content: center;
}

#originalhearts {
  width: 10rem !important;
  margin: auto;
}

.post-it {
  background-image: url(../images/post_it.png);
  width: 150px;
  height: 150px;
  background-size: 100% 100%;
  display: flex;
  transform: perspective(400px) rotateY(25deg) rotateX(-4deg) rotateZ(-20deg);
  right: -80px;
  top: -20px;
  position: absolute;
  z-index: 99999;
}

.post-it-text {
  overflow-y: scroll;
  margin: auto;
  padding: 5px;
  font-size: small;
  margin-top: 40px;
  max-height: 75%;
  color: rgb(71, 42, 29) !important;
}

.post-it-text ul {
  text-align: left;
}

#audio-player-container {
  /* position: absolute; */
  z-index: 999;
  right: -368px;
  top: 141px;
  display: flex;
  gap: 5px;
  width: 250px;
  align-content: center;
  transform: rotate(-5deg);
}

#song-name-output {

  white-space: nowrap;
}

#song-label {
  font-size: smaller;
}

#transring {
  justify-content: center;
}

.music {
  position: relative;
  padding: 0;
}

.music, .webrings {  
  margin-top: 5rem;
}

.audio-player-container-column {
  width: 80%;
  align-content: center;
}

.audio-player-container-column:nth-child(1) {
  align-content: center;
  z-index: 9998;
  position: relative;
}

.audio-player-container-column:nth-child(2) {
  position: absolute;
  font-size: smaller;
  transform: perspective(400px) rotateY(15deg) rotateX(2deg);
  border-radius: 20px;
  padding: 10px;
  right: -110px;
  width: 250px;
  z-index: 9997;
}

#audio-icon {
  cursor: var(--cursor-hover);
}

#audio-icon:active {
  transform: scale(1.05);
}

#audio {
  max-width: 100%;
  display: none;
}

#audio-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  font-size: smaller;
  background-color: rgba(28, 0, 128, 0.384);
  border: 1px lavender solid;
  border-radius: 20px;
  margin: auto;
  margin-top: 5px;
  max-height: 100px;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
  z-index: 9999;
  position: relative;
}

#audio-list li {
  padding: 2px;
}

#audio-list li:hover {
  cursor: var(--cursor-hover);
  background-color: rgba(207, 75, 185, 0.336) !important;
  color: white;
}

input[type="color"] {
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;

}

.selected-audio {
  background-color: var(--theme-color-1) !important;
  color: yellow;
  font-weight: bold;
}

#volume-container {
  display: flex;
  width: 20px;
  gap: 5px;
  flex-direction: column;
}

.audio-panel {
  display: flex;
  flex-direction: row;
  max-height: 100px;
  width: 65%;
  gap: 5px;
  margin: auto;
}

#volume-slider {
  width: 100%;
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: slider-vertical;
  width: 16px;
  vertical-align: bottom;
  height: 75px;
}

#volume-output {
  display: inline-block;
  text-align: center;
  width: 20%;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 768px) {

  .header-cont {
    max-width: 100%;
  }

  .img-logo {
    transform: translate(-50%, 10%);
    -ms-transform: translate(-50%, 10%);
    -webkit-transform: translate(-50%, 10%);
    top: 1rem;
    max-width: 90%;
  }

  #audio-player-container {
    position: relative;
    max-width: 100%;
    right: 0;
    top: 0;
    display: none;
  }

  .welcome-desc {
    padding-left: 30px;
    padding-right: 30px;
    transform: none;
    margin-top: none;
  }

  .img-hub {
    right: -10px;
  }

  .column,
  .middle-column {
    flex: 100%;
    width: 100%;
  }

  .main {
    flex-direction: column;
    padding: 0;
  }

  .img-stampbook-header,
  .header-projects,
  .header-latest-writing,
  .header-updates
  {
    width: 100%;
  }

  .row {
    flex: 100%;
    width: 100%;
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {

  body {}

  .main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 80%;
    margin: auto;

    font-size: .5rem;
  }

}

@media (min-width: 991.98px) and (max-width: 1200px) {

  .main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
    margin: auto;
  }

}