/* NOTES

RED: #FF2900
DARK RED: #AA1114
BLUE: #0118A7
NAVBAR TAN: #EBDBCB
CONTENT TAN: #FFF8F0

*/

/*  GLOBAL */

body {
    margin: 0;
    font-family: "Droid Sans", sans-serif;
    background-color: #fff8f0;
    color: #ff2900;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #ff2900;
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

a:hover {
    text-decoration: none;
    color: #fff;
}

.nah {
    text-shadow: 0 0 0;
    -webkit-filter: blur(0);
    filter: blur(0);
}

main {
    z-index: 1;
}

.right {
    float: right;
}

.tumblr {
    z-index: -50;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50%;
    height: 90%;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

#fb {
    z-index: 99;
    position: absolute;
    top: 76px;
    left: -18px;
    width: 70px;
    opacity: 0.7;
    transform: scale(0.5);
    -webkit-filter: blur(1px);
    filter: blur(1px);
    box-shadow: 0px 0px 45px #777;
}

#fb:hover,
#flamefb:hover {
    opacity: 1;
}

#fb img,
#flamefb img {
    width: 100%;
}

#fake {
    display: none;
}

/* NAVIGATION */

/* CORNER */

/*
#corner {
    width: 100px;
    height: 100px;
    z-index: 50;
    position: fixed;
    top: -29px;
    left: -29px;
    -webkit-transform: rotate(-90deg) scaleY(-1);
    -moz-transform: rotate(-90deg) scaleY(-1);
    -o-transform: rotate(-90deg) scaleY(-1);
    box-shadow: 2px 2px 55px #111;
    border-radius:3px;
}
*/

#cornerlink {
    z-index: 99;
    position: fixed;
    width: 50px;
    height: 50px;
    top: 0;
    left: 0;
    /* cursor: url(/img/ic_motorcycle/ic_motorcycle_black_24dp_2x.png), pointer; */
    cursor: pointer;
}

/* NAVBAR */

#navwrapper {
    position: fixed;
    z-index: 50;
    bottom: 0;
    width: 100%;
    height: 10%;
    min-height: 80px;
    background-color: #ebdbcb;
}

#nav {
    position: relative;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.75%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    line-height: 70px;
    text-align: center;
    text-transform: uppercase;
}

#nav > a {
    position: relative;
    display: inline-block;
    font-size: 3vw !important;
    margin: 0 1.8vw;
}

/* 1080p */
@media only screen and (min-width: 1900px) {
    #nav > a {
        font-size: 52px !important;
    }
}

/* mobile / tablet */
@media only screen and (max-width: 1024px) {
    #nav {
        padding: 0 30px;
    }

    #nav > a {
        font-size: 3.8vw !important;
        flex-grow: 1;
    }
}

#nav > a .at {
    position: relative;
}

#nav > a .at::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -10px;
    left: -14px;
    padding: 5px 10px;
    border: 5px solid #ff2900;
}

#nav > a .at:hover {
    color: #ff2900;
    cursor: default;
}

#navblog {
    /* hide the blog link */
    display: none !important;
}

.nomargin {
    margin: 0 !important;
}

/* INDEX */

#heading {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    line-height: 80%;
    text-align: left;
    -webkit-filter: blur(1px);
    filter: blur(1px);
    text-transform: uppercase;
    color: #fff;
}

#center {
    position: absolute;
    width: 100%;
    height: 150px;
    top: 21%;
    text-align: center;
}

/* PAGE CONTENT */

h1 {
    display: block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

/* BOOKS */

.flamebook {
    display: inline-block;
    width: 100%;
    color: rgb(255, 41, 0);
    text-shadow: 0 3px 1px rgb(65, 2, 2);
    font-size: 70px;
    line-height: 60px;
    text-align: center;
    -webkit-filter: blur(1px);
    filter: blur(1px);
    /*padding: 46px 0;
background-color: rgba(255,255,255,0.4);*/
}

.flamebook:hover {
    -webkit-filter: brightness(2);
    filter: brightness(2);
}

/**
 * Books page
 */
.books-page .pagecontent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

.books-list {
    max-width: 900px;
    font-size: 37px;
    line-height: 67px;
    text-align: center;
    text-transform: uppercase;
}

.books-list > a {
    display: block;
}

@media only screen and (max-width: 1024px) {
    .books-list {
        font-size: 52px;
        line-height: 67px;
    }

    .books-list > a {
        margin-bottom: 25px;
    }
}

/* THE FLAMETHROWERS */

#aboutbook {
    z-index: 0;
    position: fixed;
    top: 35px;
    right: 0;
    width: calc(100% - 590px);
    max-width: 53%;
    margin: 0 -5%;
    font-family: Roboto;
    font-weight: 600;
    font-size: 38px;
    line-height: 39px;
    display: flex;
}

#aboutbook > .blur {
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

#aboutbook > a {
    display: block;
    height: 33px;
    margin: 0;
    margin-top: 1px;
    opacity: 0.8;
    overflow: hidden;
}

#aboutbook > a:first-of-type {
    margin-left: 18px;
}

#aboutbook > a:not(:first-of-type) {
    margin-left: 6px;
}

#aboutbook > a :hover {
    opacity: 0.9;
}

#aboutbook > a > img {
    display: block;
    height: 100%;
    width: auto;
}

#aboutbook > a.amz,
#aboutbook > a.bn,
#aboutbook > a.gr {
    width: 33px;
    overflow: hidden;
}

#aboutbook > a.amz > img,
#aboutbook > a.bn > img,
#aboutbook > a.gr > img {
    height: 73px;
    transform-origin: top left;
    transform: scale(0.45);
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

#aboutbook > a.gr {
    border-radius: 5px;
}

#aboutbook > a.gr > img {
    position: relative;
    left: -2px;
}

#aboutbook > a.bb {
    width: 42px;
}

@media only screen and (max-width: 1024px) {
    #aboutbook {
        top: 38px;
        right: 50px;
        width: auto;
        max-width: 100%;
        font-size: 60px;
        line-height: 61px;
    }

    #aboutbook > span {
        margin-right: 15px;
    }

    #aboutbook > a {
        height: 48px;
        margin-top: 5px;
    }

    #aboutbook > a:first-of-type {
        margin-left: 20px;
    }

    #aboutbook > a:not(:first-of-type) {
        margin-left: 20px;
    }

    #aboutbook > a:last-child {
        margin-right: 50px;
    }

    #aboutbook > a.amz,
    #aboutbook > a.bn,
    #aboutbook > a.gr {
        width: 48px;
    }

    #aboutbook > a.bb {
        width: 60px;
    }

    #aboutbook > a.amz > img,
    #aboutbook > a.bn > img,
    #aboutbook > a.gr > img {
        height: 110px;
        transform: scale(0.43);
    }

    #aboutbook > a.gr > img {
        left: -3px;
    }
}

.tumblr.book-tumblr {
    z-index: -10;
    position: absolute;
    top: 92px;
    right: 0;
    width: calc(100% - 590px);
    max-width: 53%;
    height: 79%;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.book-image {
    z-index: 5;
    position: absolute;
    box-shadow: -10px -10px 45px black;
    border-radius: 1px;
    height: 90%;
    width: auto;
    left: 0;
}

@media only screen and (max-width: 1320px) {
    .book-image#mayor_of_leipzig_cover {
        left: -30px;
        clip-path: inset(0 30px 0 30px);
    }
}

.abouttheflamethrowers {
    position: relative;
    opacity: 0.8;
    bottom: 20%;
    margin-left: -20px;
}

.flag:hover {
    opacity: 1;
}

#flamefb {
    right: -19px;
    box-shadow: 0px 0px 45px #ddd;
    z-index: 99;
    position: absolute;
    top: 76px;
    width: 70px;
    opacity: 0.7;
    transform: scale(0.5);
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

.goodreads {
    top: 125px !important;
}

.telexframe {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -296px;
    margin-left: -500px;
}

/* ABOUT */

#credit a {
    position: absolute;
    bottom: 14%;
    right: 20px;
    font-size: 19px;
    font-family: "Roboto";
    text-transform: uppercase;
    transform: scale(0.7);
    padding: 3px 9px;
    border: 2px solid transparent;
}

#credit a:hover {
    border: 2px solid #ff2900;
    padding: 3px 9px;
    -webkit-filter: blur(1px);
    filter: blur(1px);
    color: #ff2900 !important;
}

/* BLOG */

.blogtumblr {
    top: -20px !important;
    height: 95% !important;
}

.blogtumblrleft {
    width: 100% !important;
    height: 105% !important;
    border: 0;
    overflow-y: hidden !important;
}

.blogtumblrleftcorner {
    width: 500% !important;
    height: 500% !important;
}

/* CONTACT */

.contactpage h1 {
    display: block;
    font-size: 25px;
    margin: 55px 0 15px 0;
}

.contactpage a {
    display: inline-block;
    margin: 5px 0 0 -10px;
}

.phone {
    height: 20px;
    margin: 10px 10px -3px 0;
}

.email {
    height: 15px;
    margin: 0 10px -2px 0;
}

/* BACKGROUNDS */

.bg {
    display: block;
    z-index: -25;
    min-width: 0px;
    width: 50%;
    height: 90%;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /* box-shadow: 0px 0px 50px #506196; */
    box-shadow: -10px -10px 45px black;
    border-radius: 1px;
}

a.bg-link {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

/* Mobile - hide bg images & make tumblr iframe full width */
@media only screen and (max-width: 1024px) {
    .bg {
        display: none;
        z-index: -1;
        width: 100%;
    }

    .bg.index,
    .bg.books {
        display: block;
    }

    .book-image {
        display: none;
    }

    .tumblr.book-tumblr,
    .tumblr {
        z-index: 1;
        width: 100%;
        max-width: 100%;
        background: #fff8f0;
    }

    .tumblr.book-tumblr {
        top: 130px;
        height: calc(90% - 130px);
    }
}

.index {
    width: 100%;
    border-radius: 0px;
}
.books {
    background-image: url(http://rkushnerimage.tumblr.com/tagged/books);
    width: 100%;
    border-radius: 0px;
}
.flamethrowers {
    background-image: url(img/flamethrowerscover.jpg);
    top: 150px;
    opacity: 0.9;
}

.about {
    background-image: url(img/background-about1.jpg);
    border-radius: 0px;
    z-index: -50;
    background-position: center bottom;
    top: -1px;
}
.about:hover {
    cursor: pointer;
}
.about2 {
    background-image: url(img/background-about2.jpg);
    border-radius: 0px;
    background-position: center bottom;
    box-shadow: none;
    z-index: -70;
    top: -1px;
}
.about2:hover {
    cursor: pointer;
}

.news {
    background-image: url(http://rkushnerimage.tumblr.com/tagged/news);
}
.events {
    background-image: url(http://rkushnerimage.tumblr.com/tagged/events);
    background-position: right top;
}
.contact {
    background-image: url(http://rkushnerimage.tumblr.com/tagged/contact);
}

.invisible {
    visibility: hidden;
}
