/* ==========================================================================
    HOMEPAGINA 
   ========================================================================== */


body {
    background-image: url("achtergrond.jpg");
    background-size: cover;
    background-position: center;
    cursor: url("muis.gif"), auto;
}

.layout {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 20px; 
  min-height: 100vh;
  padding: 20px 20px 20px 20px; 
  box-sizing: border-box;
  align-items: start;
}

.side {
  background: transparent;
  padding: 10px;
}

.side:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.window {
  width: 100%;
  background: #f4ecf8; 
  border: 2px solid #5c4a7a; 
  box-shadow: inset 1px 1px 0px #ffffff;
  font-family: "MS Sans Serif", Arial;
  padding: 2px;
  display: flex;
  flex-direction: column;
}

.titlebar {
  background: #7767c0;
  color: #f0e6f7;
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.title {
  font-weight: bold;
}

.close-btn, .back-btn {
  background: #bc97d9; 
  color: #2b1f3a;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #5c4a7a;
  border-bottom: 2px solid #5c4a7a;
  font-family: inherit;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.close-btn {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-btn {
  width: 20px;
  height: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menubar {
  background: #e6d9f2;
  padding: 3px 6px;
  font-size: 13px;
  border-bottom: 1px solid #b9a3d6;
  display: flex;
  gap: 12px;
}

.menu-item {
  color: black;
}

.addressbar {
  background: #e6d9f2; 
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #b9a3d6;
}

.address-label {
  font-size: 13px;
  color: black;
}

.address-input {
  background: #f0e6f7; 
  flex-grow: 1;
  padding: 2px 6px;
  font-size: 13px;
  color: black;
  border-top: 2px solid #5c4a7a;
  border-left: 2px solid #5c4a7a;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  height: 20px;
  display: flex;
  align-items: center;
}

.content {
  background: #f9f5fd;
  margin: 4px;
  padding: 10px;
  border-top: 2px solid #5c4a7a;
  border-left: 2px solid #5c4a7a;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  flex-grow: 1; 
  min-height: 300px;
}

.notitieblok-inhoud {
    font-family: "Courier New", monospace;
    font-size: 14px;
    background-color: #ffffff;
    color: #000000;
    padding: 15px;
}

.pixel-icon {
    height: 14px;         
    width: auto;         
    vertical-align: middle;
    margin: 0 4px;       
    image-rendering: pixelated; 
}

.video-container {
    position: relative;
    width: 100%;        
    max-width: 480px;   
    padding-bottom: 40%;
    height: 0;
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #5c4b75; 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.retro-media {
    border: 2px solid #808080;
    box-shadow: 1px 1px 0px #000000;
    margin: 10px 0;
    max-width: 100%;
}

.retro-pc {
  position: relative;
  width: 300px;  
  height: 300px; 
  background-image: url("computer.png"); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.pc-screen {
  position: absolute;
  top: 15%;  
  left: 24%;  
  width: 47%;  
  height: 35%; 
  background-color: #ffffff; 
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 2px solid #5c4a7a;
  border-left: 2px solid #5c4a7a;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 1px;
  box-sizing: border-box;
  filter: blur(0.4px) contrast(1.1) brightness(0.95);
  background-image: linear-gradient(
    135deg, 
    rgba(255,255,255,0.4) 0%, 
    rgba(255,255,255,0) 50%
  );
}

.pc-screen a {
  display: block;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 11px;
  color: #2b1f3a;
  text-decoration: none;
  padding: 5px 6px;
  margin-bottom: 2px;
  background-color: #f4ecf8; 
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #5c4a7a;
  border-bottom: 1px solid #5c4a7a;
  box-sizing: border-box;
}

.pc-screen a:hover {
  background-color: #7767c0; 
  color: #ffffff;
  border-top: 1px solid #5c4a7a;
  border-left: 1px solid #5c4a7a;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  cursor: pointer;
}

.pc-screen::-webkit-scrollbar {
  width: 12px;
}
.pc-screen::-webkit-scrollbar-track {
  background: #f4ecf8;
  border-left: 1px solid #5c4a7a;
}
.pc-screen::-webkit-scrollbar-thumb {
  background: #808080; 
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 2px solid #333333;
  border-bottom: 2px solid #333333;
}

.sparkle {
  position: absolute;
  width: 25px;  
  height: auto;
  z-index: 10;  
  pointer-events: none; 
}
.sp-top {
  top: -10px;
  left: 45%;
}
.sp-left-top {
  top: 5%;
  left: 12%;
}
.sp-right {
  top: 22%;
  right: 18%;
}
.sp-left {
  bottom: 38%;
  left: 15%;
}
.sp-right-bottom {
  bottom: 25%;
  right: 10%;
}
.sp-bottom {
  bottom: -12px;
  left: 38%;
}

.cd-player {
    background-color: #bfaedb; /* Mooi retro lila/grijs */
    border: 2px solid;
    border-color: #ffffff #5c4b75 #5c4b75 #ffffff;
    width: 250px;
    box-shadow: 2px 2px 0px #000000;
    font-family: "Courier New", monospace;
    padding: 2px;
    margin-top: 27px;
}

.cd-titelbalk {
    background-color:#7767c0; 
    color: #5c4b75;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #5c4b75;
}

.cd-knoppen {
    display: flex;
    gap: 3px;
}

.cd-knoppen span {
    background-color: #bfaedb; 
    border: 1px solid;
    border-color: #ffffff #5c4b75 #5c4b75 #ffffff; 
    font-size: 10px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: bold;
    color: #2c1d45;
}

.cd-knoppen-rij {
    display: flex;
    justify-content: space-between;
    gap: 4px; 
    margin-top: 5px;
}

.retro-knop {
    background-color: #bfaedb; 
    border: 2px solid;
    border-color: #ffffff #5c4b75 #5c4b75 #ffffff; 
    color: #5c4b75;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 0;
    flex-grow: 1; 
    text-align: center;
    cursor: pointer;
    box-shadow: 1px 1px 0px #000000;
}

.retro-knop:active, .cd-knoppen span:active {
    border-color: #5c4b75 #ffffff #ffffff #5c4b75; 
    padding: 4px 0 2px 1px; 
}

.cd-scherm {
    background-color: #ffe0e6; 
    color: #f49abb;
    padding: 6px;
    margin: 6px;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid inset;
    border-color: #483d8b #ffffff #ffffff #483d8b;
}

/* De onderkant met de knoppen */
.cd-bediening {
    padding: 4px 6px;
}

.cd-tijd {
    font-size: 11px;
    color: #ffffff;
    margin-bottom: 6px;
    background-color: #5c4b75;
    padding: 2px;
    text-align: center;
}

.cd-slider {
    color: #ffb6c1;
}

.cd-knoppen-rij {
    display: flex;
    justify-content: space-between;
}

/* De dikke retro klikknoppen */
.retro-knop {
    background-color: #bfaedb;
    border: 2px solid;
    border-color: #ffffff #5c4b75 #5c4b75 #ffffff;
    color: #5c4b75;
    font-size: 10px;
    cursor: pointer;
    padding: 2px 8px;
    font-weight: bold;
}

.retro-knop:active {
    border-color: #5c4b75 #ffffff #ffffff #5c4b75; 
}
.postzegel-zone {
    margin-top: 25px; 
}

/* Het venster is nu volledig onzichtbaar (geen rand, geen achtergrond!) */
.scroll-kader {
    width: 250px; 
    height: 195px; /* Iets minder hoog gemaakt zodat de rijen mooi aansluiten */
    overflow: hidden; 
    border: none !important;      /* HAALT DE RAND WEG */
    background: transparent !important; /* MAAKT DE ACHTERGROND DOORZICHTIG */
}

/* De container die omhoog beweegt */
.scroll-inhoud {
    display: flex;
    flex-direction: column;
    animation: scroll-omhoog 4s linear infinite; 
}

/* De rij die er 3 naast elkaar zet */
.stamp-rij {
    display: flex;
    justify-content: center; /* Zet ze knus samen in het midden */
    padding: 2px 0;          /* Minder ruimte aan de boven- en onderkant */
    gap: 3px;                /* DIT ZET ZE DICHTER OP ELKAAR (was 6px) */
}

/* De maat voor de 3 postzegels */
.stamp-rij img {
    width: 76px;             /* Ietsje breder zodat ze de ruimte mooi opvullen zonder grote gaten */
    height: auto;
    display: block;
    image-rendering: pixelated; 
}

@keyframes scroll-omhoog {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

/* ==========================================================================
    CUTE & RETRO BLOG PAGINERING (KLEUR FIX)
   ========================================================================== */

.blog-paginering {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: "Courier New", monospace;
    font-size: 13px;
    color: #5c4a7a;
}

/* We stylen de linkjes nu op ALLE staten (:link en :visited) zodat ze NOOIT zomaar rood worden */
.blog-paginering a, 
.blog-paginering a:link, 
.blog-paginering a:visited {
    background: #ffe0e6; /* Cute pastel roze */
    color: #7767c0; /* De paarse kleur */
    border: 1px solid #ffb6c1; /* Zacht roze rander */
    padding: 4px 10px;
    margin: 0 5px;
    text-decoration: none;
    cursor: pointer;
    font-family: "Courier New", monospace;
    font-size: 13px;
    border-radius: 4px;
    display: inline-block; /* Zorgt voor een mooie uitlijning */
}

/* Als je met de muis over het knopje zweeft */
.blog-paginering a:hover {
    background: #7767c0; 
    color: #ffe0e6;
    border-color: #7767c0;
}

/* Het paginanummer in het midden */
#paginaNummer {
    margin: 0 10px;
    font-weight: bold;
    color: #5c4a7a;
    background: #f4ecf8;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}


/* ==========================================================================
    BOEKENPAGINA 
   ========================================================================== */

body.boeken-body {
    margin: 0;
    padding: 20px;
    background-image: url('gekreukeldpapier.jpeg') ; 
    background-size: cover ;
    background-position: center ;
    background-attachment: fixed ; 
    display: block; 
}

.boeken-hoofdtitel {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 15px;               
    margin-top: 50px;
    margin-bottom: 30px;
}

.boek-cover {
    width: 140px;       
    height: 218px;      
    object-fit: cover; /* Snijdt eventuele millimeter-verschillen onzichtbaar weg */
    box-sizing: border-box;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.15); 
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.titel-icon {
    height: 30px;          
    width: auto;          
    vertical-align: middle;
    margin: 0 4px;       
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.konijn-link {
    display: flex;
    align-items: center;
}

.konijn-icon {
    width: 35px;
    height: auto;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; 
}

.filter-knop {
    background-color: rgba(255, 255, 255, 0.8); 
    border: 1px dashed #7a6ca5; 
    padding: 6px 12px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    color: #4a3b75; 
    border-radius: 4px; 
    box-shadow: 2px 2px 0px #bca0dc; 
    transition: all 0.1s ease;
}

.filter-knop:hover {
    background-color: #f0e6ff; 
    color: #2b1f3a;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #bca0dc;
}

/* De grid die de boeken netjes naast elkaar zet */
.boeken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PUUR HET ROZE BRIEFJE POPUP (ZONDER COMPUTERRANDEN) */
.roze-briefje-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    z-index: 10000;
}

/* Jouw roze briefje afbeelding als achtergrond */
.popup-roze-papier {
    background-image: url('rozepapier.png'); 
    background-size: cover;
    background-position: center;
    min-height: 420px; 
    padding: 40px 25px 25px 25px; 
    position: relative;
    font-family: 'Courier New', monospace;
}

.popup-brief-titel {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #2b1f3a;
}

.popup-datum-tekst {
    font-size: 11px;
    display: block;
    color: #666;
}

.popup-sterren-tekst {
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
}

.popup-scheidingslijn {
    border: 0;
    border-top: 1px dashed #f49abb;
    margin-bottom: 15px;
}

.popup-review-tekst {
    line-height: 1.5;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #2b1f3a;
}

.sluit-briefje-tip {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    color: #999;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}

/* ==========================================================================
    GILLMORE GIRLS CHALLENGE PAGINA
   ========================================================================== */

.y2k-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Courier New', monospace; /* Die klassieke "computer" look */
    font-size: 14px;
    color: #ff69b4;
    margin: 20px 0;
}

.p-track {
    width: 300px; /* Lekker smal */
    height: 4px; /* Dun lijntje */
    background: #ffc0cb;
    border: 1px solid #ff69b4;
    position: relative;
}

.p-fill {
    height: 100%;
    background: #ff69b4;
    position: relative;
}

/* De marker (je icon) */
.p-marker {
    position: absolute;
    right: -10px; /* Hangt aan het uiteinde van de balk */
    top: -15px;
    width: 25px; /* Je eigen kleine icoontje */
}
/* Het grid van de boeken */
.books-grid {
    display: grid;
    /* Dit zorgt dat ze mooi naast elkaar staan */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
}

/* Stijl van de boek-afbeeldingen */
.book img {
    width: 100%;
    height: auto;
    border: 3px solid #fff;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, filter 0.3s;
}

/* Zwart-wit effect voor ongelezen boeken */
.book.unread img {
    filter: grayscale(100%);
}

.book.read img {
    filter: grayscale(0%);
}

/* Een leuk effect als je over een boek heen gaat */
.book:hover img {
    transform: scale(1.05);
}