* {
    box-sizing: border-box;
    margin: 0;
    /*padding: 0;*/
    font-family: Calibri, Helvetica, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

p, li {
    font-size: 1.2em;
}

nav {
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    padding: 5px 0;
    justify-content: space-between;
    padding: 8px 15px;
    z-index: 10;
    transition: 0.2s;
}

nav .img-container {
    width: 130px;
    height: 75%;
    display: inline-block;
}

img {
    max-width: 100%;
    height: auto; 
}

nav img {
    border-radius: 5px;
}

.nav-container a {
    text-decoration: none;
    display: inline-block;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    padding: 7px;
    font-size: 1.7em;
}

.nav-container {
    display: flex;
    justify-content: space-around;
}

.nav-container a:hover {
    border-bottom: 2px solid white;
}

nav .active {
    border-bottom: 3px solid white;
}

.bar-container {
    display: none;
    cursor: pointer;
    z-index: 15;
}
  
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}
  
/* Rotate first bar */
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}
  
/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
}

h1 {
    text-align: center;
    font-size: 3em;
    margin: 1rem;
}

#header {
    width: 100%;
    height: 35%;
}

#header h1 {
    color: white;
    z-index: 1;
    font-size: 4em;
}

#header .img-filter {
    width: 100%;
    height: 35%;
    position: absolute;
    background-color: rgba(0, 0, 0, .4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#header .img-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background-repeat: no-repeat;
    background-size: 100% 60%;
    background-position: center;
    background-position: 0 -100px;
    background-attachment: fixed;
}

main {
    padding: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin: 5px;
}

h3 {
    text-align: center;
    font-size: 1.5em;
    margin: 5px;
}

footer {
    background-color: #2e2e2e;
    color: white;
    text-align: center;
    padding: 10px;
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

footer > * {
    margin: 5px 0;
}

@media screen and (max-width: 600px) {
    body {
        font-size: 13px;
    }

    .nav-container {
        display: block;
        width: 100%;
        position: absolute;
        background-color: #2e2e2e;
        left: 0;
        top: -338.5px;
        padding: 40px 0;
        transition: 0.5s;
        border-radius: 0 0 10px 10px;
    }

    .nav-container a {
        margin: 20px 0;
        padding: 15px 0;
    }

    nav .active {
        background-color: #111;
        border-bottom: none;
    }

    .bar-container {
        display: inline-block;
    }

    #header .img-container {
        background-attachment: inherit;
        background-position: center;
        background-size: cover;
    }
}