@import "../book/css/style.css";

/* HankenGrotesk */
@font-face {
	font-family: 'HankenGrotesk';
	src: url("fonts/HankenGrotesk/HankenGrotesk-Regular.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'HankenGrotesk';
	src: url("fonts/HankenGrotesk/HankenGrotesk-Italic.woff2") format("woff2");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'HankenGrotesk';
	src: url("fonts/HankenGrotesk/HankenGrotesk-Bold.woff2") format("woff2");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'HankenGrotesk';
	src: url("fonts/HankenGrotesk/HankenGrotesk-BoldItalic.woff2") format("woff2");
	font-weight: bold;
	font-style: italic;
}

/* UbuntuMono */
@font-face {
	font-family: 'UbuntuMono';
	src: url("fonts/UbuntuMono/UbuntuMono-Regular.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'UbuntuMono';
	src: url("fonts/UbuntuMono/UbuntuMono-Italic.woff2") format("woff2");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'UbuntuMono';
	src: url("fonts/UbuntuMono/UbuntuMono-Bold.woff2") format("woff2");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'UbuntuMono';
	src: url("fonts/UbuntuMono/UbuntuMono-BoldItalic.woff2") format("woff2");
	font-weight: bold;
	font-style: italic;
}

body {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: auto;
	box-sizing: border-box;
	overflow: hidden;
	color: var(--text-color);
	background-color: white;
	font-family: 'HankenGrotesk', sans-serif;
	font-size: 17px;
}

h1 {
	font-size: 160%;
	margin-top: 0;
	color: var(--h1-color);
}

a {
	color: var(--link-text-color);
}

sup {
	font-size: 65%;
	font-weight: bold;
	padding-left: 0.2em;
}

sub {
	font-size: 65%;
}

.note {
	border-left: 4px solid var(--note-color);
	color: var(--note-text-color);
	padding-left: 1em;
	padding-right: 1em;
}

.image_expand {
	display: block;
	margin: 0.5em auto 1em auto;
	cursor: pointer;
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

iframe {
	border: none;
}

video {
	display: block;
	margin: 1.25 auto 0 auto;
}

.ampliar {
	display: block;
	color: #2ecc71;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	margin-top: 0.25em;
	cursor: pointer;
}

.btn_ampliar {
	position: absolute;
	width: 2em;
	height: 2em;
	right: 0;
	top: 0;
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
	border-radius: 0;
	background-color: white;
	background-size: cover;
	background-image: url("../images/ampliar.svg");
	cursor: pointer;
}

.interactive,
.escena6,
.escena7 {
	position: relative;
	margin: 0 auto;
	text-align: center;
	border: 1px solid #2ecc71;
	border-radius: 2px;
	box-sizing: border-box;
	/* overflow: hidden; */
	background: #ffffff;
	padding: 15px 0;

	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
}

.escena6,
.escena7 {
	overflow: hidden;
	padding: 0;
}

li {
	padding: 0 0 0.4em 0;
}

figure {
	width: 100%;
	margin: 0;
	padding: 0;
}

figcaption {
	text-align: center;
	font-size: 80%;
	margin-top: 1.5em;
	margin-bottom: 2em;
	color: #130f40;
}

code,
code_math {
	display: inline;
}

code,
pre,
code_math {
	font-family: 'UbuntuMono', monospace;
	font-size: 107%;
	color: #778890;
}

.katex {
	font-size: 110% !important;
}