* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    cursor: url('/static/MinecraftCursor.png') 16 16, auto;
}

html {
    font-size: 16px;
}
@font-face {
    font-family: 'Minecraftia';
    src: url('./static/fonts/Minecraft.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
body {
    background-color: black;
    color: #eeeeee;
    max-width: 768px;
    justify-content: center;
    margin: 0 auto;
    font-family: 'Minecraftia';
}

nav {
    display: flex;
    justify-content: space-between;
}

img {
    height: 4rem;
    display: flex;
}

.nav-links {
    line-height: 2rem;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.hobbies {
    display:flex;
    gap:2rem;
    align-items: flex-start;
}

.hobbies img {
    display: flex;
}

.hobbies > div {
    display:flex;
    flex-direction: column;
    gap:1rem;
}
h1::after {
    content: '====================';
    display: block;
    /* margin-top: 0.5rem; */
    font-size: 0.8;
    letter-spacing: 0em;
}
@-webkit-keyframes minecraftAvatar {
    0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
    10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
    20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
    30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
    40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}

.shake {
  -webkit-animation-name: minecraftAvatar;
  -webkit-animation-duration: 0.8s;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

h2 {
    margin: 2rem 0 0 0;
}

.blinkies {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.blinkies img {
    height: 2rem;
    width: auto;
    display: block;
}
a {
    color: #0392da;
    text-decoration: underline;
}
a:active, a:hover {
    background-color: var(#0392da);
    color: #ffffff;
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
    
    body {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        display: flex;
        gap: 1rem;
    }

    .hobbies {
        flex-direction: column;
        align-items: center;
    }
}