* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}
main {
    position: relative;
    z-index: 1;
}

/* HERO */
.hero {
    background: url("img/glen-noble-18012-unsplash.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-hero {
    background: rgba(252,252,252, 0.8);;
    height: 80%;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    color: #B2196D;
    font-family: 'Elsie', cursive;
}

.hero-content h2 {
    color: #282727;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 24px;

}

form {
    padding-top: 15px;
}

input {
    height: 35px;
    font-size: 16px;
    padding: 7px;
    border: none;
}

/* Search bar placeholder */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color:  rgb(104, 220, 233);
}
::-moz-placeholder { /* Firefox 19+ */
    color:  #20CDE0;
}
:-ms-input-placeholder { /* IE 10+ */
    color:  #20CDE0;
}
:-moz-placeholder { /* Firefox 18- */
    color:  #20CDE0;
}

form button {
    height: 35px;
    border: 1px solid #ffffff;
    background: none;
    font-size: 16px;
    background: #197F8A;
    color: #ffffff;
    padding: 7px;
    cursor: pointer;
}

/* RESULTS BAR */
.results-bar.open {
    background-color: #B2196D;
}

.results-bar-content {
    color: rgb(245, 227, 125);
    font-size: 20px;
    text-align: center;
    padding: 20px 10px;
}

.clear-btn {
    display: block;
    margin: 0 auto 20px auto;
    border: 1px solid #ffffff;
    font-size: 14px;
    background: #197F8A;
    color: #ffffff;
    padding: 5px;
    cursor: pointer;
}

.no-results-bar.open {
    background-color: #B2196D;
    height: 200px;
}

.no-results-bar-content {
    padding: 40px 15px;
    text-align: center;
    color: rgb(245, 227, 125);
    font-size: 20px;
    font-style: italic;
}

.no-results-bar-content button {
    display: block;
    margin: 20px auto;
    height: 35px;
    border: 1px solid white;
    font-size: 16px;
    background: #197F8A;
    color: #ffffff;
    padding: 7px;
    cursor: pointer;
}

.clear-btn {
    cursor: pointer;
}

.results-area {
    text-align: center;
}

.js-search-results.show {
    display: inline-block;
    padding: 20px 10px;
    min-height: 100vh;
}

/* THUMBNAILS */
.thumbnail {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 1px;
    color: #f6f6f6;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    margin: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .2);
    background-color: #1E919E;
    background-image:
    repeating-linear-gradient(120deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(60deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px),
    linear-gradient(60deg, rgba(77, 225, 241, 0.1) 25%, transparent 25%, transparent 75%, rgba(77, 225, 241,.1) 75%, rgba(32, 205, 224,.1)),
    linear-gradient(120deg, rgba(77, 225, 241, 0.1) 25%, transparent 25%, transparent 75%, rgba(77, 225, 241,.1) 75%, rgba(77, 225, 241,.1));
    background-size: 70px 120px;
    transition: all 0.5s;
}

.thumbnail.thumbnail-border {
    border: rgb(241, 241, 92) 3px solid;
    box-shadow: none;
}

.thumbnail span {
    font-family: 'Elsie', cursive;
    font-size: 18px;
    color: #ffffff;
    display: block;
    margin: 10px auto;
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thumbnail:active {
    box-shadow: none;
    top: 10px;
}

/* LIGHTBOX */
.lightbox {
    background-color: rgba(0, 0, 0, 0.85);
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}

.inner-lightbox {
    background-color: #B2196D;
    height: 90%;
    width: 90%;
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white
}

.lightbox-btn {
    float: right;
    color: #ffffff;
    background-color: #B2196D;
    border: none;
}

.book-img {
    border: 1px white solid;
    height: 150px;
}

.book-title {
    display: block;
    font-size: 25px;
    padding: 5px 0 0 0;
}

.book-author {
    display: block;
    font-size: 18px;
    padding: 1px 0 1px 0;
}

.published-date {
    display: block;
    padding: 5px 0 0 0;
    font-size: 14px;
}

.book-description {
    font-size: 16px;
}

/* ACCORDIAN TABS */
.grid {
    list-style: none;
    margin-left: -18px;
}

.gc {
    box-sizing: border-box;
    display: inline-block;
    margin-right: -.25em;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 5px;
    vertical-align: top;
}

.gc--1-of-3 {
    width: 33.33333%;
    float: left;
}

.gc--2-of-3 {
    width: 66.66666%;
    height: 290px;
    overflow: auto;
}

.naccs {
    position: relative;
    max-width: 900px;
    margin: 30px auto 0;
}

.naccs .menu div {
    padding: 15px 7px;
    font-size: 12px;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    font-weight: 500;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    background-color: rgb(182, 47, 122);
}

.naccs .menu div:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.naccs .menu div span.light {
    height: 10px;
    width: 10px;
    position: absolute;
    top: 24px;
    left: 15px;
    border-radius: 100%;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.naccs .menu div.active span.light {
    left: 0;
    height: 100%;
    width: 3px;
    top: 0;
    border-radius: 0;
    background-color: #1E919E;
}

.naccs .menu div.active {
    padding: 15px 7px;
    font-weight: 700;
}

ul.nacc {
    position: relative;
    height: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: .5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.nacc li {
    opacity: 0;
    display: none;
    transform: translateX(0px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.nacc li.active {
    transition-delay: .3s;
    display: inline-block;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
}

ul.nacc li p {
    margin: 0;
}
