.frag:not(:target) { 
    display: none; 
}

#first:has(~ .frag:target) { 
    display: none; 
}

@font-face {
    src: url("https://file.garden/aZIs8P3ch2qR4upS/whitney-medium.otf");
    font-family: whitney;
}

:root {
    --bg-color: rgba(0, 0, 0, 0);
    --radius-color: rgba(255, 255, 255, 0.32);
    --button: rgba(255, 255, 255, 0.1);
    --heavy-radius-color: rgba(255, 255, 255, 0.5);
    --hr: rgba(255, 255, 255, 0);
    --accent: #7137ff;
}

body {
    background-image: url(https://files.catbox.moe/cybyx7.jpg);
}

a {
    border-radius: 8px;
    color: var(--accent);
    text-decoration-style: wavy;
    transition: 0.2s ease;
}

a:hover {
    font-style: italic;
}

hr {
    background-color: var(--hr);
    border-style: solid;
    border: 0.02em solid var(--button);
}

details {
    font-size: 0.8em;
    margin: 4px 0 4px 0;
}

html {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    font-family: whitney;
    scroll-behavior: smooth;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 200px;
}

li a {
    background-color: transparent;
    color: white;
    display: block;
    text-decoration: none;
    margin: 0 0 16px 0;
    width: 20%;
}

li a:hover {
    font-style: italic;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.introductionRow {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    width: max-width;
}

.introductionColumn {
    display: flex;
    flex-direction: column;
    width: 200px;
    overflow: clip;
}

.card { /* I nabbed this code from i forgot */
    padding: 16px;
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    background: var(--bg-color);
    border: 1px solid var(--radius-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: fit-content;
    color: white;
    height: 500px;
    transition: 0.3s ease;
    scrollbar-color: var(--button) transparent;
}

.scrollable {
    overflow: auto;
    height: 350px;
    width: fit-content;
    max-width: 350px;
    word-wrap: break-word;
}

.card::before {
    border-radius: 24px;
    content: "";
    position: absolute;
    inset: 0;
      /* This gives the "frosted" texture */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 140px 140px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

.card:hover {
    transform: translateY(-10px);
    filter: brightness(106%);
}

#image {
    width: 80px;
    background-position: center;
    background-image: url(https://i.pinimg.com/736x/f0/c8/9f/f0c89fbf9435f3335ef43470b15023d3.jpg);
    height: 80px;
    background-size: cover;
    border: 1px solid var(--heavy-radius-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    border-radius: 24px;
    transition: 0.2s ease;
}

#image:hover {
    transform: translateY(-3px);
    filter: brightness(108%);
}

input[type="file"]::file-selector-button {
    background: var(--button);
    border: 2px solid var(--button);
    border-radius: 16px;
    padding: 4px;
    color: white;
    font-family: whitney;
    transition: 0.2s ease;
}

input[type="file"]  {
    font-family: whitney;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
}

button, input, textarea {
    background: var(--button);
    border: 2px solid var(--button);
    border-radius: 16px;
    padding: 4px;
    margin: 4px 0 4px 0;
    color: white;
    font-family: whitney;
    transition: 0.2s ease;
}

button:hover {
    filter: brightness(85%);
}

#darkModeBtn, #previewBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

width {
    width: 100%;
}

#copyCSS, #copyHTML {
    float: right;
}

#yourText, #yourText2, #yourText3 {
    width: 90%;
    height: fit-content;
    word-wrap: break-word;
    overflow: auto;
}