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

*, *::before, *::after {
    box-sizing: border-box;
    padding: 0;
    margin:0;
}
html{
    background-color: #daffec70;
    font-family: "ipix", Georgia, "Times New Roman", Times, sans-serif;
    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%;
  }
  #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;
    }
}