@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
@font-face { font-family: "Helvetica Now"; src: url('Helvetica Now Text Bold.otf'); }

html,body {
    touch-action: pan-x pan-y;
    margin: 0;
    border: 0;
    padding: 0;
    height: 100%;
    /*width: 100vw;*/
    /*overflow-x: hidden;*/
    /*display: flex;*/
    /*background-color: black;*/
    font-size: 0;
    cursor: url(arrow.png), auto;
    /*-webkit-perspective: 1000;*/
}
.indexBooks a{
    /*pointer-events: none;*/
}
.content{
    margin: 0;
    border: 0;
    padding: 0;
    height: 100%;
}
a, p, div {
    cursor: url(arrow.png), auto;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    font-family: 'Futura', sans-serif;
    /*font-family: "Helvetica Now","Helvetica Neue",Helvetica,Arial,sans-serif;*/
    /*font-size: 18px;*/
    /*font-weight: 300;*/
    /*line-height: 50px;*/
    color: black;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
::selection {
    background: yellow;
}
::-moz-selection {
    background: yellow;
}
::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}
html,body,a, p, div,.bookCursor,.indexBooks,.indexBookSpine{
    -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;
}
.bg{
    width: 100%;height: 100%;top: 0;left: 0;
    position: fixed;background-color: white;
    z-index: -2;
}
.titles{
    position: fixed;z-index: 99999;
    mix-blend-mode: difference;
    padding: 2px;
    bottom: 0;width: fit-content;
}
.title{
    display: block;
    font-family: 'Futura', sans-serif;
    color: #ff00a2;

    font-size: 14px;
    line-height: 14px;
}
/*.title:hover{*/
/*    font-size: 56px;*/
/*    transition: 5s;*/
/*}*/
.line1{
    color: white;
}
.line2{
    color: rgb(2, 16, 166);
}
.line3{
    color: rgb(0, 255, 251);
}
.line4{
    color: rgb(38, 255, 49);
}
.middlemiddle{
    /*display: none;*/
    top: 50%;
}
.upperright{
    /*left: 207px;*/
    right: 0;
}
.bottomright{
    /*left: 207px;*/
    right: 0;
}
.bookCursor{
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    float: left;
    /*transition: 0.3s 0s;*/
    height: 30px;
    position: absolute;
    font-size: 40px;
}
.bookCursor1{
    transition: 0.4s 0.1s;
    height: 35px;
    position: absolute;
    font-size: 40px;
}
.contents{
    display: inline-block;
    position: relative;
    padding-bottom: 100px;

    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(0,0,0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    transform: translate3d(0,0,0);
    transform: translateZ(0);
}
.illus-in-books{
    width: 25vw;
    position: absolute;
}
.illustrations,.books{
    position: relative;
    margin: 25vw 25vw 0 25vw;
    width: 50vw;
    transition-duration: 1.5s;
    opacity: 1;
    object-fit: contain;
}
.illustrations:hover{
    transform: scale(1.5);
    /*animation: moving 6s infinite;*/
    animation-delay: 1.7s;
}
.books:hover{
    transform: scale(1.2);
    /*animation: moving1 6s infinite;*/
    animation-delay: 1.7s;
}
.bg-effect{
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(-50%,-50%,0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    transform: translate3d(-50%,-50%,0);
    transform: translateZ(0);
}
.circleInBg{
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    z-index: -1;
    /*transform: translate(-50%,-50%);*/
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(-50%,-50%,0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    transform: translate3d(-50%,-50%,0);
    transform: translateZ(0);
}
.circleInBg1{
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    /*transform: translate(-50%,-50%);*/

    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(-50%,-50%,0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    transform: translate3d(-50%,-50%,0);
    transform: translateZ(0);
}
.circleInBgD{
    display: none;
}
.circleInBgD1{
    display: none;
}
.circleInBgMobile{
    display: block;
    width: 200vw;
    height:200vw;
    opacity: 0.4;
    left: -50%;
}
.circleInBgMobile1{
    display: block;
    width: 100vw;
    height: 100vw;
    left: -10%;
    opacity: 0.3;
}
.fin{
    font-family: 'Futura', sans-serif;
    font-size: 14px;
    line-height: 14px;
    position: relative;
    display: inline-block;
    top: 0;
    height: 50vw;
    margin: 50vw 25vw 0 25vw;
    width: 50vw;
    text-align: center;
    float: right;
    color: black;
}
.fin a{
    transform: translateX(-32px);
    padding-left: 50%;
    font-size: 14px;
    line-height: 14px;
    display: block;
    text-align: left;
}
/*.fin1{*/
/*    color: black;*/
/*}*/
/*.fin2{*/
/*    color: rgb(255 215 0);*/
/*}*/
/*.fin3{*/
/*    color: rgb(180 45 30);*/
/*}*/
/*.fin4{*/
/*    color: rgb(152 0 176);*/
/*}*/

@media (min-aspect-ratio: 1/1) {
    .illustrations,.books{
        top: 0;
        /*float: left;*/

        margin: 10vw 12.5vw 2.5vw 12.5vw;
        max-width: 25vw;max-height: 50vh;
    }
    .fin{
        height: 0;
        margin: 24vw 12.5vw 2.5vw 12.5vw;
        width: 25vw;
    }
    .line1{
        color: white;
    }
    .line2{
        /*color: rgb(25, 0, 178);*/
    }
    .line3{
        color: rgb(0, 201, 218);
    }
    .line4{
        color: rgb(0, 254, 13);
    }
    /*.fin1{*/
    /*    color: black;*/
    /*}*/
    /*.fin2{*/
    /*    color: rgb(255 215 0);*/
    /*}*/
    /*.fin3{*/
    /*    color: rgb(180 45 30);*/
    /*}*/
    /*.fin4{*/
    /*    color: rgb(152 0 176);*/
    /*}*/
    .middlemiddle{
        display: block;
        top: 50%;
    }
    .upperright{
        left: auto;
        right: 0;
    }
    .bottomright{
        left: auto;
        right: 0;
    }
    .circleInBg{
        background-color: rgba(253, 255, 0, 0.3);
        /*animation: bg-moving 40s infinite alternate-reverse linear;*/
    }
    .circleInBg1{
        /*animation: bg-moving 50s infinite alternate linear;*/
    }
    .circleInBgMobile{
        display: none;
    }
    .circleInBgMobile1{
        display: none;
    }
    .circleInBgD{
        width: 500px;
        height: 500px;
        display: block;
        animation: bg-moving 40s infinite alternate-reverse linear;
        filter: blur(249px);
        background-color: rgba(253, 255, 0, 0.2);
    }
    .circleInBgD1{
        width: 200px;
        height: 200px;
        display: block;
        animation: bg-moving 50s infinite alternate linear;
        filter: blur(120px);
        background-color: rgba(172, 255, 245, 0.51);
    }
}
@media (max-width: 250px) {
    .title, .fin a {
        font-size: 3.5vw;
        line-height: 3.5vw;
    }
}
@media (max-width: 361px) {
    .upperright{
        left: 177px;
        right: auto;
    }
    .bottomright{
        left: 183px;
        right: auto;
    }
}
@keyframes moving {
    0% {
        transform: scale(1.5);
    }
    50% {
        transform: scale(1.45);
    }
    100% {
        transform: scale(1.5);
    }
}
@keyframes moving1 {
    0% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.2);
    }
}
@keyframes bg-moving {
    0% {
        top: 0;left: 0;
        /*background-color: rgb(255, 249, 236);*/
    }
    25% {
        top: 100%;left: 25%;
        /*background-color: rgb(251, 255, 0);*/
        /*background-color: rgb(146, 92, 105);*/
    }
    50% {
        top: 0;left: 50%;
        /*background-color: rgb(255, 249, 236);*/
    }
    75% {
        top: 100%;left: 75%;
        /*background-color: rgb(255, 149, 106);*/
        /*background-color: rgb(224, 225, 170);*/
    }
    100% {
        top: 0;left: 100%;
        /*background-color: rgb(255, 249, 236);*/
    }
}
@keyframes scaleUp {
    0% {
        /*transform: scale(1);*/
        font-size: 14px;
    }
    100% {
        /*transform: scale(1.6);*/
        font-size: 56px;
    }
}