/* @import url('https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap'); */

@font-face {
    font-family: ArvoRegular;
    src: url('../fonts/Arvo/Arvo-Regular.ttf');
}

@font-face {
    font-family: TekoSemiBold;
    src: url('../fonts/Teko/Teko-SemiBold.ttf');
}

@font-face {
    font-family: ArchivoBold;
    src: url('../fonts/Archivo/ArchivoNarrow-Bold.ttf');
}

* {
    margin: 0;
}

/* .wrapper {
    width: 100% !important;
    margin: 3% auto;
    border: 1px solid red;
}

.headerLogo {
    width: 63% !important;
} */

.booklistTitleWrapper {
    width: 65%;
    margin: 0 auto;
    padding-top: 2%;
    /* border: 1px solid black; */
}

.booksWrapper {
    /* border: 1px solid red; */
    width: 85%;
    /* text-align: center; */
    margin: 0 auto;
    padding-top: 2%;
    display: flex;
}

.booklistTitle {
    font-size: 2em;
    color: black;
    font-weight: 500;
    font-family: ArchivoBold;
}

.book1 {
    /* display: flex; */
    width: 100%;
}


.bookcontainerLeft {
    /* flex: 20%; */
    /* height: 70%; */
    width: 100%;
    /* border: 1px solid green; */
    /* position: relative; */
    text-align: center;
    margin: 0 auto;
}

.perspective {
    height: 100%;
    perspective: 10%;
    transform-style: preserve-3d;
    overflow: hidden;
    /* border: 1px solid blue; */
}

.book-container {
    /* width: 30%;
    height: 50%; */
	padding-bottom: 56.25%; /* 16:9 */
	position: relative;

    /* background: blue; */
    /* border: 1px solid red; */
    transform-style:preserve-3d;
    transition: all ease-out 0.5s;
}

.frontcover {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;

	color: white;
	font-size: 24px;
    text-align: center;
    
    background: url('../images/IMG_6065.JPG') no-repeat center center;
    background-size: contain;
    /* position: absolute; */
    /* top: 0;left: 0;right: 0;bottom: 0; */
    margin: auto;
    cursor:pointer;

    /* width: 30%; */
}

.spine {
    background: url('../images/IMG_0525.JPG') no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 0;left: -43%;right: 0;bottom: 0;
    margin: auto;
    transform: rotateY(-80deg) translateX(-14px);
    font-size: 1em;
    /* border: 1px solid white; */
    width: 5%;
}

.backcover {
    background: url('../images/IMG_0530.JPG') no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 0;left: 0;right: 0;bottom: 0;
    margin: auto;
    transform:rotate(180deg) translateZ(-30px) translateX(5px);
    cursor:pointer;
    /* width: 30%; */
}

.rotateClockwise {
    transform:rotateY(20deg);
}

.flip {
    transform:rotateY(180deg);
}


.bookimageWrapper {
    /* flex: 30%; */
    text-align: center;
    /* border: 1px solid blue; */
}

.bookimageStyle {
    width: 60%;
    /* height: 30%; */
}

.booktextWrapper {
    /* flex: 70%; */
    width: 80%;
    margin: 0 auto;
    font-size: 1em;
    /* border: 1px solid green; */
    padding-top: 2%;
    font-family: ArvoRegular;
    font-size: 1.2em;
    /* font-family: TekoLight;
    font-size: 2em;; */
}

/* .buyLinksWrapper {
    border: 1px solid black;
    width: 30%;
    text-align: center;
    margin: 2%;
    padding: 2%;
} */

.buyLinksWrapper {
    display: flex;
    text-align: center;
    /* margin: 0 auto; */
}

.buyLink1, .buyLink2 {
    width: 30%;
    /* height: 50%; */
    /* border: 1px solid blue; */
    /* border-radius: 5px; */
    margin: 2%;
    padding: 2%;
    position: relative;
    font-family: TekoSemiBold;
    font-size: 1.4em;
}

.buyLink1:hover, .buyLink2:hover {
    /* background-color: red; */
    color: black !important;
}

.buyLinkText {
    /* font-family: TekoSemiBold;
    font-size: 1.2em; */
    color: rgb(226, 0, 0) !important;
}

.buyLinkText:hover {
    color: black !important;
}

.buyLinkButton {
    border: 1px solid rgb(226, 0, 0);
    border-radius: 5px;
    background: none;
    padding: 2%;
    width: 100%;
    height: 100%;
    position:absolute;
    right: 0;
    top: 0;
    height: 100%;
    text-transform: uppercase;
}

.buyLinkButton:hover {
    background-color: grey;
    border: 1px solid black;
}

button:focus {
    outline: 0;
}

.buttonText {
    font-family: TekoSemiBold;
    font-size: 1.4em;
}

.upcomingWrapper {
    width: 65%;
    /* text-align: center; */
    margin: 0 auto;
    padding-top: 2%;
}

.upcomingTitle {
    /* border: 1px solid yellow; */
    text-align: left;
    font-weight: 500;
    font-size: 2em;
    font-family: ArchivoBold;
}

.upcomingInfo {
    text-align: center;
}



@media screen 
and (min-width: 800px) 
and (max-width: 1000px) {
    .wrapper {
        width: 100% !important;
        margin: 3% auto;
        /* border: 1px solid red; */
    }
    
    /* .headerLogo {
        width: 63% !important;
    } */

    .book1 {
        display: block;
    }

    .booktextWrapper {
        width: 85%;
        /* border: 1px solid yellow; */
        margin: 0 auto;
    }

    .booksWrapper {
        width: 70%;
        display: block;
        margin: 0 auto;
        /* border: 1px solid yellow; */
    }

    .bookcontainerLeft {
        width: 100%;
    }
}


@media screen 
and (min-width: 200px) 
and (max-width: 800px) {
    .wrapper {
        width: 100% !important;
        margin: 3% auto;
        /* border: 1px solid red; */
    }
    
    /* .headerLogo {
        width: 63% !important;
    } */
    .book1 {
        display: block;
    }

    .booksWrapper {
        /* border: 1px solid red; */
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    .bookcontainerLeft {
        width: 100%;
    }

    .bookimageWrapper {
        width: 100%;
        /* border: 1px solid blue; */
        margin: 0 auto;
        text-align: center;
        padding-bottom: 2%;
    }

    .booktextWrapper {
        width: 80%;
        /* border: 1px solid yellow; */
        margin: 0 auto;

    }

    .bookimageStyle {
        width: 80%;
        margin: 0 auto;

    }
}

/* @media screen 
and (min-width: 200px) 
and (max-width: 640px) {
    .book1 {
        display: block;
    }
    
    .booksWrapper {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .bookcontainerLeft {
        width: 100%;
        height: 100%;
    }

    .bookimageWrapper {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding-bottom: 2%;
    }

    .booktextWrapper {
        width: 80%;
        margin: 0 auto;

    }
} */

@media screen 
and (min-device-width: 640px) 
and (max-device-width: 1200px) {
    .wrapper {
        width: 100% !important;
        margin: 3% auto;
        /* border: 1px solid red; */
    }
    
    .headerLogo {
        width: 63% !important;
    }

    .booksWrapper {
        width: 100%;
    }

    .bookcontainerLeft {
        width: 100%;
    }

    .booktextWrapper {
        width: 45%;
        /* border: 1px solid yellow; */
        margin: 0 auto;
        padding-top: 2%;
    }
}


@media screen 
and (min-device-width: 200px) 
and (max-device-width: 640px) {
    .wrapper {
        width: 100% !important;
        /* margin: 3% auto; */
        /* border: 1px solid red; */
    }
    
    /* .headerLogo {
        width: 63% !important;
    } */

    .booklistTitleWrapper {
        width: 70%;
        font-size: 1.5em;
    }

    .booksWrapper {
        width: 100%;
    }

    .bookcontainerLeft {
        width: 100%;
    }

    .booktextWrapper {
        width: 55%;
        /* border: 1px solid yellow; */
        margin: 0 auto;
        padding-top: 2%;
        font-size: 2em;
    }
}