@font-face {
    font-family: 'LeeSeoyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/LeeSeoyun.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
  width:1400px;
  background-image: url("https://i.pinimg.com/736x/3a/78/c2/3a78c249b64fd8b7c963885c9c1d8856.jpg");
  font-family: 'LeeSeoyun';
  image-rendering:-webkit-optimize-contrast; 
  margin: 0px auto;
      text-align: center;
      padding: 20px;
}

.main {
    width: 700px;
    height: 800px;
    border-image: url(https://angelovin.neocities.org/gallery/img/lace07.png) 52 round;
    border-width: 40px;
    border-style: solid;
    border-image-outset: 0px;
    border-radius: 0px 0px 0px 0px;
    margin: 0px auto;
}
.main-b {
  width: 100%;
    height: 100%;
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    overflow-y: auto;
    overflow-x: hidden; 
    scrollbar-width: none;
}

.main-lace {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 19px;
    background-image: url(img/123.png);
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 10;
    pointer-events: none;
 
}


.main-b::-webkit-scrollbar {
  display: none;
}

.gallery {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px;
    box-sizing: border-box;
}



.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 182px;
    aspect-ratio: auto;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    text-align: left;
    align-content: center;
    border: 1px solid #fae5ec;
    overflow: hidden;
    transition: all 200ms 
cubic-bezier(0.4, 0, 1, 1) 0s;
    filter: brightness(1.02) saturate(0.5);
}



.gallery-item img {
  width: 100%;
  height: 186px;
  display: block;
  object-fit: cover;
  border: none;
  transition: transform 0.2s ease;
    }

.gallery-item:hover img {
  transform: scale(1.05);
}
    
   .caption {
    text-align: left;
    font-size: 14px;
    color: gray;
    margin-top: 1px;
    padding-left: 3px;
    font-family: 'LeeSeoyun';
    z-index: 99;
    position: relative;
    
}




@keyframes jump {
0%{transform:translateY(0)}
20%{transform:translateY(-14px)}
45%{transform:translateY(0)}
60%{transform:translateY(-7px)}
100%{transform:translateY(0)}
}
.jump{ animation:jump .5s ease; }
    
    
::-webkit-scrollbar {width: 8px; height: 12px; background: white;}

::-webkit-scrollbar-track {border: 1px solid  #ffdfec; }

::-webkit-scrollbar-thumb {background: #ffdfec; border-radius: 10px; border: 1px solid #ffcbe1;}

