* {
	margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	-webkit-text-align: center;
	text-align: center;
	font-family: monospace;
	overflow-x: hidden;
}

#welcome {
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    background-color: white;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 1;
}

#welcome h1 {
	font-size: 20pt;
	line-height: 80vh;
}

#welcome img {
	position: absolute;
	left: calc(50% - 20px);
	top: 50vh;
	z-index: 100;
	width: 40px;
	height: 40px;
}

#shield {
	width: 100%;
	height: 100vh;
	background-color: transparent;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
	background-color: rgba(255, 0, 0, 0.26);
	display: none;
}

.linkTR {
	width: 30px;
	height: 30px;
	position: fixed;
	bottom: 15px;
	right: 15px;
	opacity: .3;
	transition: all .36s ease-in-out;
	cursor: pointer;
}

.linkTR:hover {
	width: 40px;
	height: 40px;
	opacity: 1;
	bottom: 10px;
	right: 10px;
}

.linkTR img {
	width: 100%;
	height: 100%;
}

#link2 {
	bottom: 60px;
}

#link2:hover {
	bottom: 55px;
}

#books {
	width: 100%;
	display: inline-block;
}

#book {
	display: inline-block;
	width: 600px;
	height: 600px;
	margin-top: calc(50vh - 300px);
	position: relative;
	box-shadow: 14px 14px 79px rgb(124, 124, 124);
	background-color: #30414e;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	transition: all .7s ease-in-out;
}

#book:hover {
	width: 620px;
	height: 620px;
	margin-top: calc(50vh - 310px);
	box-shadow: 14px 14px 79px rgb(87, 87, 87);
}

#bookOpen {
	width: calc(50% - 100px);
	height: calc(100vh - 20px);
	margin-top: 10px;
	padding: 0;
	margin-left: calc(50% - 200px);
	
	display: inline-block;
	position: relative;
	box-shadow: 14px 14px 79px rgb(124, 124, 124);
	background-color: #30414e;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	transition: all .7s ease-in-out;
}

#cover {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	background-color: #30414e;
	width: 100%;
	height: 100%;
	-webkit-transform-origin: 0 50%;
	-ms-transform-origin: 0 50%;
	transform-origin: 0 50%;
	transition: all .7s linear;
	color: white;
	z-index: 5;
	box-shadow: 0px 0px 5px rgb(37, 21, 2);
	cursor: pointer;
}

#cover h1 {
	margin-top: 30%;
}

#content {
	transition: all .7s ease-in-out;
	width: calc(200% - 20px);
	height: calc(100% - 20px);
	margin-left: calc(-150% + 10px);
	z-index: 3;
	position: absolute;
	display: none;
}

#navPage {
	width: 50%;
	height: 100%;
	background-color: white;
	position: absolute;
	right: 0;
	transition: all .7s ease-in-out;
}

#navPage h1, p {
	margin-top: 20px;
}

#page {
	width: 100%;
	height: 100%;
	display: none;
	z-index: 5;
}

#page #left {
	width: 50%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 10px;
	background-color: white;
	transform: rotateY(-90deg);
	transform-origin: right center;
	transition: all .4s ease-in-out;
	vertical-align: top;
	box-shadow: 0px 0px 8px rgb(56, 56, 56);
}

#page #right {
	width: 50%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 10px;
	background-color: white;
	transition: all .4s ease-in-out;
	box-shadow: 0px 0px 8px rgb(56, 56, 56);
	transform: rotateY(-90deg);
	transform-origin: left center;
	vertical-align: top;
}

.video {
	width: calc(100% - 40px);
	margin: 20px;
	position: relative;
}

.video video {
	width: 100%;
	box-shadow: 2px 2px 6px gray;
	cursor: pointer;
}

#bookmarks {
	position: absolute;
	top: 0;
	padding-top: 30px;
	display: inline-block;
	transition: all .3s ease-in-out;
	right: -15px;
}

.bookmark {
	background-color: green;
	z-index: 5;
	text-align: right;
	padding: 10px;
	padding-right: 15px;
	cursor: pointer;
	transition: all .15s ease-in-out;
	margin-top: 5px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	opacity: .9;
	font-size: 14pt;
}

.bookmark:hover {
	box-shadow: 4px 4px 15px rgba(124, 124, 124, 0.527);
	opacity: 1;
	padding-top: 15px;
	padding-bottom: 15px;
}

.bookmark p {
	margin: 0;
	cursor: pointer;
	opacity: .8;
	font-weight: bolder;
}

#pageNavigator {
	width: 100%;
	position: absolute;
	bottom: 0;
}

#pageNavigator * {
	display: inline-block;
}

#pageNavigator #pageNr {
	width: calc(100% - 100px);
	text-align: center;
	font-size: 14pt;
	opacity: .8;
}

#togglePageButton {
	cursor: pointer;
	top: 0;
	opacity: .8;
	font-size: 16pt;
	transition: all ease-in-out .2s;
}

#togglePageButton:hover {
	opacity: 1;
	transform: scale(1.05);
}

#page #right #pageNavigator {
	text-align: right;
}

#page #left #pageNavigator {
	text-align: left;
}

#togglePageButton {
	margin: 10px;
}

#pageContent {
	position: relative;
	height: calc(100% - 90px);
	width: calc(100% - 20px);
	text-align: center;
	padding-top: 30px;
	z-index: 5;
}

#pageContent form {
	width: 100%;
	height: 100%;
}

#pageContent h1 {
	position: absolute;
	z-index: 10;
	height: 20px;
	width: 100%;
	text-align: center;
	font-size: 12pt;
	font-weight: medium;
	opacity: .8;
}

#normal {
	width: 100%;
	height: 50%;
	overflow: hidden;
	display: inline-block;
}

#large {
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: inline-block;
}

img {
	transition: all ease-in-out .3s;
}

#normal img {
	max-height: calc(100% - 40px);
	max-width: calc(100% - 40px);
	object-fit: cover;
	box-shadow: 2px 2px 6px gray;
	cursor: pointer;
}

#large img {
	max-width: calc(90% - 40px);
	max-height: 100%;
	object-fit: cover;
	box-shadow: 2px 2px 6px gray;
	cursor: pointer;
}

#bookInside {
	display: block;
	position: absolute;
	background-color: rgb(224, 224, 224);
	width: 100%;
	height: 100%;
	top: 10px;
	opacity: 0;
	z-index: 0;
	transition: all .36s ease-in-out;
}

.linkContact { 
	height: 50px;
	display: inline-block;
	opacity: .6;
	transition: all ease-in-out .3s;
	cursor: pointer;
	position: absolute;
	top: 20px;
	left: 20px;
}

.linkContact:hover {
	transform: scale(1.1);
	opacity: .75;
	-webkit-filter: drop-shadow(0px 0px 5px rgb(49, 49, 49));
	filter: drop-shadow(0px 0px 5px rgb(49, 49, 49));
}

.linkContact:hover p {
	opacity: 1;
	margin-top: -5px;
}

.linkContact img {
	height: 90%;
}

.linkContact p {
	transition: all ease-in-out .3s;
	opacity: 0;
	font-size: normal;
	margin: 0;
	font-weight: bold;
	color: rgb(29, 29, 29);
	text-decoration: none;
	display: inline-block;
	height: 50px;
	margin-top: 30px;
	vertical-align: middle;
}

.tutorial {
	width: calc(200% - 20px);
	height: calc(100% - 20px);
	margin-left: calc(-100% + 10px);
	z-index: 100;
	position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.tutorial .left, .right {
    width: calc(50% - 20px);
    height: calc(100% - 60px);
    margin: 25px;
    border-radius: 30px;
	box-shadow: 0px 0px 1000px rgb(49, 49, 49);
	display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial h2 {
	color: rgb(49, 49, 49);
    background: white;
    border-radius: 5px;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	box-shadow: 0px 0px 30px rgb(49, 49, 49);
}

.tutorial .image {
    position: absolute;
}

#portrait {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10;
	overflow-y: scroll;
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0.904);
	opacity: 0;
	transform: scale(1.3);
	transition: all .36s ease-in-out;
}

#portrait img {
	box-shadow: 0px 0px 30px rgb(26, 26, 26);
	box-shadow: 0px 0px 60px rgb(31, 31, 31);
	max-width: 60%;
	margin: 50px;
}