/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/


@font-face {
  font-family: "Paymon";
  src: url("../font/Paymon.ttf") format("truetype");
}

body {
  font-family: "Paymon";
  color: #fff;
  background-color: #def1f3;
  overflow: hidden;
}

.wrapper {
  position: relative;
  overflow: hidden;
}

a {
  color: #c5c6c5;
  text-decoration: none;
}

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

.book-title {
  position: absolute;
  left: 23.5vw;
  top: 0.5vh;
  z-index: 3;
  font-size: 96pt;
  font-weight: bold;
  color: #2276b7;
}

.book-subtitle {
  position: absolute;
  left: 35vw;
  top: 15vh;
  z-index: 3;
  font-size: 56pt;
  color: #e85489;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/cover.png);
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
}


.gooey {

  transform-style: preserve-3d;
  outline: 1px solid transparent;
  will-change: border-radius;
}
.gooey:before,
.gooey:after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0; top: 0;

}

.gooey:before {
  opacity: .21;
}
.gooey:after {
  animation: morph 10s linear infinite;
  animation-delay: 400ms;
  opacity: .89;
  line-height: 120px;
  text-indent: -220px;
  font-size: 1.1em;
  color: #fff;
}

.left-goo {
  position: relative;
  top: -5vh;
  left: -5vw;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  width: 9vw; height: 120vh;
  margin-right: -175px;
  background-image: linear-gradient(120deg, #def1f3 0%, #e85489 100%);
  animation: morph 3s linear infinite; 
}

.left-goo:before,
.left-goo:after{
  animation-delay: 200ms;
  background-image: linear-gradient(120deg, #def1f380 0%, #e85489D9 100%);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  box-shadow: 5px 5px 89px #def1f34D;
  will-change: border-radius, transform, opacity;
}

.left-goo:before{
  animation: morph 3s linear infinite;
  animation-duration: 3.5s;
}


.right-goo {
  position: absolute;
  left: 95.5vw;
  top: 33vh;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  width: 17vw;
  height: 53vh;
  margin-right: -175px;
  background-image: linear-gradient(120deg, #5ac1cc 0%, #5ac1cc 100%);
  animation: morph 10s linear infinite; 
}

.right-goo:before,
.right-goo:after{
  animation-delay: 50ms;
  background-image: linear-gradient(180deg, #5ac1cc 0%, #5ac1cc 100%);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  will-change: border-radius, transform, opacity;
}

.right-goo:before{
  animation: morph 10s linear infinite;
  animation-duration: 15.5s;
}

/*  */

.bottom-goo {
  position: absolute;
  left: 35vw;
  top: 87vh;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  width: 82vw;
  height: 65vh;
  margin-right: -175px;
  background-image: linear-gradient(120deg, #f7d87d 0%, #f8cf57 100%);
}

.bottom-goo:before,
.bottom-goo:after{
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  will-change: border-radius, transform, opacity;
}

.bottom-goo:before{
  animation-duration: 360s;
}


.top-goo {
  position: absolute;
  left: 4vw;
  top: -40vh;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  width: 82vw;
  height: 65vh;
  margin-right: -175px;
  background-image: linear-gradient(120deg, #f7d87d 0%, #f8cf57 100%);
  animation: morph 20s linear infinite;
  z-index: 0;
}

.top-goo:before,
.top-goo:after{
  animation-delay: 50ms;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  will-change: border-radius, transform, opacity;
}

.top-goo:before{
  animation: morph 20s linear infinite;
  animation-duration: 15.5s;
}


@keyframes morph {
  0%,100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate3d(0,0,0) rotateZ(0.01deg);
  }
  34% {
    border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
    transform:  translate3d(0,5px,0) rotateZ(0.01deg);
  }
  50% {
    opacity: .89;
    transform: translate3d(0,0,0) rotateZ(0.01deg);
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
    transform: translate3d(0,-3px,0) rotateZ(0.01deg);
  }
}

@keyframes fadeIn {
  100% {
    transform: scale(1.03);
    opacity: 0;
  }
}


.buy-now{
  position: absolute;
  left: 65vw;
  top: 35vh;
  z-index: 100;
}


.nav {
  position: absolute;
  top: 45vh;
  float: right;
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  z-index: 100;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #00E676;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list {
  color: #fff;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #e85489;
  line-height: 65px;
  font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
  color: #00E676;
}


.container {
  /* background-color: #9191e9; */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.button {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 1.5rem;
  background-color: #fff;
  box-shadow: #0a0a0a 0px 0px 0px 1px;
  /* color: #9191e9; */
  padding: 0.05rem 1.5rem;
}

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  overflow: hiden;
  transition: 0.64s ease-in-out;
}
.popup-inner {
  position: relative;
  bottom: -100vw;
  right: -100vh;
  display: flex;
  align-items: center;
  max-width: 800px;
  max-height: 600px;
  width: 60%;
  height: 80%;
  background-color: #5ac1cc;
  transform: rotate(32deg);
  transition: 0.64s ease-in-out;
}
.popup__photo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 40%;
  height: 100%;
  overflow: hidden;
}
.popup__photo img {
  width: auto;
  height: 100%;
}
.popup__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 4rem;
}
.popup__text h1 {
  font-size: 10rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #0a0a0a;
}
.popup__text p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.5;
}
.popup:target {
  visibility: visible;
  opacity: 1;
  z-index: 100;
}
.popup:target .popup-inner {
  bottom: 0;
  right: 0;
  transform: rotate(0);
}
.popup__close {
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 3rem;
  height: 3rem;
  font-size: 0.875rem;
  font-weight: 300;
  border-radius: 100%;
  background-color: #0a0a0a;
  z-index: 4;
  color: #fff;
  line-height: 3rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #c5c6c5;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #6bc1e9;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/**
* Mobile 
*/

@media (max-width: 1366px) {
  .cover{
    background-size: contain;
  }

  .buy-now {
    left: 70vw;
    top: 15vh;
  }
}

@media (max-width: 991px) {
 
}

@media (max-width: 768px) {
  html, body {
      font-size: 12px;
      overflow: hidden !important;
  }

  .gooey:before,
  .gooey:after {
    animation: none !important;
    content: none !important;
  }

  .book-title {
    display: none;
  }

  .book-subtitle {
    display: none;
  }
  
  .cover {
    display: none;
  } 

  .top-goo { 
    height: 50vh;
  }

  .left-goo {
    position: relative;
    left: -35vw;
    width: 55vw;
    height: 97vh;
    top: 1vh;
    animation: none !important;
  }

  .right-goo {
    top: 5vh;
    width: 40vw;
    left: 80vw;
    animation: none !important;
  }
  
  .bottom-goo {
    position: absolute;
    left: 17vw;
    top: 82vh;
    height: 12vh;
  }

  .buy-now {
    position: absolute;
    left: 20vw;
    top: 20vh;
    z-index: 100;
  }

  .button {
    position: relative;
    color: #e85489 !important;
  
  }

  .shopify-buy__cart {
    height: 85.5% !important;
  }

  .popup-inner {
    width: 90%;
  }

  .popup__text p {
    font-size: 1.1rem;
  }

  .nav {
    top: 33vh;
    left: 9vw;
  }
}
@media (max-width: 575px) {
 
}


@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  html, body {
    font-size: 12px;
    overflow: hidden !important;
}

.gooey:before,
.gooey:after {
  animation: none !important;
  content: none !important;
}

.book-title {
  display: none;
}

.book-subtitle {
  display: none;
}

.cover {
  display: none;
} 

.top-goo { 
  height: 50vh;
}

.left-goo {
  position: relative;
  left: -35vw;
  width: 55vw;
  height: 97vh;
  top: 1vh;
  animation: none !important;
}

.right-goo {
  top: 5vh;
  width: 40vw;
  left: 80vw;
  animation: none !important;
}

.bottom-goo {
  position: absolute;
  left: 17vw;
  top: 84vh;
  height: 12vh;
}

.buy-now {
  position: absolute;
  left: 33.5vw;
  top: 20vh;
  z-index: 100;
}

.button {
  position: relative;
  color: #e85489 !important;

}

.shopify-buy__cart {
  height: 85.5% !important;
}

.popup-inner {
  width: 90%;
}

.popup__text p {
  font-size: 1.1rem;
}

.nav {
  top: 36vh;
  left: 4vw;
}/* your css rules for ipad portrait */
}
@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
  html, body {
    font-size: 12px;
    overflow: hidden !important;
  	}

  .gooey:before,
  .gooey:after {
    animation: none !important;
    content: none !important;
  }

  .book-title {
    display: none;
  }

  .book-subtitle {
    display: none;
  }

  .cover {
    display: none;
  } 

  .top-goo { 
    height: 50vh;
  }

  .left-goo {
    position: relative;
    left: -35vw;
    width: 55vw;
    height: 97vh;
    top: 1vh;
    animation: none !important;
  }

  .right-goo {
    top: 5vh;
    width: 40vw;
    left: 80vw;
    animation: none !important;
  }

  .bottom-goo {
    position: absolute;
    left: 17vw;
    top: 84vh;
    height: 12vh;
  }

  .buy-now {
    position: absolute;
    left: 39.5vw;
    top: 20vh;
    z-index: 100;
  }

  .button {
    position: relative;
    color: #e85489 !important;

  }

  .shopify-buy__cart {
    height: 85.5% !important;
  }

  .popup-inner {
    width: 90%;
  }

  .popup__text p {
    font-size: 1.1rem;
  }

  .nav {
    top: 36vh;
    left: 4vw;
  }/* your css rules for ipad landscape */
}


