@font-face {
    font-family: "STOR";
    src: url("/fonts/STOR-Regular.ttf") format("truetype");
}
body {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 90%;
    margin: 0;
    padding: 0;
    background: #000 url('/comics/721togdansk/images/721bg.jpg') fixed center/cover;
    min-height: 100vh;
}

h2 {
    font-family: "STOR", sans-serif;
}

/*header*/
header {
    max-width:100%;
    height: auto;
    box-sizing: border-box;
}
.header {
    position: absolute;
    justify-content: center;
    top: 6%;
  left: 50%;
  transform: translateX(-53%);
    width: 80%;
    z-index: 5;
}
.header img {
    max-width: 100%;
    height: auto;
      transform: rotate(-3deg);
}
header a {
    text-decoration: none;
    display: block;
}
header a {
    text-decoration: none;
    display: block;
}

/*main*/
.container {
    width: 100%;
    max-width: 60%;
    margin: 12% auto 1rem;
    background: #fff;
    border: 15px solid #040d29;
    padding: 1rem;
    padding-top: 5%;
    border-radius: 150px;
    display: flex;
    flex-direction: column;
}

.content-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/*keeps images inside layout*/
.comicPage, .comicDisplay img {
  width: 90%;
  max-width: 100%;
  margin: auto;
  clear: both;
  height: auto;
  display: block;
}

/*only for promo image - can be removed once the full comic is uploaded*/
.comicDisplay img {
    border-radius: 25px;
}

/*clearfix*/
.comicDisplay::after {
  content: "";
  display: table;
  clear: both;
}

/*nav*/
.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50%;
    margin: .1rem auto;
    z-index: 6;
}

.nav-buttons button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nav-buttons a img {
    width: 100%;
    height: auto;
    margin: 5%;
    top: 10%;
    cursor: pointer;
}

/*jump-to*/
.jump-to {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 6;
}

.jump-to select {
    width: 90%;
    height: auto;
    padding: 5px;
    font-size: 1rem;
    border: 3px solid #040d29;
    border-radius:20px;
}

/*comic image files*/
.comic-container {
  width: 100%;
  height: 50%;
  padding: 5%;
  box-sizing: border-box;
  position: relative;
}

.comic-container img {
  width: 70%;
  max-width: 60%;
  height: auto;
}

/*footer*/
footer {
    font-family: "STOR", sans-serif;
    background: #fff;
    color: #172b67;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 15px solid #040d29;
    text-align: center;
    max-width: 38%;
    margin: 1rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3%;
}

/*audio*/
/*audio*/
audio {
    width: 100%;
    height: 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-radius: 0px;
    padding: 0px;
    filter: invert(1) hue-rotate(180deg);
}

audio::-webkit-media-controls-progress-bar {
    background-color: #fff;
    height: 5px;
    border-radius: 5px;
}
audio::-webkit-media-controls-progress-bar::-webkit-progress-value {
    background-color: #fff;
    height: 100%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-timeline {
    color: #fff;
}

audio::-webkit-media-controls-play-button {
    background-color: #fff;
    border-radius: 30% !important;
    width: 20px;
    height: 20px;
}

audio::-webkit-media-controls-volume-slider {
    border-radius: 0px !important;
}

audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider {
    filter: invert(1);
}

/* mobile portrait */
@media (max-width: 768px) {
    body {
        min-height: 100%;
        font-size: 80%;
        background-size: cover;
    }

    .header {
    top: 4%;
}
    
    .container {
        width: 90%;
        max-width: 88%;
        padding: 2%;
        margin-top: 15%;
        top: 5%;
        border-radius: 70px;
        border: 6px solid #040d29;
        position: relative;
    }

    .nav-buttons {
        gap: 0%;
        margin-top: 8%;
        max-width: 80%;
    }

    .nav-buttons button {
        flex-direction: row;
        gap: 5%;
    }

footer {
    letter-spacing: 0.05em;
    font-size: 8px;
    border-radius: 50px;
    border: 6px solid #040d29;
    margin: 1rem auto;
    max-width: 40%;
}
}

