@font-face {
    font-family: 'Velvelyne';
    src: url('contenu/typo/velvelyne-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}


body {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
	overflow: hidden;
	background: #d3e2fa;
}

#loading {
    width: 1000px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    background: #d3e2fa;
}

.flipbook {
    width: 1000px;
    height: 600px;
    display: none;
}

.flipbook .hard {
    background: #2a347d !important;
    color: #fff;
    font-weight: bold;
    border: none; 
    display: flex;
    flex-direction: column;
    width: 500px;
    height: 600px;
}

.hard.front-cover {
    background: url('./contenu/couv.jpg') no-repeat center center / cover !important;
}

.hard.back-cover {
    background: url('./contenu/4e couv.jpg') no-repeat center center / cover !important;
}

.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

.flipbook .page {
    background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.page img{
	width: 70%;
	object-fit: cover;
	margin: auto;
}

.page canvas{
	max-width: 500px;
	max-height: 600px;
	margin: auto;
}

.flipbook .page small{
	font-size: 14px;
    margin-bottom: 10px;
}

.window {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 300px;
    height: 200px;
    background: white;
    border: 2px solid #333;
    border-radius: 5px;
    z-index: 1000;
    cursor: move;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.window video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.window .content {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

.window .content p {
    margin: 0;
    font-family: 'Velvelyne', sans-serif;
}

@font-face {
  font-family: 'Velvelyne';
  src: url('contenu/typo/Velvelyne-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
