/* =========================================================
 *  OLD INTERNET / RETRO WEBSITE
 *  ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;

    margin: 0;
    padding: 0;

    background-color: #080818;
    background-image:
    radial-gradient(circle, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle, #aaaaff 0 2px, transparent 3px),
    radial-gradient(circle, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle, #6666ff 0 1px, transparent 2px);

    animation: moving-background 10s linear infinite;

    background-size:
    90px 90px,
    120px 120px,
    150px 150px,
    180px 200px;

    color: #eeeeee;

    font-family: "Courier New", Courier, monospace;
    font-size: 14px;

    min-height: 100vh;
}

.mein-gif {
    position: absolute;
    top: 530px;
    right: 30px;
    width: 450px;   /* Breite nach Bedarf anpassen */
}

/* =========================================================
 *  LINKS
 *  ========================================================= */

a {
    color: #66ffff;
    text-decoration: underline;
}

a:visited {
    color: #aaaaff;
}

a:hover {
    color: #ffff66;
    text-decoration: none;
}


/* =========================================================
 *  MAIN PAGE
 *  ========================================================= */

.page {
    width: 900px;
    max-width: calc(100% - 30px);

    margin: 25px auto;

    background-color: #17172f;

    border: 4px ridge #8888cc;

    box-shadow:
    6px 6px 0 #000000,
    0 0 20px #000000;
}


/* =========================================================
 *  HEADER
 *  ========================================================= */

header {
    background-color: #202060;

    background-image:
    linear-gradient(
        to bottom,
        #303080 0%,
        #202060 45%,
        #151545 100%
    );

    border-bottom: 4px ridge #8888cc;

    padding: 18px;

    text-align: center;
}

header h1 {
    margin: 0;

    color: #ffff66;

    font-size: 28px;
    font-weight: bold;

    text-shadow:
    2px 2px 0 #000000;
}

header p {
    margin: 8px 0 0;

    color: #66ffff;

    font-size: 13px;
}


/* =========================================================
 *  LAYOUT
 *  ========================================================= */

.layout {
    display: grid;

    grid-template-columns: 190px 1fr;

    min-height: 500px;
}



/* =========================================================
 *  SIDEBAR
 *  ========================================================= */

aside {
    background-color: #111125;

    border-right: 4px ridge #7777aa;

    padding: 12px;
}

aside h2 {
    margin: 0 0 12px;

    padding: 6px;

    background-color: #252545;

    color: #ffff66;

    border: 2px outset #777799;

    font-size: 15px;

    text-align: center;
}

aside nav {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

aside a {
    display: block;

    padding: 7px 8px;

    background-color: #202040;

    color: #66ffff;

    border: 2px outset #7777aa;

    text-decoration: none;

    font-weight: bold;
}

aside a:hover {
    background-color: #333366;

    color: #ffff66;

    border-color: #aaaadd;
}

aside a:active {
    border-style: inset;
}


/* =========================================================
 *  SIDEBAR BOXES
 *  ========================================================= */

.sidebar-box {
    margin-top: 15px;

    padding: 10px;

    background-color: #191932;

    border: 2px ridge #666699;

    font-size: 12px;
}

.sidebar-box h3 {
    margin: 0 0 7px;

    color: #ffff66;

    font-size: 13px;
}

.sidebar-box p {
    margin: 5px 0;

    line-height: 1.4;
}


/* =========================================================
 *  MAIN CONTENT
 *  ========================================================= */

main {
    background-color: #191932;

    padding: 20px;
}

.page-section {
    display: block;
}

.page-section.hidden {
    display: none;
}


/* =========================================================
 *  BOXES
 *  ========================================================= */

.box {
    margin: 0 0 20px;

    padding: 15px;

    background-color: #222240;

    border: 3px ridge #7777aa;

    box-shadow:
    3px 3px 0 #080810;
}

.box:last-child {
    margin-bottom: 0;
}

.box h2 {
    margin: -2px -2px 15px;

    padding: 7px;

    background-color: #292955;

    color: #ffff66;

    border: 2px outset #777799;

    font-size: 18px;
}

.box h3 {
    color: #66ffff;

    font-size: 15px;
}

.box p {
    line-height: 1.6;
}

.box ul {
    line-height: 1.7;
}


/* =========================================================
 *  HOME
 *  ========================================================= */

.welcome {
    text-align: center;
}

.welcome h2 {
    text-align: center;
}

.welcome .big-text {
    color: #66ffff;

    font-size: 16px;
    font-weight: bold;
}



/* =========================================================
 *  ABOUT ME
 *  ========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 20px;

    align-items: start;
}

.about-image {
    width: 150px;
    height: 150px;

    object-fit: cover;

    border: 3px ridge #7777aa;

    background-color: #111125;
}


/* =========================================================
 *  LINKS
 *  ========================================================= */

.link-list {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 10px 0;
}

.link-list a {
    display: block;

    padding: 8px 10px;

    background-color: #202040;

    border: 2px outset #7777aa;

    color: #66ffff;

    text-decoration: none;
}

.link-list a:hover {
    background-color: #333366;

    color: #ffff66;
}


/* =========================================================
 *  OLD INTERNET BUTTONS
 *  ========================================================= */

.retro-button {
    display: inline-block;

    padding: 6px 12px;

    background-color: #303050;

    color: #66ffff;

    border: 2px outset #8888aa;

    font-family: "Courier New", monospace;

    text-decoration: none;

    cursor: pointer;
}

.retro-button:hover {
    background-color: #444466;

    color: #ffff66;
}

.retro-button:active {
    border-style: inset;
}


/* =========================================================
 *  STATUS / INFO
 *  ========================================================= */

.status {
    padding: 7px 10px;

    background-color: #101020;

    border: 2px inset #666688;

    color: #66ff66;

    font-size: 12px;
}

.status::before {
    content: "● ";

    color: #66ff66;
}


/* =========================================================
 *  DIVIDERS
 *  ========================================================= */

hr {
    border: none;

    border-top: 2px dotted #666699;

    margin: 15px 0;
}


/* =========================================================
 *  TEXT EFFECTS
 *  ========================================================= */

.blink {
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.rainbow-text {
    background: linear-gradient(
        90deg,
        #ff6666,
        #ffff66,
        #66ff66,
        #66ffff,
        #6666ff,
        #ff66ff
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* =========================================================
 *  MUSIC PLAYER
 *  ========================================================= */

/*
 *  Der Player befindet sich in einem iframe.
 *  Deshalb wird sein INNERES nicht von dieser CSS-Datei
 *  gesteuert.
 *
 *  Diese Regeln positionieren nur den iframe selbst.
 */

.music-frame {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 450px;
    height: 400px;

    margin: 0;
    padding: 0;

    border: none;

    background: transparent;

    z-index: 9999;

    display: block;
}


.home-side-gifs {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 450px;
    height: 400px;

    margin: 0;
    padding: 0;

    border: none;

    background: transparent;

    z-index: 9999;

    display: block;
}


/* =========================================================
 *  gifs
 *  ========================================================= */



/* =========================================================
 *  button-marquee
 *  ========================================================= */

.web-button-marquee {
    position: absolute;
    top: 425px;
    right: 15px;

    width: 450px;
    height: 80px;

    overflow: hidden;

    background: #101020;
    border: 4px ridge #7777aa;
}

.other-sites-title {
    height: 23px;
    padding-top: 3px;

    background: #292955;
    color: #ffff66;

    text-align: center;
    font-family: "Courier New", monospace;
    font-size: 13px;
    font-weight: bold;
}

.web-button-track {
    display: flex;
    align-items: center;

    width: max-content;
    height: 48px;

    animation: web-buttons 15s linear infinite;
}

.web-button-track a {
    flex-shrink: 0;
    margin: 0 6px;
}

.web-button-track img {
    width: 88px;
    height: 31px;
    display: block;
    image-rendering: pixelated;
}

@keyframes web-buttons {
    from {
        transform: translateX(300px);
    }

    to {
        transform: translateX(-100%);
    }
}


.web-button-track {
    display: flex;
    align-items: center;

    width: max-content;
    height: 48px;

    animation: web-buttons 20s linear infinite;
}

.web-button-track a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 48px;
    flex-shrink: 0;
}

.web-button-track img {
    width: 88px;
    height: 31px;
    display: block;
    image-rendering: pixelated;
}

@keyframes web-buttons {
    from {
        transform: translateX(600px);
    }

    to {
        transform: translateX(-100%);
    }
}

/* =========================================================
 *  MY WEBSITE BUTTON
 *  ========================================================= */

.my-button {
    width: 180px;
    height: 55px;

    margin: 15px auto;

    background: linear-gradient(
        to bottom,
        #303080,
        #151545
    );

    border: 3px ridge #8888cc;

    color: #ffffff;

    text-align: center;

    font-family: "Courier New", monospace;

    cursor: pointer;

    box-shadow:
    3px 3px 0 #000000;
}

.button-title {
    padding-top: 5px;

    color: #ffff66;

    font-size: 19px;

    font-weight: bold;

    text-shadow:
    2px 2px 0 #000000;
}

.button-text {
    margin-top: 3px;

    color: #66ffff;

    font-size: 10px;

    font-weight: bold;
}

.my-button:hover {
    filter: brightness(1.3);
}

.my-button:active {
    border-style: inset;
}

/* =========================================================
 *  WEBRING
 *  ========================================================= */

.center {
    text-align: center;
}

.center b {
    color: #ffff66;
}

.center small {
    color: #8888aa;
}

/* =========================================================
 *  UNDER CONSTRUCTION
 *  ========================================================= */

.construction {
    margin-top: 20px;
    padding: 15px;

    background-color: #222240;

    border: 3px ridge #ffff66;

    color: #ffff66;

    text-align: center;

    font-weight: bold;

    box-shadow:
    3px 3px 0 #080810;
}

.construction span {
    display: inline-block;

    margin-top: 8px;

    padding: 5px 10px;

    background-color: #101020;

    border: 2px inset #666688;

    color: #66ff66;

    font-family: "Courier New", monospace;

    font-size: 16px;

    letter-spacing: 1px;
}

/* =========================================================
 *  PAGE TRANSITION
 *  ========================================================= */

   main {
      opacity: 1;
      transition: opacity 0.25s ease;
  }

   main.page-fade-out {
      opacity: 0;
  }

   main.page-fade-in {
       opacity: 1;
   }


/* =========================================================
 *  FOOTER
 *  ========================================================= */

footer {
    padding: 15px;

    background-color: #0d0d1c;

    border-top: 4px ridge #7777aa;

    color: #8888aa;

    text-align: center;

    font-size: 11px;
}

footer a {
    color: #66ffff;
}


/* =========================================================
 *  WEBMASTER / OLD WEB STUFF
 *  ========================================================= */

.webmaster {
    margin-top: 10px;

    color: #8888aa;

    font-size: 10px;
}

.best-viewed {
    color: #ffff66;

    font-size: 10px;
}


/* =========================================================
 *  SCROLLBARS
 *  ========================================================= */

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background-color: #111125;

    border-left: 2px solid #555577;
}

::-webkit-scrollbar-thumb {
    background-color: #444466;

    border: 2px outset #777799;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555577;
}


/* =========================================================
 *  SELECTION
 *  ========================================================= */

::selection {
    background-color: #6666aa;

    color: #ffff66;
}


/* =========================================================
 *  MOBILE
 *  ========================================================= */

@media (max-width: 750px) {

    .page {
        position: relative;
        max-width: calc(100% - 10px);

        margin: 5px auto;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    aside {
        border-right: none;

        border-bottom: 4px ridge #7777aa;
    }

    aside nav {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

    main {
        padding: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .music-frame {
        top: 10px;
        right: 10px;

        width: 260px;
        height: 360px;
    }
}


/* =========================================================
 *  VERY SMALL SCREENS
 *  ========================================================= */

@media (max-width: 500px) {

    header h1 {
        font-size: 21px;
    }

    .music-frame {
        width: 240px;
        height: 340px;

        top: 5px;
        right: 5px;
    }

    aside nav {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
 *  moving background
 *  ========================================================= */

@keyframes moving-background {

    from {
        background-position:
        0 0,
        0 0,
        0 0,
        0 0;
    }

    to {
        background-position:
        -90px 90px,
        -120px 120px,
        -150px 150px,
        -180px 200px;
    }

}
/* =========================================
 *  DONATION BOX
 *  ========================================= */

.donation-box {
    position: absolute;

    top: 900px;
    left: 20px;

    width: 450px;

    box-sizing: border-box;

    text-align: center;

    color: #ffd700;
}


/* Überschrift */

.donation-box h2 {
    color: #ffd700;

    text-shadow:
    1px 1px 0 #000,
    0 0 5px #ffd700;
}


/* Text */

.donation-box p {
    color: #ffd700;
}

.donation-image {
    display: flex;

    width: 180px;
    height: 100px;

    margin: 15px auto;

    background: #ffd700;

    border: 4px ridge #fff0a0;

    box-shadow: 3px 3px 0 #000;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    cursor: pointer;

    text-decoration: none;
}


/* PNG */

.donation-image img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* Hover */

.donation-image:hover {
    background: #ffe44d;

    border-color: #ffffff;

    filter: brightness(1.1);
}


/* Gedrückt */

.donation-image:active {
    border-style: inset;

    box-shadow: none;

    transform: translate(2px, 2px);
}


/* =========================
 *  CHAT
 *  ========================= */



.chat-box {
    position: absolute;
    top: 282px;
    left: 20px;
    width: 450px;
    box-sizing: border-box;
}

.chat-messages {
    height: 450px;
    overflow-y: auto;
    padding: 10px;
    background: #101020;
    border: 2px inset #666688;
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.chat-message {
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 1px dotted #444466;
    color: #ffffff;
}

.chat-user {
    color: #ffff66;
    font-weight: bold;
}

.chat-time {
    color: #777799;
    font-size: 10px;
}

.chat-form {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.chat-form input {
    box-sizing: border-box;
    padding: 7px;
    background: #101020;
    border: 2px inset #666688;
    color: #ffffff;
    font-family: "Courier New", monospace;
}

#chat-username {
width: 50px;
}

#chat-message {
flex: 1;
}

.chat-form button {
    padding: 7px 12px;
    background: #292955;
    border: 2px ridge #8888cc;
    color: #ffff66;
    font-family: "Courier New", monospace;
    font-weight: bold;
    cursor: pointer;
}

.chat-form button:hover {
    filter: brightness(1.3);
}

.chat-form button:active {
    border-style: inset;
}

.emoji-container {
    position: relative;
    flex-shrink: 0;
}

.emoji-button {
    width: 38px;
    height: 34px;
    padding: 0;
    background: #292955;
    border: 2px ridge #8888cc;
    color: #ffff66;
    font-family: "Courier New", monospace;
    font-size: 20px;
    cursor: pointer;
}

.emoji-button:hover {
    filter: brightness(1.3);
}

.emoji-button:active {
    border-style: inset;
}

.emoji-menu {
    display: none;
    position: absolute;
    bottom: 38px;
    left: 0;
    width: 210px;
    padding: 6px;
    background: #101020;
    border: 3px ridge #8888cc;
    box-shadow: 3px 3px 0 #000000;
    z-index: 10000;
}

.emoji-menu.show {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
}

.emoji-menu button {
    width: 38px;
    height: 32px;
    padding: 0;
    background: #202040;
    border: 1px ridge #666688;
    cursor: pointer;
    font-size: 18px;
}

.emoji-menu button:hover {
    background: #292955;
    border-color: #ffff66;
}

/* =========================================
 *  UPDATES PREVIEW LINK
 *  ========================================= */


.updates-link {
    display: block;

    color: #ffff66; /* GELB normal */
    text-decoration: none;
}

.updates-preview {
    cursor: pointer;
}

.updates-preview:hover {
    color: #66ffff; /* BLAU beim Hover */
    filter: brightness(1.2);
}

/* =========================================
 *  UPDATES PAGE
 *  ========================================= */

#updates .box {
background-color: white !important;
color: black !important;

border: 3px solid black;
padding: 15px;
margin-bottom: 20px;
}


/* Überschriften */

#updates .box h2 {
background-color: navy !important;
color: white !important;

padding: 8px;
margin-top: 0;
}


/* Datum */

#updates .box p b {
background-color: yellow;
color: black;

padding: 4px 8px;
}


/* NEUESTES UPDATE */

#updates .box:first-child {
border: 4px solid gold !important;
}


#updates .box:first-child h2 {
background-color: gold !important;
color: black !important;
}

/* =========================================
 *  dailylive
 *  ========================================= */

/* =========================================
 *  animegames
 *  ========================================= */
