@font-face {
  font-family: "neo";
  src: url("/Neometric-Medium.otf") format("truetype");
}

@font-face {
  font-family: "decoder";
  src: url("/Decoder Regular.otf") format("truetype");
}

@-webkit-keyframes cursor {
  0% {cursor: url('keroppi cursors/keroppi cursor frame 1.png'), auto;}
  14.3% {cursor: url('keroppi cursors/keroppi cursor frame 2.png'), auto;}
  28.6% {cursor: url('keroppi cursors/keroppi cursor frame 3.png'), auto;}
  42.9% {cursor: url('keroppi cursors/keroppi cursor frame 4.png'), auto;}
  57.2% {cursor: url('keroppi cursors/keroppi cursor frame 5.png'), auto;}
  71.5% {cursor: url('keroppi cursors/keroppi cursor frame 6.png'), auto;}
  85.8% {cursor: url('keroppi cursors/keroppi cursor frame 7.png'), auto;}
  100% {cursor: url('keroppi cursors/keroppi cursor frame 8.png'), auto;}
} 

@keyframes cursor {
  0% {cursor: url('keroppi cursors/keroppi cursor frame 1.png'), auto;}
  14.3% {cursor: url('keroppi cursors/keroppi cursor frame 2.png'), auto;}
  28.6% {cursor: url('keroppi cursors/keroppi cursor frame 3.png'), auto;}
  42.9% {cursor: url('keroppi cursors/keroppi cursor frame 4.png'), auto;}
  57.2% {cursor: url('keroppi cursors/keroppi cursor frame 5.png'), auto;}
  71.5% {cursor: url('keroppi cursors/keroppi cursor frame 6.png'), auto;}
  85.8% {cursor: url('keroppi cursors/keroppi cursor frame 7.png'), auto;}
  100% {cursor: url('keroppi cursors/keroppi cursor frame 8.png'), auto;}
}

/* these are the main colors and header image
   replace them with anything you want! */
:root {
    --header-bg: url('keroppi header resized.png');
    --accent-color: #009933;
    --link-color: #ff66b3;
    --button-color: #8cc71f;
    --bg-color: #e6ffe6;
    --bg-color2: #caec8a;
    --text-color: #372558;
    --favorite-color: #CAEC8A;
    --pure-black-color: #000000;
    --pure-white-color: #ffffff;
    /* width */


body {
  --sb-track-color: #000000;
  --sb-thumb-color: #48a570;
  --sb-size: 13px;
}
body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 0px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 10px;
  border: 3px solid #000000;
}

@supports not selector(::-webkit-scrollbar) {
  body {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

/* you can get hex codes from sites like this:
   https://palettes.shecodes.io/
   i just looked up "css color templates" to find that link! */

/* this applies to all the content */

* {
    color: var(--text-color);
/* change the font here, it's set up to all use the same one */
    font-family: neo;
    font-weight: normal;
}
/* this is for when you select text on the page */
::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

body {

margin-top: 34px;

cursor: url('keroppi cursor edit.png'), auto;
  -webkit-animation: cursor 1400ms infinite;
  animation: cursor 1400ms infinite;
}



background-color: #caec8a;
opacity: 1;
background-image:  linear-gradient(#ffffff 3px, transparent 3px), linear-gradient(to right, #ffffff 3px, #caec8a 3px);
background-size: 34px 34px;

/* i think having better line spacing helps text to be more readable, but you can remove it if you want */
p {line-height: 1.5em;}


a{
  cursor: url("/keroppi cursor edit2.png"), default;
}


header {
/* you can add the image url in :root (at the top) if you want */
    border: 3px solid var(--pure-black-color);
    background: var(--header-bg);
    background-size: 100%;
    background-position: center;
/* change the minimum height if you want it to take up more/less space */
    max-width: 917px;
    min-height: 371px;
    margin: 0 auto;
    padding: 0 1em;
/* i have a default border-radius set, but i didn't want rounded corners on this element */
    border-radius: 2em;
    box-shadow: var(--button-color) 8px 8px 20px;
}

/* this is your site title displayed at the top of the page */
header h1 {
 
    padding: 1.2em;
    border-radius: .3em;
    max-width: 900px;
    font-family: decoder;
    font-size: 5em;
/* you can change the text-align to center or right if you want it placed differently */
    text-align: center;
    color: var(--pure-white-color);

    text-shadow: var(--pure-black-color) 4px 4px .001em;
}

nav {
    /*padding: 1em;*/
    margin-top: 24px;
    margin-bottom: 7px;
    font-weight: bold;
}

nav > ul {
    max-width: 1050px;
    margin: auto;
    line-height: 3rem;
/* this stuff makes it wrap around on mobile */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
/* this line takes away the dot in front of the list items */
    list-style-type: none;
/* list items have default padding but we don't need it for these */
    padding-left: 0;
/* and this spaces out the buttons so they're not touching */
    justify-content: center;
}
nav li {
    text-align: center;
}
nav li > a {
    color: var(--bg-color);
    background-color: var(--button-color);
    padding: 8.5px 2.44em;
    box-shadow: var(--bg-color2) 0 0 6px;
    font-family: decoder;
    font-weight: normal;
    font-size: 1.3em;
    text-shadow: var(--pure-black-color) 2px 2px .1em;
/* this takes away the link underline */
    text-decoration: none;
    border: 3px solid var(--pure-black-color);
    
}
nav li > a:visited {
    color: var(none);
}
nav li > a:hover {
    background-color: var(--favorite-color);
    box-shadow: var(--bg-color) 0 0 6px;
    color: var(--text-color);
}

a {
    color: var(--link-color);
    border-radius: 1em;
    text-shadow: var(--bg-color) 0px 0px 0px;
    font-weight: bold;
    transition: color 400ms ease-out, background-color 400ms ease-out, box-shadow 400ms ease-out;
}
a:visited {
    color: var(none);
}
a:hover {
    color: var(--link-color);
}

/* you can change this to anything you want :) */
ul { list-style-type: "❤︎ "; }

#sidebar {
    
    background-image: url("magicpattern-noise-1752183667770.png");
    
    background-color: var(--bg-color);
    max-width: 223px;
    height: 471px;
    margin: 1.1em;
    margin-right: 12px;
    margin-left:33px;
    padding: 1.3em;
    border: 3px solid var(--pure-black-color);
    box-shadow: var(--button-color) 8px 8px 20px;
    border-radius: 2.2em;
    text-align: center;
    font-size: 1.1em;
    
}

#avatar {
    margin: .5em auto;
/* image size is 160px so i made its container a little bigger to fit the borders */
    max-width: 164px;
    max-height: 164px;
    border-radius: 8em;
}
#avatar img {
    background: var(--bg-color2);
    border: 4px solid var(--button-color);
    max-width: 160px;
    border-radius: 8em;
}

#bio {
    margin: 1em 1em;
    background: var(--bg-color2);
    border: 3px solid var(--button-color);
    border-radius: 1em;
}
#bio p { margin: 1em; }


#content {
    display: flex;
    max-width: 1197px;
    margin: auto;
}


h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
}

main {

    background-image: url("magicpattern-noise-1752183667770.png");
    
    background-color: var(--bg-color);
    padding: 1em 2em;
    margin: 1em;
    margin-right: 33px;
    margin-left: 33px;
    border: 3px solid var(--pure-black-color);
    box-shadow: var(--button-color) 8px 8px 20px;
    border-radius: 2em;
    font-size: 1.2em;
}

main > h1,
main > h2,
main > h3 {
    background-color: var(--favorite-color);
    border-radius: .4em;
    padding: .2em .5em;
    border: 3px solid var(--button-color);
}

/* a class for centering text and images */
.center { text-align: center; }
/* made this a class so i can change it to be centered on mobile */
.img-right { float: right; }

img {
  max-width: 100%;
  height: auto;
}


footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}



#scratch {
	animation: squiggly-anim .5s linear infinite;
}

</style></div>< !--ok end of the scratch div-->.buttons img {
	display: block;
	width: 88px;
	height: 31px;
	image-rendering: pixelated;
	transition: 200ms var(--bouncy);
}

:root {
	--bouncy: cubic-bezier(.175, .885, .32, 1.275);
}

.buttons {
	flex-flow: row wrap;
	gap: 2px;
	
}

.buttons img {
	width: auto;
	height: auto;
	image-rendering: pixelated;
	transition: 200ms var(--bouncy);
}

.buttons img:hover {
	transform: scale(2);
	z-index: 69;
}





/* these are the mobile styles! */
@media only screen and (max-width: 800px) {
  
  iframe[src*="youtube"] {
		width: 100% !important;
		height: 160px !important;
		}
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        padding: 50px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    header {
        min-height: 152px;
        margin: 0 .1em;
    }
    header > h1 { 
        font-size: 2.3em;
        margin: .4em;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 100%;}
    main {margin: 0 .1em;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    .keroppiheads {
      display:none;
    }
    .keroppiheads2 {
      display:none;
    }
    .img-right {
        float: none;
        text-align: center;
    }
    #musicplayer {
      display:none;
    }
    #beeby {
      display:none;
    }
    #beebyheader {
      display:none;
    }
    #beebyheader:hover {
      display:none;
    }
    
    footer {
        margin: 1em;
    }
}