:root {
    --red: #b40000;
    --outline: #a600a0;

    --shadow: 10px 10px 20px black;
}

body {
    margin: 0;
    color: var(--blue-text);
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--blue2);
}

* {
    outline-color: var(--outline);
}

nav {
    background-color: var(--gold);
    color: var(--gold-text);
    margin: 10px;
    box-shadow: var(--shadow);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

nav a {
    display: grid;
    grid-template-columns: 50px auto;
    text-decoration: none;
    gap: 10px;
    color: inherit;
    font-size: 1.5em;
}

nav a:hover {
    text-decoration: underline;
}

nav a img {
    width: 100%;
    max-width: 70px;
}

nav a span {
    align-self: center;
    margin-right: 5px;
}

nav .created a {
    display: block;
    font-size: 1rem;
}

@media (max-width: 650px) {
    nav {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    @media (max-width: 380px) {
        nav a {
            display: flex;
            align-items: center;
            flex-direction: column;
        }
    }

    @media (max-width: 250px) {
        nav {
            font-size: .8rem;
        }
    }
}

footer {
    position: fixed;
    bottom: 10px;
    right: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 99;
}

footer span {
    border: 1px solid;
    background-color: var(--blue1);
    width: 30px;
    aspect-ratio: 1/1;
    font-size: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

footer div {
    --expanded-width: 200px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--blue1);
    border: 1px solid;
    border-radius: 2px;

    width: 0;
    border-inline-width: 0;
    transition: width .25s, border-inline-width .25s;
}

footer:hover div {
    width: var(--expanded-width);
    border-width: 1px;
}

footer a,
footer form button {
    all: unset;
    cursor: pointer;
    color: var(--blue-text);
    text-decoration: none;
    font-size: .9rem;
}

footer a:hover,
footer button:hover {
    text-decoration: underline;
}

footer form {
    all: unset;
    display: inline;
}

footer ul {
    margin: 0;
    padding: 5px;
    padding-left: 25px;
    width: var(--expanded-width);
}


.cookies {
    position: fixed;
    border-radius: 2px;
    box-shadow: var(--shadow);
    background-color: var(--red);
    color: var(--blue-text);
    padding: 5px;
    margin-right: 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
    z-index: 99;
    left: 0;
    bottom: 0;
    width: calc(100% - 30px);
    margin: 10px;
    text-align: center;
}

.cookies>button {
    background-color: var(--blue1);
    border-radius: 2px;
    padding: 5px;
    border: 1px solid;
    color: var(--blue-text);
    cursor: pointer;
    margin-top: 10px;
}