:root {
    
    --background: #f3f3f3;
    --elements: #212121;

}


@font-face {
    font-family: 'Tagus-Normal';
    src: url('../assets/font/TagusNormal-Regular.otf') format('otf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Tagus-Medium';
    src: url('../assets/font/TagusNormal-Medium.otf') format('otf');
    font-weight: 400;
    font-style: normal;
}

html, body {
    margin: 0;
    height: 100%;
}

html, body {
    overflow: hidden;
    touch-action: none;
    height: 100%;
    margin: 0;
    padding: 0;
  }

body {
    background-color: var(--background);
}

body.hide-overflow {
    overflow: hidden;
}

*{
    margin:0;
    padding:0;
}

/*header*/

header{
    display: flex;
        justify-content: space-between;
        width: calc(90%);
        position: absolute;
        z-index: 1;
        right: 50%;
        top: 20px;
        transform: translate(50%, 50%);
}
.languageContainer{
    text-align: right;
    color: var(--elements);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap:7px;
}

.languageContainer p {
    cursor: pointer;
    font-family: 'Tagus-Normal', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
  }

  .languageContainer .active {
    text-decoration: underline;
  }

  .languageContainer a{
    text-decoration: none;
    color: var(--elements);
  }
  

/* helpers */
.book-wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.book-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

/* book */

.book {
    margin: 0 auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.book .page {
    height: 100%;
}

.book .page img {
    max-width: 100%;
    height: 100%;
}


.backHeader svg{
stroke: var(--elements);
    width:24px;
    height:23px;
}

.arrows{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 5%);
    display: flex;
    justify-content: space-between;
    margin: 0 2.5%;
    height: fit-content;
    align-content: center;
    align-items: center;
    z-index:6;

}

.arrows svg{
    stroke: var(--elements);
    width:30px;
    height:30px;
}

/*waiting screen*/
#waitingScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(243, 243, 243, 0.3);
    backdrop-filter: blur(10px);
    z-index: 111;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

#waitingScreen.hidden {
    opacity: 0;
    pointer-events: none;
}

#waitingScreen.visible {
    opacity: 1;
    pointer-events: auto;
}

#waitingScreen svg {
    height: 100%;
}