/* EDITS OUTSIDE OF SASS */

/**************************\
  Basic Modal Styles
\**************************/

.modal-trigger {
	border: 0;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.micromodal-trigger {
	text-decoration: underline;
	cursor: pointer;
}

.modal__overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
}

.modal__container {
	background-color: #000;
	width: 900px;
	max-width: 85vw;
	max-height: 100vh;
	border-radius: 5px;
	box-sizing: border-box;
}

.modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal__close {
	background: transparent;
	border: 0;
	position: absolute;
	top: -40px;
	right: -40px;
	font-size: 1.2rem;
	padding: 15px;
	cursor: pointer;
	color: #fff;
}

.modal__header .modal__close::before {
	content: "\2715";
}

.modal__content {
	overflow: hidden;
}

.button .fa {
	transform: translate(4px, -1px);
}

.video-wrap {
	width: 100%;
	position: relative;
	display: flex;
	overflow: hidden;
}

.video-wrap::before {
	content: '';
	display: block;
	height: 0;
	width: 0;
	padding-bottom: 56.2%;
}

#vimeo-modal .video-wrap::before {
	padding-bottom: 50.2%;
}

.video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes mmfadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes mmslideIn {
	from {
		transform: translateY(15%);
	}

	to {
		transform: translateY(0);
	}
}

@keyframes mmslideOut {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-10%);
	}
}

.micromodal-slide {
	display: none;
}

.micromodal-slide.is-open {
	display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
	animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
	animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
	animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
	animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
	will-change: transform;
}

iframe[src*="youtube"],
iframe[src*="vimeo"] {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}