* { margin: 0; }
html, body { height: 100%; overflow: hidden; }
:root {
    --bright: #e58ce8;
    --veybright: #fdccfe;
    --dark: #4b0082;
    --verydark: #35005a;
    --shadow: rgba(77, 9, 101, 0.425);
}
header {
    font-family: "Xanh mono";
    position: fixed;
    top: 2em;
    right: -20em;
    z-index: 1001;
    background: white;
    box-shadow: 0px 0px 19px var(--shadow), 0px 0px 19px var(--shadow),0px 0px 19px var(--shadow);
    padding: .25em .5em;
    border-radius: .25em;
    transition: right 500ms 1s;
}
.end header {
  right: 2em;
}
header a:hover, header a:focus, header a.active { color: var(--veybright); outline: none;}
h1 {
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    gap: .5em;
    cursor: grab;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-items: center;
}
h1 strong { 
    font-size: 2em;
    line-height: 1;
    height: .5em;
}
h1 button { 
    font-family: "Xanh mono";
    text-transform: uppercase;
    padding: 0 .5em;
    background: var(--dark);
    color: var(--bright);
    border: none;
    border-radius: .25em;
    cursor: pointer;
    display: flex;
  place-content: center;
  letter-spacing: .05em;
  font-size: 1.15em;
}



#index {
    position: fixed;
    z-index: 100;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s;
}
#index::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--shadow);
}

#index.showall {
    pointer-events: all;
    opacity: 1;
}
#index.showall::before {
    opacity: .6;
}

#index a {
    color: currentColor;
    display: block;
    text-decoration: none;
    position: fixed;
    top: calc(var(--t) * 1px);
    left: calc(var(--l) * 1px);
    opacity: 0;
    pointer-events: none;
    transition: all 250ms;
    border-radius: .25em;
}

#index.showall a {
    pointer-events: all;
    opacity: 1;
    background: white;
    box-shadow:  10px 5px 5px var(--shadow);
    padding: .1em .25em;
}

#iframe{
    border: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;  
}