/* Header */
header {
    width: 100%;
    height: 500px;
    max-width: 2500px;
    position: relative;
    overflow: hidden;
}

#coverImg {
    filter: brightness(50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    min-height: 500px;
    transition: transform ease 500ms;
    transform: scale(1.05);
    z-index: 1;
}

/* Header img animation */
#coverImg:hover {
    transform: scale(1);
}

/* Cover content */
.coverContent {
    width: 90%;
    position: absolute;
    z-index: 2;
    top: 50%;
    bottom: 50%;
    left: 5%;
}

.coverContent h1 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    color: whitesmoke;
}

.coverContent p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: whitesmoke;
}


/* Nav */
nav {
    display: flex;
    overflow: hidden;
    justify-content: flex-end;
    width: 100%;
    max-width: 2500px;
    position: fixed;
    background-color: transparent;
    z-index: 3;
    transition: background-color ease 250ms;
}

/* Nav Button */
nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: 80px;
    height: 80px;
    background: transparent;
    cursor: pointer;
}

.menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#bar1, #bar2, #bar3 {
    display: block;
    width: 40px;
    height: 2.5px;
    background-color: whitesmoke;
    border-radius: 20px;
    transition: transform ease 250ms;
}

/* Nav Logo */
.navLogo {
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.navLogo a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: whitesmoke;
    margin-left: 20px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
}

.navLogo a img {
    height: 80px;
    object-fit: cover;
    transition: filter ease 250ms;
}

/* Hide name for certain size */
@media only screen and (max-width: 348px){
    .navLogo a p {
        visibility: hidden;
    }
}
