* { box-sizing: border-box; }
:root { --red: #E43542; }
body {
    margin: 0;
    font-family: sans-serif;
    font-size: 12pt;
}
a { color: var(--red); }
a:visited { color: var(--red); }
data { display: none; }
h2 { 
    font-size: 12pt; 
    margin: 0;
    font-weight: normal;
}

.title {
    position: fixed;
    top: 6px;
    right: 10px;
    width: 120px;
    mix-blend-mode: multiply;
    z-index: 2;
}

menu {
    margin: 0;
    display: flex;
    position: fixed;
    bottom: 10px;
    right: 10px;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    border: solid 1px var(--red);
    z-index: 2;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

nav {
    position: fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 2;
    /* display: none; */
    transform: translate3d(0, 120%, 0);
    display: flex;
    flex-direction: column;
    display: -webkit-flex;
    -webkit-flex-direction: column;
    justify-content: end;
    -webkit-justify-content: flex-end;
    margin-bottom: 50px;
    transition: transform .2s ease-in-out;
}

nav.open { transform: translate3d(0, 0, 0); }
nav li { margin: 10px; }
nav li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 1px solid var(--red);
    border-radius: 10px;
}
nav ol {
    list-style: none;
    text-align: right;
    padding: 0;
}

main { transition: filter .3s ease-in-out; }

.blur { filter: blur(5px); }

.comic-list {
    margin:0;
    padding:0;
    list-style: none;
    color: var(--red);
}

.day article {
    padding: 5px 20px;
    display: block;
}
.day time {
    padding: 10px 20px 0;
    display: block;
}
.day .description { 
    margin: 0; 
    padding: 1em 0; 
    cursor: pointer;
}
.day .description .description-text {
    opacity: 0;
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
}
.day .reveal .description-text { opacity: 1; }

.mobile-panels {
    list-style: none;
    top: 10px;
    right: 0;
    left: 0;
    position: relative;
    display: flex;
    padding:0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.mobile-panels::-webkit-scrollbar { display: none; }
.mobile-panels li {
    max-width: 600px;
    display: block;
    position: relative;
    padding: 10px 20px 20px;
    scroll-snap-align: start;
}
.mobile-panels li:first-child { padding-right: 10px; }
.mobile-panels li:last-child { padding-left: 10px; }
.mobile-panels img {
    border-radius: 8px;
    box-shadow: rgba(0,0,0,.1) 0 3px 15px 0px;
    height: 100vw;
    width: 72.2vw;
    display: block;
    background-color: white;
    object-fit: cover;
}

.panel-full {
    box-shadow: rgba(0,0,0,.1) 0 3px 15px 0px;
    border-radius: 4px;
    width: 60vw;
    max-width: 700px;
    height: auto;
    display: none;
}

.what {
    color: var(--red);
    padding: 30px;
    max-width: 500px;
    line-height: 1.5;
}

hr {
    border-color: var(--red);
    border-style: dotted;
}

@media screen and (min-width:420px){
    .mobile-panels img {
        width: 307px;
        height: 426px;
    }
}

@media screen and (min-width:800px){
    .title {
        top: 20px;
        right: 20px;
    }
    
    .mobile-panels { display: none; }

    .panel-full {
        display: block;
        grid-area: IMAGE;
    }

    .day {
        padding: 50px;
        display: grid;
        grid-template-columns: min-content auto;
        grid-template-rows: 40% auto;
        grid-template-areas: 
        "IMAGE TIME"
        "IMAGE ARTICLE"
        ;
        gap: 0 20px;
    }
    .day time {
        padding: 0 20px;
        font-style: italic;
        grid-area: TIME;
        align-self: end;
    }
    .day article {
        position: relative;
        grid-area: ARTICLE;
    }
    .day .description {
        position: absolute;
        bottom: 0;
    }

    menu { display: none; }
    
    nav {
        display: block;
        transform: none;
        transition: none;
        top: unset;
        left: unset;
        bottom: 10px;
        right: 10px;
        margin: 0;
    }
    nav ol { margin: 0; }
    nav li a {
        display: inline;
        height: auto;
        width: auto;
        padding: unset;
        border: none;
    }
}