html {
	font-family: "Quicksand", sans-serif;
	color: #1f1f21;
}

body {
	margin: 0;
	overflow-x: hidden;
}

html,
body {
	height: 100%;
	margin: 0;
}

section {
	padding-top: 10px;
}

section#blog {
	min-height: 100%;
}

.section-content {
	max-width: 1200px;
	margin: auto;
}

p::selection,
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection {
	background-color: #c7effb;
}

mark {
	padding: 0.2em;
	background-color: #c7effb;
	font-size: 1.5em;
}

#about p {
	font-size: 1.1em;
}

.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
}

@media only screen and (max-width: 600px) {
	.row {
		display: block;
	}
}

.column {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
	padding: 0 30px;
}

section#home {
	width: 100%;
	height: 700px;
	background-image: url(/styles/images/MerMagiaLogoBis.svg),
		url(/styles/images/hero.png);
	background-size: 80vh, cover;
	background-repeat: no-repeat;
	background-position: bottom left, left, right;
}

#home h1 {
	color: #fff5ee;
	text-shadow: 2px 2px #b385dc;
	position: absolute;
	right: 1em;
    top: 5em;
    font-size: 2.5em;
}

.photo-txt {
	text-shadow: 2px 2px #b385dc;
}

.img-txt {
	opacity: 0.5;
}

.video-container {
	position: relative;
	padding-bottom: 50%;
	height: 0;
}
.video-container iframe {
	position: absolute;
	bottom: 0;
}

@media (min-width: 280px) and (max-width: 1024px) {
	section#home {
		width: 100%;
		height: 700px;
		background-image: url(/styles/images/MerMagiaLogoBis.svg),
			url(/styles/images/hero.png);
		background-size: 50vh, cover;
		background-repeat: no-repeat;
		background-position: center;
	}

	#home .section-content h1 {
		position: relative;
		right: 0;
		left: 0;
		text-align: center;
	}
	.video-container iframe {
		top: 100%;
		width: auto;
		height: auto;
	}
	.modal-content#services,
	.modal-content#terms,
	.modal-content#faqs {
		width: 80%;
	}
	form {
		margin: 20px;
	}

	form#contactForm,
	input {
		padding: 20px;
	}
	img.img-txt {
		min-height: 12rem;
	}
}

img.services {
	width: 100px;
	height: 100px;
	align-self: center;
}

h4.position {
	margin: 0;
}

h2,
h2,
h2,
h2 {
	animation-name: pulse;
	animation-fill-mode: both;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
	word-break: keep-all;
	text-shadow: 2px 2px #b385dc;
}

@keyframes pulse {
	0% {
		transform: scaleX(1);
	}

	50% {
		transform: scale3d(1.05, 1.05, 1.05);
	}

	100% {
		transform: scaleX(1);
	}
}

section#about,
h1 #centered-txt,
h3 #centered-txt,
p #centered-txt,
#centered-txt p,
#centered-txt h1,
.section-content h1 {
	text-align: center;
}

section#services,
section#jobs,
section#blog {
	background-color: #fff5ee;
}

button {
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
}

#termsButton,
#faqsButton,
#blogButton {
	background-color: transparent;
	border: none;
	font-size: inherit;
	cursor: pointer;
}

#termsButton,
#faqsButton,
#blogButton {
	min-width: 200px;
}

#servicesButton,
#eventsButton,
#coursesButton,
#tripsButton,
#rentalsButton,
#bookButton,
#backButton,
#sendMessageButton {
	position: relative;
	align-self: center;
	width: fit-content;
	color: #b385dc;
	border: 1px solid #d0b6eb;
	margin: 4px 4px 0 0;
	padding: 8px 8px;
	background: transparent;
	border-radius: 0;
	z-index: 2;
	outline: none;
	transition: margin 160ms;
	padding: 20px;
	font-size: 1rem;
	cursor: pointer;
}

#servicesButton:before,
#eventsButton:before,
#coursesButton:before,
#tripsButton:before,
#rentalsButton:before,
#bookButton:before,
#backButton:before,
#sendMessageButton:before {
	top: -4px;
	left: 4px;
	width: 100%;
	height: 100%;
	background: #c7effb;
	content: " ";
	z-index: -1;
	transition: top 160ms, left 160ms;
}

#servicesButton:before,
#eventsButton:before,
#coursesButton:before,
#tripsButton:before,
#rentalsButton:before,
#bookButton:before,
#backButton:before,
#sendMessageButton:before {
	position: absolute;
}

#servicesButton:hover,
#coursesButton:hover,
#tripsButton:hover,
#rentalsButton:hover,
#eventsButton:hover,
#bookButton:hover,
#backButton:hover,
#sendMessageButton:hover {
	margin: 0 0 4px 4px;
}

#servicesButton:hover:before,
#coursesButton:hover:before,
#tripsButton:hover:before,
#rentalsButton:hover:before,
#eventsButton:hover:before,
#bookButton:hover:before,
#backButton:hover:before,
#sendMessageButton:hover:before {
	top: 4px;
	left: -4px;
}

a#rentals {
	    align-self: center;
}

.form-group-button {
	display: flex;
	justify-content: flex-end;
}

input.form-control,
textarea.form-control {
	position: relative;
	border: 1px solid;
	border-image: linear-gradient(45deg, #d0b6eb, #b385dc) 1;
	box-shadow: 5px 10px transparent;
	padding: 8px;
	width: 100%;
}

input.form-control:focus,
textarea.form-control:focus {
	border: 2px solid #1f1f21 !important;
	box-shadow: 5px 10px #d0b6eb;
	margin-bottom: 13px;
	z-index: 1;
	outline-offset: 0px !important;
	outline: none !important;
}

.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(32, 53, 72, 0.4);
	/* Black w/ opacity */
	overflow: auto;
}

.modal-content#services,
.modal-content#terms,
.modal-content#faqs {
	background-color: rgba(255, 255, 255, 1);
	margin: 100px auto;
	border: 1px solid #c7effb;
	width: 70%;
}

.modal-content#terms,
.modal-content#faqs {
	padding: 0 30px;
}

/* The Close Button */
.modal-close {
	color: #b385dc;
	float: right;
	font-size: 2em;
	font-weight: bold;
	margin: 10px;
}

.modal-close:hover,
.modal-close:focus {
	color: #1f1f21;
	text-decoration: none;
	cursor: pointer;
}

.show-modal {
	display: block;
	z-index: 4;
}

h3 #modal-content p {
	text-align: left;
}

.img-container {
	position: relative;
	color: white;
}

/* Top left text on img */
.top-left {
	position: absolute;
	top: 8px;
	left: 16px;
}
/* Centered text on img */
.centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	margin: 5px;
	text-align: center;
}

table {
	width: 100%;
}

table tr td:nth-child(1) {
	width: 190px;
}
table tr td:nth-child(2) {
	width: 190px;
	text-align: right;
}

.container-grid {
	display: grid;
	grid-template-columns: auto auto;
}

.form-control {
	width: 100%;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 0.5rem;
	margin-bottom: 15px;
}

textarea,
input {
	box-sizing: border-box;
}

textarea,
.form-control {
	font-family: "Quicksand", sans-serif;
}

.text-error {
	color: #ac1616;
	padding-bottom: 0.5em;
}

form {
	margin-bottom: 20px;
}

.success,
.error {
	display: none;
}

.success.visible {
	display: block;
	color: #2da84f;
}

.error.visible {
	display: block;
	color: #ac1616;
}

footer {
	width: 100%;
	overflow: hidden;
	color: #1f1f21;
	text-align: center;
	z-index: 5;
}

a#instagram,
a#youtube,
a#facebook {
	text-decoration: none;
	color: #1f1f21;
}

#shadow-host-companion {
	display: none;
}

.container.blog {
	display: grid;
}

a#back,
.img-article {
	margin: auto;
}

/* Add to landing-page.css */
#contact-success-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.success-notification {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-notification {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}