@charset "utf-8";

img {
	max-width: 100%;
	height: auto;
}

.mv_img {
	text-align: center;
}

.mv_img img {
	width: 100%;
	max-width: 500px;
}

h1 {
	margin: 15px 0;
	font-weight: normal;
	font-size: 1rem;
}

h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: bold;
	color: #7a8f2e;
}

.mv_text {
	margin: 20px auto 40px;
	padding: 1rem;
	background-image: url(../images/coderelief_main_bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	text-align: center;
	text-shadow: 2px 2px 5px #1d287a;
	color: #fff;
}

.mv_text p:first-child {
	margin-bottom: 1rem;
	font-size: 1rem;
}

.mv_text p:first-child span::before {
	content: "";
	display: inline-block;
	margin: 0 15px -3px 0;
	width: 20px;
	height: 20px;
	background-image: url("../images/invitation.svg");
	background-size: contain;
	flex-shrink: 0;
  }

.mv_text p:first-child span::after {
	content: "";
	display: inline-block;
	margin: 0 0 -2px 10px;
	width: 20px;
	height: 20px;
	background-image: url("../images/quill_pen.svg");
	background-size: contain;
	flex-shrink: 0;
}

.mv_text p:last-child {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.75;
}

.explanatory_text {
	margin-bottom: 2.5rem;
	font-size: 0.75rem;
}

@media (min-width: 768px) {
	h1 {
		font-size: 1.25rem;
	}
	h2 {
		font-size: 1.5rem;
	}
	.mv_text {
		padding: 2rem 4rem;
	}
	.mv_text p:first-child {
		font-size: 1.25rem;
	}
	.mv_text p:last-child {
		font-size: 1rem;
	}
	.explanatory_text {
		margin-bottom: 3.4375rem;
		font-size: 1rem;
	}
}