
/* SCROLLBAR  */
/* html {
  scrollbar-face-color: #646464;
  scrollbar-base-color: #646464;
  scrollbar-3dlight-color: #646464;
  scrollbar-highlight-color: #646464;
  scrollbar-track-color: #000;
  scrollbar-arrow-color: #000;
  scrollbar-shadow-color: #646464;
  scrollbar-dark-shadow-color: #646464;
}

::-webkit-scrollbar { width: 8px; height: 3px;}
::-webkit-scrollbar-button {  background-color: #666; }
::-webkit-scrollbar-track {  background-color: #646464;}
::-webkit-scrollbar-track-piece { background-color: #000;}
::-webkit-scrollbar-thumb { height: 50px; background-color: #666; border-radius: 3px;}
::-webkit-scrollbar-corner { background-color: #646464;}
::-webkit-resizer { background-color: #666;}
/* SCROLL */ */

img{
    -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

body,html{
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

html {
    text-align: center;
    color: #fff;
    background: #000;
    font-family: 'Cairo', sans-serif;
    scroll-snap-type: y mandatory;
    overflow: hidden; /* Hide  scrollbars */
}

figure{
    background-position: 50% 50%;
  position: relative;
  max-width: 45vw;
  max-height: 90vh;
  overflow: hidden;
  cursor: zoom-in;
  margin: 0 auto;
}
img{
    display: block;
    margin: 0 auto;
    object-fit: contain;
    max-width: 45vw;
    max-height: 90vh;
    flex-grow: 1;
    opacity: 1;
    transition: opacity .3s;
}

figure > img:hover{
    opacity: 0;
}


.container{
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
}
h1{
    font-family: 'Cairo', sans-serif;
    font-size: xxx-large;
    font-size: 1em;
    margin: 0;
}
.desc{
    font-size: x-large;
    font-family: 'EB Garamond', serif;
    text-align: left;
    font-size: 16px;
}
.cantPaginas{
    font-size: .7em;
}
button{
    margin-top:20px;
    background: #000;
    color: #fff;
    padding: 10px;
    outline: none;
    border: 1px solid #fff;
    font-size: x-large;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
}
button:hover{
    cursor: pointer;
}


.cuaderno{
    display: flex;
    flex-wrap: wrap;
}
.cuaderno:hover{
    cursor: crosshair;
}

.cuaderno .carilla{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
}

.numPag{
    font-size: 12px;
    color: #9c9c9c;
    margin-top: 5px;
}

#inicio{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition: visibility 0s 1s, opacity .8s ease, filter .5s;
    filter: blur(0px);
}

#inicio input{
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    padding: 10px;
    margin-top:20px ;
    border: 3px solid #ffffff;
}
#inicio input.error{
    border-color: #db2828;
}
#inicio input.correct{
    border-color: #21ba45;
}

input:focus-visible{
    outline:none
}

#inicio.hidden{
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    z-index: -1;
}

#cuadernoContainer{
    opacity: 1;
    transition: opacity 2s, filter 1s;
    filter: blur(0px);
}

#cuadernoContainer.hidden {
    opacity: 0;
    height: 0px;
    /* overflow: hidden; */
    filter: blur(10px);
}
#loading{
    position: fixed;
    z-index: 5;
    top: calc(50vh - 50px);
    right: 50px;
    width: 100px;
    height: 100px;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: visibility 1s, opacity .8s ease, filter .5s;
    filter: blur(0px);
    transform: rotate(90deg);
}
#loading.hidden{
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    z-index: -1;
}
