/* Basic styling */

* {
  box-sizing: border-box;
}

body,
html {
  /* font-family: "Helvetica", "Arial", sans-serif; */
  /* font-family: "Montserrat",sans-serif; */
  font-family: 'FuturaStd-Medium', "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  height: 100%;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h5 {
  font-size: large;
  font-weight: 400;
  padding-left: 8px;
}

p {
  padding-left: 8px;
  padding-right: 8px;
}

.container {
  margin: 0;
}

main {
  margin: 0;
}

.page-heading {
  text-align: left;
  padding: 10px 0 0px 0;
  color: rgb(30, 30, 30);
  font-weight: 300;
  font-size: 20px;
}

/* container for the bar in the header */
.topbar {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  padding-bottom: 10px;
  /* padding-bottom: 10px; */
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: rgba(220, 220, 220, 0.90);
  /* background-color: rgba(255, 255, 255, 0.95); */
  /* border-bottom: 0.5px solid rgb(201, 201, 201); */
  position: fixed;
  top: 0;
  z-index: 1;
}

/* logo text on top left */
.logo {
  display: flex;
  align-self: flex-start;
  padding-left: 20px;
}

.logo a {
  color: rgb(30, 30, 30);
  text-decoration: none;
  font-family: "Lato", sans-serif;
  letter-spacing: 10px;
  font-size: 35px;
}

/* sub-logo text on top left */
.sub-logo {
  display: flex;
  align-self: flex-start;
  padding-left: 20px;
}

.sub-logo a {
  color: rgb(30, 30, 30);
  text-decoration: none;
  font-family: "Lato", sans-serif;
  letter-spacing: 2px;
  font-size: 15px;
  /* text-transform: uppercase; */
}

.logos {
  display: flex;
  align-self: flex-start;
  flex-direction: column;
}

/* toggle button to show/hide menu on small screen, default not showing */
.toggle {
  order: 0;
  font-size: 15px;
  padding: 0;
  margin: 0;
  padding-right: 10px;
  display: none;

}

.toggle a {
  text-decoration: none;
  color: rgb(30, 30, 30);
}

/* menu on large screen  */
.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  list-style-type: none;
  text-decoration: none;
  color: rgb(30, 30, 30);
  padding-right: 15px;
  /* text-transform: uppercase; */
}

.item {
  display: block;
  padding-right: 15px;
}

.item a {
  transition: 0.3s;
  font-family: "Lato", sans-serif;
  color: #333333;
  font-size: 16px;
  text-decoration: none;
}

.item a:hover {
  color: rgb(255, 0, 0);
  background-color: rgb(240, 240, 240);
}

/* active is controlled by JS function toggleMenu(), when active is set items are shown on small screen */
.active .item {
  display: block;
}


/* small screen only */
@media screen and (max-width:680px) {

  /* show toggle button  */
  .toggle {
    display: block;
  }

  /* change menu orientation  */
  .menu {
    align-items: flex-end;
    flex-direction: column;
  }

  /* don't show menu items when active is not set */
  .item {
    display: none;
  }
}

/* home page takes up full page with space for toolbar on top */
.home-container {
  /* flex does not seem to work with safari */
  /* display: flex; */
  flex: 100%;
  /* width: 100%; */
  padding-top: 60px;
}

.home-top {
  padding-top: 100px;
  padding-left: 10%;
  padding-right: 10%;
  font-size: 25px;
  font-weight: 200;
  text-align: center;
}

.home-bottom {
  padding-top: 20px;
  padding-bottom: 30px;
  padding-left: 10%;
  padding-right: 10%;
  font-size: 14px;
  font-weight: 200;
  text-align: center;
}

/* full bleed image  */
.home-img {
  width: 100%;
}

/* footer at the bottom of each page  */
footer {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: rgb(235, 235, 235);
  padding: 1px;
  position: fixed;
  bottom: 0;
}

footer-text {
  color: rgb(120, 120, 120);
  font-size: 8px;
  font-weight: 200;
}


/* list of posts  */
.posts {
  display: flex;
  flex-direction: column;
  padding-top: 75px;
  padding-left: 10%;
  padding-right: 10%;
}

.posts_list {
  padding-top: 20px;
}

.posts_list a {
  color: rgb(31, 31, 31);
  font-size: 20px;
  text-decoration: none;
}

.posts_list a:hover {
  color: rgb(200, 0, 0);
  background-color: rgb(240, 240, 240);
}

.time {
  font-weight: 200;
  font-size: 12px;
}

.summary {
  font-weight: 300;
  font-size: 15px;
}




/* each post  */
.project {
  padding-top: 90px;
  padding-left: 10%;
  padding-right: 10%;
}

.project-title {
  font-size: 25px;
  font-weight: 300;
}

.project-body {
  padding-top: 20px;
  font-weight: 300;
  font-size: 18px;
  text-align: justify;
}

.project-text {
  padding-left: 1%;
  padding-right: 1%;
}

.contact {
  padding-top: 75px;
  text-align: left;
  padding-left: 20px;
}

.about {
  padding-top: 75px;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
  /* text-align: justify; */
}

a {
  text-decoration: none;
}


/* vimeo settings */
.my-vimeo {
  width: 100%;
  height: auto;
}


/* photo grid  */
.top-gallery {
  padding-top: 40px;
  padding-bottom: 20px;
}

.row {
  display: flex;
  flex: 50%;
  flex-wrap: wrap;
  padding-left: 4px;
  padding-right: 4px;
  /* background-color: rgb(0, 0, 0); */
}

/* Create three equal columns that sits next to each other */
.three-column {
  flex: 33.333%;
  max-width: 33.333%;
  padding-left: 4px;
  padding-right: 4px;
  margin: 0;
}

/* Create two equal columns that sits next to each other */
.two-column {
  flex: 50%;
  max-width: 50%;
  padding-left: 4px;
  padding-right: 4px;
  /* padding: 0 4px; */
  margin: 0;
}

/* Create one equal columns that sits next to each other */
.one-column {
  flex: 100%;
  max-width: 100%;
  padding-left: 4px;
  padding-right: 4px;
  margin: 0;
}

/* Responsive layout - makes a two column-layout instead of four columns */
/* @media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
} */

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .two-column {
    flex: 100%;
    max-width: 100%;
  }

  .three-column {
    flex: 100%;
    max-width: 100%;
  }
}

/* relevant styles */
.img-wrap {
  position: relative;
}

.img-item {
  width: 100%;
  padding-bottom: 4px;
  border-radius: 0.5%;
}

/* .img-item:hover {
  filter: grayscale(); 
  opacity: .7;
  filter: brightness(50%);
} */

.img-info {
  display: flex;
  opacity: 0;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
  height: 100px;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, 0.02), rgb(0, 0, 0, 0.4));
  color: white;
  transition: .5s ease;
  position: absolute;
  bottom: 7px;
  padding: 10px;
  /* transform: translate(-50%, -50%); */
  font-size: 14px;
  font-weight: 200;
  /* z-index: 0; */
}

.img-wrap:hover .img-info {
  visibility: visible;
  opacity: 1;
}