@keyframes head-move {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
nav {
    display: flex;
    justify-content: flex-end;
    background-color: black;
    color: white;
    text-align: center;
}
.logo {
    font-family: VT323-Regular, monospace;
    font-size: 24px;
    color: goldenrod;
    margin-right: auto;
    padding-left: 15px;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}
nav a:hover {
    text-decoration: underline;
    color: #00ffff;
}
nav ul {
    list-style: none;
    display: flex;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.head {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 10px;
    width: 100%;
    animation-name: head-move;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    cursor: default;
}
.pet-header {
    background: radial-gradient(circle at top left, #c9960a, #00ffff);
    background-clip: text;
    color: transparent;
}
.pet-cloud {
    background: linear-gradient(to bottom, #c9960a, #00ffff);
    background-clip: text;
    color: transparent;
    transform: scaleX(-1);
    margin-top: 96px;
    margin-left: -40px;
}
.pet-cloud-two {
    background: linear-gradient(to top left, #00ffff00, #00ffff8a, #c9960a);
    background-clip: text;
    color: transparent;
    margin-top: 96px;
}
.pet-cloud-three {
    background: linear-gradient(to bottom right, #00ffff7a, #00ffff00);
    background-clip: text;
    color: transparent;
    transform: scaleX(-1);
    margin-top: 96px;
    margin-left: -80px;
}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pet-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 12px;
    cursor: default;
}
.pet-select {
    margin-top: 10px;
    font-family: VT323-Regular;
    font-size: 16px;
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 5px;
}
.pet {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    font-size: 8px;
    cursor: default;
}
.pet pre {
    margin: 20px 0 10px 0;
    padding: 0;
    font-size: 6px;
    max-height: 300px;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
.feed-btn, .play-btn, .clean-btn {
    border: none;
    cursor: pointer;
    font-family: VT323-Regular;
    font-size: 16px;
}
.feed-btn:hover, .play-btn:hover, .clean-btn:hover {
    color: #00ffff;
    background-color: black;
    text-decoration: underline;
}
.info {
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    box-sizing: border-box;
    font-family: VT323-Regular, monospace;
    color: white;
    cursor: default;
}
.stat {
    display: grid;
    align-items: center;
    gap: 10px;
}
.stat .label {
    text-transform: lowercase;
    letter-spacing: 1px;
    color: #cfcfcf;
}
.stat .bar {
    width: 100%;
}
.tombstone {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 5px;
    font-family: monospace;
    margin-bottom: 5px;
}
.tombstone a {
    color: darkslategrey;
    text-decoration: none;
}
footer {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    left: 0;
    padding: 0 30px;
    box-sizing: border-box;
    background-color: black;
}
.v-left, .c-right {
    text-align: left;
}
.v-left a, .c-right a {
    color: pink;
    text-decoration: none;
}
.v-left a:hover, .c-right a:hover {
    text-decoration: underline;
    color: #00ffff;
}
/* tablets and below */
@media (max-width: 900px) {
    .head {
        font-size: 8px;
    }
    .pet-cloud {
        margin-left: -30px;
        margin-top: 72px;
    }
    .pet-cloud-two {
        margin-top: 72px;
    }
    .pet-cloud-three {
        margin-left: -60px;
        margin-top: 72px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        padding: 8px 10px;
        font-size: 14px;
    }
}
/* tablets */
@media (max-width: 768px) {
    .head {
        font-size: 6px;
    }
    .pet-cloud {
        margin-left: -20px;
        margin-top: 56px;
    }
    .pet-cloud-two {
        margin-top: 56px;
    }
    .pet-cloud-three {
        margin-left: -40px;
        margin-top: 56px;
    }
}
/* mobile */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .logo {
        font-size: 20px;
    }
    .head {
        font-size: 4px;
    }
    .pet-header {
        margin-top: 17px;
    }
    .pet-cloud-three {
        display: none;
    }
    nav ul {
        padding: 0;
        margin: 0;
    }
    nav a {
        width: 100%;
        text-align: center;
    }
    .pet-title {
        font-size: 6px;
        margin-left: 5%;
    }
}
/* small phones */
@media (max-width: 400px) {
    .head {
        font-size: 3px;
    }
    .pet-header {
        margin-top: 10px;
        margin-left: 25px;
    }
    .pet-cloud {
        margin-top: 39px;
    }
    .pet-cloud-two {
        margin-top: 39px;
        margin-left: -20px;
    }
    .pet-title {
        font-size: 5px;
    }
}
