body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.2rem;
  color: #E4CD9E;
  /*padding: 0;*/
  margin: 0;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

a {
  color: white;
  text-decoration: none;
}

a:hover{
  color: #1AC9B4;
  text-decoration: line-through;
}

/* video + overlay styles */

.head-container {
  display: grid;
  min-width: 100%;
  margin: 0;
  margin-bottom: 14px
}

.head-container video {
  grid-column: 1;
  grid-row: 1;
  /*min-height: 600px;*/
  max-width: 100%;
  height: auto;
}

.head-container img {
  grid-column: 1;
  grid-row: 1;
  height: auto;
  min-width: 100%;
  max-width: 100%;
}

.projtitle-overlay {
  margin-right: 230px;
  padding-top: 50px;
  grid-column: 1;
  grid-row: 1;
}

.projtitle-overlay h2 {
  text-align: left;
  padding-left: 1rem;
  text-indent: 0;
  font-size: 3rem;
  font-weight: 700;
  background-color: rgba(88,42,18,0.3);
  margin: 0;
}

.projtitle-overlay h3 {
  text-align: left;
    padding-left: 1rem;
  text-indent: 0;
  font-size: 1.8rem;
  font-weight: 600;
  background-color: rgba(88,42,18,0.3);
  margin: 0;
}

/*just for the logo on the contact page*/
.projtitle-overlay img {
  padding-left: 2rem;
  min-width: 400px;
  max-width: 400px;
  max-height: none;
}

.head-container .title-overlay {
  align-self: top;
  margin-left: 2rem;
  margin-top: 50px;
  grid-column: 1;
  grid-row: 1;
  /*background-color: rgba(0,0,0,0.3);*/
}

.head-container .title-overlay img{
  display: grid;
  min-width: 500px;
  max-width: 500px;
}

.projtitle-overlay p {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  text-align: left;
  padding-left: 2rem;
  padding-top: 50px;
  text-indent: 0;
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  background-color: rgba(0,0,0,0.3);
}


/*Main styles*/

.wrapper {
  z-index: 1;
  margin-bottom: 460px;
  background-color: #e8e1d3;
}

.headbox h2 {
  background-image: linear-gradient(to left, rgba(88,42,18,0.6), rgba(228,173,200,0.2));
  color: #582A12;
  font-size: 4.2rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 20%;
  margin-top: 50px;
  margin-bottom: 5px;
  padding-left: 50px;
  border-radius: 0px 18px 18px 0px;
}

.textbox {
  display: grid;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 20%;
  margin-right: 20%;
  background-color: inherit;
  border-radius: 6px;
}


.textbox h3{
  padding: 50px;
  font-size: 1.8rem;
  font-weight: 400;
  box-shadow: inset 10px 0px rgba(187, 233, 11,0.5);
  color: #582A12;
}

.textbox p{
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 300;
  color: #582A12;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    grid-gap: .5rem;
    margin-top: 50px;
    margin-bottom: 50px;
}

.container img{
   display:block;
   width: 100%;
}

.imagebox {
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 20%;
  margin-right: 20%;

}

.imagebox p{
  color: #6C6E68;
  padding: 20px;
}

.imagebox img{
  display: block;
  max-width: 100%;
}

.footer {
  position: fixed;

  bottom: 0;
  left: 0;
  right: 0;

  height: 440px;

  background-color: #6C6E68;

  z-index: -2;
}

.footer p{
  padding-left: 10px;
}

.foot_grid {
  display: grid;
  grid-template-columns: 20% 1fr 1fr;
  grid-gap: 5px;
}

.foot_item {
  position: relative;
  border-radius: .25rem;
}

.foot_item img{
  display: block;
  max-width: 100%;
}

.foot_over {
 position: absolute;
 bottom: 0;
 background: rgba(0, 0, 0, 0.5); /* Black see-through */
 color: #F8BB3D;
 max-width: 100%;
 transition: .5s ease;
 opacity:0;
 font-size: 1.2rem;
 text-align: center;
}

.foot_item:hover .foot_over {
  opacity: 1;
}

.foot_item:hover img{
  opacity: .8;
}

.sub_footer{
 font-size: .7rem;
 text-align: center;
}

/* Add responsiveness */
@media screen and (min-width: 1800px) {

}

@media screen and (max-width: 800px) {

  .projtitle-overlay {
    margin-right: 120px;
  }

    .projtitle-overlay h2 {
      text-indent: 0;
      font-size: 2rem;
      font-weight: 500;
    }
    .projtitle-overlay h3 {
      text-indent: 0;
      font-size: 1.4rem;
      font-weight: 300;
    }

    .head-container {
      margin-bottom: 8px;
    }

    .head-container .title-overlay img{
      min-width: 300px;
      max-width: 300px;
    }

    .headbox h2 {
      margin-right: 120px;
      font-size: 2.4rem;
      font-weight: 400;
    }

    .textbox {
      margin-left: 10%;
      margin-right: 10%;
    }

    .textbox h3{
      font-size: 1.2rem;
      font-weight: 300;
    }

    .textbox p{
      font-size: 0.8rem;
      font-weight: 200;
    }
    .imagebox {
      margin-left: 10%;
      margin-right: 10%;
    }

  }
