@font-face {
    font-family: "ipix";
    src: url("/hobby/assets/fonts/ipix.ttf");
}

* {
    margin:0;
    padding:0;
}
html{
    background-color: #daffec70;
    font-family: "MS PGothic", "MS Gothic", "SimSun", "Fixedsys", monospace;
    
    font-size: 16px;
    
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale; 
    text-rendering: optimizeSpeed;
    color: #797687;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
img, video, canvas {
    max-width: 100%;
    height: auto;
  }
#content {
    background-color: aliceblue;
    width: min(80vw, 1200px);
    margin: 0 auto;
}
.content * {
    max-width: 100%;
  }
#banner {
    position: relative;
    border: 1.5px solid #cce4e4;
}
#banner p {
    position: absolute;
    bottom: 0;
    right:0;
    transform: translate(-50%, -50%);
    color:#adb0a6;
}
main{

    background-color: #edfdfb;
    background-image: url('/hobby/assets/draw/shine/leaf.jpg');
    background-size: 50%;
}
main > * {
    padding: 16px;
}
#sheet {
    display: flex;
    justify-content: space-between;
}
.sheet{
    display: flex;
}
#sheet-right{
    flex-direction: row-reverse;
}

#album{
    margin-top: 16px;
    
}
.imgs {
    column-count: 3;
    column-gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}
.imgs img {
    width: 100%; 
    display: block;
    height: auto; 

}

.imgs p {
    font-size: 0.9em;
    word-wrap: break-word;
}


.masonry-item{
    background-color: antiquewhite;
    border-top: 1px solid #b8f0e3;
    border-radius: 3px; 
    padding-bottom: 4px;
}

footer{
    text-align: center;
}

#hover-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 9998;
}

#hover-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    pointer-events: none;
    
    width: 95vw;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hover-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .content {
      width: 100%;
      padding: 0 16px;
    }
    .imgs {
        column-count: 2;
    }
    #hover-preview { display: none !important; }
  }
  @media (max-width: 480px) {
    .imgs {
        column-count: 1;
    }
}