@import url(webkinz_book_cyrillic\ \(1\).otf);
@font-face {
    font-family: 'Webkinz';
    src: url(webkinz_book_cyrillic\ \(1\).otf);
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
  }



  #track {
    position: absolute;
    top: 140px;
    bottom: 10px;          
    right: 14px;
    width: 24px;
    background: rgba(255, 230, 5, 0.4);
    border-radius: 10px;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4),     
        0 -1px 2px rgba(255, 255, 255, 0.5); 
    
}

#thumb {
    position: absolute;
    top: 0;
    left: -13px;
    width: 50px;
    height: 50px;
    cursor: grab;
    touch-action: none;
}

#thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;    
    user-select: none;
}
#thumb:active {
    cursor: grabbing;
}


body    {background-color: rgb(103, 186, 234);
    text-align: center;
    font-family: 'Webkinz';
    overflow: hidden;}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("Webkinz/confettisticker2.gif");
    background-repeat: repeat;
    opacity: 0.7;          
    pointer-events: none;
    z-index: 0;
}

#contentimage {
    background-color: #fd1892;
    margin: 50px auto 0;
    height: 700px;
    max-width: 880px;
    position: relative;
    
}

#content {
    margin: 50px auto 0;
    height: 700px;
    max-width: 880px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 5px solid transparent;
    overflow: hidden;
    background-image:
        linear-gradient(rgb(145, 212, 250), rgb(121, 200, 245)),
        linear-gradient(to bottom left, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: visible;
}
#content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("Webkinz/Bunnybg.png") center bottom / 100% auto no-repeat;
    opacity: 0.5;          
    pointer-events: none;
    z-index: 0;
}


#main {
    display: flex; flex: 1; gap: 10px; min-height: 0;
}

#sidebar {
    width: 150px;
    flex-shrink: 0;       
    background-color: white;
    border-radius: 10px;
    padding: 20px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;    
    gap: 15px;
    background-color: rgb(255, 255, 255, 50%);
    z-index: 4;
    backdrop-filter: blur(2px);
    overflow: visible;
}
#mypets::-webkit-scrollbar {
    display: none;                  
}

#mypets {
    flex: 1;                 
    
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    overflow: auto;           
    z-index: 2;
    scrollbar-width: none;
}
#tabs {
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
    height: 110px;
    border-radius: 10px;
    box-shadow:
        0 8px 25px rgba(0, 90, 160, 0.35),         
        inset 0 1px 0 rgba(255, 255, 255, 1),     
        inset 0 -10px 30px rgba(120, 220, 255, 0.4); 
    width: 850px;
    padding: 10px 20px;
    box-sizing: border-box;
    overflow: visible;
    align-items: center;
    display: fixed;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 3;
}
.petgallery {
    
    width: 170px;
    height: 170px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin-inline: 20px;
    margin-bottom: 40px;
}

.petdesc {
    text-align: center;
    margin: 0 auto;
    padding: 5px;
}

img.swap {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border: 3px solid #577687;
  border-radius: 10px;
  background-color: rgb(130, 200, 241)
}
#swapBtn {
    background-image:
    
    linear-gradient(to bottom left,
        #b827fc 0%,
        #84bfff 25%,
        #d9ff8e 50%,
        #ffe8a9 75%,
        #ff78c0 100%);
    width: 150px;
    height: 40px;
    border-radius: 10px;
    font-family: 'Webkinz';
    
}
.styled {
  border: 0;
  font-family: 'Webkinz';
  height: 50px;
  padding: 0 10px;
  font-size: 1rem;
  color: white;
  text-shadow: 1px 1px 1px black;
  border-radius: 10px;
  background-color: rgb(255, 225, 0);
  background-image: linear-gradient(
    to top left,
    rgb(255, 179, 0),
    rgb(255, 166, 0) 30%,
    transparent
  );
  box-shadow:
    inset 2px 2px 3px rgb(255 255 255 / 0.6),
    inset -2px -2px 3px rgb(0 0 0 / 0.6);
    display: flex;
    justify-content: left;
    align-items: center;
}

.styled:hover {
  background-color: rgb(255, 208, 0);
}

.styled:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 147, 5, 0.6),
    inset 2px 2px 3px rgb(0 0 0 / 0.6);
}
.bigimage {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);   /* centers it over the div */
    size: 100%;                     /* larger than the div */
    height: auto;
    pointer-events: none;               /* optional: clicks pass through to the div */
    overflow: visible;
}