@font-face {
    font-family: ptsans;
    src: url('pt-sans_bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: ptsans;
    src: url('pt-sans_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: ptcap;
    src: url('pt-sans_caption-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: ptcap;
    src: url('pt-sans_caption-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html {
    font-family: "ptsans", sans-serif;
    font-weight: normal;
    font-style: normal;    
    font-size: 18px;
    min-width:320px;
    overflow-y: scroll;
    overflow-x: hidden;
    height:100%;
    background-color: rgba(252, 242, 199, 0.25);
}
html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
html::-webkit-scrollbar-thumb {
    background: rgba(90, 90, 90, 0.2);
}
html::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
body {
    margin:0;
}
form {
    display: inline-block;
    margin:0;
    padding:0;
}
#menu {
    z-index: 1;
}
#main {
}
div.masonry {
    position:relative;
    box-sizing: border-box;
}
div.masonry > div {
    position: absolute;
    overflow: visible;
}
div.masonry div {
    box-sizing: border-box;

}
#menu > div {
    font-family: "ptsans", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    background-color: rgba(255,233,209,0.5);
    text-align: center;
    vertical-align: middle;
    line-height:2rem;
    height:2rem;
    border-right:solid 1px #a21303;
    border-bottom:solid 1px #a21303;
    cursor: pointer;
    user-select: none;
}
#menu > div:active {
    background-color: rgba(255,233,209,0.75);
}
#main > div:hover .caption {
    background-color: rgba(255,233,209,0.75);
}
#menu a {
    text-decoration: none;
    color:black;
}
#menu > div input {
    margin:0;
    width:calc(100% - 0.3rem);
    border:none;
    font-size: 1rem;
    font-family: "ptsans", sans-serif;
    height:1.7rem;
    box-sizing: border-box;
    background:none;
    text-align: center;
}
div#dmenu, div#dmenu_close {
    height:2rem;
    background-image: url("/d.svg");
    background-repeat: no-repeat;
    background-position: 0.6em 0.5em;
    background-size: 1rem;
    width:65px;
}
div#menu img {
    height:1rem;
    width:auto;
    vertical-align: middle;
}
div#menu div#back img {
    height: 1.25rem;
}
div#dmenu img, div#dmenu_close img {
    position: absolute;
    display: block;
    right:0.6rem;
    height:0.6rem;
    width:auto;
    top:0.7rem;
}

#a {width:100px;height:100px;background-color: lightblue;}
#b {width:200px;height:200px;background-color: lightgreen;}
#c {width:150px;height:150px;background-color: lightcoral;}
#d {width:300px;height:300px;background-color: lightpink;}
#e {width:100px;height:100px;background-color: lightcyan;}
#f {width:100px;height:150px;background-color: lightsalmon;}
#g {width:250px;height:100px;background-color: lightseagreen;}
#h {width:250px;height:100px;background-color: lightskyblue;}
