.header{
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 15px 40px;
    height: 60px;
    width: 100%;
    position: fixed;
    left: 0;
    z-index: 10;
    color: white;
}

.header h2{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.6em;
    margin: 0;
}

nav{
    font-size: 1em;
    width: 10vw;
    display: flex;
    justify-content: space-between;
}

nav a{
    color: white;
}

.header.scrolled{
background-color: rgba(0, 0, 0, 0.85);
}

@media(max-width:920px) and (min-width:550px)
{
    nav{
        width: 17vw;
    }
}

@media(max-width:550px) and (min-width:410px)
{
    body{
        font-size: 13px;
    }
    nav{
        width: 20vw;
    }

    .header{
        padding: 15px 20px;
    }
}

@media(max-width:410px) and (min-width : 300px)
{
    nav{
        width: 28vw;
    }

    .header{
        padding: 10px 15px;
    }
}