/*General Style*/
a {
    text-decoration: none;
    color: white;
}

.section {
    text-align: center;
}

.fp-tableCell {
    display: block;
}

.fp-scrollable {
    height: 100%;
}

/*First Page - main card*/
/*Popup msg with darken overlay*/
.overlay {
    position: absolute;
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.popup {
    position: absolute;
    display: none;
    width: 400px;
    background-color: rgba(256, 256, 256, 0.9);
    text-align: center;
    top: 45%;
    left: 50%;
    margin-left: -230px;
    margin-top: -75px;
    z-index: 2;
    border: 1px solid grey;
    padding: 30px;
    font-family: 'calibri';
}


/*Links*/
#rider-waite {
    display: inline-block;
    font-size: 1.5em;
    margin: 10px 10px 30px 0px;
    font-family: 'sans-serif';
    font-style: italic;
}

#rider-waite:hover > a {
    color: #45BDDF;
}

/*Main tarot card with cover image*/
#main-card.rider-waite {
    width: 250px;
    height: 437px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

    #main-card.rider-waite .front-img {
        width: 248px;
        height: 440px;
        margin-top: -2px;
        margin-bottom: 0px;
        margin-left: 3px;

    }

.cover {
    width: 100%;
    height: 100%;
    padding-top: 200px;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background: rgba(256,0,0,0.3);
}

    .cover-img:hover {
        cursor: pointer;
    }

.reload:hover .cover {
    display: block;
}

#card-name {
    opacity: 0;
    height: 25px;
    margin-top: 25px;
    font-family: 'calibri';
    font-size: 1.2em;
    color: white;
    font-style: italic;
    font-weight: bolder;
}

/*Spinner*/
.spinner {
  opacity: 0;
  margin: auto;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: rgba(89, 36, 32, 0.5);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/*Second Page - description and astr homes*/
/*Columns*/
.column {
    margin-top: -50px;
    color: #45BDDF;
    font-size: 3em;
}
    
    .column > div {
        cursor: pointer;
        margin: 45px 10px 0 10px;
        opacity: 0.15;
    }

    .column div.active-home {
        opacity: 1.0;
    }

    .column img {
        margin-top:-25px;
        width: 80px;
        height: 140px;
        display: none;
    }

/*Left column*/
#I-VI, #I-VI img {
    float: left;
}

#I-VI .left:hover {
    opacity: 1.0;
}

#I-VI .left:hover img{
    display: inline-block;
}

    .left  {
        position: relative;
        z-index: 2;
    }

    .left div {
        width: 900px;
        position: absolute;
        left: 60px;
        top: -10px;
    }

/*Right column*/
#VII-XII, #VII-XII img {
    float: right;
}

#VII-XII .right:hover {
    opacity: 1.0;
}

#VII-XII .right:hover img{
    display: inline-block;
}

    .right  {
        position: relative;
        z-index: 70;
    }

    .right div {
        width: 700px;
        position: absolute;
        right: 90px;
        top: -10px;
    }

/*Both columns*/
#I-VI:hover ~ .card-description, #VII-XII:hover + .card-description {
    opacity: 0.15;
}

/*Description with small tarot card*/
.card-description {
    display: inline-block;
    height: 100%;
    width: 60%;
    color: white;
    text-align: left;
    font-size: 1.05em;
    padding-top: 20px;
}

    .card-description p {
        margin-left: 240px;
        color: #B4B8BB; 
    }

.rider-waite.small-card {
    float: left;
    width: 160px;
    margin: 30px;
    overflow: hidden;
}

    .rider-waite.small-card img {
        margin: 30px;
        width: 160px;
        margin-top: 4px;
        margin-left: 0px;
        border: none;
    }

.flip {
    transform: rotate(180deg);
}