@import url("https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1d1d1d;
    color: white;
    font-family: 'Cascadia Code', monospace;
    font-weight: 500;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

header {
    width: 100%;
    background-color: #3d3d3d;
    padding: 1rem;
}

h1 {
    font-size: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    img {
        aspect-ratio: 1 / 1;
        width: 3rem;
        user-select: none;
    }
}

.subtitle {
    font-size: 0.8rem;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.joke-setup {
    font-size: 1.2rem;
}

.joke-punchline {
    font-size: 1.2rem;
    filter: blur(5px);
    transition: filter 0.1s ease;

    &:hover {
        filter: none;
    }
}

button#new-joke {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: 'Cascadia Code', monospace;
    background-color: #4a9eff;
    color: black;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;

    &:hover {
        background-color: #357abd;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }

    &:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
}

footer {
    width: 100%;
    background-color: #3d3d3d;
    padding: 1rem;
}