/* style van oppergodin. niet jatte */

body {
  margin: 0;
  padding: 0 6px 30px;
  background: #ff69b4 url('/img/glitter.gif');
  color: #000;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive;
  font-size: 15px;
}

a { color: #00f; }
a:visited { color: #800080; }

hr { margin: 10px 0; border: 2px inset #c0c0c0; }

.lichtkrant {
  display: block;
  margin: 0 -6px 12px;
  padding: 3px 0;
  background: #ff0;
  border-bottom: 3px solid #f00;
  color: #f00;
  font-weight: bold;
}

.pagina {
  width: 760px;
  max-width: 100%;
  background: #ffffcc;
  border: 6px ridge #ff1493;
}
.pagina > tbody > tr > td { padding: 10px; }

/* de kop: foto is te breed gemaakt, krijg het niet goed */
.kop {
  position: relative;
  padding: 0 !important;
  background: #000;
  border-bottom: 4px solid #ff1493;
  text-align: left;
}
.kopfoto {
  display: block;
  width: 100%;
  height: 120px;
}
h1 {
  position: absolute;
  top: 8px;
  left: 14px;
  margin: 0;
  color: #ff0;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 46px;
  font-weight: normal;
  text-shadow: 3px 3px 0 #f00;
}
.slogan {
  padding: 3px 14px;
  background: #0f0;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-style: italic;
}

.menu {
  width: 130px;
  background: #ffb6e1;
  border-right: 3px dashed #ff1493;
  line-height: 1.7;
  font-size: 14px;
}
.pasfoto {
  width: 120px;
  height: 70px;
  border: 3px solid #00f;
}

.inhoud { text-align: left; }
.inhoud p { margin: 10px 4px; }
.hoi {
  color: #f00;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 34px;
}

.weer {
  width: 92%;
  margin: 14px auto;
  background: #fff;
  border: 3px outset #c0c0c0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: left;
}
.weer th { background: #000080; color: #fff; text-align: left; }
.weer td { line-height: 1.6; }

h2 {
  margin: 30px 0 8px;
  padding: 2px 8px;
  background: #ff1493;
  color: #ff0;
  font-family: 'Times New Roman', serif;
  font-size: 24px;
  text-decoration: underline;
}

.posts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
}
.post {
  width: calc(33.33% - 4px);
  box-sizing: border-box;
  padding: 5px;
  background: #fff;
  border: 3px outset #c0c0c0;
  font-size: 13px;
}
/* net niet recht */
.post:nth-child(3n+2) { margin-top: 9px; background: #cff; }
.post:nth-child(3n) { margin-top: 3px; }
.laden { font-size: 13px; }

/* plaatjes zijn uitgerekt, weet niet hoe dat moet */
.post img {
  display: block;
  width: 100%;
  height: 100px;
  border: 2px solid #00f;
}
.tekst { margin-top: 4px; }
.notes { font-family: Arial, sans-serif; font-size: 11px; color: #666; }
.hartje {
  padding: 0;
  background: none;
  border: 0;
  color: #999;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.hartje:hover, .hartje.aan { color: #f00; }

.krabbelform {
  width: 80%;
  margin: 10px auto;
  padding: 8px;
  background: #ffb6e1;
  border: 3px outset #c0c0c0;
  font-size: 13px;
  line-height: 2.1;
  text-align: left;
  box-sizing: border-box;
}
.krabbelform input, .krabbelform select, .krabbelform button, #uitlog, .krabbels button {
  font-family: inherit;
  font-size: 13px;
}
.krabbelform .breed { width: 70%; }
.melding { color: #f00; font-weight: bold; }
.voorbeeld { max-width: 200px; max-height: 150px; border: 2px solid #00f; }
.mini { width: 50px; height: 34px; vertical-align: middle; border: 1px solid #00f; }
[hidden] { display: none !important; }

.feitjes {
  padding: 2px 10px;
  background: #fff;
  border: 2px dotted #00f;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
}
.feitjes b { color: #f00; }

.krabbels {
  width: 80%;
  background: #fff;
  border: 2px solid #000;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: left;
}
.krabbels td { border-bottom: 1px solid #c0c0c0; }

.teller {
  display: inline-block;
  padding: 1px 5px;
  background: #000;
  color: #0f0;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}

.voet {
  background: #ffb6e1;
  border-top: 4px solid #ff1493;
  text-align: center;
}
.voet details { margin-top: 10px; font-size: 12px; }
.voet summary { cursor: pointer; color: #00f; text-decoration: underline; }
.credits {
  display: inline-block;
  margin: 8px 0 0;
  padding-left: 18px;
  text-align: left;
  font-family: Arial, sans-serif;
}

.knipper { color: #f00; font-weight: bold; animation: knipper 1s steps(1) infinite; }
@keyframes knipper { 50% { visibility: hidden; } }

/* voor mobieltjes */
@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .pagina, .pagina > tbody, .pagina > tbody > tr, .pagina > tbody > tr > td { display: block; width: auto; }
  .menu { border-right: 0; border-bottom: 3px dashed #ff1493; }
  .post { width: calc(50% - 3px); }
  .krabbelform, .krabbels { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .knipper { animation: none; }
}
