/* GLOBALS
==================*/
* {
    margin: 0 auto;
    padding: 0;
}

h1, h2 {
    font-family: 'Alfa Slab One', cursive;
    letter-spacing: 2px;
    font-weight: 100;
}

h3, h4, h5, h6, p {
    font-family: 'Chivo', sans-serif;
}
p {
    line-height: 1.5;
    padding: 10px 0;
}

h1 {
    font-size: 2.5rem;
}

h3 {
    font-style: italic;
}

section {
    padding: 30px 0px;
}

article {
    margin: 20px 5%;
}

button {
    background-color: #92b4f4;
    color: white;
    padding: 20px 35px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 6px solid #1f4b8e;
    font-family: 'Chivo', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 2px;
    margin: 20px 0px;
    cursor:pointer;
    text-shadow: 0 0 2px rgba(0,0,0,.5), 0 0 5px rgba(0,0,0,.5);
}

button:hover {
    border-bottom: 3px solid #1f4b8e;

}

.header-right ul li.buy {
    border: 3px solid #92b4f4;
    background: #92b4f4;
    padding: 5px 10px;
    margin-left: 20px;
}

.header-right ul li.buy:hover {
    border: 3px solid white;
    background: white;
    padding: 5px 10px;
    margin-left: 20px;
}

/* HOMEPAGE
==================*/


/* Snow
------------------
Snowflak effect CSS attached as "snowstyle.css"
-------------------*/

/*Header 
--------------------*/

header {
    display: flex;
    padding: 20px 5% 8px 5%;
    background: radial-gradient(#1b2735 0%, #090a0f 100%);
}

.header-left {
    width: 10%;
    float: left;
}

.back {
    font-family: 'Chivo', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}

.fa-long-arrow-left {
    color: white;
}

.header-right {
    width: 85%;
    float: right;
    text-align: right;
}

ul li {
    display: inline;
    padding: 0 0 0 20px;
    font-family: 'Chivo', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

ul li a {
    text-decoration: none;
    color: white;
}

.back:hover, ul li a:hover {
    color: #92b4f4;
    border-bottom: 2px solid white;
    padding-bottom: 6px;
}


#home h1 {
    color:#92b4f4;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 40px #000, 0 0 50px #1f4b8e;
} 

#home p {
    color: white;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 40px #000, 0 0 50px #1f4b8e;
}

#home {
    display: flex;
    z-index: -999;
}

.home {
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}


.home-left {
    width: 40%;
    float: left;
}

.home-right {
    width: 40%;
    float: right;
    flex-direction: column;
    padding: 20px;
}

.home-left img, .home-right button {
    box-shadow: 0 0 10px #000, 0 0 20px #1f4b8e;
}

.home-left img {
    max-width: 100%;
    max-height: 100%;
}

/* REVIEWS 
==================*/

#reviews {
    background-color:#1f4b8e;
}

#reviews h1 {
    text-align: center;
    color: white;
    text-shadow: 0 0 2px rgba(0,0,0,.2), 0 0 5px rgba(0,0,0,.2);
}


.review-left {
    width: 100%;
    float: left;
}

.review-left-background {
    background-color: rgba(250,250,250,0.5);
    padding: 20px;
    margin-right: 20px;
    box-shadow: 0 0 2px rgba(0,0,0,.2), 0 0 5px rgba(0,0,0,.1);
}

.review-left-background p {
    font-family: 'Chivo', sans-serif;
    text-transform: none;
    font-weight: 300;
    font-size: 18px;
}

.review-left-background h2 {
    color: #eca72c;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 300;
    text-shadow: 0 0 2px rgba(0,0,0,.5), 0 0 5px rgba(0,0,0,.5);
    padding-top: 15px;
}

.review-left-background h3 {
    padding-top: 7px;
    font-size: .8rem;
}


.review-right {
    width: 50%;
    float: right;
}

.review-right img {
    border-radius: 50%;
    border: 5px solid #eca72c;
    max-height: 280px; 
    max-width:280px; 
    margin:0 0 10px 0; 
    box-shadow: 0 10px 30px -5px rgb(0 0 0 / 10%);
}

#about {
    background-color: #cfdee7;
}




/* Review Carousel 
----------------------*/
.carousel {
    margin-left: 5%;
    margin-right: 5%;
}

ul.slides {
    display: block;
    position: relative;
    height: 400px;
    margin: 0;
    padding: 0;
    /*overflow: hidden;*/
    list-style: none;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

ul.slides input {
    display: none; 
}


.slide-container { 
    display: block; 
}

.slide-image {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    transition: all .7s ease-in-out;
}   

.slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.slide-image img {
    width: auto;
    min-width: 100%;
    height: 100%;
}*/

.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 100px;
    line-height: 400px;
    color: #fff;
}

.carousel-controls label {
    /*display: none;*/
    position: absolute;
    padding: 0 20px;
    opacity: 0;
    transition: opacity .2s;
    cursor: pointer;
}

.slide-image:hover + .carousel-controls label{
    opacity: 0.5;
}

.carousel-controls label:hover {
    opacity: 1;
}

.carousel-controls .prev-slide {
    width: 49%;
    text-align: left;
    left: -40px;
}

.carousel-controls .next-slide {
    /*width: 49%;*/
    text-align: right;
    right: -20px;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    z-index: 999;
    text-align: center;
}

.carousel-dots .carousel-dot {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    margin: 10px;
}

input:checked + .slide-container .slide-image {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .carousel-controls label {
     display: block; 
}

input#img-1:checked ~ .carousel-dots label#img-dot-1,
input#img-2:checked ~ .carousel-dots label#img-dot-2,
input#img-3:checked ~ .carousel-dots label#img-dot-3,
input#img-4:checked ~ .carousel-dots label#img-dot-4,
input#img-5:checked ~ .carousel-dots label#img-dot-5,
input#img-6:checked ~ .carousel-dots label#img-dot-6 {
	opacity: 1;
}


input:checked + .slide-container .nav label { display: block; }


/* BOOK TRAILER 
==================*/

#book {
    background-color:orange;
}

#book h1 {
    text-align: center;
    color: white;
    text-shadow: 0 0 2px rgba(0,0,0,.2), 0 0 5px rgba(0,0,0,.2);
}

.book {
    max-width: 90%;
}

/* ABOUT AUTHOR PAGE
=========================*/

#about h1 {
    color: #1f4b8e;
    text-align: center;
    text-shadow: 0 0 2px rgba(0,0,0,.2), 0 0 5px rgba(0,0,0,.2);
}

.about {
    display: flex;
    width: 80%;
    padding: 20px 0 0 0;
    align-items: center;
    justify-content: center;
}

.about-left {
    width: 40%;
    float: left;
}

.about-right {
    width: 60%;
    float: right;
    padding: 60px;
}

.about-left img {
    border-radius: 50%;
    border: 5px solid #1f4b8e;
    max-width: 80%;
    max-height: 80%;
}

/* CHARACTERS
======================*/

#characters {
    display: none;
}

/*.characters {
    display: flex;
    width: 100%;
    align-items: baseline;
}

.character1, .character2, .character3 {
    width: 30%;
}

.character1 img, .character2 img, .character3 img {
    max-width: 50%;
}


.overlay {
    background-color: #1f4b8e;
    position:fixed;
    top: 40vh;
    left: 40vw;
    opacity: 0.9;
    display: none;
    color: #fff;
    margin: 0 auto;
    padding: 20px;
}

.show {
    display: block!important;
}*/


/* FOOTER
=======================*/

footer {
    background: radial-gradient(#1b2735 0%, #090a0f 100%);
    text-align: center;
    color: white;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 0 5%;
}

footer a {
    color: #eca72c;
}


/* MOBILE CODING
=======================*/
@media screen and (max-width: 1100px) {
    
    button {
        font-size: 17px!important;
        font-weight: bold!important;
    }

    .header-left, .header-right {
        width: 50%;
    }
    .header-right ul li.hidden  {
        display: none;
    }

    #home{
        height: 100%!important;
    }

    .home {
        flex-direction:column;
        height: 100%!important;
    }

    .home-left {
        align-content: center;
    }

    .home-left, .home-right {
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 995px) {
    .carousel-dots {
        bottom: -30px;
    }

    .about {
        width: 100%;
    }

    .carousel-dots {
        bottom: -40px;
    }

    .carousel-controls .next-slide {
        right: -40px;
    }
}
@media screen and (max-width: 880px) {
    ul.slides {
        height: 500px;
    }

    .carousel-controls {
        line-height: 500px;

    }
}

@media screen and (max-width: 800px) {

    body {
        overflow-x: hidden!important;
    }

    .home-left, .home-right {
        margin: 0;
        padding: 0;
    }

    .slide-image {
        flex-direction:column-reverse;
        text-align: center;
    }

    .review-left {
        text-align: left!important;
    }

    .review-left, .review-right {
        width: 100%;
        padding: 2px 0;
        margin: 0;
    }

    .review-right {
        padding: 0;
        margin: 0;
    }

    .review-right img {
        align-content: center;
    }

    ul.slides {
        height: 740px;
    }

    .carousel-controls {
        display: none;
        line-height: 740px;
        left: 0;
        right: 0;
    }

    .carousel-controls .prev-slide {
        left: 0!important;
    }
    
    .carousel-controls .next-slide {
        right: 0!important;
    }
    

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-right {
        text-align: left!important;
    }

    .about-left, .about-right {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-width: 450px) {
    .home {
        text-align: center;
    }

    .home-right h1 {
        padding-top: 20px;
    }

    ul.slides {
        height: 790px;
    }

    .carousel-controls {
        line-height: 790px;
    }
}