@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*,
::before,
::after {
  box-sizing: border-box;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#loader {
  height: auto;
  width: 200px;
  opacity: 1;
  animation: fade 2s linear infinite;
}

.loader {
  position: absolute;
  left: 50%;
  top: 50%;

  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@keyframes fade {

  0%,
  100% {
    opacity: 0
  }

  50% {
    opacity: 1
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noteworthy', sans-serif;
}

a {
  color: #cd4c38;
  text-decoration: none;
  font-weight: 00;
  font-family: 'Poppins', sans-serif;
}

a:hover {
  color: #cd4c38;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: black;
}

button {
  border: 1px solid black;
  color: #444;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  white-space: pre-wrap;
  background: none;
}

.sponsors-holder {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 15%;
}

.sponsors-holder img {
  height: auto;
  width: 30%;
  margin-left: 15px;
}

.social-holder {
  position: absolute;
  right: 0;
  bottom: 5px;
}

.social-holder .fa {
  color: white;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  margin-right: 15px;
}

.social-holder .fa:hover {
  opacity: 0.7;
}

.sign-holder {
  position: absolute;
  color: white;
  z-index: 1;
  text-align: center;
  width: 25%;
  left: 50%;
  transform: translate(-50%, -30%);
  -ms-transform: translate(-50%, -30%);
  -webkit-transform: translate(-50%, -30%);
  -moz-transform: translate(-50%, -30%);
  -o-transform: translate(-50%, -30%);
}

.hanging-sign {
  height: auto;
  width: 80%;
}

.hanging-sign-element {
  position: absolute;
  color: black;
  top: 73%;
  left: 50%;

  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

}

.hanging-sign-element a {
  text-transform: capitalize;
  font-size: 1.3rem;
  text-decoration: underline;
  color: #444;
  font-weight: bolder;
  font-family: 'Noteworthy', sans-serif;
}

.logo {
  position: absolute;
  left: 40px;
  height: auto;
  width: 8%;
  top: 20px;
  z-index: 1;
}

.hero {
  background-image: url('/jacklin-amali/assets/images/main_background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  position: fixed;
}

/* Collapsable Sidebar */

.sidepanel {
  width: 0;
  position: absolute;
  z-index: 1;
  height: auto;
  top: 0;
  right: 0;
  background-color: #fffffff2;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 5;
  border-radius: 10px;
}

.sidepanel ul {
  list-style: none;
}

.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #444;
  display: block;
  transition: 0.3s;
}

.sidepanel a:hover {
  color: #444;
}

.sidepanel .closebtn {
  position: absolute;
  top: 0;
  left: 25px;
  font-size: 36px;
  z-index: 3;
}

.openbtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  cursor: pointer;
  background-color: transparent;
  color: white;
  padding: 10px 15px;
  border: none;
  z-index: 2;
}

/* Clouds */
.hero .cloud {
  position: absolute;
}

.cloud1 {
  left: 0;
  top: 0;
  -webkit-animation: animateCloud 60s linear infinite;
  -moz-animation: animateCloud 60s linear infinite;
  animation: animateCloud 60s linear infinite;
}

.cloud2 {
  left: 40%;
  top: 40%;
  -webkit-animation: animateCloud 120s linear infinite;
  -moz-animation: animateCloud 120s linear infinite;
  animation: animateCloud 120s linear infinite;
}

.cloud3 {
  right: 30%;
  top: 50%;
}

.cloud4 {
  right: 0;
  top: 0;
}

/* Animate Cloud KEYFRAMES */

@-webkit-keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}


/* Butterflies */

.butterflies img {
  position: absolute;
  height: auto;
  width: 80px;
}

.butterfly1 {
  top: 10%;
  right: -50px;
}

.butterfly2 {
  top: 30%;
  left: 5%;
}

.butterfly3 {
  top: 20%;
  right: 5%;
}

.butterfly4 {
  top: 0;
  right: 40%;
}

.butterfly5 {
  top: 10%;
}

/* Swiper */
.swiper-container {
  height: 100vh;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper-button-prev::after {
  color: white;
}

.swiper-button-next::after {
  color: white;
}

.page {
  display: flex;
  justify-content: center;
}

/* Page1 */

.page1 .content {
  height: auto;
  width: 90%;
  position: absolute;
  bottom: 0;
}

.page1 .content-mobile,
.coconut-mobile {
  display: none;
}

.page1 .footer-text {
  position: absolute;
  color: white;
  letter-spacing: 0.1ch;
  font-family: 'Noteworthy', sans-serif;
  bottom: 0;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Page2 Book*/
.page2 {
  position: absolute;
  bottom: 50px;
  background: #fffffff2;
  height: 70%;
  width: 70%;
  padding: 30px;
  border: 3px solid black;
  border-radius: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.page2 .buy-book-mobile {
  display: none;
}
.page2 .image-preview{
  font-family: 'Poppins', sans-serif;
}

.page2 .buy-book {
  padding-bottom: 20px;
}

.page2 .tree_large {
  position: absolute;
  right: 25%;
  bottom: 20%;
  height: auto;
  width: 80%;
  z-index: -1;
}

.flip-card {
  background-color: transparent;
  width: 95%;
  height: 95%;
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
}

.flip-card img {
  width: 90%;
  height: auto;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.book-copy {
  height: auto;
  width: 100%;
}

/* Page 3 About*/
.page3 {
  position: absolute;
  bottom: 100px;
  background: #fffffff2;
  height: 60%;
  width: 80%;
  padding: 30px;
  border: 3px solid black;
  border-radius: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.page3-tree-medium {
  position: absolute;
  height: auto;
  width: 50%;
  bottom: 5%;
  right: 5%;
  z-index: -1;
}

.page3-tree-large {
  position: absolute;
  height: auto;
  width: 50%;
  bottom: 15%;
  right: 15%;
  z-index: -1;
}

.page3 .about-banyan {
  height: auto;
  width: 100%;
  border-radius: 10px;
}

.page3 .rist-image {
  width: 90%;
}

/* page4 Characters*/
.page4 .board {
  position: absolute;
  bottom: 100px;
  background: #fffffff2;
  height: 60%;
  width: 70%;
  padding: 30px;
  border: 3px solid black;
  border-radius: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.page4 .coconut-tree {
  position: absolute;
  height: auto;
  width: 50%;
  bottom: -20%;
  right: 0;
  z-index: -1;
}

.jaklin-amali {
  height: auto;
  width: 100%;
  bottom: 25%;
  right: 0;
  display: block;
  margin: auto;
}

.page4 .jacklin-observing,
.page4 .amali-observing {
  position: absolute;
  z-index: 1;
  height: auto;
}

.page4 .jacklin-observing {
  width: 11%;
  left: 10%;
  bottom: -5%;
}

.page4 .amali-observing {
  width: 12%;
  right: 10%;
  bottom: -5%;
}

/* Page 5 Team */

.page5 .team {
  position: absolute;
  bottom: -10%;
  width: 90%;
}

.page5 .team-mobile {
  display: none;
}

/* Page6 Contact */
.page6 {
  position: absolute;
  bottom: 100px;
  background: #fffffff2;
  height: 40%;
  width: 70%;
  padding: 30px;
  border: 3px solid black;
  border-radius: 10px;
}

.page6 h1 a {
  color: black;
}

.page6 h1 a:hover {
  color: #cd4c38;
}

.page6 .social-links a {
  margin-right: 15px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page6 .the-banyan {
  grid-area: 1 / 1 / 2 / 2;
}

.page6 .anushka {
  grid-area: 1 / 2 / 2 / 3;
  border-left: 2px solid gainsboro;
  border-right: 2px solid gainsboro;
  padding: 0 10px;
}

.page6.rega {
  grid-area: 1 / 3 / 2 / 4;
}

.amali-waving {
  position: absolute;
  height: auto;
  width: 25%;
  right: 0;
  bottom: -50px;
  z-index: 1;
}

.page-6-tree-large {
  position: absolute;
  height: auto;
  width: 50%;
  left: 0;
  bottom: 20%;
  z-index: -1;
}

.credits {
  font-size: unset !important;
}

.credits span {
  color: #cd4c38;
}