.terms {
	height: 100vh;
    padding-top: 80px;
    padding-bottom: 20px;
}
.terms .card {
	padding: 20px 20px 20px 30px;
	margin-top: 20px;
    -webkit-box-shadow: 0 0 200px rgba(184, 212, 95, 0.16);
    box-shadow: 0 0 200px rgba(184, 212, 95, 0.16);
}

.terms .card-header h2 {
	padding-bottom: 30px;
	padding-right: 20px;
	letter-spacing: -0.005em;
}
.terms .card-footer,
.terms .card-header {
	z-index: 1;
	position: relative;
}
.terms .card-footer:before,
.terms .card-header:after {
	content: '';
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	height: 20px;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.terms .card-footer:before {
	top: auto;
	bottom: 100%;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.terms-inner {
	position: relative;
	padding-right: 20px;
	padding-top: 10px;
	height: 100vh;
	max-height: calc(100vh - 281px);
	overflow-y: auto;
}

/* width */
.terms-inner::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.terms-inner::-webkit-scrollbar-track {
  background: #f5f5f5; 
}

/* Handle */
.terms-inner::-webkit-scrollbar-thumb {
  background: #fef102; 
}

/* Handle on hover */
.terms-inner::-webkit-scrollbar-thumb:hover {
  background: #98c601; 
}

.terms-inner h6 {
	font-weight: 300;
	font-size: 1rem;
	letter-spacing: 0.0625em;
	margin-bottom: 1.5em;
}
.terms-inner h5 {
	font-size: 1rem;
	color: #757575;
}
.terms-inner p {
	color: #bababa;
	font-size: 1rem;
	line-height: 1.5em;
}

.terms .card-footer {
	padding: 20px 0 0 0;
}

@media (min-width: 768px) {
	.terms {
		height: calc(100vh - 60px);
	}
	.terms .card {
		margin-top: 80px;
		padding: 60px 60px 60px 80px;
	}	
	.terms .card-header h2 {
		padding-bottom: 60px;
	}
	.terms-inner {
		max-height: calc(100vh - 427px);
	}
	.terms .card-footer {
		padding: 56px 0 0 0;
	}
}

@media (min-width: 1200px) {
	.terms .card {
		margin-top: 140px;
		padding: 120px 120px 120px 140px;
	}	
	.terms .card-header h2 {
		padding-bottom: 60px;
	}
	.terms-inner {
		max-height: calc(100vh - 566px);
	}
	.terms .card-footer {
		padding: 56px 0 0 0;
	}
}