
*, *::before, *::after {
    box-sizing: border-box;
  }

  * {
    margin: 0;
  }
  
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  img, picture, video, canvas, svg {
    display: block;
    /* max-width: 100%; */
  }

  input, button, textarea, select {
    font: inherit;
  }

  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }

  #root, #__next {
    isolation: isolate;
  }

 @font-face {
    font-family:"PP NeueBit";
    src: 
    url("type/ppneuebit-bold-webfont.woff") format("woff"),
    url("type/ppneuebit-bold-webfont.woff2") format("woff2"),
    url("type/PPNeueBit-Bold.otf") format("otf");
 } 

:root{
    --light-blue:#0066FF;
    --dark-blue:#011B42;
    --default-font:"PP NeueBit";
}

html{
    max-width: 500px;
}

body{
    font-family: var(--default-font),'Courier New', Courier, monospace;
    text-transform: uppercase;
    color: white;
    background-color: #282828 ;
    width:100dvw;
    height:100dvh;
}

.channel_info{
    background: linear-gradient(to right,#4748b2 10%, #B2474B 10% 30%,#B247A8 30% 50%,#47B25F 50% 70%,#0066FF 70% 90%, #B0B247 90%);
    font-size: 0.8rem;
    width:100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.channel_info:first-child{
    margin-bottom: 20px;
}
.channel_info span{
    letter-spacing: .1rem;
    padding:0 10px 0 10px;
}

.channel_title{
    font-size: 30pt;
    letter-spacing: .4rem;
    line-height: 80%;
    padding-left: 10px;

}

.edition_desc, .channel_tagline{
    font-size: 1.2rem;
    padding:15px 10px 10px 10px;
    letter-spacing: .2rem;
    line-height: 0.75;
    max-width: 80dvw;
}

.edition_nav{
    font-size: 16pt;
    display: block;
}

.channel_wrapper{
    background: linear-gradient(to bottom,#282828 3%,#0066FF 3%);
    height: calc(100dvh - 60px);
}

.edition_wrapper{
    background-color: var(--dark-blue);
    margin: 0 10px 0 10px;
    height: calc(100dvh - 200px);    
}

.edition_nav ul{
    list-style-type: none;
    letter-spacing: .15rem;
    margin:0;
    padding:10px;
    line-height: 100%;

}

.edition_nav li > a{
    color: var(--light-blue);
    text-decoration: none;
    display: grid;
    grid-template-columns: auto max-content;
    align-items: end;
}

.edition_nav li > a >.page_title{
    position: relative;
    overflow: hidden;
    margin-right: 0.25ch;
}

.edition_nav li > a .page_title::after{
    position: absolute;
    padding-left: 0.25ch;
    content: "·································································";
    text-align:right;
    letter-spacing: 0.2rem;
    color: white;

}
.edition_nav li > a > .page {
    color:white;
    min-width: 2ch;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.channel_tagline{
    padding-bottom: 30px !important;
}

#home_button{
    max-width: 200px;
    position: fixed;
    bottom:5dvh;
    left:50dvw;
    visibility: inherit;
}

.show_message{
    display: none;
}
/* page */
.page_content_wrapper{
    max-height: calc(100dvh - 268px);
    overflow-y: scroll;
    display: block;
}

.page_desc, .caption_text{
    text-transform: none;
    line-height: normal;
    padding: 0 10px 0 10px;
    font-size:1.2rem;
    margin-bottom: 40px;
}


.page_desc p{
    margin-bottom: 10px;
}

.page_desc:last-child{
    margin-bottom: 100px;
}

.page_image{
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height: auto;
    width: calc(100dvw - 20px);
}

.page_image img{
    width: 1500px;
}

.gif{
    max-width: calc(100dvw - 20px) !important;
    height: auto !important;
}

.caption_title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    letter-spacing: 0.1rem;
}

.caption_title img{
    display: inline;
    padding-left: 5px;
}


a:link, a:visited, a:active, a:hover{
    text-decoration: none;
    color:white;
}

