header.main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.main {
    background-color: var(--nearblack);
    overflow: auto;
    padding: 10px 0;
    margin-top: 10px;
}

header.main h1 {
    margin: 0;
    margin-top: -10px;
    color: var(--offwhite);
    transition: text-shadow 0.5s ease;
    text-transform: lowercase;
    font-feature-settings: 'ss01';
}

header.main a {
    color: var(--offwhite);
    text-decoration: none;
    font-family: var(--cr);
}

header.main a:hover {
    color: var(--primary);
}

.main__title a {
    color: var(--offwhite);
    text-decoration: none;
    font-family: var(--cr);
}

.main__title .logo {
    border: 2px solid var(--offwhite);
    border-radius: 5px;
    margin-right: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.5s ease-in-out;
}

.main__title .logo svg {
    width: 60%;
    height: 60%;
    margin-left: 3px;
}

.main__title a {
    display: flex;
    align-items: center;
}

.main__title a:hover {
    color: var(--offwhite);
    text-shadow: var(--double-shadow);
}

.main__title a:hover .logo {
    color: var(--offwhite);
    box-shadow: var(--double-shadow);
}

.main__title .fullstop {
    display: none;
}

@media (max-width: 290px) {
    .main__title h1 {
        display: none;
    }
}

@media (max-width: 435px) {
    .main__title .surname {
        display: none;
    }

    .main__title .fullstop {
        display: inline;
    }
}

@media (max-width: 610px) {
    .main__links span {
        display: none;
    }
}

.main__links .icon {
    width: 20px;
    height: 20px;
}

.main__links {
    display: flex;
    grid-gap: 10px;
}

.main__links a {
    display: flex;
    align-items: center;
    text-transform: lowercase;
    line-height: 1px;
    justify-content: flex-end;
}

.main__links .icon {
    margin-right: 5px;
}

.main__links span {
    margin-top: -3px;
}

.main__links a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.header-nav {
    width: 100%;
    margin-top: 10px;
}

.header-nav ul {
    display: flex;
    list-style-type: none;
    grid-gap: 10px;
    align-items: center;
    justify-content: center;
    margin-block-start: 0;
    padding-inline-start: 0;
    flex-wrap: wrap;
}

.header-nav li {
    
}

.header-nav li a {
    text-decoration: none;
    background-color: var(--offwhite);
    color: var(--nav-text);
    text-transform: lowercase;
    font-size: .9em;
    font-family: var(--cbr);
    text-align: center;
    border-bottom: none;
    border-radius: 5px;
    padding: 5px 20px;
    text-decoration: none;
    box-shadow: var(--double-shadow);
    transition: box-shadow .5s ease-in-out;
}

.header-nav li a:hover {
    box-shadow: none;
}

.header-nav li ul {
    display: none;
}