@import url('https://fonts.googleapis.com/css?family=Oswald&display=swap');

:root {
	--main-white-color: #f2f2f2;
	--main-black-color: black;
	--main-green-color: green;
}

/* SETUP for ANIMATIONS & MISC Fixes
=---------------------------*/
* {
	font-family: 'Oswald', sans-serif;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

.navbar-brand {
	padding-bottom: 8px;
}

.page-footer-lp a {
	text-decoration: none;
	color: inherit;
}

.page-footer a {
	text-decoration: none;
	color: inherit;
}
#mcminnpic img {
	max-width: 100%;
	height: auto;
}

#contact-h1 {
	text-align: center;
}

ul {
	list-style: none;
}

#gutHealth {
	list-style-type: circle;
	margin-left: 2em;
}

#womensHealth {
	list-style-type: circle;
	margin-left: 2em;
}

#vaginalHealth {
	list-style-type: disc;
	margin-left: 2em;
}

body {
	font: 16px/1.5 "Oswald", sans-serif;
	/*IE FIX*/
	/*display: flex;
  flex-direction: column;*/
}

/* CONTAINER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wrapper > * {
	padding: 20px;
}

/* footer pre-animation
  ---------------------------- */
.page-footer {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex: 0;
}

.page-footer ul {
	margin-bottom: 0;
}

/* MAIN portion not landing
------------------------------------- */
.page-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
	min-height: 350px;
	background-color: lightgrey;
	flex: 1;
}

/* MAIN landing w/animation
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-main-lp {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
	min-height: 350px;
	background: url(/images/jachan-devol-xY_6ZENqcfo-unsplash.jpg) no-repeat center / cover;
	color: var(--main-white-color);
}

.page-main-lp div {
	max-width: 500px;
}

.page-main-lp h1 {
	margin-bottom: 10px;
}

.page-main-lp p + p {
	margin-top: 10px;
}

/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background: var(--main-white-color);
}

.page-footer ul {
	display: flex;
	font-size: 1.5rem;
	margin-bottom: 5px;
}

.page-footer ul li:not(:last-child) {
	margin-right: 20px;
}

/* FOOTER with landing page animation
---------------------------------------- */
.page-footer-lp {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background: var(--main-white-color);
}

.page-footer-lp ul {
	display: flex;
	font-size: 1.5rem;
	margin-bottom: 5px;
}

.page-footer-lp ul li:not(:last-child) {
	margin-right: 20px;
}

/* MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (min-width: 550px) {
	.page-footer-lp {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.page-footer-lp ul {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 768px) {
	body {
		font-size: 18px;
	}

	.page-main-lp {
		padding-left: 90px;
	}
}

/* ANIMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-main-lp,
.page-footer-lp > * {
	opacity: 0;
}

.page-footer-lp,
.page-main-lp .text-wrapper {
	overflow: hidden;
}

.page-footer-lp > * {
	transform: translateY(30px);
}

.page-main-lp .text-wrapper + .text-wrapper {
	margin-top: 10px;
}

.page-main-lp .text-wrapper * {
	transform: translateY(120%);
}

.page-main-lp .p-wrapper * {
	transform: translateY(-120%);
}

.loaded .page-main-lp {
	animation: fadeIn 0.5s ease-in 0s forwards;
}
.loaded .navbar nav > *,
.loaded .page-footer-lp > * {
	animation: fadeIn 1s ease-in 0s forwards, slideIn 0.5s ease-in 0.5s forwards;
}
.loaded .page-main-lp .text-wrapper * {
	animation: slideIn 0.5s cubic-bezier(0.54, 0.46, 0.54, 0.94) 0.5s forwards;
}
@keyframes fadeIn {
	60% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes scaleIn {
	100% {
		transform: scaleX(1);
	}
}

@keyframes slideIn {
	100% {
		transform: translateY(0);
	}
}
