@import 'icomoon';
@import 'animation';
@import 'colors';
@import 'layers';
@import 'responsive';

.emojishort {
	max-height: 22px;
	max-width: 22px;
	margin: 0 2px;
	display: inline-block;
	vertical-align: -6px;
}

.App-header {
	background-color: #222;
	height: 150px;
	padding: 20px;
	color: white;
}

.App-intro {
	font-size: large;
}

.story-loader {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	background-color: $color-gray-lighter;
}

.app {
	display: flex;
	flex-direction: row;

	height: 100%;
	overflow: hidden;

	&__content {
		display: flex;

		height: 100%;
		width: 100%;

		overflow: hidden;
	}

	.app__content--help {
		flex-wrap: wrap;
		margin-left: 4rem;
		overflow: auto;
	}

	&__story-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(44, 62, 80, 0.7);
		z-index: $layer-8;

		display: flex;
		align-items: center;
		justify-content: center;

		&-content {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
		}

		&-header,
		&-text {
			color: $color-default;
		}
	}

	&__story-area {
		width: 100%;
		height: 100%;
		min-width: 0;
		display: flex;
		flex-direction: column;

		position: relative;
	}

	.mobile-disclaimer {
		position: absolute;
		display: none;

		background-color: $color-gray-lighter;

		font-weight: 700;
		font-size: 1.2rem;
		padding: 2rem;

		h2 {
			margin-bottom: 1rem;
		}

		&__image {
			width: 100%;
			max-width: 20rem;
		}

		/* @media (max-width: $break-point-large - 1) {
      display: flex;
      align-items: center;
      justify-content: center;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 99999;
    }

    @media (max-width: $break-point-medium) {
      flex-direction: column;
    } */
	}
}

.app__story-overlay-transition-enter {
	opacity: 0.01;
}
.app__story-overlay-transition-enter-active {
	opacity: 1;
	transition: opacity 0.3s $easing;
}
.app__story-overlay-transition-leave {
	opacity: 1;
}
.app__story-overlay-transition-leave-active {
	opacity: 0.01;
	transition: opacity 0.3s $easing;
}
