/* FONTS */

@font-face {
  font-family: ms-sans-serif;
  src: url(https://dl.dropbox.com/s/ngpec1t1x4ceksb/ms-sans-serif.ttf);
}

@font-face {
  font-family: rascal;
  src: url("/src/fonts/RASCAL_.TTF");
}

@font-face {
  font-family: 'Lexend Mega Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/lexend-mega:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* COLORS */

:root {
    --color-pink: #ff5cb8;
    --color-light-pink: rgb(255, 209, 243);
    --color-purple: rgb(218, 85, 222);
    --color-light-purple: #d17eb6;
    --color-grey-black: #3e3d3e;
}

/* GENERAL */

html {
  overflow-x: hidden;
  scrollbar-color: var(--color-light-pink) rgba(255, 255, 255, 0);
}

body {
  background-size: cover, auto;
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-grey-black);
}

h1, h2, h3 {
  font-family: rascal;
}

h2 {
  font-size: 1.7em;
}

p {
  margin: 0;
  font-size: clamp(0.7rem, 3vw, 0.7rem); 
  font-family: Lexend Mega Variable;
}

a {
  color: var(--color-pink);
  text-shadow: 0px 0px 1px var(--color-pink), 0px 0px 6px var(--color-pink);
  cursor: pointer;
  transition: 0.5s;
  z-index: 15;
  text-decoration: none;
}

a:hover {
  text-shadow: 0px 0px 1px var(--color-pink), 0px 0px 6px var(--color-pink);
  letter-spacing: 4px;
}

h1::selection, h2::selection, h3::selection, p::selection, br::selection, a::selection, button::selection, div::selection {
    text-shadow: 0px 0px 1px var(--color-pink), 0px 0px 8px var(--color-pink);
    background-color: transparent;
}

img {
  -o-object-fit: contain;
     object-fit: contain;
  image-rendering: pixelated;
}

img::selection {
  background-color: var(--color-light-pink);
}

strong {
  font-weight: bold;
}

strong.lightbold {
  font-weight: bold;
  text-shadow: 0px 0px 2px var(--color-pink);
}

small {
  font-size: 0.8em;
}

ul {
  list-style-type: none;
  padding-inline-start: 0px;
}

li {
  padding: 0.3em;
}

.exclamation {
  display: inline-block;
  animation: jerky 0.3s infinite;
}

.bounce {
  position: relative;
  top: 0;
  animation: bounce 0.3s ease infinite alternate;
}

.smilies {
  vertical-align: text-bottom;
  height: 1.2em;
}

.divider {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}

.box {
  background-color: rgba(255, 255, 255, 0.7);
  border: ridge 5px var(--color-light-pink);
  /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}

.underline {
  text-decoration: underline;
}

.video {
  position: relative;
  height: 100%;
}
.video iframe {
  height: 100%;
  width: 100%;
}


.pop-image {
    position: relative;
    cursor: help;
    text-shadow: 0px 0px 1px var(--color-purple), 0px 0px 1px var(--color-purple);
}

.pop-image img {
    position: fixed; 
    pointer-events: none; 
    display: none; 
    width: 250px; 
    height: auto;
    border: 2px solid var(--color-light-pink);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999; 
}


/* ANIMATIONS */

@keyframes jerky {
  0% {
    transform: rotate(8deg);
  }

  50% {
    transform: rotate(8deg);
  }

  51% {
    transform: rotate(-8deg);
  }

  100% {
    transform: rotate(-8deg);
  }
}

@keyframes bounce {
  100% {
    top: -.50rem;
  }
}

@keyframes defilement {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

 
@keyframes shake {
  0% {
  transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
  transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
  transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
  transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
  transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
  transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
  transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
  transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
  transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
  transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
  transform: translate(1px, -2px) rotate(0deg);
  }
}

