*, *:before, *:after {
  box-sizing: border-box;
}

.row{
  margin-left: 0;
  margin-right: 0;
}

body {
  background-color: #000;
}

#projects p {
  padding-top: 10px;
  font-family: 'Open Sans Condensed', sans-serif;
  letter-spacing: .1em;
  color: white;
  line-height: 150%;
  letter-spacing: .1em;
  text-align: center;
}

#projects h4{
  font-weight: 700;
  letter-spacing: 4px;
}

.scr_gallery {
  background-color: #000;
  min-width: 100%;
  min-height: 300px;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scr_gallery:-webkit-scrollbar {
  display: none;
}

.cardContent {
  background-color: #000;
  min-width: 300px;
  margin: 0px;
}

/* .gal{
  background-color: #e74c3c;
  min-width: 200px;
  margin: 5px;
  display: flex;
  transition: all .4s ease-in-out;
  overflow: visible;
}

.click{
  opacity:0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}


.gal:hover .click{
  opacity:1;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.gal:hover{
  transform: scale(1.2);
  overflow: visible;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  position:
} */


.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: -webkit-linear-gradient(45deg, #961d22 0%, #000 100%);
  background: linear-gradient(45deg, #961d22 0%,#000 100%);
}

.hovereffect .white {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  padding: 3em;
  text-align: left;
}


.hovereffect img {
  display:block;
  position:relative;
  -webkit-transition:all .4s linear;
  transition:all .4s linear;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  display: block;
  margin-left: auto;
  margin-right: auto
}



.hovereffect .white:before {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid #fff;
  content: '';
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-20px,0,0);
  transform: translate3d(-20px,0,0);
}

.hovereffect a, .hovereffect p, .hovereffect h4{

  position: relative;
  text-decoration: none;
  opacity: 0;
  color: #000;
  margin-top: 20%;
  padding: 15% 0 10px 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-10px,0,0);
  transform: translate3d(-10px,0,0);
}

.hovereffect:hover img {
  opacity: 0.5;
  -ms-transform:scale(1.2);
  -webkit-transform:scale(1.2);
  transform:scale(1.2);
}

.hovereffect:hover .white:before,
.hovereffect:hover a, .hovereffect:hover p,
.hovereffect:hover h4 {
  opacity: 1;
  color: #fff;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}







.projectbox {
  padding-top: 30px;
}

.projectback {
  background-color: #000;
}

.gallery img{
 width: 80%;
 margin: 0 auto;
 justify-content: center;
 display: block;
 margin-left: auto;
 margin-right: auto
}


/*Scaling Anim*/

.gallery{
  padding-top: 10px;
/* border-radius: 2px; */
/* box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); */
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.gallery:hover img{
  /* box-shadow: 0 14px 28px rgba(0, 0, 0, 0.77), 0 10px 10px rgba(0, 0, 0, 0.52); */
  /* opacity:1; */
  border: 1px solid #c1272d;
}
.gallery:hover .Gallerycenter{
  opacity:1;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.42);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.Gallerycenter{
    opacity: 0;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.Info{
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 100;
  font-size: 1.2vmax;
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
  background-color: none;
  overflow: hidden;
}

#box {
  background-color: #000;
  width: 100%;
  color: #fff;
}

#box h1 {
  color: #fff;
}

#box p {
  padding-top: 10px;
  padding-bottom: 30px;
  font-family: 'Open Sans Condensed', sans-serif;
  letter-spacing: .1em;
  color: #fff;
  line-height: 200%;
  letter-spacing: .1em;
  text-align: center;
  padding-left: 25px;
  padding-right: 25px;
}

.margin {
  margin-top: 0px;
  margin-bottom: 20px;
}

.main {
  position: absolute;
  z-index: 99;
  top: 500px;
  background: #000;
  width: 100%;
  /* min-height: 1500px; */
}

.galaimg{
  margin-bottom: 30px;

}

/*.bg-1 {
  background-image: url("../images/main_img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 300px;
  z-index: -1;
  overflow: hidden;
}*/


.icons {
  padding-top: 0px;
  padding-bottom: 20px;
}

.icons a {
  padding-left: 20px;
  padding-right: 20px;
}

.Ihover img:last-child {
  display: none;
}

.Ihover:hover img:first-child {
  display: none;
}

.Ihover:hover img:last-child {
  display: inline-block;
}

.overlay {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
}

.overlay p {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
}

#projects {
  background-color: #000;
  padding-top: 30px;
  width:100%;
  height: auto;
  margin: 0 auto;
}

#staff {
  padding-top: 60px;
  background-color:#000;
  padding-bottom: 10px;
}
