* {
    margin: 0;
    padding: 0;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 1 auto;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f2937;
    color: #e5e7eb;
    font-size: .8rem;
    padding: 1rem 4rem;
}

footer a .fa-github {
    font-size: 1.5rem;
}

footer a {
    color: #e5e7eb;
}

header {
    text-align: center;
    background-color: #e5e7eb;
    padding: 2rem;
}

header span {
    font-size: 4rem;
    font-weight: bolder;
    color: #0071e3;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eightball {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    gap: 3rem;
}

.eightball button {
    background-color: #0071e3;
    padding: 0.5rem 2rem;
    border-radius: 980px;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.eightball button:hover {
    background-color: rgb(0, 119, 237);
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-2deg); }
    20% { transform: translate(-3px, 0px) rotate(2deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(2deg); }
    50% { transform: translate(-1px, 2px) rotate(-2deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-2deg); }
    80% { transform: translate(-1px, -1px) rotate(2deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-2deg); }
}

.shake {
    animation: shake 0.5s;
}
