* {
    margin: 0px;
    padding: 0px;
}

body {
    margin: 0px;
    padding: 0px;

    font-family: "bahnschrift";

    background-color: #333;
}

header {
    height: calc( 100vh - 4rem );
    background-image: url("img/bg.jpg");
    background-origin: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    text-align: center;
    font-size: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: rgba(255,255,255,0.6);


    box-shadow: 0px 0rem 1rem 0px rgba(0,0,0,1);
    position: relative;
    z-index: -10;
}

header * {
    z-index: -6;
}

header:after {
    position: absolute;
    content:"";
    height:100%;
    width:100%;
    top:0;
    left:0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.84) 0%,rgba(0,0,0,0.84) 100%);
    z-index: -8;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0px 2rem;
    margin:auto;
}

header h1 {
    font-size: 5rem;
}

header h2 {
    font-size: 2rem;
    padding-bottom:  2rem;
}

header main {
    font-size: 1rem;
    display: block;
    width: 75vh;
    max-width: 100vw;
    justify-self: center;
}

a:last-child {
    margin-right: 0rem;
}

a {
    display: block;
    padding: 1rem;


    margin-right: 1rem;
    background-color: #007095;

    /*box-shadow: 0px 0rem 1rem 0px rgba(0,0,0,0.75);*/

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.25rem;

    transform: translateY(-50%);
    transition: 0.25s transform;

}

a:link, a:visited {
    text-decoration: none;
    color: #fafafa;
}

a:hover {
    transform: translateY(calc( -50% - 0.75rem));
}

@media only screen and (max-width: 700px) {
    header {
        height: 100vh;
    }

    nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
        flex-direction: column;
        justify-content: flex-start;
    }

    a {
        margin-bottom: 0.25rem;
        margin-right: 0rem;
    }

    a {
        transform: translateY(0px);
    }
    a:hover {
        transform: translateX(0.75rem);
    }
}