#header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    gap: 10px;
    padding: 20px 5px 15px;

}

#header #logo {
    width: 50px;
    height: auto;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

#header #logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

#header #logo + div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

#header #sitename {
    display: flex;
    font-size: 1.5rem;
    font-family: Arial, sans-serif;
    text-align: left;
}


#header #sitename p {
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
}

#header #sitename p br {
    display: none;
}

#header #sitename p span {
    font-weight: normal;
    text-transform: none;
    font-size: 1rem;
    line-height: 1;
    display: block;
    margin-top: 2px;
}

#header #tagline {
    font-size: 1rem;
    font-family: Arial, sans-serif;
    line-height: 1.3em;
}

#header #logo + div #tagline {
    display: none;
}



@media (min-width:900px) {

    #header {
        padding: 40px 5px;
        margin-bottom: 30px;
        max-width: 1240px;
    }

    #header #logo {
        width: 120px;
        margin-top: unset;
    }

    #header #sitename {
        font-size: 2.25rem
    }

    #header #sitename p span {
        display: inline;
        font-size: inherit;
        font-weight: inherit;
        text-transform: inherit;
    }

    #header #sitename p span::before {
        content: " // ";
    }

    #header #logo + div #tagline {
        display: block;
    }
}