body {
  background-color: #D9D9D9;
  margin: 0 auto;
  font-family: 'Roboto Condensed', sans-serif;
  overflow-x: hidden;
}

h1 {
  font-size: 1.3em;
  margin: auto;
  text-align: center;
}

.container {
  margin: auto;
  width: 100vw;
  /* background-color: #D9D9D9; */
}

#videoContainer {
  height:100vh;
  width:100%;
  display:flex;
  margin:0px;
  justify-content:center;
  align-items:center;
}

#videoBlock {
  background-size: cover;
}

/* style to make the video fullscreen, static and underneath everything else */
video { 
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
     -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
  z-index: -100;
}

#chevron {
  position: absolute;
  bottom: 15px;
}

.fas {
  color: rgba(255,255,255,0.5);
}

#mainSection {
  background-color: #D9D9D9;
  display: block;
  width: 100vw;  
  padding-bottom: 100px;
}

#logo1 {
  margin: 0 auto;
  padding-top: 75px;
  width: 430px;
}

#title {
  padding: 50px 0 50px 0;
}

#logo1 img {
  width: 100%;
  padding: 20px 0 30px 0;
}

#logo2 {
  margin: auto;
  padding-top: 75px;
  width:250px;
}

#logo2 img {
  width: 100%;
  padding: 20px 0 30px 0;
}

#logo2 p {
  margin :auto;
  text-align: center;
}

#logo2 a {
  margin: auto;
  text-decoration: none;
  color: #000;
}

#copy {
  margin: 50px auto 50px auto;
  width: 80vw;
  padding-bottom: 75px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  text-align: center;
}

#grid {
    max-width:900px;
    margin:0 auto; /*center aligned*/
    padding:0;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style:none;
    background-color:#000;
}
#grid li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}

/* The wrapper for each item */
.grid-cell {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
}

/* If have the image layer */
.grid-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transform:scale(1);
    transition:all 1s;
}

#grid li:hover .grid-img {
    transform:scale(1.05);
}

/* If have the overlay layer */
.grid-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #000044 url(img/DMA_logo_white.png) no-repeat center 20%;
    background-size:70px 30px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#grid li:hover .grid-overlay {
    opacity:0.6;
}

/* If have captions */
.grid-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:12px;
    font-weight:bold;
    font-family: 'Open Sans', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
#grid li:hover .grid-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #grid li {
        width:25%;
    }
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .container {
        width: 100%;
    }

    #logo1 {
      width: 70%;
    }

    #title {
      width: 80vw;
      margin: auto;
      padding: 50px 0 30px 0;
    }

    #logo2 {
      margin: 0 auto;
      width:60%;
    }

    #logo2 img {
      margin: 0 auto;
      padding-left: 10%;
      width: 80%;
    }

    #copy {
      margin: 80px auto 70px auto;
    }

    #grid li {
        width:50%;
    }

    .grid-overlay{
      background-size: auto;
    }
    .grid-text {
      padding: 0 5px;
      top: 10%;
      font-size: 8px;
    }
}

@media only screen and (max-width: 350px) {
  
    #logo1 {
      padding-top:50px;
    }

    #title {
      padding: 30px 0 10px 0;
    }

    #rig li {
        width:50%;
    }

    .grid-overlay{
      background-size: auto;
    }
    .grid-text {
      padding: 0 5px;
      top: 5%;
      font-size: 7px;
    }
}
