html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: #fecddc;
    border: 1px solid #8f4949;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

*::-webkit-scrollbar-thumb {
    background-color: #362684;
    border-radius: 8px;
    border: 10px none #362684;
}

body {
    background-color: rgb(255, 216, 218);
    color: #8e3743;
    position: relative;
    margin: 0 auto;
    padding-top: 170px;
    perspective: 400px;
}

#panel {
    z-index: 10;
    background-color: #8a5454;
    text-align: center;
    align-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    font-family: "Barrio", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    background: #8e5151;
    border: 5px dashed #562626;
    transition: all 1s cubic-bezier(0.96, 0, 0.58, 1);
}

.slide-up{
    transform: translateY(-90vh) /*rotateX(70deg)*/;
}

h1 {
    color: rgb(106, 39, 39);
    font-family: "Barrio", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
}

h2 {
    color: rgb(255, 139, 176);
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

h3 {
    color: rgb(108, 22, 29);
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
}

.head {
    background-color: rgb(255, 216, 218);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    width: 50%;
    border: 4px solid#8e3743;
}

.game {
    align-content: center;
    background-color: rgb(255, 216, 218);
    width: 50%;
    border: 4px dashed #8e3743;
}

.button {
    background-color: #8a5454;
    border: 2px solid #562626;
    padding: 15px 10px;
    border-radius: 10px;
    font-family: "Micro 5", sans-serif;
}

.button:hover {
    background-color: #652c2c;
    border: 2px solid #8e5151;
    color: #8e5151;
}

.details {
    background-color: rgb(150, 86, 86);
    padding: 10px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    height: fit-content;
    width: 40%;
    border: 3px dashed;
    border-top: 3px dashed #562626;
    border-left: 3px dashed #562626;
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 15px;
    align-content: center;
}

.character img {
    max-height: 500px;
    width: 70%;
    display: block;
    margin: 10px auto;
    padding: 20px 40px;
}

.character {
    background-color: rgb(255, 216, 218);
    border: 2px solid #562626;

}

.design {
    background-color: #8a5454;
}

.drawing {
    display: grid;
    grid-template-columns: auto;
}

img {
    width: 480px;
}

.colors {
    background-color: #8a5454;
}

a{
    color: rgb(117, 5, 5);
}

nav a:hover {
    color: deeppink;
}

main article p {
    max-width: 65ch;
}

header, #banner, main, footer {
    max-width: 2000px;
}

@media screen and (max-width:487px) {
    nav {
        font-size: 1rem;
    }
    header {
        height: 140px;
    }
}