html{
    background-color: #ccaa88;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
    
}
body{
  padding-bottom: 20px;
}
.blank-space{
  display: block;
  width: 30%;
  height: 30px;
}
.page-title{
    
    width:50%;
    max-width: 400px;
    margin: auto;
    text-align: center;
    border: 10px solid transparent;
    border-image-slice: 10% 30% fill;
    border-image-repeat: rounded;
    background-color: #336644;
    
    border-radius: 15px 15px 0px 0px;
}

.page-title h3{
    font-family: "Concert One", sans-serif;    
    color:#ffecd6;
    margin: 16px;
    text-shadow: 0px 2px 0px #221122;
    font-size: 40px;
}
@media screen and (max-width: 480px){
  .page-title h3{
      font-family: "Concert One", sans-serif;    
      color:#ffecd6;
      margin: 16px;
      text-shadow: 0px 2px 0px #221122;
      font-size: 24px;
  }
}
.page-title p{
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color:#ccaa88;
  font-size: 14px;
}
#display{
    background-color: #ffecd6;
    border: 1px ;
    border-color: #bb7777;
    border-style: solid;
    border-radius: 30px;
    width: 85%;
    max-width: 1400px;
    display: grid;
    padding:5%;
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    z-index: -10;
}

.gallery{
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    float:left;
}
.block{
    float:left;
    width: 100%;
    height: 50%;
}
.gallery .thumbnail{
    filter: grayscale(100%);
    opacity: .8;
    position: relative;
    object-fit:cover;
    transform: translate(0, 20%);
    margin-top: 5%;
    width: 95%;
    aspect-ratio: 1/1;
    max-height: 256px;
    border: 2px outset chocolate;
    border-radius: 25% 25% 0% 0% ;
    animation-name: hideThumbnail;
    animation-timing-function: ease-in;
    animation-duration: .35s;
}
.gallery:hover .thumbnail{
    filter: grayscale(0%);
    opacity: 1;
    transform: translate(0, 1%);
    animation-name: showThumbnail;
    animation-timing-function: ease-out;
    animation-duration: .5s;
}
@keyframes showThumbnail {
    0% {transform: translate(0, 20%);}
    25% {transform: scaleY(1.15);}
    50%{transform: scaleY(1);}
    100% {
        
        transform: translate(0, 1%);
        }
}
@keyframes hideThumbnail {
    0% {transform: translate(0, 1%);}
    25% {transform: scaleY(1.0);}
    100% {
        
        transform: translate(0, 20%);
        }
}
.title{
    border: 1px solid rgb(49, 94, 95);
    display: inline;
    border-radius: 25px;
    text-align: center;
    position: absolute;
    padding-left: 25px;
    padding-right: 25px;
    max-width: 80%;
    margin: auto;
    top:50%;
    left: 50%;
    transform: translate(-50%, 10%);
    background-color: rgb(113, 160, 142);
    color:floralwhite;
    z-index: 1;
    font-family: "Potta One", system-ui;
}
span {
  white-space: nowrap;
}

.desc{
    border: 2px dashed rgb(17, 86, 107);
    display:block;
    height: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width:auto;
    border-radius:0px 0px 25px 25px;
    background-color: rgb(82, 81, 75);
    padding:15px;
}

.note{
    font-family: "Kantumruy Pro", sans-serif;;
    margin-top: 25px;
    color: #221122;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    width: 180px;
    height: 180px;
    overflow: auto;
    border: 1px dashed rgb(153, 183, 209);
    background-color: rgb(255, 254, 245);
    position: relative;
    box-shadow: 
      2px 2px 0px rgb(255, 254, 245),
      -2px 2px 0px rgb(255, 254, 245),
      2px -2px 0px rgb(255, 254, 245),
      -2px -2px 0px rgb(255, 254, 245)
    ;
}
::-webkit-scrollbar {
  width: 4px;
  margin-right:5px;
  overflow-y: hidden;
}
::-webkit-scrollbar:hover {
  width: 4px;
  margin-right:5px;
  overflow-y: auto;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow:  0 0 5px rgb(155, 69, 69); 
  border-radius: 10px;
  
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(199, 170, 170); 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

