/*
Theme Name: Slots Bowl Classic
Theme URI: https://slots-bowl.djervad.dk
Author: Djervad
Description: Redigerbar WordPress-genskabelse af Slots Bowl & Restaurant Møntportens CMS-side.
Version: 1.0.0
Text Domain: slots-bowl
*/

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { background: #222; }
body {
  margin: 0;
  background: #222 url("assets/images/slots-bowl/bodybg.gif") repeat;
  color: #000;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-align: left;
}
a { color: #18507c; text-decoration: underline; }
a:hover, a:focus { color: #385c72; }
img { max-width: 100%; height: auto; }

#pagewrapper {
  width: 860px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #000;
  background: #fff;
  overflow: hidden;
}
.site-header { line-height: 0; background: #9d5621; }
.site-header img { display: block; width: 860px; }

.site-nav {
  position: relative;
  z-index: 20;
  min-height: 28px;
  margin-top: -3px;
  background: #080808 url("assets/images/slots-bowl/menubgbartop.gif") repeat-x;
  line-height: 1.2;
}
.site-nav ul { margin: 0; padding: 0; list-style: none; }
.site-nav > ul { display: flex; justify-content: center; flex-wrap: wrap; }
.site-nav li { position: relative; }
.site-nav a {
  display: block;
  padding: 6px 10px;
  color: #dcdbcb;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav li:hover > a, .site-nav li:focus-within > a, .site-nav .current > a { background: #2d2d2d; color: #fff; }
.site-nav ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 190px;
  background: #575858;
  box-shadow: 0 5px 12px rgba(0,0,0,.35);
}
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }

.image-strip {
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: #000;
}
.image-strip-track {
  display: flex;
  width: max-content;
  height: 148px;
  animation: slots-scroll 55s linear infinite;
}
.image-strip:hover .image-strip-track { animation-play-state: paused; }
.image-strip img { width: auto; max-width: none; height: 148px; display: block; margin-right: 3px; }
@keyframes slots-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .image-strip-track { animation: none; } }

#content { min-height: 500px; background: #fff; }
#main { margin: 0 6%; padding: 0 0 48px; overflow-wrap: anywhere; }
#main > h1 { margin: 0; padding: 14px 0 12px; color: #222; font-size: 1.5em; line-height: 1.3; }
#main h2 { color: #222; font-size: 1.4em; }
#main h3, #main h4 { color: #294b5f; }
#main p { margin: 0 0 1.5em; line-height: 1.4; }
#main table { max-width: 100%; border-collapse: collapse; }
#main td, #main th { padding: 3px; }
#main iframe { max-width: 100%; }
.site-footer {
  clear: both;
  padding: 14px 20px;
  background: #000;
  color: #ddd;
  text-align: center;
  line-height: 1.5;
}
.site-footer a { color: #fff; }

@media (max-width: 700px) {
  body { background: #fff; }
  #pagewrapper { border: 0; }
  .site-nav > ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-nav a { white-space: normal; text-align: center; }
  .site-nav ul ul { position: static; width: 100%; box-shadow: none; }
  .site-nav li:hover > ul, .site-nav li:focus-within > ul { display: none; }
  .image-strip, .image-strip-track { height: 104px; }
  .image-strip img { height: 104px; }
  #main { margin: 0 4%; }
  #main img[align="left"], #main img[align="right"] { float: none; display: inline-block; }
  #main font[size="5"] { font-size: 1.35rem; }
}

