html, body {
    margin: 0; padding: 0;
}
html {
    background-color: #000;
    color: #ccc;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    text-align: justify;
}
body {
    width: 900px;
    margin: auto;
    border: 1px solid #ccc;
    border-bottom: 0px;
    border-top: 0px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #ccc;
    background-image: url(/img/geenter.gif);
    background-repeat: no-repeat;
    background-position: left 3px center;display: flex;
    justify-content: right;
    align-items: center;
}
h1 {
    padding: 0; margin: 0;
    font-size: 85px;
    color: #ff6600;
}
.flex {
    display: flex;
    flex-grow: 1;
}
nav {
    width: 99px;
    border-right: 1px solid #ccc;
    flex-grow: 1;
}
nav a {
    display: block;
    padding: 3px;
}
main {
    width: 800px;
    flex-grow: 1;
}
h2 {
    padding: 8px;
    background-image: url(/img/buttons.png), url(/img/buttons2.png);
    background-position: bottom, top;
    background-repeat: repeat-x;
    background-color: #fff;
    color: #000;
}
figure {
    max-width: 90%;
    margin: auto; text-align: center;
}
figure img {
    border: 1px solid #ccc;
    padding: 3px;
}
.comicdirections {
    width: 100%;
    display: flex;
    justify-content: space-around;
}
footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ccc;
    background-image: url(/img/buttons.png), url(/img/buttons2.png);
    background-position: bottom, top;
    background-repeat: repeat-x;
    background-color: #fff;
    color: #000;
}
p {
    margin: 0;
    padding: 8px;
}
a {
    color: #ff6600;
    text-decoration: dashed underline;
}
a:hover {
    color: #ff9900;
    text-decoration: underline;
}
img {
    max-width: 100%;
    max-height: clamp(90vh, 100%, 100%);
}


.archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 10px;
}

.comicnumber {
  text-align: center;
  overflow: hidden;
  padding: 3px;
  border: 1px solid #ccc;
}

.comicnumber img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.comicnumber:hover {
  border: 1px solid #ff9900;
}