@import url('https://fonts.googleapis.com/css?family=Prompt:300,400,500,600,700');

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-family: 'Prompt', Futura, Helvetica, Arial, sans-serif;
  font-weight: 500;
}
h1 {
  font-size: 28px;
  letter-spacing: 4px;
  font-weight: 400;
  margin-bottom: 12px;
}
h2 {
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: 400;
}
h3 {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 400;
}
h4 {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 400;
}
h5 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: center;
}

.project-posts h1 {
  font-size: 18px;
}

nav {
  background-color: rgba(255, 255, 255, 0.95);
  color: #1e2328;
  min-height: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 60px;
  border-bottom: 1px solid #1e2328;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
nav a {
  color: #1e2328;
  text-transform: uppercase;
  font-family: 'Prompt', Futura, Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
}
nav a:hover,
nav a:focus,
nav a:active {
  color: #1e2328;
}

nav .navbar-home {
  padding-left: 16px;
}

.home {
  padding-bottom: 40px;
  padding-top: 48px;
  text-align: center;
  color: #1e2328;
}

#portfolio {
  align-items: center;
  display: flex;
  flex-direction: column;
}

#portfolio > div {
  max-width: 1080px;
}

#portfolio > div:not(:first-child) {
  margin: 36px 0 0 0;
}

#portfolio h3 {
  margin-bottom: 8px;
}

.grid {
  overflow: hidden;
  padding: 0 0 0 0;
  width: 100%;
  text-align: center;
}

.grid figure {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  margin: -0.2em;
  height: 250px;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}
.grid figure img {
  /* -webkit-filter: grayscale(100%);
  filter: grayscale(100%); */
  position: relative;
  display: block;
  min-height: 100%;
  transition: all 3s ease;
}

.grid figure figcaption {
  padding: 0;
  color: #1e2328;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.grid figure figcaption,
.grid figure a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.grid figure a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
.grid figure h4 {
  font-weight: 300;
  line-height: 1.2em;
}
.grid figure h4,
.grid figure p {
  margin: 0;
}
.grid figure p {
  letter-spacing: 1px;
  font-size: 14px;
  margin-top: 28px;
}

.caption-small {
  font-size: 0.85em;
}

figure.effect-portfolio {
  background: rgba(255, 255, 255, 1);
  margin-top: 30px;
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}
figure.effect-portfolio img {
  min-width: 100%;
  height: -webkit-calc(100% + 40px);
  height: calc(100% + 40px);
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}
figure.effect-portfolio figcaption {
  padding: 36px;
}
figure.effect-portfolio figcaption::before,
figure.effect-portfolio figcaption::after {
  position: absolute;
  content: '';
  opacity: 0;
}
figure.effect-portfolio figcaption::before {
  top: 15px;
  right: 5px;
  bottom: 15px;
  left: 5px;
  border-top: 1px solid #1e2328;
  border-bottom: 1px solid #1e2328;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
figure.effect-portfolio figcaption::after {
  top: 5px;
  right: 15px;
  bottom: 5px;
  left: 15px;
  border-right: 1px solid #1e2328;
  border-left: 1px solid #1e2328;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}
figure.effect-portfolio h4 {
  letter-spacing: 2px;
  font-size: 19px;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}
figure.effect-portfolio p {
  padding: 0;
  text-transform: none;
  opacity: 0;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}
figure.effect-portfolio img,
figure.effect-portfolio img,
figure.effect-portfolio figcaption::before,
figure.effect-portfolio figcaption::after,
figure.effect-portfolio h4,
figure.effect-portfolio p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
figure.effect-portfolio:hover img {
  opacity: 0.1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-portfolio:hover figcaption::before,
figure.effect-portfolio:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
figure.effect-portfolio:hover h4,
figure.effect-portfolio:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-portfolio:hover h4 {
  color: #780000;
}
figure.effect-portfolio:hover figcaption::after,
figure.effect-portfolio:hover h4,
figure.effect-portfolio:hover p,
figure.effect-portfolio:hover img {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

.flex-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.flex-section > div {
  max-width: 1200px;
}

.flex-section h3 {
  text-align: center;
}

#about-section {
  padding: 0 48px 48px 48px;
}

#contact-section {
  background-color: #1e2328;
  color: #fff;
  margin: 48px 0 0 0;
  padding-top: 40px;
  padding-bottom: 20px;
}

.contact-content {
  padding-top: 20px;
  padding-bottom: 20px;
}

ol.social {
  margin: 30px auto;
  text-align: center;
  border: 1px solid #fff;
  width: 280px;
  padding: 5px;
}
ol.social li {
  display: inline-block;
  list-style-type: disc;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  padding: 0 10px;
  font-size: 12px;
}
ol.social a {
  color: #fff;
}
ol.social a:hover {
  margin-bottom: 4px;
  border-bottom: 3px solid #ffffff;
}

.project {
  margin: 90px 16px 30px 16px;
}

.project ul {
  font-family: 'Prompt', Futura, Helvetica, Arial, sans-serif;
  font-size: 14px;
  list-style: none;
  padding: 0;
}

.project strong {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.project .post {
  margin-top: 18px;
}

.post-img {
  max-width: 100%;
}

.post-img:last-child {
  margin-bottom: 15px;
}

.project hr {
  border-top: 0.5px solid #1e2328;
  margin: 15px 0;
  width: 100%;
}

.project a {
  color: #780000;
  text-decoration: underline;
}

.project a:hover {
  opacity: 0.8;
}

.posts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-posts {
  max-width: 960px;
}

.project-posts .header li {
  margin-bottom: 8px;
}

.post {
  display: flex;
  gap: 32px;
}

.post-images {
  width: 66%;
}

.post-img {
  width: 100%;
}

.post-text {
  width: 33%;
}

.post-full-page {
  width: 100%;
}

/* Prevent FOUC */
html {
  visibility: visible;
  opacity: 1;
}
