body {
   background-color: #B8BAF3;
   top: 100px;
   position: relative;
   height: 100vh;
   overflow: hidden;
   box-sizing: border-box;
}

.flip-card {
   width: 100px;
   height: 150px;
   max-width: 180px;
   aspect-ratio: 2 / 3;
   perspective: 1000px;
   border-radius: 10px;
}

.flip-card-grid {
   display: grid;
   gap: 10px;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   justify-items: center;
   align-items: stretch;
   margin: 30px auto 0;
   width: min(100%, 860px);
}

@media (max-width: 600px) {
   .flip-card-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      width: 100%;
      padding: 0 1rem;
   }
}

.flip-card-inner {
   width: 100%;
   height: 100%;
   transition: transform 1.5s;
   transform-style: preserve-3d;
   transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
   }

.flip-card:hover .flip-card-inner {
   transform: rotateY(180deg);
   }

.flip-card-front, .flip-card-back {
   position: absolute;
   width: 100%;
   height: 100%;
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   }

.flip-card-front {
   /*change the appearance of the front here*/
   background: linear-gradient(-180deg, #FFFFFF40 30%, #b8cef360 100%);
   backdrop-filter: blur(5px); /*delete if you don't want the frosted glass effect*/
   box-shadow:0px 0px 5px 1px #61616130;
   border-radius:10px;
   border:1px solid #f5f5f5;
   padding: 10px;
   color: #000;
   font-size: 0.9em;
   }

.flip-card-back {
   /*change the appearance of the back here*/
   background: linear-gradient(-180deg, #FFFFFF40 30%, #b8cef360 100%);
   backdrop-filter: blur(5px); /*delete if you don't want the frosted glass effect*/
   box-shadow:0px 0px 5px 1px #61616130;
   transform: rotateY(180deg);
   border-radius:10px;
   border:1px solid #f5f5f5;
   padding: 10px;
   color: #000;
   font-size: 0.9em;
   width: 100%;   
   overflow-x: auto;   
   }

h1 {
   background: -webkit-linear-gradient(-90deg, #ffffff 0%, #b8cef3 70%);
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   color: #FFDBF1;
   font-size: 2.3em;
   font-weight: 900;
   line-height: 1.2em;
   filter: drop-shadow(0px 0px 1px #919191);
   -webkit-filter: drop-shadow(0px 0px 1px #919191);
   }

h2 {
   background: -webkit-linear-gradient(-90deg, #ffffff 0%, #B8BAF3 70%);
   background-clip: text;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   font-size: 1.4em;
   font-weight: 600;
   line-height: 1.2em;
   filter: drop-shadow(0px 0px 1px #919191);
   -webkit-filter: drop-shadow(0px 0px 1px #919191);
   }
   
#container {
   overflow: scroll;
   overflow-x: hidden;
   height: 10em;
   padding: 1rem;
}

::-webkit-scrollbar {
   width: 14px;
}

        ::-webkit-scrollbar:horizontal {
        height: 14px;
        }

        ::-webkit-scrollbar-corner {
        background: #eee;
        }

        ::-webkit-scrollbar-track:vertical {
        background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
        border-radius: 5px;
        }

        ::-webkit-scrollbar-track:horizontal {
        background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb {
        border: 1.5px solid #888;
        border-radius: 5px;
        box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
        }

        ::-webkit-scrollbar-thumb:vertical {
        background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
        }

        ::-webkit-scrollbar-thumb:horizontal {
        background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
        }

        ::-webkit-scrollbar-button:horizontal:end:increment,
        ::-webkit-scrollbar-button:horizontal:start:decrement,
        ::-webkit-scrollbar-button:vertical:end:increment,
        ::-webkit-scrollbar-button:vertical:start:decrement {
        display: block;
        }

        ::-webkit-scrollbar-button:vertical {
        height: 15px;
        }

        ::-webkit-scrollbar-button:vertical:start:decrement {
        background: white;
        background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), #eee;
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        border: 1.5px solid #888;
        border-radius: 5px;
        }

        ::-webkit-scrollbar-button:vertical:start:increment {
        display: none;
        }

        ::-webkit-scrollbar-button:vertical:end:decrement {
        display: none;
        }

        ::-webkit-scrollbar-button:vertical:end:increment {
        background: white;
        background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), #eee;
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        border: 1.5px solid #888;
        border-radius: 5px;
        }

        ::-webkit-scrollbar-button:horizontal {
        width: 14px
        }
        ::-webkit-scrollbar-button:horizontal:start:increment {
        display: none;
        }
        ::-webkit-scrollbar-button:horizontal:end:decrement {
        display: none;
        }

        ::-webkit-scrollbar-button:horizontal:start:decrement {
        background: white;
        background: url("https://dl.dropbox.com/s/xcm618ghd823271/scroll5.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        background-position: center;
        border-radius: 5px;
        border: 1.5px solid #888;
        }

        ::-webkit-scrollbar-button:horizontal:end:increment {
        background: white;
        background: url("https://dl.dropbox.com/s/byeyi7am889ii9m/scroll6.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        background-position: center;
        border-radius: 5px;
        border: 1.5px solid #888;
        }


/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #f2b0e5;
  background-color: #92ebff;
  top: 0;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #fd2071ad;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #8aab9d;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 20px;
  border: 1px solid #ffdaf6;
  border-top: none;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  max-height: 440px;
}

.tooltip {
   position: relative;
   display: inline-block;
}

.tooltip::after {
   content: attr(data-tooltip);
   position: absolute;
   bottom: 110%;
   left: 50%;
   background: rgba(0, 0, 0, 0.8);
   color: white;
   padding: 6px 8px;
   border-radius: 4px;
   font-size: 14px;
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
}

.tooltip:hover::after {
   opacity: 1;
}
