* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 2fr 1fr 2fr;
    grid-template-rows: repeat(3, 1fr);
}

:root {
  --pixel-size: 20px;
}

.pixel-art-container {
  display: grid;
  grid-template-columns: repeat(18, var(--pixel-size));
  grid-template-rows: repeat(29, var(--pixel-size));
  gap: 0;
  width: fit-content;
  filter: drop-shadow(6px 4px 2px rgb(89, 49, 67));
  transition: all .75s;
  animation: characterFloat 2s -.5s infinite linear alternate-reverse;
}
        .pixel-art-container:hover {
            animation: text-hueRotate 1.5s infinite linear alternate-reverse forwards;
        }

.pixel {
  width: var(--pixel-size);
  height: var(--pixel-size);
}

.color-0 {
  background-color: #a25939;
}

.color-1 {
  background-color: #2b0d1d;
}

.color-2 {
  background-color: #b52c47;
}

.color-3 {
  background-color: #ff8a9b;
}

.color-4 {
  background-color: #f9cdcd;
}

.color-5 {
  background-color: #e3a34a;
}

.color-6 {
  background-color: #cd6060;
}

.color-7 {
  background-color: #ea8bb1;
}

.color-8 {
  background-color: #731c2f;
}

.character-art {
    background-image: -webkit-linear-gradient(#F598AA, #C6C6C6);
    grid-row: 1/-1;
    display: flex;
    justify-content: center;
    align-items:center;
}

@keyframes characterFloat {
    0% {
        transform: translateY(5px);
        filter:saturate(1);
    }
    50% {
        transform: translateY(-5px);
        filter:saturate(1.5);
        
    }
    100% {
        transform: translateY(5px);
        filter:saturate(1);
    }
}

@keyframes text-hueRotate {
    from {
        filter:hue-rotate(0);
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        filter:hue-rotate(360deg);
        transform:scale(1.1);  
    }
}

@keyframes text-sizeChange {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: rgb(248, 181, 203);
        filter:blur(2px);
        text-shadow: 0 0 6px white, 0 0 8px gold;
    }
    to {
        transform: scale(1.1);
        color: rgb(255, 211, 145);
    }
}

.character-bio {
    background-image: url(character_images/characterArt_bgImage9.jpg);
    background-size: cover;
    background-position: center;
    grid-column: 3/4;
    grid-row: 1/-1;
    display: flex;
    justify-content: center;
    align-items: center;
        .character-content {
            background-color: rgba(61, 6, 38, 0.826);
            padding: 35px;
            max-width: 400px;
            display: grid;
            gap: 10px;
            box-shadow: 0 0 10px white, 0 0 15px gold;
            border: solid rgb(255, 214, 126) 3px;
            h1 {
                text-align: center;
                font-family: "Manufacturing Consent", system-ui;
                font-weight: 400;
                font-style: normal;
                font-size: 45px;
                text-transform: capitalize;
                letter-spacing: 1px;
                color: rgb(254, 83, 129);
            }
                    h1:hover {
                        animation: text-sizeChange 1s forwards;
                    }
            h2 {
                text-align: center;
                    font-family: "Fleur De Leah", cursive;
                    font-weight: 400;
                    font-style: normal;
                    font-size:30px;
                    letter-spacing: 3px;
                    color: rgb(255, 211, 145);
                    text-shadow: 0 0 4px white, 0 0 6px gold;
                    text-transform: capitalize;
            }
                h2:hover {
                    animation: text-hueRotate 2s forwards;
                }
            p {
                font-family: "MedievalSharp", cursive;
                font-weight: 400;
                font-style: normal;
                color: #fcc7d1;
                letter-spacing: 2px;
                font-size: 16px;
            }
                p:hover {
                    animation: text-hueRotate 2s forwards;
                }
            .stats {
                display: flex;
                width: 100%;
                justify-content: space-between;
                .stat {
                    width: 25%;
                    text-align: center;
                    font-family: "MedievalSharp", cursive;
                    font-weight: 400;
                    font-style: normal;
                    text-transform: capitalize;
                    color: rgb(254, 83, 129);
                    .stat-bar {
                        width: 100%;
                        height: 5px;
                        background-image: linear-gradient(to right, #F598AA , #C6C6C6);
                        border-radius: 10%;
                        display: flex;
                        align-items: center;
                        position: relative;
                        .stat-dot {
                            width: 10px;
                            height: 10px;
                            border-radius: 50%;
                            background: rgb(169, 255, 234);
                            position: absolute;
                        }
                    }
                        h3:hover {
                            animation: text-sizeChange 1s forwards;
                        }
                }
                    .stat-01 .stat-dot {
                        left: 75%;
                    }
                    .stat-02 .stat-dot {
                        right: 20%;
                    }
                    .stat-03 .stat-dot {
                        left: 30%;
                    }
            }
        }
}

.skill {
    display: grid;
    grid-template-rows: min-content 1fr min-content;
    text-align: center;
    padding: 5%;
        h4 {
            font-family: "Manufacturing Consent", system-ui;
            font-weight: 400;
            font-style: normal;
            font-size: 27px;
            text-transform: capitalize;
            text-decoration: underline 2px;
        }
            h4:hover {
                animation: text-sizeChange 1.5s forwards;
            }
        h5 {
            font-family: "MedievalSharp", cursive;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
        }
            h5:hover {
                animation: text-hueRotate 2s forwards;
            }
        .skill-container {
            display: flex;
            align-items: center;
            justify-content: center;
            .object {
                transition: all .75s;
            } 
        }
}

.skill-01 {
    background-color: #e8819f;
    border: ridge #fdcb67 5px;
        h4 {
            color:#992949
        }
        h5 {
            color:#992949
        }
        .object {
            position: absolute;
            display: flex;
            justify-content: space-between;
        }
            .object-02 {
                width: 60px;
                height: 60px;
                background-color: rgb(233, 81, 119);
                transform:rotate(45deg);
                border:solid #960340 3px;
            }
                .object-02:hover {
                    animation: bringLife 2.5s infinite linear alternate-reverse;
                }
            .object-01 {
                width: 90px;
                height: 90px;
                border-radius: 50%;
                border: double rgb(248, 217, 125) 4px;
                box-shadow: 0 0 5px white, 0 0 10px gold;
                animation: blink 1s -.5s infinite linear;
            }
}

.skill-02 {
    background-color: #c68ec5;
    border: ridge #fdcb67 5px;
        h4 {
            color: #673567;
        }
        h5 {
            color: #673567;
        }
        .object {
            position: absolute;
            display: flex;
            justify-content: space-between;
                .dots {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    background-color: #f65175;
                    animation: colorChange 2s infinite linear;
                }
                .dots-02 {
                    animation-delay: -.5s
                }
                .dots-03 {
                    animation-delay: -1s
                }
                .dots-04 {
                    animation-delay: -1.5s
                }
        }
            .object-01 {
            width: 50px;
            height: 50px;
            background-color: rgb(176, 56, 240);
            border-radius: 50%;
            box-shadow: 0 0 5px white, 0 0 10px gold;
            border: double rgb(238, 204, 170) 5px;
            animation: pulseAnimation 1s -.5s infinite linear;
            animation-direction: reverse;
            }
            .object-02 {
                width:130px;
                height:30px;
                animation: rotate 2s -.5s infinite linear;
            }
            .object-03 {
                width:130px;
                height:30px;
                animation: rotate 2s infinite linear;
            }
}

.skill-03 {
    background-color: #96add1;
    border: ridge #fdcb67 5px;
        h4 {
            color: #3a537b;
        }
        h5 {
            color: #3a537b;;
        }
        .object {
            position: absolute;
            display: flex;
            justify-content: space-between;
        }
                .object-02 {
                    background-color: #a88cef;
                    height:50px;
                    width: 50px;
                    animation: mutate 1s -.5s linear infinite;
                }
                .object-01 {
                    width: 90px;
                    height: 90px;
                    border-radius: 50%;
                    border: double rgb(248, 217, 125) 4px;
                    box-shadow: 0 0 5px white, 0 0 10px gold;
                    animation: blink 2.5s -.5s infinite linear reverse;
                }
                    .object-02:hover {
                        animation-play-state: paused;
                    }
}

@keyframes bringLife {
    0% {
        transform: rotate(0);
        filter: drop-shadow(6px 4px 2px rgb(65, 11, 36));
    }

    50% {
        border:double #ffa600 5px;
        box-shadow: 0 0 5px white, 0 0 10px gold;
        
    }

    100% {
        transform: rotate(360deg);
        border:double #fcdca1 5px;
    }
}

@keyframes colorChange {
    0% {
        /* filter: brightness(1); */
        background-color:#ef747c;
        border: solid rgb(221, 170, 0) 1px;
    }

    50% {
        /* filter: brightness(1); */
        background-color:#bc74ef;
    }

    100% {
        /* filter: brightness(0.9); */
        background-color:#ea67e3;
        border: double rgb(251, 225, 123) 4px;
        /* box-shadow: 0 0 5px white, 0 0 10px gold; */
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0% {
        filter:opacity(1);
    }

    30% {
        filter:opacity(0.5);
        transform: scale(1.1);
    }

    60% {
        filter:opacity(0.8);
    }

    100% {
        filter:opacity(1);
        filter:blur(2px);
    }
}

@keyframes mutate {
    0% {
        transform: scale(1);
        filter: opacity(1);
        filter:blur(2px);
    }

    20% {
        transform: scale(0.8);
        border-radius: 50%;
        filter: opacity(.5);
        transform: rotate(90deg);
        background-color: #ef74e7;
    }

    40% {
        transform: scale(0.8);
        filter: opacity(1);
        filter:blur(2px);
        border:double #ffa600 4px;
        box-shadow: 0 0 5px white, 0 0 10px gold;
    }

    60% {
        transform: scale(1.2);
        border-radius: 50%;
        filter: opacity(.8);
        background-color: #efd074;
    }

    100% {
        transform: scale(1);
        filter: opacity(.8);
        border:solid #fcdca1 1px;
    }
}

@keyframes circlePulse {
    0% {
        transform: scale(1);
        filter:blur(2px);
    }

    20% {
        transform: scale(0.8);
    }

    40% {
        transform: scale(0.8);
        filter: opacity(1);
        filter:blur(2px);
    }

    60% {
        transform: scale(1.4);
        filter: opacity(.8);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        filter: opacity(1);
        filter:blur(2px);
    }

    20% {
        background-color: #ff218c;
        transform: scale(0.8);
        border-radius: 50%;
        filter: opacity(.5);
    }

    40% {
        background-color: #e3a34a;
        transform: scale(0.8);
        filter: opacity(1);
        filter:blur(2px);
    }

    60% {
        background-color: #73bbef;
        transform: scale(1.2);
        border-radius: 50%;
        filter: opacity(.8);
    }

    100% {
        transform: scale(1);
        filter: opacity(.8);
    }
}