body {
	font-size: 16px;
}
* {
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 3.5rem;
}

h3 {
	font-size: 3rem;
}

.wrapper {
	position: relative;
}

.headingcontent {
	background: url(img/headingimg.jpg);
}

.firstcontent {
	background: url(img/firstimg.jpg);
}

.secondcontent {
	background: url(img/secondimg.jpg);
}

.thirdcontent {
	background: url(img/thirdimg.jpg);
}

.fourthcontent {
	background: url(img/fourthimg.jpg);
}

.fifthcontent {
	background: url(img/fifthimg.jpg);
}

.content {
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.scroll-dots {
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	background: #333;
	opacity: 0.6;
	width: 25px;
	display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}

.scroll-dots span {
	position: relative;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 100px;
	border: 2px solid white;
}

.scroll-dots a {
	text-decoration: none;
	position: absolute;
	color: white;
	font-weight: bold;
	font-size: 0.8rem;
	top: -3px;
    left: 25px;
    cursor: pointer;
}

span.active {
	animation-name: dotAnimation;
	animation-duration: .6s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	transition: .8s;
}

span.active a {
	animation-name: textAnimation;
	animation-duration: .6s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	color: red;
}

@keyframes textAnimation {
	0% {
		transform: translateX(0px);
	}
	100% {
		transform: translateX(10px);		
	}
}
@keyframes dotAnimation {
	0% {
		background: red;
	}
	100% {
		background: black;
	}
}

@media screen and (max-width:768px) {
	h2 {
		font-size: 2rem;
	}
	h3 {
		font-size: 1.5rem;
	}
}