/* VARIRABLES */
:root {
    --darkestblue: #121547;
    --darkblue: #1545d2;
    --mediumblue: #00c3ff;
    --lightblue: #9adaff;
    --lightestblue: #c1eaff;
    --greyblue: #96a2af;
    --lightgreyblue: #b6c4d4;
    --placeholderimg: url("media/placeholdersquare.png");
}

/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
    font-family: NormalText;
    src: url("fonts/widepixel.TTF");
}

@font-face {
    font-family: Graffiti1;
    src: url("fonts/Elsone-Regular.otf");
}

@font-face {
    font-family: Graffiti2;
    src: url("fonts/Elsone-Regular.otf");
}

@font-face {
    font-family: PixelGothic;
    src: url("fonts/alagard.ttf");
}

/* MAIN */
* {
    box-sizing: border-box;
}

html {
    height: 1700px;
}

body {
    height: 100vh;
    margin: 0;
    --x: calc(var(--posX, 0) * 1px);
    --y: calc(var(--posY, 0) * 1px);
    background-image: linear-gradient(115deg, #c0dcea, rgb(0 0 0)),
        radial-gradient(90% 100% at calc(50% + var(--x)) calc(0% + var(--y)), #2eaeff, #121547),
        radial-gradient(100% 100% at calc(80% - var(--x)) calc(0% - var(--y)), #faff00, #240000),
        radial-gradient(150% 210% at calc(100% + var(--x)) calc(0% + var(--y)), #37e6ce, #1545d2),
        radial-gradient(100% 100% at calc(100% - var(--x)) calc(30% - var(--y)), #ff4d00, #2eaeff),
        linear-gradient(60deg, black, #5667ff);
    background-blend-mode: overlay, overlay, difference, difference, difference, normal;
}



#site-wrapper {
    /* you're STUCK */
    width: 1000px;
    margin: 0 auto;
}

#title-header {
    width: 100%;
    height: 100px;
    margin: 70px auto 0;
    border: #d3d3d3 ridge 2px;
    border-radius: 5px;
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    position: relative;
}

#scenery-tank {
    background-color: var(--darkblue);
    border: #d3d3d3 outset 2px;
    border-radius: 5px;
    width: 100%;
    height: 300px;
}

#horizontallychallengedmetalbox {
    width: 100%;
    height: 1100px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
}

.sub-header {
    border: var(--darkblue) outset 2px;
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    font-family: PixelGothic;
    color: white;
    font-size: 20px;
    padding: 8px;
    width: 100%;
    height: 40px;
    text-shadow: 1px 1px #121547;
}

.text-divider {
    height: 40px;
    background-color: blue;
    background: linear-gradient();
    padding: 10px;
    color: white;
    font-family: PixelGothic;
    font-size: 20px;
    margin: 30px auto;
}

#footer {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    color: white;
}

/* NAVIGATION */
.tab {
    float: left;
    border: 1px solid #ccc;
    background-color: var(--greyblue);
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tab button {
    display: block;
    background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
    color: white;
    padding: 22px 16px;
    width: 100%;
    text-shadow: 1px 1px #121547;
    font-family: PixelGothic;
    letter-spacing: 1px;
    font-size: 25px;
    font-weight: 1000;
    border: var(--greyblue) outset 2px;
    text-align: right;
    cursor: pointer;
}

.tab button:hover {
    background: linear-gradient(white, white, #b6c4d4 40%, white);
}

.tab button.active {
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    border: var(--darkblue) inset 2px;
}

.tabcontent {
    float: left;
    padding: 0 12px;
    border: 1px solid #ccc;
    width: 75%;
    border-left: none;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
}

/* UPDATE LOG */
#updatelog {
    height: 60%;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
}

#updatelog .text {
    height: 100%;
    display: block;
    overflow-y: scroll;
}

/* LINKS */
#links {
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
}

/* STAMPS/BLINKIES */
@keyframes marquee {
    0% {
  transform: translateX(60%);
}
100% {
  transform: translateX(-110%);
}
}


#stamps-scroll {
    animation: marquee 27s linear infinite;
     display: inline-block;
    width: 1190px;
}

#blinkies-scroll {
    animation: marquee 40s linear infinite;
    display: inline-block;
    width: 3000px;
}

#stamps {
    width: 800px;
    height: 70px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
    overflow: hidden;
}

#blinkies {
    width: 800px;
    height: 27px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
    overflow: hidden;
}

#stampblinkie-container {
    position: absolute;
    bottom: 0;
    margin: 13px auto;
}

/* him */
#eir-dance {
    background-image: url();
}

/* STRAWPAGE COLUMN */
#fanart-container {
    height: 555px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
    margin-top: 30px;
}

#fanart-scroll {
    display: block;
    overflow-y: scroll;
    margin: 5px;
    height: 500px;
}

#fanart-scroll img {
    border: var(--mediumblue) inset 2px;
}

/* FEATURED */
#featured-container {
    height: 250px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
    margin: 30px 0;
    font-size: 10px;
}


/* ABOUT */
.abt-accordion {
    background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
    color: white;
    cursor: pointer;
    text-shadow: 1px 1px #121547;
    font-family: PixelGothic;
    letter-spacing: 1px;
    font-size: 20px;
    border: var(--greyblue) outset 2px;
    padding: 8px;
    width: 100%;
    text-align: left;
}

.active,
.abt-accordion:hover {
    background: linear-gradient(white, white, #b6c4d4 40%, white);
}

.active,
.abt-accordion:active {
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    border: var(--darkblue) inset 2px;
}

.abtpanel {
    padding: 0 10px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-top: hidden;
    border-bottom: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* PROJECTS */
.project-tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.project-tab button {
    background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
    float: left;
    cursor: pointer;
    padding: 8px;
    color: white;
    text-shadow: 1px 1px #121547;
    font-family: PixelGothic;
    letter-spacing: 1px;
    font-size: 20px;
    border: var(--greyblue) outset 2px;
    width: calc(100% / 3);
    height: 40px;
}

.project-tab button:hover {
    background: linear-gradient(white, white, #b6c4d4 40%, white);
}

.project-tab button.active {
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    border: var(--darkblue) inset 2px;
}

.project-tabcontent {
    display: none;
    padding: 10px 12px;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    border-radius: 5px;
    border-top: none;
}

/* GALLERYssss */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
    position: relative;
    background: linear-gradient(white, lightgray);
    border: var(--greyblue) ridge 2px;
    padding: 5px;
}

.gallery-item:hover {
    transform: scale(1.07);
    z-index: 10;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: var(--mediumblue) inset 2px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
    border: var(--greyblue) outset 2px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 3px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image,
.lightbox-video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    color: white;
    text-align: left;
    margin-top: 15px;
    font-size: 16px;
    max-width: 600px;
    line-height: 25px;
    font-family: NormalText;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    z-index: 1001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
    border: var(--greyblue) outset 2px;
    border-radius: 5px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 10px 0 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: linear-gradient(white, white, #b6c4d4 40%, white);
}

.lightbox-nav:active {
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    border: var(--darkblue) inset 2px;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* TEXT */
h1 {
    font-family: Graffiti1;
    display: inline-block;
    font-size: 45px;
    margin: 30px 0 0;
    color: var(--darkestblue);
}

h2 {
    font-family: Graffiti2;
    font-size: 60px;
}

h3 {
    font-family: PixelGothic;
}

p {
    font-family: NormalText;
    line-height: 25px;
    color: var(--darkestblue);
}

i {
    color: darkgray;
}

@keyframes slide {
    0% {
        background-position-x: 0%;
    }
    100% {
        background-position-x: 300vw;
    }
}

a {
    background-size: 300vw 300vw;
    text-align: -webkit-center;
    background: repeating-linear-gradient(-45deg, #121547 10%, #1545d2 20%, #00c3ff 30%, #1545d2 40%, #121547 50%);
    animation: "slide" 50s infinite linear forwards;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    cursor: pointer;
}



/* LANDING */

#mobilefriendlyContainer {
      max-width: 400vw;
      height: 100%;
      margin: 0 auto;
      margin-top: 20px;
      padding: 10px;
}

#confirmationText {
      margin: 0 0.3em 0 0.3em;
      padding: 0.35em 1.2em;
      text-align: center;
}

#decisionButton {
      background: linear-gradient(white, lightgray, #96a2af 40%, lightgray);
      max-width: 400px;
      padding: 0.35em 1.2em;
      border: 0.1em solid #ffffff;
      margin: 0.7rem auto;
      border-radius: 0.12em;
      box-sizing: border-box;
      text-align: center;
      cursor: pointer;
      align-content: center;
    font-family: PixelGothic;
    letter-spacing: 1px;
    font-size: 25px;
}

#decisionButton:hover {
    background: linear-gradient(white, white, #b6c4d4 40%, white);
}

#decisionButton:active {
    background: linear-gradient(white, #00c3ff, #1545d2 40%, #00c3ff);
    border: var(--darkblue) inset 2px;
}