html {
scroll-behavior: smooth;
}
:root {
interpolate-size: allow-keywords;
}
.kbmfcustom {
    overflow:hidden;
    width:100%;
    height:100%;
    position:absolute;
    left:0;
    bottom:0;
    z-index: 1;
    display: flex;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.style {
    align-self: flex-end;
    height:100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin:1%;
}

#pano {
    transition: opacity 0.3s;
}
#pictures {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

    background-color: rgb(0, 0, 0);
    background-image: none;
      background-size: contain;     /* ensure the whole image is visible */
    background-repeat: no-repeat;
    background-position: center;
    background-color: black; 
}
#pictures::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--next-bg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0;
    transition: opacity 0.6s ease;  /* fade duration */
    pointer-events: none;
}
#pictures.fade::after {
    opacity: 1;
}
.buttoncontainer {
    
    position: relative;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;
    padding-right: 2%;
    background: transparent;
    pointer-events: auto;
}

.buttoncontainer button {
    color:black;
    display: flex;
    flex-direction: column;        /* icon above, text below */
    align-items: center;
    justify-content: center;
    background: transparent;       /* transparent background */
    color: white;
    border-radius: 50%;            /* round shape */
    width: 50px;
    height: 70px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 12px;
    border: none;
}
.buttoncontainer button img {
    transition: all 0.2s;
}
.buttoncontainer button:hover img {
    transform: scale(1.15);
}

.buttoncontainer button img {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
    filter: brightness(0) invert(1); /* ensure white icons */
}

.buttoncontainer button span {
    color:white;
    font-size: 11px;
    margin-top: 2px;
}
.selection {
    pointer-events: none;
    z-index: -10;
    display:flex;
    position: relative;
    justify-content: right;
}
#listcollection { 
    z-index: 1;
    flex-direction: column;
    height:100%;
    width:100%;
    
    justify-content: flex-end;
    position: relative;
    display: flex;
    align-items: flex-end;
}	

#listcollectionul {
    transition: all 0.5s;
    
    width:25%;
    height:auto;
    list-style-type: none;
    overflow-x: clip;
    overflow-y: auto;
    max-height:50%;
    opacity:0;
    pointer-events: auto;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari support */

    background: rgba(0, 0, 0, 0.5);  /* transparent dark grey */
    border-radius: 12px;

    padding: 20px;

    transform: translate(-0,200%);
}

#listcollectionul.active {
    transform: translate(0,0);
}

#listcollection li {
    width:100%;
    height:auto;
    display:flex;
    align-items:center;
    font-family:Arial;
    font-size:15px;
    color:lightgray;
    font-weight:400;
}
#listcollection li.active {
    color:rgb(226, 226, 226);
   font-weight:bold;
}
#listcollection li:hover {
    cursor: pointer;
    color:white;
    font-weight:bold;
}

#listcollection img {
    height:20px;
    margin:4px;
    filter: invert(1);
}

@media only screen 
and (max-device-width: 1000px)
{
     #listcollection {
        display: none;
     }
     .info {
        display: none;
     }
     .buttoncontainer {
        display: none;
     }
}