@font-face {
  font-family: "basiic";
  src: url("https://files.catbox.moe/jtvuhg.ttf") format("truetype");
}


:root {
  --pink: #FFEAFC;
  --pink-dark: #FFB2E6;
}

.row {
  display: flex;
}

.g-1 {
  gap: 1px;
}

.items-center {
  align-items: center;
  justify-content: center;
}


html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "basiic", sans-serif;
  background: url(/assets/lacebg.png);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



.main-content {
  background: white;
  padding: 15px;
  border: 1px solid var(--pink-dark);
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  box-shadow: 0px 0px 10px #ffd4f9;
}


.window-box {
  background-color: white;
  border: 1px solid var(--pink-dark);
  box-shadow: 2px 2px 0 #ccc;
  padding: 5px;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--pink-dark);
  line-height: 1.3;
  font-size: 16px;
}

.toolbar {
  background-color: var(--pink);
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--pink-dark);
  border-bottom: none;
  gap: 2px;
  height: 20px;
  padding: 2px 5px;
  align-items: center;
  box-shadow: 2px 2px 0 #ccc;
}

.tool-btn {
  background-color: white;
  padding: 5px;
  border: 1px solid #ccc;
  display: flex;
  color: var(--pink-dark);
  font-size: 10px;
  height: 5px;
  width: 5px;
}

.toolbar-txt {
  font-size: 10px;
  font-family: 'basiic', sans-serif;
  color: var(--pink-dark)
}



.tabs {
  display: flex;
  border: 1px solid var(--pink-dark);
  border-bottom: none;
  background-color: var(--pink);

}

.tab {
  padding: 10px 10px;
  cursor: pointer;
  color: var(--pink-dark); 
  text-align: center;
  border-right: 1px solid var(--pink-dark); 
background-color: white;
  transition: all 0.3s ease; 
}



.tab:hover {
  background: var(--pink); 
}

.tab.active {
  background-image:
    url(https://files.catbox.moe/8jrjbc.webp); 
  background-size: contain, cover;
  background-repeat: repeat;
  background-position: center, center;
  background-color: var(--pink);
}


.content {
  padding: 20px;
  border: 1px solid var(--pink-dark);
  display: none;
}

.content.active {
  display: block;
  overflow-y: auto;
  max-height: 200px; 
}




.tab-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 5px;
}


.credit-box {
  border: 1px solid var(--pink-dark); 
  border-radius: 7px;
  padding: 10px 15px;
  width: 90%;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  color: var(--pink-dark); 
}

a {
  color: inherit; 
  text-decoration: none;
}

.credit-box:hover {
  transform: scale(1.02);
  background-color: var(--pink);

}



.stamp-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px; 
}

.button-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px; 
}


.tooltip-wrapper {
  position: relative;
  display: inline-block;
}


.tooltip-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background-color: rgba(213, 177, 142, 0.9);
  color: white;
  padding: 2px;
  border-radius: 15px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 10px rgba(252, 189, 232, 0.3);
  font-family: "Rainy Hearts", sans-serif;
}

.tooltip-wrapper:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}


.stamp {
  display: block;
  width: 100px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}


.button {
  display: block;
  width: 80px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.blinkie {
  display: block;
  width: 150px;
  height: 20px;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.stamp:hover,
.button:hover {
  transform: scale(1.1);
  cursor: pointer;
}

        .back-arrow {
        display: flex;
        justify-content: flex-end;
        width: 825px;
    }

    .back-arrow i {
        font-size: 2rem;
        transition: all 0.3s ease-in-out;
        display: inline-block;
        color: var(--pink-dark); 
    }

    .back-arrow i:hover {
        transform: translateX(-10px);
    }

    @media screen and (max-width: 768px) {
      .main-content {
        max-width: 320px;
      }

      .back-arrow {
        display: none;
      }

      .tab {
        font-size: 12px ;
      }
    }