header p
{
    display: flex;
    justify-content: space-around;
    border-bottom: 3px solid rgb(204, 204, 204);
    font-size: 1.6em;
}

header a
{
    text-decoration: none;
    position: relative;
    font-size: 1.3em;
    color: rgb(142, 142, 142);
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    margin-bottom: 2px;
    transition: color 0.2s ease-in-out;
}

#local
{
    color: rgb(162, 196, 213);
    border-bottom: 3px solid rgb(162, 196, 213);
}

header a::after
{
    content: "";
    display: block;
    position: absolute;
    width: 0%;
    height: 3px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    transition: width 0.2s ease-in-out;
}

header a:hover::after
{
    width: 100%;
}

#local:hover::after {
    width: 0;
}

header a:hover
{
    color: rgba(0, 0, 0, 0.2);
}

body
{
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: auto;
}

@media screen and (max-width: 800px) {
    header p {
        font-size: 1.4em;
    }
}

@media screen and (max-width: 700px) {
    header p {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 600px) {
    header p {
        font-size: 1em;
    }
}