﻿html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}

body {
    margin: 0;
    background: url("../img/bg.png");
    font-family: pfhighway,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
    font-weight: 300;
}

img {
    max-width: 100%;
    height: auto;
}

nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

nav a {
    padding: 10px;
    display: inline-block;
    color: #1b1e21;
    text-decoration: none;
}

h1 {
    color: #333;
    font-size: 34px;
    text-align: center;
    font-weight: 200;
    margin-top: 30px;
    margin-bottom: 30px;
}

h2 {
    color: #333;
    font-size: 28px;
    text-align: center;
    font-weight: 200;
    margin-top: 20px;
    margin-bottom: 20px;
}

main {
    margin: 0 25px;
}

header {
    margin: 0 15px;
}

.footer-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 15px;
}

.masonry {
    column-count: 4;
    column-gap: 1em;
    text-align: center;
}

.projectFlex {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.videoContainer {
    max-width: 1000px;
    margin: 0 auto 30px;
}

video {
    width: 100%;
    max-height: 100%;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%), 0 4px 15px 0 rgb(0 0 0 / 10%);
}

.centerText {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 34px;
}

.mainContent {
    text-align: center;
}

@media (max-width: 1657px) {
    .masonry {
        column-count: 3;
    }
}

@media (max-width: 1235px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 711px) {
    .masonry {
        column-count: 1;
    }
}

@media (max-width: 500px) {
    .masonry {
        column-count: 1;
    }
}

.item {
    position: relative;
    margin: 0 0 1em;
    width: 100%;
}