:root {
  --accent-color: #c0392b;
  --link-color: #27ae60;
  --sub-color:#888;
  --tableHeader-color: LightGreen;
  --hover-color: LimeGreen;
  --alertMe-color: Red;
}

/* #5f9691 - BLU */

::-webkit-scrollbar {
  width: 0px;
  height:0px;
}

body {
  font-family:monospace;
  margin:0;
  padding:0;
  font-family: 'Quicksand', sans-serif;
  color:#333;
  font-size:13px;
  line-height:18.2px;
  background: #ddd;
  background-image: url(snow.png);
  background-size: 250px;
  -webkit-font-smoothing: antialiased;
  /* transition:1s; */
}

.dark {
  /* background-color: #cdcdcd; */
}

strong {
  color:black;
}

iframe {
  width:100%;
  border:0;
  height:230px;
}

h3 {
  border-bottom:1px solid white;
  padding-bottom:5px;
  margin:0px 0px 5px 0px;
}

a {
  color:inherit;
  text-decoration:none;
}

/* .group {
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
height: 525px;
} */

#itemTitle {
  padding:0;
  margin:0;
  font-family: 'Quicksand', cursive;
  color: var(--accent-color);
  font-size:18px;
  letter-spacing:1px;
  font-weight:600;
  line-height:110%;
}

.card-container {
  -webkit-perspective: 500px;
  perspective: 500px;
  display:none;
  margin:0 1.5em 3em 1.5em;
}
.back {
  visibility: hidden;
  -webkit-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
  background: var(--accent-color);
  color: white;
}

.flipper {
  position:fixed;
  top: 10vh;
  left: auto;
  z-index:99999999;
}

.flipper .card{
  -webkit-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
  width:90vw;
  max-width:500px;
  height:80vh;
  /* outline: calc(100vw - 500px) solid black;
  box-shadow: 0 0 20px 20px black; */
}
.flipper .card .front{
  visibility: hidden;
}
.flipper .card .back{
  visibility: visible;
}

.card {
  -webkit-transition: -webkit-transform 0.7s;
  transition: transform 0.7s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  width: 300px;
  height: 500px;
  box-shadow: 10px 10px 10px rgba(0,0,0,.25);
  border-radius: 15px;
}
/* .card .front {
  transition:0.7s;
}
.card:hover .front {
  box-shadow: 10px 10px 10px rgba(255,0,0,.25);
} */

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  border-radius: 15px;
}
.close {
  border-radius:50%;
  /* background:var(--accent-color); */
  color:white;
  position:absolute;
  top: -5px;
  right: 0px;
  font-size: 24px;
  padding: 10px;
  line-height: 50%;
  cursor:pointer;
}
.front { background:white;
  background-position: top;
  background-size: 100% 50%;
  background-image: url('headBG.jpg');
  background-repeat: no-repeat;
  background-attachment: local;
}

.title, .writers, .blurb {
  padding:20px;
}
.title {
  position:absolute;
  color:white;
  width: calc(100% - 40px);
  font-size: 16px;
  /* font-weight: 900; */
  padding-bottom: 10px;
}
.writers {
  float:left;
  width: calc(100% - 40px);
  padding-top: 0px;
  margin-top:90%;
  padding-bottom:10px;
}
.linkBtn {
  font-size: 12px;
  padding: 10px 10px 10px 0px;
  color: var(--accent-color);
  border-radius: 5px;
  text-decoration: none;
  display: block;
}
.linkBtn:hover {
  color:tomato;
}
.readMore {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px 10px 10px 10px;
  background: rgba(255,255,255,.1);
  border-radius: 5px;
  width:33%;
  width: fit-content;
  margin-top: 10px;
}
.readMore:hover {
  background: rgba(255,255,255,.2);
}
.stars {
  padding:0px 20px;
  cursor:pointer;
}

.clickMe {
  width:100%;
  height:91%;
  position:absolute;
  top:0;
  left:0;
  cursor:pointer;
}
.star {
  font-size: 14px;
  padding:0px;
  cursor: pointer;
  display:inline-block;
  padding-right:10px;
}

.tags {
  position:absolute;
  bottom:0;
  left:0;
  padding:0px 20px;
}
#searchBox .tag {
  padding-top:5px;
}
.tag {
  display: inline-block;
  padding: 0px 6px;
  font-size: 13px;
  line-height: 18px;
  color: var(--accent-color);
}
.tag:nth-of-type(1n+6) {
  display:none;
}
.tag:after {
  content: '';
  border-right: 1px solid grey;
  height: 4px;
  width: 100%;
  position: relative;
  left: 6px;
  top: -10px;
  display: block;
}
.tag:last-child:after {
  border-right: 1px solid transparent;
}
.tag:hover {
  cursor:pointer;
  color:tomato;
}

.headImg {
  max-width: 150px;
  max-height:155px;
  position: absolute;
  top: 75px;
  left: 20px;
  box-shadow:0px 0px 15px 3px rgba(0,0,0,.5);
  /* display:none; */
}
.flip {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  font-size: 28px;
  background: var(--accent-color);
  background: linear-gradient(180deg, rgba(255,24,0,1) 0%, rgba(124,0,45,1) 100%);
  color: white;
  font-weight: 900;
  padding: 10px;
  border-radius: 50%;
  box-shadow:0px 3px 4px rgba(0,0,0,.25);
  cursor:pointer;
  transform-origin:middle center;
  transition:.25s;
}
.flip:hover {
  transform:translateY(-50%) scale(1.15);
}

#shareBox {
  position:fixed;
  top:-9999px;
  left:-9999px;
}
.share {
  top: 39%;
  right: 7%;
  font-size:16px;
  background:rgba(0,0,0,.5);
}
.share:hover {
  background:var(--accent-color);
  transform:translateY(-50%) scale(1);
}

#footer {
  padding:25px 25px;
  text-align:center;
  background:rgba(255,255,255,.5);
  /* border-top:1px solid var(--accent-color); */
  color:var(--accent-color);
}

#footer a:hover {
  text-decoration:underline;
}

.stickToBottom {
  position:fixed;
  width:100%;
  bottom:0;
  left:0;
}

#searchBox {
  width: 632px;
  max-width:80%;
  margin: 150px auto 75px auto;
}

#alpha {
  visibility:hidden;
}
#ctLogo {
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin:center center;
  animation: swinging 3s ease-in-out forwards;
}

@keyframes swinging{
  0%{transform: translateX(-50%) rotate(0deg) ;}
  33%{transform: translateX(-50%) rotate(-5deg) ;}
  66%{transform: translateX(-50%) rotate(5deg) ;}
  100%{transform: translateX(-50%) rotate(0deg) ;}
}

#ctLogo:hover {
  animation: bounce 2s linear forwards;
}
@keyframes bounce{
  0%{transform: translateX(-50%) scale(1);}
  20%{transform: translateX(-50%) scale(1.05) ;}
  50%{transform: translateX(-50%) scale(1) ;}
  70%{transform: translateX(-50%) scale(1.05) ;}
  100%{transform: translateX(-50%) scale(1) ;}
}

#search {
  color: var(--accent-color);
  background: rgba(255,255,255, .75);
  border: 0;
  width: calc(100% - 25px);
  z-index: 3;
  margin: 0 auto;
  padding: 10px 15px;
  font-size: 24px;
  font-family: 'Quicksand', cursive;
  border-radius: 25px;
  transition:.7s;
}
#search:focus {
  outline:0;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,.15);
}
#search:hover {
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,.15);
}
::-webkit-input-placeholder {
  color:#ccc;
}
#mainContain {
  max-width:90vw;
  min-height:calc(100vh - 420px);
  padding: 10px 0px 46px;
  margin:0 auto;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  flex-wrap: wrap;
}

.block {
  padding:13px 20px;
}

#trailerBlock {
  padding-top:25px;
}
.img {
  max-width:45%;
  padding:5px;
  vertical-align:middle;
  cursor: zoom-in;
}
.trailerImg {
  max-width:99%;
  padding:0;
}

#lightBox {
  display:none;
  background:rgba(0,0,0,.9);
  position:fixed;
  top:0;
  left:0;
  z-index:99999998;
  width:100vw;
  height:100vh;
  padding:30px 20px 30px 160px;
  opacity:0;
}
#lightBox:after  {
  content: '\00d7';
  position:fixed;
  top:0px;
  right:5px;
  color:white;
  font-size:36px;
  cursor:pointer;
}
#lightImg {
  border-radius:5px;
  border:10px solid white;
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  max-height:75vh;
  max-width:90vw;
  background:white;
  z-index:99999999;
  cursor:pointer;
}

.on {
  display:block !important;
  animation: fadeIn .7s linear forwards;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}


.active {
  display:block;
}

.nah {
  display:none;
}

#popularTags {
  color: black;
  padding: 5px;
  padding-right:0px;
  text-align:right;
  float:right;
}

#info {
  width:36px;
  height:36px;
  position:absolute;
  top:15px;
  left:15px;
  font-size:28px;
  line-height:36px;
  text-align:center;
  border-radius:5px;
  cursor:pointer;
  color:#333;
  /* background:rgba(0,0,0,.05); */
}
#info a {
  color:inherit;
  text-decoration:none;
}
#info:hover {
  color:var(--accent-color);
  /* background:rgba(0,0,0,.05); */
}

#infoBox {
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:var(--accent-color);
  z-index:-1;
  opacity:0;
  transition:1s;
  color:white;
  display:table-cell;
  vertical-align:middle;
  overflow-y:auto;
  display:none;
}
.infoOpen {
  display:block !important;
  z-index:99999999 !important;
  opacity:1 !important;
}

#infoClose {
  width:36px;
  height:36px;
  font-size:36px;
  line-height:36px;
  text-align:center;
  cursor:pointer;
  position:absolute;
  top:5px;
  right:5px;
}

#top {
  width:36px;
  height:36px;
  position:fixed;
  bottom:25px;
  right:25px;
  background-image:url('top.png');
  background-size: contain;
  border-radius:5px;
  cursor:pointer;
}

#top:hover {
  animation:top 1s linear infinite;
}
@keyframes top {
  50% { bottom:28px; }
  100%{ bottom:25px; }
}

/* FORM FORM FORM */
#infoContain {
  width:100vw;
  max-width:1300px;
  padding: 10px 0px;
  margin:100px auto;
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items:center;
}

#infoThanks {
  width:420px;
  max-width: 95%;
  font-size:18px;
  line-height:150%;
  padding:20px;
}

h1 {
  font-size:72px;
  width:100%;
  text-align:center;
  line-height:100%;
}

form {
  width:420px;
  max-width:95%;
  font-size: 24px;
  display:inline-block;
  vertical-align:middle;
  padding:20px;
}

.feedback-input {
  color: white;
  border: 0;
  border-radius:5px;
  padding: 10px;
  font-size: 24px;
  font-family: 'Quicksand', cursive;
  color:white;
  font-weight:500;
  background-color: rgba(255,255,255,.1);
  transition: all 0.3s;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}
.feedback-input::placeholder {
  color:rgba(255,255,255,.5);
}

.feedback-input:focus { background-color: rgba(255,255,255,.2); }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="button"] {
  font-family: 'Quicksand', cursive;
  width: 50%;
  background: rgba(255,255,255,.1);
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:rgba(255,255,255,.5);
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="button"]:hover {
  background:rgba(255,255,255,.2);
  color:rgba(255,255,255,.75);
}

.tyLink {
  text-decoration:underline;
}
@media screen and (max-width: 920px) {
  #infoContain {
    margin:0 auto;
  }
  #infoThanks {
    border-top:2px dotted white;
    margin-top:25px;
    padding-top:40px;
    order:3;
  }
  form { order:2; }
  h1 { order:1; }
}

#sendForm {
  position:absolute;
  top:-9999px;
  left:-9999px;
}
#success {
  font-weight:900;
  padding:25px;
  font-size: 100px;
  line-height:125px;
  width:125px;
  height:125px;
  text-align:center;
  background:white;
  color:var(--accent-color);
  border-radius: 50%;
  border:5px solid #fff;
  position:fixed;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  box-shadow:1px -1px 4px 2px rgba(0,0,0,.25);
  text-shadow:2px 2px 5px rgba(0,0,0,.25);
  animation: mymove 1s 1;
}

#sorry {
  display:none;
  font-size:36px;
  line-height:100%;
  max-width:1200px;
  text-align:center;
  margin:0 auto;
}
.sorryOn {
  display:block !important;
}
.sorryOn .tag {
  font-size: 24px;
  border: 0;
  border-radius: 5px;
  margin: 10px;
  background: rgba(0,0,0,.05);
  padding: 10px;
  color:#333;
}
.sorryOn .tag:hover { color:var(--accent-color); }
.sorryOn .tag:after { display:none; }
.sorryOn .tag:nth-of-type(1n+6) {
  display:inline-block;
}

#results {
  border-radius: 10px;
    border: 0;
    color: var(--accent-color);
    padding: 2px 5px;
    margin-top:5px;
    float:right;
    width:250px;
    background: rgba(255,255,255,.75);
    display:none;
}
#results:focus {
  outline:0;
}
#results option {
  border-radius: 10px;
    border: 0;
    color: var(--accent-color);
    padding: 2px 5px;
}
#results option:focus {
  outline:0;
}

@keyframes mymove {
  from { transform:translate(-50%, -50%) rotate(0deg);}
  to { transform:translate(-50%, -50%) rotate(360deg);}
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 50px;
    line-height:110%;
    text-align:left;
    padding-left:20px; }
    #info {
      position:absolute;
    }
    #top {
      display:none;
    }
    .flipper {
      position:inherit;
      top:auto;
      left:auto;
      transform:none;
      z-index:99999999;
    }

    .flipper .card{
      -webkit-transform: rotateY( 180deg );
      transform: rotateY( 180deg );
      width:300px;
      height:500px;
    }
    #results {
      display:block;
    }
  }
  @media screen and (max-width: 500px) {
    #mainContain {
      max-width:100vw;
    }
    #searchBox {
      margin: 150px auto 50px auto;
    }
    #results {
      padding: 5px;
      width:100%;
    }

    iframe {
      width:100%;
      border:0;
      height:auto;
    }
  }
