.maincontent {
  max-width:100%;
}

.logo img {
  float:right;
  padding:10px;
}

.roof-container {
  padding:0 8%;
}

h1 h2 h3 {
  font-family: 'Open Sans', sans-serif;
}

h1 {
  font-size:60px;
}

p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight:400;
}

.roofButton {
	margin-top:20px;
	background-color:#859aaf;
	border-radius:28px;
	display:inline-block;
	cursor:pointer;
  	color:#fffff;
  font-family: 'Open Sans', sans-serif;
        font-weight:400;
	font-size:18px;
	padding:12px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.roofButton:hover {
	
	background-color:#728496;
}
.roofButton:active {
	position:relative;
	top:1px;
}


.Layer_1 {
  margin-bottom:-10px;
}

.hero-wrapper {
  text-align:center;
  padding:10vh 0 20vh 0;
  font-size:60px;
  color:white;  
}

header-content {
  background-image:url("/imageserver/Reusable/roof-low-slope/roofing-worker-bg.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:bottom;
}

.header-text {
  border-left:1px solid #806f5d;
  padding-left:15px;

}

.types {
  border-left:1px solid #806f5d;
  padding-left:15px;
  margin-top:30px;
}

.types-image img {
border-radius: 20px 0px 20px 0px;
}

.services-wrapper {
  padding:3% 8%;
  margin-top:30px;
}

.services-box {
-webkit-box-shadow: 2px 0px 11px 2px rgba(0,0,0,0.18); 
box-shadow: 2px 0px 11px 2px rgba(0,0,0,0.18);
  position:relative;
  margin-top:75px;
  margin-right:-200px;
  background-color:white;
  padding:20px 50px;
  z-index:0;
}

.services-box:after {
content: " ";
  position:absolute;
  width: 60%;
  bottom: 0;
  left: 0;
  height: 80%;
  z-index:-1;
  -moz-box-shadow: -20px 20px 0 rgba(156, 141, 126,0.8);
  -webkit-box-shadow: -20px 20px 0 rgba(156, 141, 126,0.8);
  box-shadow: -20px 20px 0 rgba(156, 141, 126,0.8);
}

.services-text {
  
}

.choose-section {
  margin-top:60px;
 
}


.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px; 
  margin-bottom:10px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-card-front {  
  background-image:url("/imageserver/Reusable/roof-low-slope/frame.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:bottom;;
  color: black;
    padding-top:50px;


}

.flip-card-back {
  background-image:url("/imageserver/Reusable/roof-low-slope/frame.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:bottom;
  color:black;
  transform: rotateY(180deg);
padding:15px 15px;
}

.service-image {
  position:relative;
  z-index:-1;
}

@media only screen and (max-width: 992px) {
  .services-box {
    margin-right:0;
  }
}