@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap');
:root {
    --default-font: "'New Tegomin', 'sans-serif'"
}

body {
    display: block;
    background: #111111;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Background effect */

.bg {
  pointer-events: none;
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-animation .2s infinite;
  opacity: .9;
  visibility: visible;
}

@keyframes bg-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

/* --- Background effect --- */

/* --- 404 Page --- */
.error-content {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    pointer-events: none;

}
.error-content img {
    height: auto;
    width: 90px;
}
.error-content p {
    font-family: 'New Tegomin', 'serif';
    color: white;
    font-size: 23px;
    margin-top: 0px;
}

/* --- 404 Page --- */

/* --- Return Button --- */

.return-btn {
    text-decoration: none;
    border: solid 1px white;
    border-width: 6px;
    font-family: monospace;
    font-weight: 500;
    letter-spacing: -0.5px;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 70%,
        80% 100%,
        0 100%
    );
    background: white;
    background-size: 8px;
    color: black;
    position: absolute;
    top: 90%;
    left: 3%;

}

/* --- Return Button --- */

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 40%;
    font-family: 'New Tegomin', 'serif';
    font-size: 60px;
    color: white;
    letter-spacing: 6px;
    width: 100%;
    user-select: none;
}
.logo-container span{
    transition: 0.1s ease;
}
.logo-container span:hover {
    text-shadow:
        0 0 5px white,
        0 0 10px white,
        0 0 20px white;
}

.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 80%;
    font-family: 'New Tegomin', 'sans-serif';
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    user-select: none;
}

.links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 25px;
    letter-spacing: 1px;
    width: 15vh;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Y2K Glow */
.links a:hover {
    text-shadow:
        0 0 5px white,
        0 0 10px white,
        0 0 20px white;
}

.links a::after {
    content: "_";
    margin-left: 6px;
    opacity: 0;
}

.links a:hover::after {
    opacity: 1;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* --- About Page --- */

.about-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    max-height: 40%;
    overflow-y: auto;
    max-width: 25%;
    
}
.about-content {
    position: relative;
    background: white;
    border: solid white 1px;
    font-family: 'New Tegomin', serif;
    color: black;

    overflow: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.about-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('http://assets.iceable.com/img/noise-transparent.png') repeat;
    animation: noise-move .2s infinite;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.about-para {
    padding: 0px 13px 0px 13px;
    text-align: justify;
    text-justify: inter-word;
    position: relative;
    z-index: 1;
}
.about-para span {
    user-select: none;
}
.easter-page {
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
}
.easter-page:hover .lock-tooltip {
    opacity: 1;
    color: red;
}
.lock-tooltip {
    position: absolute;
    top: -12%;
    left: 113%;
    transform: translateX(-50%);
    background: #111111;
    color: white;
    padding: 3px 3px;
    border: none;
    opacity: 0;
    transition: 0.2s ease;
    pointer-events: none;
    overflow: visible;
}


@keyframes noise-move {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

/* --- About Page --- */