
.navbar-brand {
	padding: 10px 0;
}
.nav-item {
	margin-left: 40px;
}
.sidenav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    background-color: #ff7404;
    overflow-x: hidden;
    padding-top: 20px;
}
.sidenav h3 {
	font-size: 17px;
	text-transform: uppercase;
	display: inline-block;
	color: #fff;
	font-weight: 500;
	line-height: 30px;
	margin-top: 10px;
	margin-bottom: 30px;
	text-align: center;
	margin-left: 15px;
}

.form-group select {
	color: #ff7404;
}


.main {
	margin-top: 80px;
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}
.main .ryan {
	height: 590px;
	margin-top: -45px;
}
.form-btn {
  display: block;
  text-align: center;
  width: 11%;
  cursor: pointer;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ff7404;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ff7404;
  border-radius: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.buttonHolder{ 
	text-align: center;
	margin-left: 5.5%;
 }

@media screen and (max-height: 600px) {
    .sidenav {
    	padding-top: 15px;
    	position: relative;
    	height: auto;
    	width: 100%;
    }
    .sidenav a {font-size: 18px;}
}
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300);
.frame {
  position: absolute;
  right: 0;
  top: 0;
  width: 500px;
  height:500px;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  color: #333;
  font-family: 'Open Sans', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.center {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
  -webkit-transform: perspective(60px);
          transform: perspective(60px);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 4px 8px 12px 0px rgba(0, 0, 0, 0.2);
  height: 400px;
  position: absolute;
  overflow: hidden;
  width: 400px;
}
.card:first-child {
  -webkit-animation: card-1 30s ease-in-out infinite;
          animation: card-1 30s ease-in-out infinite;
}
.card:nth-child(2) {
  -webkit-animation: card-2 30s ease-in-out infinite;
          animation: card-2 30s ease-in-out infinite;
}
.card:nth-child(3) {
  -webkit-animation: card-2 30s ease-in-out infinite;
          animation: card-2 30s ease-in-out infinite;
}
.card:last-child {
  -webkit-animation: card-3 30s ease-in-out infinite;
          animation: card-3 30s ease-in-out infinite;
}
.card-title {
  background-color: #FF9800;
  height: 40px;
  font-size: 18px;
  text-transform: uppercase;
  padding-top: 4px;
  text-align: center;
  color: #fff;
}
.card-content {
  padding: 20px;

}
.card-content img {
	border-radius: 50%;
	text-align: center;
	margin-left: 70px;
}
.card-content p {
	font-size: 16px;
	text-align: center;
	padding-top: 10px;
	color: #333;
	opacity: .8;
	line-height: 20px;
}


@-webkit-keyframes card-1 {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  33% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
  66% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
}

@keyframes card-1 {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  33% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
  66% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
}
@-webkit-keyframes card-2 {
  0%, 100% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
  33% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  66% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
}
@keyframes card-2 {
  0%, 100% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
  33% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  66% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
}
@-webkit-keyframes card-3 {
  0%, 100% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
  33% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
  66% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@keyframes card-3 {
  0%, 100% {
    -webkit-transform: translate3d(140px, 0, -40px);
            transform: translate3d(140px, 0, -40px);
  }
  33% {
    -webkit-transform: translate3d(-140px, 0, -40px);
            transform: translate3d(-140px, 0, -40px);
  }
  66% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}

/* Font */
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,700');



#services {
	background-color: #fff;
	padding-top: 20px;
}

.btn {
  color: #ff7404;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.card-2 {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 10px 15px 40px -14px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-bottom: 20px;
}

.card_content-2 {
  padding: 1rem;
/*  background: linear-gradient(to bottom left, #EF8D9C 40%, #FFC39E 100%);*/
  background-color: #fff;
}
.card_img-2 {
	text-align: center;
	margin-bottom: 10px;
	padding: 0 auto;
}

.card_title-2 {
  color: #ff7404;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.card_text-2 {
  color: #333;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;   
  text-align: center; 
  font-weight: 400;
}

#second-form {
	display: none;
}
#second-form h3 {
	font-size: 20px;
	text-transform: uppercase;
	display: inline-block;
	color: #fff;
	font-weight: 500;
	line-height: 30px;
	margin-top: 20px;
	margin-bottom: 30px;
}

.form-control-2 {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ff7404;
  border-radius: 0.15rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control-2::placeholder {
  color: #ff7404;
  opacity: 1;
}
.form-btn-2 {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 150px;
  cursor: pointer;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ff7404;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ff7404;
  border-radius: 1.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


@media screen and (max-width: 988px) {
	.main {
		margin-top: -350px;
		margin-bottom: 320px;
	}
    .main .ryan {
		display: none;
	}
	.frame {
		z-index: 1;
		display: block;
		left: 50%;
  		top: 0;
  		transform: translateX(-50%);
	}
	#services {
		margin-top: 50px;
	}
	#second-form {
		display: block;
		background-color: #ff7404;
		margin-top: 500px;
	}
	.navbar-collapse {
		text-align: center;
		left: 90%;
		transform: translate(-90%);
	}
}

@media screen and (max-width: 498px) {
	.frame {
		height: 350px;
		width: 350px;
	}
	.card {
		height: 300px;
		width: 300px;
	}
	.card-content img {
		border-radius: 50%;
		text-align: center;
		margin-left: 80px;
		height: 100px;
		width: 100px;
	}
	.card-content p {
		font-size: 12px;
		text-align: center;
		padding-top: 10px;
		color: #333;
		opacity: .8;
		line-height: 20px;
	}
	#services {
		margin-top: 30px;
	}
	#second-form {
		display: block;
		background-color: #ff7404;
		margin-top: 360px;
	}
	.navbar-collapse {
		text-align: center;
		left: 30%;
		transform: translate(-30%);
	}
	.hidden-xs {
	    display:none;
	}
}
