* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    vertical-align: baseline;
    list-style: none;
}
html, body {
    font-family:var(--font);
    font-size: var(--textSize);
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    color:var(--c);
    background:var(--b);
    width:100%;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    line-height: 1;
    min-height: 100vh;
}
:root{
    --c:#000;
    --b:#fff;
    --textSize:12px;
    --textSize2:1.2rem;
    --font:'HedvigLettersSans','abCFont',sans-serif;
    --font2:'PicNic','abCFont',sans-serif;
    --s:1rem;
    --s2:0.5rem;
    --s3:1rem;
}
a{
    text-decoration: unset;
    color: var(--c);
}
h1{
    font-family:var(--font2);
}
button{
    font-family:var(--font);
}
.in-filter #header h1{
    height: 0;
}
#header h1{
    font-size: 15vh;
    padding:0 var(--s3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 50vh;
    overflow: hidden;
    transition: height 0.3s linear;
}
#header h1 a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#emoji {
    font-size: 0.8em;
    transition: transform 0.2s ease-in-out;
    padding: 0.3em 0.2em 0 0;
}
#menu{
    padding: var(--s);
    position: sticky;
    z-index: 11111;
    top:0;
    left: 0;
    backdrop-filter: blur(20px);
}
.menu-wrap{
    display: flex;
    border-radius: 5px;
    box-shadow: inset 5px 5px 4px rgba(0,0,0,0.1);
    padding: 2px;
    background-color: rgba(0,0,0,0.1);
}
.menu-wrap>*{
    flex: 1;
}
.menu-info-y,
.menu-info,
.menu-tool{
    display: flex;
}

.menu-tool-item{
    flex: 1;
    position: relative;
}
.menu-info span,
.menu-tool-item span{
    padding: .5rem 1rem;
    box-shadow:2px 2px 5px rgba(0,0,0,0.1);
    background-color: var(--b);
    border-radius: 5px;
    font-size: var(--textSize2);
    flex: 1;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin: 2px;
}
.menu-info span{
    flex: 0 0 auto;
}
.menu-tool-item ul.visible{
    display: flex;
}
.menu-tool-item ul{
    position: absolute;
    margin-top: 4px;
    left: 2px;
    right: 2px;
    background-color: var(--b);
    box-shadow:2px 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    display: none;
    flex-wrap: wrap;
    padding: 2px;
}
.menu-tool-item ul li{
    padding: 2px;
}
.menu-tool-item ul li a{
    display: block;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.1);
    padding: .5rem 1rem;
    font-size: var(--textSize2);
}

.menu-info span.filter-category:after,
.menu-info span.filter-tag:after{
    display: inline-block;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    content: '\f00d';
    margin-left: .5rem;
}

.menu-info{
    justify-content: space-between;
}
.clear i{
    margin-right: .5rem;
}
.menu-info-text{
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

#posts{
    display: flex;
    flex-wrap: wrap;
    padding: var(--s2);
}
 .box{
    width: 25%;
    padding: var(--s2);
}
 .box a{
    display: block;
     position: relative;
}
.box .box-img{
    display: block;
    line-height: 0;
    border-radius: 0.4rem;
    overflow: hidden;
    background-size: cover;
}
.box img{
    aspect-ratio: 1/0.56;
    width: 100%;
    height: auto;
}
.box-info{
    display: flex;
    justify-content: space-between;
    padding-top: .5rem;
}
.box-info h3,
.box-info h2{
    font-size: 1em;
}
.box-info h3{
    font-weight: 300;
    opacity: 0.5;
}

.box-tags{
    display: none;
}

.loading-more{
    padding: var(--s3) var(--s);
    display: flex;
    align-items: center;
    justify-content: center;

}
.loading-more button{
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10em;
    display: inline-block;
    font-size: var(--textSize2);
    margin: .3em;
    min-width: 1.5em;
    padding: .4em 1em;
    text-transform: uppercase;
}

footer{
    font-weight: 300;
    opacity: 0.5;
    padding: var(--s3) var(--s);
    line-height: 1.5;
    text-align: center;
    margin-top: 10vh;
}
footer a{
    text-decoration: underline;
    color: blue;
}
@media screen and (max-width: 700px){
    :root{
        --textSize:11px;
        --textSize2:1rem;
    }
    .menu-tool-item ul li a {
        padding: 2px 5px;
    }
    #header h1 {
        font-size: 18vw;
    }
    .box{
        width: 100%;
    }
    footer{
        text-align: left;
    }
    #menu{
        padding: 0;
    }
}

