html, body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	
	font-size: 10px;
	font-family: Sans-Serif;
	background: url(background-1.jpg);
	background-size: cover;
}



.wrapper {
	display: flex;
	flex-direction: column;
	
	height: 100%;

}

.wrapper .menu a {
	width: 4.2em;
	display: flex;
	height: 4.2em;
	opacity: 0.4;
	background: url("hamburger.png") no-repeat;
	background-size: contain;
}

.wrapper .menu {
	left: 0.5em;
	z-index: 1;
	top: 0.2em;
	position: absolute;
	cursor: pointer;
}

.wrapper .motd.active {
	display: flex;
}

.wrapper .motd  p:nth-of-type(1){
	font-weight: bold;
	font-size: 1.4em;
	text-align: center;
}

.wrapper .motd  p {
	margin: 0;
}

.wrapper .motd {
	margin-top: 2em;
	display: none;
	padding: 1em;
	flex-direction: column;
	align-self: center;
}

.wrapper .menu.active a {
	opacity: 1;
}

.wrapper .menu.active ul li{ 
	padding: 0.3em 0;
	margin: 0.2em 0;
}

.wrapper .menu.active ul {
	padding: 1em;
	font-size: 1.4em;
	background: url(bgsteps.jpg);
	display: flex;
}

.wrapper .menu ul {
	display: none;
	flex-direction: column;
}

.scroll-wrap {
	display: flex;
	overflow-y: auto;
	flex-direction: column;
	flex-grow: 1;
}

ul { list-style-type: none; vertical-align: middle; display: flex; justify-content: center; margin: 0; padding: 0; }
p {
	font-size: 1.4em;
	line-height: 1.4;
}

.mysteries p {
	padding: 0 1em 1em 1em;
}

h2 {
	margin-top: 0;
	font-size: 1.6em;
	text-align: center;
}
h1 {
	text-align:center;
	font-size: 1.8em;
}
.prayer {
	padding: 1.2em;
	display: none;
	position: relative;
}

.prayers, .mysteries {
	position: relative;
}

.prayers::after, .mysteries::after {
	background: url(bgsteps.jpg);
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.8;
	content: "";
	top: 0;
	left: 0;
}

.mystery img {
	width: 100%;
	margin-bottom: 1em;
}

.mystery, .mystery li {
	display: none;
}

.mystery.active, .mystery li.active {
	display: block;
}

.prayer.active {
	display: block;
}


div.steps .buttons button {
	width: 40%;
	cursor: pointer;
	background: url(bgsteps.jpg);
	border: 0.1em solid #402723;
	font-weight: 600;
	outline: 0;

}



div.steps .progress img {
	height: 6em;
}

div.steps .progress {
	display: flex;
	margin-bottom: 1.2em;
}

div.steps .progress ul {
	flex-wrap: wrap;
	align-items: center;
}

div.steps .progress li {
	margin-left: 0.6em;
	margin-bottom: 0.4em;
	background: url(bgsteps.jpg);
}
div.steps .progress li.active {
	background: #000;
}

div.steps .progress li {
	border: 0.1em solid #000;
	border-radius: 1.6em;
	height: 0.6em;
	width: 0.6em;
}

div.steps .progress li:nth-of-type(1), 
div.steps .progress li:nth-of-type(5),
div.steps .progress li:nth-of-type(16),
div.steps .progress li:nth-of-type(27),
div.steps .progress li:nth-of-type(38),
div.steps .progress li:nth-of-type(49)
{
	height: 1.2em;
	width: 1.2em;
}


div.steps {
	box-sizing: border-box;
	padding: 1.2em;
	display: flex;
	flex-direction: column;
	width: 100%;
	flex-shrink: 0;
	border-top: 0.1em solid #402723;

	
}

div.steps::after {
	content: "";
	box-sizing: border-box;
	width: 100%;
	
	opacity: 0.7;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	z-index: -1;
	background: url(bgsteps.jpg);
}

div.steps .buttons {
	
	display: flex;
	flex-direction: row;
	height: 3.2em;
	justify-content: space-around;
}
