@charset "utf-8";

/* =====================================
   GLOBAL SETTINGS
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: #1f1f1f;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1920px;
    margin: auto;
}

/* =====================================
   HEADER
===================================== */

header {
    text-align: center;
    padding: 20px 0;
}

header h1 {
    font-size: 48px;
    letter-spacing: 8px;
    font-weight: 300;
}

header h2 {
    font-size: 20px;
    font-weight: 300;
    color: #555;
    margin-top: 0px;
}

/* =====================================
   INDEX PAGE
===================================== */

#hero img {
    position: relative;
    left: 143px;
    width: 80%;
    max-width: 1500px;
    height: auto;
}

nav {
    text-align: center;
    padding: 10px 0;
}

nav a {
    text-decoration: none;
    color: #1f1f1f;
    margin: 0 35px;
    font-size: 22px;
    transition: color 0.3s;
}

nav a:hover {
    color: #5a6cff;
}

/* =====================================
   FOOTER
===================================== */

footer {
    text-align: center;
    padding: 10px;
    color: #777;
    font-size: 22px;
}

/* =====================================
   AUTHOR PAGE
===================================== */
p {
    margin-top: 0;
    margin-bottom: 1.2em
    line-height: 1.5;
}
#canvas{
    position: relative;
    width: 1536px;
    margin: 0 auto;
}

#canvas img{
    display:block;
}

/* =====================================
   PAPER DE
===================================== */

#apDivPaper {
    position: absolute;
    width: 449px;
    height: auto;
    z-index: 10;
    cursor: default;
    left: 540px;  /* Verschiebt die Box nach RECHTS */
    top: 260px;   /* Verschiebt die Box nach UNTEN */
}

/* Gemeinsame Grundeinstellung für alle vier unsichtbaren Links */
#sticky-apx, #sticky-qm, #sticky-holes, #sticky-index {
    position: absolute;
    background: rgba(255, 255, 255, 0); /* 100% unsichtbar */
    cursor: pointer;                     /* Maus wird zur Klick-Hand */
    z-index: 20;
}

/* 1. Sticky links auf dem ART-Buch – KORRIGIERT */
#sticky-apx {
    width: 120px;
    height: 120px;
    left: 300px;
    top: 300px;
}

/* 2. Sticky oben rechts auf dem QM-Buch (art-qm-epr.pdf) */
#sticky-qm {
    width: 120px;
    height: 110px;
    left: 890px;
    top: 150px;
}

/* 3. Sticky rechts unten auf dem Thermodynamik-Buch (black-holes.pdf) */
#sticky-holes {
    width: 120px;
    height: 110px;
    left: 1350px;
    top: 510px;
}

/* 4. Sticky ganz unten Mitte unter dem Textblatt (index.html) */
#sticky-index {
    width: 120px;
    height: 135px;
    left: 745px;
    top: 850px;
}

/* =====================================
   CONTEST
===================================== */

#sticky-blackhole {
    position: absolute;
    background: rgba(255, 255, 255, 0); /* Komplett unsichtbar */
    cursor: pointer;                     /* Mauszeiger wird zur Hand */
    z-index: 20;                         /* Liegt über dem Hintergrundbild */
    
    /* Startwerte für die Position auf dem Schwarzen Loch */
    width: 295px; 
    height: 295px; 
    left: 1150px;  /* Falls nötig im Browser-Inspektor (F12) feinjustieren */
    top: 55px;   /* Falls nötig im Browser-Inspektor (F12) feinjustieren */
}


/* =====================================
   NAVIGATION / MENÜ
   ================================== */
nav a {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

/* 2. Bereits besuchte Links (verhindert das permanente Unterstreichen) */
nav a:visited {
    color: #333333;
    border-bottom: 2px solid transparent;
}

/* 3. Der Hover-Effekt (beim Drüberfahren) */
nav a:hover, nav a:focus {
    color: #000000;
    border-bottom: 2px solid #000000;
}

/* 4. Die feste Kennzeichnung für die gerade geöffnete Seite */
nav a.active, nav a.active:visited {
    color: #000000 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #000000 !important;
}

