@font-face {
    font-family: POTI;
    src: url(fonts/kingscross/KINGC___.TTF);
}

/* html.is-animating #swup {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
  }
  
#swup {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
} */

html.is-changing .transition-main, html.is-changing .transition-header {
    transition: all 200ms ease-in-out;
}
  
html.is-animating .transition-main {
    /* filter: blur(1rem); */
    opacity: 0;
}

html.is-animating .transition-header {
    opacity: 0;
    transform: translateX(-10px);

}

img {
    max-width: 300px;
}

#playBtn {
    border: 1px solid black;
    width: fit-content;
    padding: 3px;
    cursor: pointer;
}

#playBtn:hover {
    background-color: rgb(129, 129, 129);
}

audio {
    position: fixed;
  top: 5px;
  right: 5px;

}

.editLink {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}




/* ///////////////  CHAT  /////////////// */


.chatpage iframe {
    width: 100%;
  height: 100%;
    flex: 1;
}

body#html-body.chatpage {
    margin: 0;
    padding: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: black;
}

body:has(#messages), .chatpage {
    background-color: black;
    padding: 1rem;
      padding-top: 1rem;
    padding-top: 0rem !important;
    color: red;
}

#messages li {
    border: 1px solid #252525;
    border-radius: 5px;
    padding: 5px !important;
    width: fit-content;
    margin: 0.6rem !important;
 }

.chatpage h1 {
    text-align: center;
    font-family: "POTI";
}

ul#messages {
    background-color:red;
    color: white;
}

ul#messages li small {
    color: black !important;
  }