﻿/*Custom CSS For books
-------------------------------------------------- */
.grecaptcha-badge {
    visibility: hidden !important;
}

/*Desktop Version*/
@media (min-width: 1000px) {
    html {
        font-size: 16px;
    }

    #vidBackground {
        object-fit: cover;
        width: 100vw;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -2;
    }

    .display-card {
        margin-top: 5%;
        margin-bottom: 8%;
    }

    .book-container {
        display: flex;
        flex-direction: row;
        margin-bottom: 5%;
        margin-top: 2%;
        margin-left: 5%;
        align-items: center;
        width: 90%;
        z-index: 2;
    }

    .book-cover-container {
        width: 50%;
        display: flex;
        justify-content: center;
        margin-left: 3%;
        margin-right: 3%;
    }

    .quote {
        flex: 1;
        background-color: #874143;
        padding: 10px;
        width: 50%;
    }

    .card-quote {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .book-cover {
        flex: 1;
        justify-content: center;
    }

    .book-img {
        max-width: 80%;
        max-height: 80%;
        display: block;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .card-fab {
        margin-right: 15%;
    }

    #symbols {
        top: -75%;
        left: -15vw;
        position: fixed;
        width: 130vw;
        height: auto;
        opacity: 0.25;
        object-fit: cover;
        transform-origin: 48% 47%;
        z-index: -1;
    }

    .fab-floating {
        transform: translate(0, 50%);
    }

    .card-quote {
        font-family: 'PT Sans', sans-serif !important;
    }
}

/*IPad Version*/
@media (min-width: 750px) and (max-width: 1000px) {
    body {
        margin: 0;
    }

    #vidBackground {
        object-fit: cover;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .book-img {
        height: auto;
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
        display: block;
        margin-top: 10%;
        margin-bottom: 5%;
    }

    .book-cover-container {
        height: 60%;
    }

    .swiper {
        height: 80vh;
        width: 60vw;
        margin-top: 5%;
        margin-bottom: 10%;
    }

    .swiper-wrapper {
        height: 100%;
        width: 100%;
    }

    .swiper-slide {
        max-height: 90vh;
        width: 80vw;
    }

    .swipe-quote {
        margin: 5%;
        margin-top: 10%;
    }

    .bookcover {
        width: 50%;
        height: auto;
    }

    .card-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        padding-bottom: 5px;
        margin: 5%;
        margin-top: 8%;
        margin-bottom: 8%;
        position: center;
    }

    .blockquote_color {
        border-left-color: #b5834e;
    }

    .fab-floating {
        transform: translate(0, 0);
    }

    .halfway-fab {
        z-index: 3;
    }

    .activator {
        height: 100%;
        width: auto;
    }

    .card-reveal {
        height: 70%;
    }

    .card-image {
        overflow: initial;
    }

    .activator-title {
        margin-top: 20%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .card-name-title {
        margin-top: 5%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .inner-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        margin-top: 5%;
    }
}

/* iPhone SE change to swiper width */
@media (max-height: 739px) and (max-width: 500px)
{
    body {
        margin: 0;
    }

    #vidBackground {
        object-fit: cover;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .book-img {
        height: auto;
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
        display: block;
        margin-top: 10%;
        margin-bottom: 5%;
    }

    .book-cover-container {
        height: 60%;
    }

    .swiper {
        height: auto;
        width: 65vw;
        margin-top: 5%;
        margin-bottom: 20%;
    }

    .swiper-wrapper {
        height: 100%;
        width: 100%;
    }

    .swiper-slide {
        max-height: 90vh;
        width: 80vw;
    }

    .swipe-quote {
        margin: 5%;
        margin-top: 10%;
    }

    .bookcover {
        width: 50%;
        height: auto;
    }

    .card-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        padding-bottom: 5px;
        margin: 5%;
        margin-top: 8%;
        margin-bottom: 8%;
        position: center;
    }

    .blockquote_color {
        border-left-color: #b5834e;
    }

    .fab-floating {
        transform: translate(0, 0);
    }

    .halfway-fab {
        z-index: 3;
    }

    .activator {
        height: 100%;
        width: auto;
    }

    .card-reveal {
        height: 70%;
    }

    .card-image {
        overflow: initial;
    }

    .activator-title {
        margin-top: 20%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .card-name-title {
        margin-top: 5%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .inner-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        margin-top: 5%;
    }
}

/* Mobile Version */
@media (min-height: 740px) and (max-width: 750px) {
    body {
        margin: 0;
    }

    #vidBackground {
        object-fit: cover;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .book-img {
        height: auto;
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
        display: block;
        margin-top: 10%;
        margin-bottom: 5%;
    }

    .book-cover-container {
        height: 60%;
    }

    .swiper {
        height: 80vh;
        width: 80vw;
        margin-top: 5%;
        margin-bottom: 15%;
    }

    .swiper-wrapper {
        height: 100%;
        width: 100%;
    }

    .swiper-slide {
        max-height: 90vh;
        width: 80vw;
    }

    .swipe-quote {
        margin: 5%;
        margin-top: 10%;
    }

    .bookcover {
        width: 50%;
        height: auto;
    }

    .card-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        padding-bottom: 5px;
        margin: 5%;
        margin-top: 8%;
        margin-bottom: 8%;
        position: center;
    }

    .blockquote_color {
        border-left-color: #b5834e;
    }

    .fab-floating {
        transform: translate(0, 0);
    }

    .halfway-fab {
        z-index: 3;
    }

    .activator {
        height: 100%;
        width: auto;
    }

    .card-reveal {
        height: 70%;
    }

    .card-image {
        overflow: initial;
    }

    .activator-title {
        margin-top: 20%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .card-name-title {
        margin-top: 5%;
        font-family: 'Oswald', sans-serif;
        color: white;
    }

    .inner-quote {
        font-family: 'Oswald', sans-serif;
        color: white;
        padding: 5px;
        margin-top: 5%;
    }
}

