@import url("common.css");

a {
    display: block;
    min-width: 48px;
    min-height: 48px;
}

img {
    max-width: 100%;
    height: auto;
}

header nav {
    top: 0;
    position: fixed;
    width: 100%;
    background-color: black;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
}

.nav-list a {
    width: 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-list a:focus, 
.nav-list a:hover {
    background-color: gray;
}

.welcome-section {
    color: white;
    background-color: black;
    height: 100vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.welcome-section h1 {
    font-size: 1.5rem;
    margin-bottom: .5em;
}

.welcome-section p {
    font-size: 1rem;
    text-align: justify;
}

@media screen and (min-width: 36.25em) {
    .welcome-section h1 {
        font-size: 3rem;
    }

    .welcome-section p {
        font-size: 1.3rem;
        line-height: 1.5em;
        max-width: 480px;
    }
}

.projects {
    background: darkgray url("images/bg-wendelin-jacober.jpg") center/cover no-repeat;
    background-attachment: fixed;
}

.project-display {
    min-height: 100vh;
    max-width: 1366px;
    padding-top: 48px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}

.project-tile {
    margin-bottom: 1.5em;
}

@media screen and (min-width: 66.875em) {
    .project-tile {
        margin-bottom: 4em;
    }
}

.projects a {
    padding: 6px;
    background-color: rgba(54, 54, 54, 0.75);
    text-decoration: none;
}

.projects a:hover {
    background-color: gray;
}

.project-title {
    color: white;
    text-align: center;
    font-size: 1.5rem;
    padding: .5em;
}

.contact {
    background-color:black;
    display: flex;
    justify-content: center;
}

.contact a {
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
