@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.cursor-inner, .cursor-outer {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: exclusion;
    transition: all 0.1s ease-out; 
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background-color: #fff;
    z-index: 99999999999;
    display: none;
}

.cursor-outer {
    width: 20px;
    height: 20px;
    background-color: rgb(255, 255, 255);
    z-index: 9999999998;
}

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

@keyframes yellowChange {
    0% {
        /* At the beginning of the animation, set the background position */
        background-position: 0% 50%;
    }
    50% {
        /* At the midpoint, change the background position to create movement */
        background-position: 100% 50%;
    }
    100% {
        /* At the end, return to the original position */
        background-position: 0% 50%;
    }
}


body {
    font-family: 'Poppins', sans-serif;
    padding-top: 50px;
    animation: yellowChange 15s ease infinite alternate;
    background: linear-gradient(-45deg, #fceabb, #f8b195, #f67280, #c06c84);
    background-size: 400% 400%;
}

h1 {
    font-size: xx-large;
    margin-left: 10px;
    margin-top: 0;
}

h2 {
    margin: 5px;
    text-align: center;
    width: 80%;
}

.chinese {
    font-family: "Noto Serif TC", serif;
    color: white;
    background-color: #252525;
}

#est {
    margin-top: 0;
    margin-left: 10px;
}

.line {
    width: 100%;
    height: 5px;
    background-color: #000;
}

#flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 50%;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    margin: 5px;
    max-width: 400px;min-width: 300px;
    transition: all 0.3s;
    background-color: white;
}

.des, .dog-title {
    margin: 0;
}

.content {
    margin: 5px;
}

img {
    width: 50%;
    transition: all 0.5s;
    border-radius: 10px;
    border: 3px solid rgb(117, 112, 111);
    margin: 5px;
    background-color: white;
}

.des {
    background-color: black;
    color: white;
}

.card:hover { 
    scale: 1.1;
    cursor: pointer;
    img {
        rotate: -5deg;
    }
}

.card a {
    color: black;
}

a { 
    color: rgb(98, 72, 0);
    background-color: #ffffff6d;
    margin: 0;
    text-decoration: none;
}

.bth-btn {
    margin-top: 0;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.679);
    width: 100%;
    min-width: 200px;
    padding: 10px;
    position: fixed;
    top: 0;
    z-index: 99999999;
    transition: all 0.5s;
    backdrop-filter: blur(5px);
}

.bth-btn:hover {
    background-color: rgba(0,0,0,0.679);
    color: white;
}

.dog-img {
    border-radius: 10px;
    max-width: 200px;
    min-width: 150px;
    border: 2px solid rgb(0, 0, 0);
    background-color: white;
    margin: 15px;
}

.dog-img:hover {
    rotate: -10deg;
    scale: 1.1;
}

.red {
    color: rgb(255, 0, 0);
}

.table {
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    max-width: 400px;min-width: 250px;
    margin-top: 10px;
    margin: 5px;
}

@media screen and (max-width: 768px) {
  .cursor-inner, .cursor-outer {
        display: none;
    }

    h2 {
        width: 90%;
    }

    .card {
        width: 90%;
    }

    .dog-img {
        width: 90%;
    }

    .achivementimg {
        width: 90%;
    }

}

.fleximg {
    display: flex;
    justify-content: center;
}

.fleximg img {
    margin: 5px;
    width: 30%;
    min-width: 100px;
}

/* Styling for the category buttons */
.category-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #f0f0f060;
    border: 0px solid #ccc;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #333;
    color: white;
    scale: 1.1;
    border: 1px solid #ccc;
}

.hide {
    display: none;
}

.achivementimg {
    border-radius: 10px;
    max-width: 400px;
    min-width: 300px;
    border: 2px solid rgb(0, 0, 0);
    background-color: white;
    margin: 15px;
}

.achivementimg:hover {
    rotate: -10deg;
    scale: 1.1;
}

/* RARITY COLOR */
.common {
    color: green;
}

.divine {
    color: orange;
}

@keyframes rainbow {
  0%   { color: red; }
  16%  { color: orange; }
  33%  { color: yellow; }
  50%  { color: green; }
  66%  { color: blue; }
  83%  { color: indigo; }
  100% { color: violet; }
}

.prismatic {
  animation: rainbow 5s linear infinite;
}
