@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

:root{
    --header-height: 3rem;
    --bg-color: #5f2e7f;
    --band-color: #bc75eb;
    --shadow: rgba(0,0,0, 0.75);
    --primary-color: #6c3193;
    --secondary-color: rgb(8, 7, 7);
    --tetiary-color: rgb(245, 122, 28);
    --off-white-text: hsl(240, 33%, 94%);
    --header-height-lg: 5rem;
    --off-white-bg: #eaeaf0;
    --off-white-bg-1: #cececf;
    --dropdown-bg: #fde8e8;
    
    /* color */
    --hue-color: 276; /* Purple 250, Green 142, Blue 230, Pink 340 */

    /* HSL color modes */
    /* --first-color: hsl(var(--hue-color), 69%, 61%); */
    --first-color: hsl(var(--hue-color), 47%, 34%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #FFF;

    /* Fonts and typography */
    --body-font: 'Pppins', sans-serif;

    /* 0.5rem = 8px, 1rem =16px, 1.5rem = 24px ... */
    --extra-big-font-size: 3.75rem;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.930rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    /* font weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;
    --font-black: 900;

    /* Margenes Botton */
    /* 0.25rem = 4px, 0.5rem = 8px, 0.75rem = 12px ... */
    --mb-0-25: 0.25rem;
    --mb-0-50: 0.5rem;  
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-50: 1.5rem;
    --mb-2: 2rem;
    --mb-2-50: 2.5rem;
    --mb-3: 3rem;

    /* z index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;    

    /* Animation variables */
    --animation-curve: cubic-bezier(0.12, 0.7, 0.74, 0.71);

}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    /* background-color: var(--off-white-bg); */
    color: var(--text-color);
    overflow-x: hidden;
}
.facebook, .twitter, .mailbox {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: 2px 4px 10px var(--shadow);
    transform: translateY(-500px);
    opacity: 0;
}
.facebook.drop {
    animation: 2s ease-in-out forwards icons-drop;
}
.twitter.drop {
    animation: 2s ease-in-out 0.5s forwards icons-drop;
}
.mailbox.drop {
    animation: 2s ease-in-out 1s forwards icons-drop;
}
@keyframes icons-drop {
    0%{
        transform: translateY(-500px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}
.drop.facebook:hover {
    color: white;
    background-color: rgb(66, 103, 178);
}
.drop.twitter:hover {
    color: white;
    background-color: rgb(0, 120, 212);
}
.drop.mailbox:hover {
    color: white;
    background-color: rgb(219, 68, 55);
}
.hidden{
    display: none;
}
.show{
    display: block;
}
h1, h2, h3, h4{
    font-weight: var(--font-extra-bold);
    color: var(--text-color);
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
    height: auto;
}

/* Reusable css classes */
.section{
    padding: 2rem 0 4rem;
}
.section-slide{
    padding: 0;
}
.section-title{
    font-size: var(--extra-big-font-size);
}
.section-subtitle{
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-3);
}
.section-title, .section-subtitle{
    text-align: center;
}
/* Layouts */
.container{
    max-width: 768px;
    margin-left: var(--mb-1-50);
    margin-right: var(--mb-1-50);
}
.grid{
    display: grid;
    gap: 1.5rem;
}
.header{
    width: 100vw; 
    position: fixed;
    left: 0;
    right: 0;
    background-color: var(--body-color);
    z-index: 999;
}
/* Navigation */
.navbar{
    position: fixed;
    z-index: 999;
    box-shadow: 4px 4px 20px var(--shadow);
    height: 80px;
    width: 100vw;
    padding: 24px 0;
    top: 24px;
    background-color: rgba(2, 2, 2, 0.3);
    color: #fff;
}
.nav{
    max-width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.nav_toggle{
    color: white;
}
.nav_toggle .toggled + span {
    color: yellow;
}
.nav.container{
    padding: 0 10%;
}
.material-icons {
    color: white;
}
/* Calling patient css */
.call-modal{
    display: grid;
    width: 100%;
    height: max-content;
    background: #fff;
    box-sizing: border-box;    
    padding: 24px;
    border-radius: 8px;

}
.phone {
    z-index: 2;
    background-color: var(--primary-color);
    animation: phone 1s var(--animation-curve) infinite alternate-reverse;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 0.5px white solid;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    top: 45%;
}
.processing {
    z-index: 2000;
    background-color: var(--tetiary-color);
    animation: loading 0.5s var(--animation-curve) infinite alternate-reverse;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 0.5px white solid;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    top: 45%;
}
.processing.hidden {
    display: none;
}
.loading-circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: absolute;
    animation: scaling 2s var(--animation-curve) infinite;
}
@keyframes scaling {
    0% {
        transform: scale(1.2);
        background-color: var(--primary-color);
    }
    100% {
        transform: scale(2);
        background-color: rgba(245, 0, 182, 0);
    }
}
@keyframes loading {
    0% {
        transform: scale(0.2);
    }
    100% {
        transform: scale(1.2);
    }
}
.loading-circle-1 {
    animation-delay: 0s;
    z-index: 1;
}
.laoding-circle-2 {
    animation-delay: 1s;
    z-index: 0;
}
.rotate-sync {
    transition: all 1s linear;
    transform: rotate(360deg);
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
div.admin-sub{
    position: absolute;
    top: 50px;
    left: 0px;
    display: none;
    color: black;
    background-color: var(--body-color); 
    padding: 12px 4px;
    border-radius: 4px;
    box-shadow: 2px 4px 10px var(--shadow);
    transition: all 0.3s ease-out;
}
div.admin-sub::before{
    content: '';
    position: absolute;
    top: -28px;
    left: 20%;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: transparent transparent var(--body-color) transparent;
}
.admin-menu ul.menu-list li.menu-item{
    position: relative;
}
.admin-menu .menu-list ul li{
    padding: 8px 24px;
    line-height: 1.5rem;
    border-bottom: 1px solid var(--dropdown-bg);
    width: calc(max-content + 20px);
}
.admin-menu .menu-list ul li:hover{
    background-color: var(--dropdown-bg);
}
li.menu-item a.active{
    border-bottom: 2px solid rebeccapurple;
}
.active-page{
    border-bottom: 2px solid rebeccapurple;
}
.nav-logo{
    color: #fff;
    font-weight: var(--font-black);
    /* font-size: larger; */
}
.nav-logo.pink{
    color: var(--primary-color);
}
.nav-logo:hover{
    color: var(--primary-color);
}
.nav-toggle{
    color: var(--title-color);
    font-weight: var(--font-medium);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1000;
}
.nav-toggle:hover{
    color: var(--primary-color)
}
.pop-menu{
    display: flex;
}
/* class for div where prev and next btn lay */
.prevnext{
    display: flex;
    position:absolute;
    top: 400px;
    width: 100%;
    /* height: 56px; */
    padding: 24px 24px;
    /* margin: 0 24px; */
    justify-content: space-between;
    z-index: 1000;
}
/* Next & previous buttons */
.prev, .next {
padding: 2px;
transition: all 0.5s ease;
border-radius: 50%;
user-select: none;
z-index: 999;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 50%;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(225, 47, 231, 0.8);
padding: 4px 10px;
border-radius: 50%;
}
/* style play stop div */
.playstop{
    display: flex;
    position: absolute;
    width: 100%; 
    top: 83%;
    text-align: center;
    justify-content: space-around;
    z-index: 900;
}
.play, .stop{
  color: rgba(225, 47, 231, 0.8);
}
.socio-size{
    width: 36px;
    height: 36px;
    text-align: center;
    justify-content: space-around;
}
.play:hover, .stop:hover{
  color: #fff;
}
.slider-control{
  background: transparent;
  padding: 4px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: all 0.5s ease-out;
}
.slider-control:hover{
  background-color: rgba(225, 47, 231, 0.8);
  color: #fff;
  border-radius: 50%;
}
/* Hide the images by default */
.mySlides {
    display: none;
    width: 100vw;
    z-index: 900;
}
.info-board{
    display: block;
    position: absolute;
    top: 200px;
    right: 200px;
    background: rgba(95, 26, 104, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.21);
    border: 1px solo solid rgba(255, 255, 255, 0.25);
    border-right: 1px solo solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solo solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(25px);
    width: 400px;
    min-height: 300px;
    border-radius: 8px;
    z-index: 900;
    color: white;
    font-size: 2rem;
    padding: 12px 20px;
    object-position: center;
    animation: reveal-board 2s ease-in-out;
}
@keyframes reveal-board {
    0%{
        transform: scaleY(0.01);
        /* opacity: 0; */
        transform-origin: left;
    }
    40%{
        transform: scaleY(0.01);
        transform-origin: top center;
    }
    100% {
        transform: scaleY(1);
        transform-origin: left;
    }
}

.intro-info {
    color: white;
    opacity: 0;
    font-size: 1.2rem;
    animation: reveal-intro 1s ease-out 2s forwards;
}

@keyframes reveal-intro {
    0%{
        transform: translateX(0px);
        opacity: 1;
    }
    
    100%{
        transform: translateX(20px);
        opacity: 1;
    }
}
.intro-body{
    opacity: 0;
    animation: body-intro 1s ease-out 2s forwards;
}

@keyframes body-intro {
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    40%{
        transform: translateY(50px);
        opacity: 1;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
.fb-social{
    opacity: 0;
    animation: fb-upward 1s ease-out 3s forwards;
}
.twitter-social{
    opacity: 0;
    animation: twitter-upward 1s ease-in 4s forwards;
}
.gmail-social{
    opacity: 0;
    animation: gmail-upward 1s ease-in 5s forwards;
}
@keyframes fb-upward {
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    40%{
        opacity: 0;
        transform: translateY(80px);
    }
    100%{
        opacity: 1;
        transform: translateY(60px);
    }
}
@keyframes twitter-upward {
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    40%{
        opacity: 0;
        transform: translateY(80px);
    }
    100%{
        opacity: 1;
        transform: translateY(60px);
    }
}
@keyframes gmail-upward {
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    40%{
        opacity: 0;
        transform: translateY(80px);
    }
    100%{
        opacity: 1;
        transform: translateY(60px);
    }
}
.slider-hint {
    width: 100%;
    color: #fff;
    animation: slideInwardLeft 1s ease-out;
}
.slide-caption{
    display: block;
    position: absolute;
    top: 75%;
    text-align: center;
    width: 100vw;
}
/* The dots/bullets/indicators */
.dash {
    cursor: pointer;
    height: 5px;
    width: 50px;
    margin: 0 2px;
    background-color: #fff;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dash.active, .dash:hover {
background-color: var(--band-color);
}

@keyframes slideInwardLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    80% {
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
/* Subscribe band */
.subscribe {
    background-color: var(--primary-color);
    color: var(--off-white-text);
}
.btn-subscribe{
    background-color: var(--shadow);
    color: var(--off-white-text);
}
.btn-subscribe:hover{
    background-color:var(--off-white-bg);
    border-color:var(--primary-color);
    color: var(--bg-color);
}
.search{
    position: absolute;
    right: 350px;
    width: 180px;
    margin: 10px 10px;
    z-index: 800;
}
.search label{
    position: relative;
    width: 100%;    
}
.search label input{    
    width: 100%;
    border-radius: 40px;
    padding: 5px 5px 5px 24px;
    outline: none;
    border: 1px solid rgba(0,0,0,0.2);
    transition: all 0.5s ease-in;
}
.search label svg{
    position: absolute;
    right: 20px;
    top: 0;
    transition: all 0.5s ease-in;
}
.search label input:hover + svg, 
.search label input:focus + svg,
.search label input:not(:placeholder-shown) + svg {
    position: absolute;
    right: 100px;
    color: red;
    transition-duration: 0.5s;
    transition-timing-function: ease-in;
}
input[id=search]:hover, input[id=search]:focus,
input[id=search]:not(:placeholder-shown) {
    width: 150%;
    border-color: red;
    transform: translateX(-90px);
    transition-duration: 0.5s;
    transition-timing-function: ease-in;
}
/* Style the search-results */
.search-results {
    background-color: #fff;
    width: 250px;
    margin-top: 12px;
    border-color: red;
    border-width: 1px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    z-index: 900;
}
.pub-result {
    border-color: #c9cacb;
    border-bottom-width: 0.5px;
    cursor: pointer;
    padding-top: 8px;
    padding-right: 8px;
    padding-left: 8px;
}
/* The dots/bullets/indicators */
.pager {
    cursor: pointer;
    height: 5px;
    width: 50px;
    margin: 0 2px;
    background-color: var(--primary-color);
    /* border-radius: 50%; */
    display: inline-block;
    transition: all 0.6s ease;
}

.active {
    /* background-color: hsl(240, 1%, 27%); */
    background-color: transparent;
}

.pager:hover {
    background-color: var(--tetiary-color);
    border-color: var(--tetiary-color);
    border-width: 1px;
    width: 50px;
    height: 30px;
    transition-duration: 500ms;
    transition-timing-function: ease-in;
    transform: translateY(15px) scaleY(1.5);
}
.pager.active {
    background-color: var(--tetiary-color);
    width: 50px;
    height: 5px;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 12px;
position: absolute;
top: 0;
}
section.about {
    display: grid;
    grid-template-columns: 2fr 4fr;
    grid-template-rows: 1fr;
    grid-template-areas: "abouttitle aboutinfo";
    box-shadow: var(--shadow);
}
.abouttitle {
    background: var(--bg-color);
    color: var(--body-color);
    position: relative;
    padding: 128px 24px;
}
.aboutinfo {
    background: var(--off-white-bg-1);
    /* background-image: url('/images/home-bg.jpg'); */
    font-size: 24px;
    color: #fff;
    object-fit: cover;
    background-blend-mode:multiply;
    padding: 7rem 4rem 1rem;
    line-height: 2.5rem;
}
div.aboutinfo > input[type="checkbox"] {
    position: absolute;
    top: 50px;
    right: 0;
    width: 65vw;
    height: 88vh;
    /* cursor: pointer; */
    outline: none;
    appearance: none;
    z-index: 900;
}
div.aboutinfo > input[type="checkbox"]:checked ~.p10 {
    animation: flip-over 1s ease-out forwards;
    backface-visibility: hidden;
    transform-origin: left 0px -640px;
}
/* div.aboutinfo > input[type="checkbox"]:checked .p1::before{
    animation: flip-over 1s ease-out forwards;
    backface-visibility: visible;
    transform-origin: left 0px -540px;
} */
.p10::before {
    /* content: url('/images/bg-mobile-fallback.jpg'); */
    content: '';
    position: absolute;
    top: -70px;
    left: 0px;
    width: 65vw;
    height: 88vh;
    /* transform-origin: left 0px -540px; */
    background: var(--bg-color);
    z-index: -100;
}
@keyframes flip-over{
    0%{
        transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(180deg);
    }
}
.sub-plan:hover{
    display: block;
    opacity: 0;
    animation: plan-show 2s ease-out forwards;
    transform-origin: top center;
}
@keyframes plan-show{
    0%{
        opacity: 0;
        transform: rotateX(-30deg);
    }
    50%{
        opacity: 1;
        transform: rotateX(30deg);
    }
    100%{
        opacity: 1;
        transform: rotateX(0deg);
    }
}
section.pubs{
    background: var(--bg-color);
    color:black;
}
section.download {
    background: var(--off-white-bg);
}
.download-detail {
    display: flex;
}
section.contact {
    display: grid;
    grid-template-columns: 3fr 3fr;
    grid-template-rows: 1fr;
    grid-template-areas: "contacttitle contactinfo";
    box-shadow: var(--shadow);
}
.contacttitle{
    /* background-image: url('/images/bg-mobile-fallback.jpg'); */
    object-fit: cover;
    background-blend-mode:multiply;
    padding-top: 144px;
}
.contactinfo{
    background: var(--off-white-bg);
    padding: 144px 72px 0px;
}
.slider-hint {
    width: 100%;
    animation: slideInwardLeft 1s ease-out;
}
@keyframes slideInwardLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    80% {
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}


/* Show slide transition animation */
.slidestransition.show .translate1{
background-color: aqua;
animation: transx 0.3s ease-in-out forwards;
}
.slidestransition.show .translate2{
background-color: rgb(196, 53, 181);
animation: transx 0.3s ease-in-out forwards;
animation-delay: 0.3s;
}
.slidestransition.show .translate3{
background-color: rgb(207, 40, 76);
animation: transx3d 0.3s ease-in-out forwards;
animation-delay: 0.6s;
}
@keyframes transx {
    from{
    left: -100vw;
    opacity: 1;
    }
    to{
    left: 0;
    opacity: 0;
    }
}
@keyframes transx3d {
    from{
    left: -100vw;
    opacity: 1;
    }
    to{
    left: 0;
    opacity: 0;
    }
}  
.pubs-div{
    display:flex;
    width:100%;
    height:100%;
    align-items: center;
    justify-content:center;
}
.pubs-container{
    position:relative;
    color: #fff;
    width: 640px;
    height: 640px;
    background: transparent;
    opacity: 0;
    transform: rotate(-30deg) translateX(0px) translateY(-120px) scale(1.2) skewX(25deg);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: 2px;
    column-gap: 2px;
}
.pubs-container.in{
    animation: pubsMoveIn 1s ease-out forwards;
}

.pubs-container.out{
    animation: pubsMoveOut 1s ease-out reverse forwards;
}

@keyframes pubsMoveIn {
    0%{
        opacity: 0;
        transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
    }
    100%{
        opacity: 1;
        transform: rotate(-30deg) translateX(30px) translateY(60px) scale(1.2) skewX(25deg);
        /* transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg) */
    }
}

@keyframes pubsMoveOut {
    0%{
        opacity: 0;
        transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
    }
    100%{
        opacity: 1;
        transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
    }
}

.pub-frames{
    background: red;
    border-radius: 4px;
    box-shadow: 8px 8px 10px var(--shadow);
}

.pub-frames.book:hover{
    animation: pop-up 2s ease-out 1 forwards;
}
@keyframes pop-up {
    0%{
        transform: translateY(0px) translateX(0px) rotateZ(0deg) scale(1);
    }
    100%{
        transform: translateY(50px) translateX(-50px) rotateZ(45deg) rotateY(-30deg) translateZ(100px) scale(1.5);
        cursor: pointer;
    }
}
.pub-frames > img{
    /* object-fit:fill; */
    object-fit: cover;
    
}
.item1 {
    grid-column: 1;
    grid-row: 1;
}
.item2 {
    grid-column: 2;
    grid-row: 1;
}
.item3 {
    grid-column: 3;
    grid-row: 1;
}
.item4 {
    grid-column: 4;
    grid-row: 1;
}
.item5 {
    grid-column: 5;
    grid-row: 1;
}
.item6 {
    grid-column: 6;
    grid-row: 1;
}
.item7 {
    grid-column: 1;
    grid-row: 2;
}
.item8 {
    grid-column: 2;
    grid-row: 2;
}
.item9 {
    grid-column: 3;
    grid-row: 2;
}
.item10 {
    grid-column: 4;
    grid-row: 2;
}
.item11 {
    grid-column: 5;
    grid-row: 2;
}
.item12 {
    grid-column: 6;
    grid-row: 2;
}
.item13{
    grid-column: 1;
    grid-row: 3;
}
.item14{
    grid-column: 2;
    grid-row: 3;
}
.item15{
    grid-column: 3;
    grid-row: 3;
}
.item16{
    grid-column: 4;
    grid-row: 3;
}
.item17{
    grid-column: 5;
    grid-row: 3;
}
.item18{
    grid-column: 6;
    grid-row: 3;
}
.scroll-page {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
}

div.logo ~ div.intro-word{
    opacity: 1;
    /* transition-timing-function: ease-in-out;
    transform: translateX(-5000px) scale(0, 0);
    transition: transform 500ms, opacity 300ms, height 100ms; */
}
div.logo:hover ~ div.intro-word{
    opacity: 1;
    height: 100%;
    transform: translateX(0px) scale(1, 1);
}
@keyframes animate {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

div.online-users {
    transition: all 500ms;
}
div.online-users:hover {
    transform: scale(1.2, 2.0);
    border-radius: 5%;
    font-size: 150%;    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
div.online-users > div.note{
    opacity: 0%;
    transition-timing-function: ease-in-out;
    transform: translateY(-500px);
    transition: opacity 200ms, transform 300ms;
}
div.online-users:hover > div.note{
    opacity: 100%;
    transform: translateY(0px);
}

div.offline-users {
    transition: all 500ms;
}
div.offline-users:hover {
    transform: scale(1.2, 2.0);
    border-radius: 5%;
    font-size: 150%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.offline-users > div.note{
    opacity: 0%;
    transition-timing-function: ease-in-out;
    transform: translateX(500px);
    transition: opacity 200ms, transform 300ms;
}
div.offline-users:hover > div.note{
    opacity: 100%;
    transform: translateX(0px);
}

div.total-users {
    transition: all 500ms;
}
div.total-users:hover {
    transform: scale(1.2, 2.0);
    border-radius: 5%;
    font-size: 150%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.total-users > div.note{
    opacity: 0%;
    transition-timing-function: ease-in-out;
    transform: translateX(-500px);
    transition: opacity 200ms, transform 300ms;
}
div.total-users:hover > div.note{
    opacity: 100%;
    transform: translateX(0px);
}

div.first-pub{
    transition: all 500ms;
}
div.first-pub:hover {
    transform: scale(1.2, 2.0);
    border: 2px solid rgb(230, 168, 168);
    font-size: 70%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
div.first-pub:hover > div.note1{
    display: none;
}

div.second-pub{
    transition: all 500ms;
}
div.second-pub:hover {
    transform: scale(1.2, 2.0);
    border: 2px solid rgb(230, 168, 168);
    font-size: 70%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
div.second-pub:hover > div.note1{
    display: none;
}

div.third-pub{
    transition: all 500ms;
}
div.third-pub:hover {
    transform: scale(1.2, 2.0);
    border: 2px solid rgb(230, 168, 168);
    text-align: center;
    vertical-align: middle;
    font-size: 70%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
div.third-pub:hover > div.note1{
    display: none;
}

.book-folder{
    background-color: #F1F1F2;
    height: 400px;
    width: 220px;
    border-radius: 5px 5px 10px 10px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.book-gold{
    background-color: #FCB215;
    height: 150px;
    width: 200px;
    margin: 0px 10px;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.semi-circle-gold{
    background-color: #FCB215;
    border-radius: 100%;
    width: 100px;
    height: 50px;
    position: absolute; 
    top: 0;
    left: 25%; 
    transform: translate(-50%, -50%);
    transform: rotate(180deg);
    border-radius: 75px 75px 0 0; 
}

.golden-star{
    fill: #FCB215;
}

.book-silver{
    background-color: #BEBFC1;
    height: 150px;
    width: 200px;
    margin: 0px 10px;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.semi-circle-silver{
    background-color: #BEBFC1;
    border-radius: 100%;
    width: 100px;
    height: 50px;
    position: absolute; 
    top: 0;
    left: 25%; 
    transform: translate(-50%, -50%);
    transform: rotate(180deg);
    border-radius: 75px 75px 0 0; 
}

.silver-star{
    fill: #BEBFC1;;
}

.book-bronze{
    background-color: #885F25;
    height: 150px;
    width: 200px;
    margin: 0px 10px;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.semi-circle-bronze{
    background-color: #885F25;
    border-radius: 100%;
    width: 100px;
    height: 50px;
    position: absolute; 
    top: 0;
    left: 25%; 
    transform: translate(-50%, -50%);
    transform: rotate(180deg);
    border-radius: 75px 75px 0 0; 
}

.bronze-star{
    fill: #885F25;;
}

#first-award {
    border: 1px solid black;
    background: url('../images/awards/best-seller.png');
    background-repeat: no-repeat;
    padding: 15px;
}

#second-award {
    border: 1px solid black;
    background: url('../images/awards/second-seller.png');
    background-repeat: no-repeat;
    padding: 15px;
}

#third-award {
    border: 1px solid black;
    background: url('../images/awards/third-seller.png');
    background-repeat: no-repeat;
    padding: 15px;
}

.text-book {
    border: 1px solid darkgray;
    width: 300px;
    height: 200px;
    position: relative;
    top: 50%;
    left: 50%;
    margin-top: 100px;
    transform: skew(-120deg);
}
div.text-book > div.layer-1 {
    border: 1px solid red;
    width: 300px;
    height: 200px;
    position: absolute;
    top: 0%;
    left: 0%;
    transform: rotateZ(5deg);
}
.total-amount::before {
    content: "&#8358;";
}
@font-face {
    font-family: 'pacificoregular';
    src: url('fonts/pacifico-regular-webfont.woff2') format('woff2'),
            url('fonts/pacifico-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'unifrakturcookbold';
    src: url('fonts/unifrakturcook-bold-webfont.woff2') format('woff2'),
            url('fonts/unifrakturcook-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'parisienneregular';
    src: url('fonts/parisienne-regular-webfont.woff2') format('woff2'),
            url('fonts/parisienne-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'kumar_oneregular';
    src: url('fonts/kumarone-regular-webfont.woff2') format('woff2'),
            url('fonts/kumarone-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'lobsterregular';
    src: url('fonts/lobster-regular-webfont.woff2') format('woff2'),
            url('fonts/lobster-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
.translate-band{
    display: inline-block;
    height: 12px;
    background-color: rgb(214, 47, 47);
    width: 0;
    z-index: 999;
    transition: width 5000ms ease-out;
}
.run{
    width: 100%;
}
.subscription{
    background-color: #F1F1F2;
    height: 400px;
    width: 220px;
    border-radius: 5px 5px 10px 10px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);   
}

.register{
    background-image: url("/images/about-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.checkmail{
    background-image: url("/images/checkmail.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.devlogo{
    background-image: url("/images/developer-logo144.png");
    height: 144px;
    width: 144px;
    border-radius: 72px;
}

.login{
    background-image: url("/images/home-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.pub-preview{
    background-size: cover;
    background-repeat: no-repeat;
}

.content-scroll {
    background-color: #e9e3e9;
    height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
}

.center{
    position: absolute;
    top: 25%;
    left: 25%;
    /* transform: translate(20%, 30%); */
}
.modal_container{
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -100;
}
.modal{
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "info picture";
    width: 40vw;
    height: 500px;
    background: #fff;
    box-sizing: border-box;    
    padding: 24px;
    border-radius: 8px;

}
.modal_container.show{
    display: block;
    opacity: 1;
    z-index: 1000;    
}
.modal.slide-in{
    animation: showModal 1s ease-out;
}

@keyframes showModal {
    0%{
        transform: translateY(-500px);
    }
    100%{
        transform: translateY(0px);
    }
}


.info{
    height: 100%;
}

div.modal > img{
    width: 300px;
    height: 300px;
}
div.info > img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}
.nav-list{
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.nav-icon{
    font-size: 1.2rem;
}
.nav-close{
    position: absolute;
    right: 1.3rem;
    bottom: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--first-color);
}
.nav-close:hover{
    color: var(--first-color-alt);
}
/* show menu */
.show-menu{
    bottom: 0;
}
.quick-info{
    position: fixed;
    width: 100vw;
    top: 0;
    background: var(--bg-color);
    color: white;
    height: 36px;
    padding: 2px 1.5rem;
    z-index: 1000;
    justify-content: space-around;
}




/* Old style */

/* Layouts */
/* .container{
    min-width: 968px;
    margin-left: var(--mb-1-50);
    margin-right: var(--mb-1-50);
} */
.primary-btn{
    color: #fff;
    background: var(--bg-color);
}
.primary{
    color: var(--primary-color);
}
.bg-secondary{
    background: var(--band-color);
    color: #fff;
}
h2{
    font-size: 18px;
}
.band{
    background: var(--band-color);
}
.logo-size{
    width: 36px;
    height: 36px;
}
.home-nav{
    border: none;
    margin-right: 24px;
    transition: all 0.3s ease-out;
}
.home-nav:hover{
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    /* color:rgba(22, 30, 46, 0.8); */
    color: var(--primary-color);
}
.home-nav.active{
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    background: transparent;
}
.home-menu{
    display: flex;
}
.home-sub{
    display: flex;
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr; */
}
.sub-nav{
    border: none;
    font-weight: bold;
    transition: all 0.3s ease-out;
}
.sub-nav:hover{
    border-bottom: 2px solid var(--tetiary-color);
    padding-bottom: 12px;
    color: #000000;
}
.sub-nav.active{
    border-bottom: 2px solid var(--tetiary-color);
    padding-bottom: 12px;
    background: transparent;
}
img.banner {
    height: 39vw;
    width: 100vw;
}
/* Subscribe band */
div.subscribe {
    background-color: var(--primary-color);
    color: var(--off-white-text);
}
/* Hide the images by default */
.myAbouts {
display: none;
}


/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
section.footer {
    width: 100vw;
    background: var(--bg-color);
    padding: 4rem 0;
}

/* Show subscribe button link */
.btn-subscribe {
    --screen-width: 90vw;
    display: inline-flex;
    position: absolute;
    width: 270px;
    top: 80px;
    opacity: 0;
    line-height: 1.5;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: aliceblue;
    box-shadow: 0px 6px 10px 0px rgba(51, 50, 50, 0.75);
    transform: translateX(var(--screen-width));
    transition: all 500ms ease-in-out;
}
.btn-subscribe.show {
    --xtransit: 557px;
    display: inline-flex;
    opacity: 1;
    z-index: 999;
    transform: translateX(calc(100vw - var(--xtransit)));
}

.notify{
    --screen-width: 90vw;
    display: inline-flex;
    width: 70px;
    top: 80px;
    opacity: 0;
    line-height: 1.5;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: aliceblue;
    box-shadow: 0px 6px 10px 0px rgba(51, 50, 50, 0.75);
    transform: translateX(var(--screen-width));
    transition: all 500ms ease-in-out;
}
.notify.show{
    --xtransit: 557px;
    display: inline-flex;
    opacity: 1;
    z-index: 1200;
    transform: translateX(calc(100vw - var(--xtransit)));
}
.close-message{
    color: rgb(207, 15, 15);
    position: absolute;
    right: 12px;
    transition: all 300ms ease-in-out;
}
/* Preview page style */
.cover-content {
    position: relative;
    display: flex;
    height: 80vh;
    width: 50vw;
}
.front-cover {
    background-color: #bc75eb;
    width: 150px;
    height: auto;
}
.content-table {
    position: absolute;
    height: 80vh;
    width: 50vw;
    left: 0;
    top: 0;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root{
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --h4-font-size: 1.125rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
    .container{
        margin-left: auto;
        margin-right: auto;
    }
    body{
        margin: 0;
    }
    .section_subtitle{
        padding: 4rem;
    }
    .header{
        top: 24px;
        bottom: initial;
        box-shadow: 4px 4px 20px var(--shadow);
        background-color: rgba(2, 2, 2, 0.3);
        color: #fff;
        z-index: 999;
    }
    
    .sticky {
        background-color: white;
        transition: all 0.5s ease-out;
    }
    .sticky.show {
        color: var(--bg-color);
    }
    .nav-icon, .nav-close, .nav-toggle, .main-menu{
        display: none;
    }
    .side-menu {
        position: absolute;
        padding-top: 36px;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80vw;
        background-color: red;
        z-index: 1000;
        display: none;
    }
    .nav{
        height: calc(var(--header-height) + 2rem);
        column-gap: 1.5rem;
        color: #fff;
    }    
    .nav.admin{
        position: fixed;
        padding: 0 10%;
        width: 100%;
        box-shadow: 4px 4px 20px var(--shadow);
        background-color: #fff;
        z-index: 1000;
    }
    .nav-list{
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
    }
    /* Help contents and menu */
    .help-wrapper {
        height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        width: 25vw;
        margin: 36px auto;
    }
    .help-menu {
        position: absolute; 
        right: 48px;
        color: white;
        cursor: pointer;
    }
    .help {
        width: 25vw;
        height: fit-content;
        background: #ebedef;
        margin: 48px auto;
        padding: 12px 12px;
        border-radius: 6px;
    }
    .help-topic {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }
    .help-lead {
        padding: 8px 4px;
        font-size: 18px;
    }
    .help-image {
        margin: 6px ;
    }
    .help-link {
        color: white;
        font-weight: bolder;
        background: var(--primary-color);
        padding: 2px 4px;
    }
    .help-detail {
        padding: 8px 4px;
        margin: 0 12px;
        font-size: 18px;
    }
    .help-steps {
        padding: 8px 4px;
        list-style-type:decimal;
        border-bottom: 1px solid #000000;
    }
    .banner{
        position: absolute;
        left: 150px;
        top: -300px;
        padding: 0 16px;
        display: block;
        width: 180px;
        height: 270px;
        border-radius: 0 0 16px 16px;
        background-color: #fff;
        box-shadow: 4px 4px 20px var(--shadow);
        text-align: center;
        z-index: 10;
        transition: all 0.5s ease-out;
    }
    
    .banner.up{
        transform: translateY(-300px);
    }
    
    .banner.down{
        transform: translateY(300px);
    }

    .nav-menu{
        display: flex;
        margin-left: auto;
        color: #fff;
    }
    .nav-phone{
         display: block;
         width: 250px;
         height: 100vh;
         background-color: #bc75eb;
    }
    .nav-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: var(--h4-font-size);
        color: #fff;
        font-weight: var(--font-medium);
        font-weight: bold;
        border: none;
        transition: all 0.3s ease-out;
    }    
    .nav-link.pink{
        color: var(--primary-color);
    }
    .nav-link:hover{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        color: var(--primary-color);
    }
    .nav-link.active{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        background: transparent;
    }
    .other-home{
        display: flex;
        column-gap: 2rem;
        font-size: var(--h4-font-size);
        color: #fff;
        font-weight: var(--font-medium);
        font-weight: bold;
    }
    .other-nav{
        display: flex;
    }
    .no-full{
        display: none;
    }
    .pop-menu{
        display: none;
    }
    .pop-menu.pink{
        color: var(--primary-color);
    }
    .pop-menu:hover{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        color: var(--primary-color);
    }
    .pop-menu.active{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        background: transparent;
    }
    i.auth-menu{
        display: none;        
    }
    .admin-menu{
        display: flex;
    }
    .menu-list{
        display: inline-flex;
        gap: 1rem;
    }
    .admin-link{
        display: block;
        cursor: pointer;
        font-size: var(--h4-font-size);
        font-weight: var(--font-medium);
        font-weight: bold;
        /* border: none; */
        color: #374151;
        padding: 12px 0;
        transition: all 0.3s ease-out;
    } 
    .admin-link:hover, .admin-link.active{
        cursor: pointer;
        border-bottom: 2px solid var(--primary-color);
        color: var(--primary-color);        
    }
    .admin-link.active + div.admin-sub{
        display: block;
        top: 80px;
        left: 0;
        opacity: 1;
        width: max-content;
        animation: admin-menu-dd 0.3s ease-out;
    }
    @keyframes admin-menu-dd {
        0%{
            top: 50px;
            /* transform:translateY(0); */
        }
        100%{
            top: 80px;
            /* transform:translateY(70px); */
        }
    }
    .btn-access{
        position: fixed;
        bottom: 4%;
        right: 4%;        
    }
    .ppe{
        background-color: aqua;
        transition: all 0.5s ease-out;
        box-shadow: inset -1px -2px 4px 1px rgba(0, 0, 0, 0.555);
    }
    .ppe:hover{
        color: #fff;
        box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.555);
    }
    .ppe.active + .ppe-access{
        display: grid;
    }
    .ppe-access{
        display:none;
        position: absolute;
        top: -150px;
        left: 0;
        row-gap: 10px;
        transition: all 0.5s ease-out;
    }
    .ppe-btn{
        box-shadow: inset -1px -2px 4px 1px rgba(0, 0, 0, 0.555);
        transition: all 0.5s ease-out;
    }
    .ppe-btn:hover{
        box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.555);
        background-color: var(--primary-color);
    }
    .btn-setting{
        transition: all 0.5s ease-out;
    }
    .btn-setting:hover{
        background-color: #fde8e8;
    }
    .setting-list{
        position: absolute;
        top: 80px;
        left: -25px;
        background-color: var(--body-color); 
        border-radius: 4px;
        padding: 16px 0;
        animation: dropdown-show 0.3s ease-out 1 forwards;
        width: 150px;
        box-shadow: 2px 4px 10px var(--shadow);
    }
    @keyframes dropdown-show {
        0%{
            opacity: 0;
            transform: translateY(100px);
            /* right: -50%; */
        }
        50%{
            opacity: 0;
        }
        100%{
            /* right: 16%; */
            opacity: 1;
            transform: translateY(0px);
        }
    }
    .setting-list.hidden{
        animation: dropdown-hide 0.5s ease-out 1 forwards;
    }
    .setting-list::before{
        content: '';
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        background-color: var(--body-color);
        position: absolute;
        top: -10px;
        /* left: calc((100% - 20px)/2); */
        left: 30px;
    }
    .setting-list > ul > li{
        line-height: 1.5rem;
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 0;
        color: #374151;
        border-bottom: 1px solid var(--dropdown-bg);
    }
    .setting-list.home-pop > ul > li{
        border-bottom: 1px solid var(--primary-color);
    }
    .setting-list.sub-pop > ul > li{
        border-bottom: 1px solid var(--dropdown-bg);
    }
    .setting-list ul li a{
        width: 100%;
    }
    .setting-list > ul > li:hover{
        background-color: var(--dropdown-bg);
    }
    .setting-list.home-pop > ul > li:hover{
        background-color: var(--primary-color);
        color: #fff;
    }
    .setting-list.sub-pop > ul > li:hover{
        background-color: var(--dropdown-bg);
    }
    .setting-item{
        cursor: pointer;
    }
    section.home{
        height: 100vh;
    }
    div.mySlides > img{
        height: calc(100vh - 62px);
    }
    section.about {
        height: 100vh;
    }
    /* .abouttitle::after{
        display: block;
        content: url("/images/spiral-only.png");
        height: max-content;
        position: absolute;
        top: -10%;
        left: calc(85%);
        transform: scaleX(0.4) scaleY(0.7) translateY(-170px);
    } */
    section.plan {        
        height: max-content;
        background: var(--off-white-bg);
        color:black;
    }
    .imgcontainer{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin: auto;
    }
    section.pubs {
        height: 100vh;
    }
    section.download {
        height: max-content;
    }
    section.contact {
        height: max-content;
    }
}
@media screen and (max-width: 967px){
    .header{
        top: 24px;
        bottom: initial;
        box-shadow: 4px 4px 20px var(--shadow);
        background-color: rgba(2, 2, 2, 0.3);
        color: #fff;
        z-index: 999;
    }
    .nav{
        width: 85vw;
    }
    .nav-menu{
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: 0.3s ease-out;
    }    
    .nav-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: var(--small-font-size);
        color: var(--title-color);
        font-weight: var(--font-medium);
    }
    .nav-link:hover{
        color: var(--primary-color);
        border: none;
    }
    .nav-link.active{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        background: var(--off-white-bg);
    }
    .other-home{
        position: absolute;
        top: -130px;
        right: -12px;
        width: 40px;
        height: calc(max-content + 3rem);
        padding: 8px 0 16px;
        background-color: var(--off-white-bg);        
        border-radius: 4px;
        cursor: pointer;
        color: var(--primary-color);
    }    
    .other-home::before{
        content: '';
        position: absolute;
        top: 115px;
        right: 15px;
        width: 15px;
        height: 15px;
        background-color: var(--off-white-bg);
        transform: rotate(45deg);    
    }
    .other-nav{
        display: none;
    }
    span.auth-menu{
        display: none;
    }
    .pop-menu{
        width: 100%;
        padding: 2px 12px;
        line-height: 1.75rem;
    }
    .pop-menu:hover{
        background-color: var(--primary-color);
        color: #fff;
    }
    .prevnext{
        display: flex;
        position:absolute;
        top: 200px;
        width: 100%;
        /* height: 56px; */
        padding: 24px 24px;
        /* margin: 0 24px; */
        justify-content: space-between;
        z-index: 1000;
    }
    .prevnext-book{
        display: flex;
        position:absolute;
        top: 50vh;
        width: 100%;
        /* height: 56px; */
        padding: 24px;
        /* margin: 0 24px; */
        justify-content: space-between;
        z-index: 1000;
    }
    /* style play stop div */
    .playstop{
        display: flex;
        position: absolute;
        width: 100%; 
        top: 45%;
        text-align: center;
        justify-content: space-around;
    }
    .info-board{
        display: block;
        position: absolute;
        top: 80px;
        left: 35%;
        background: rgba(95, 26, 104, 0.1);
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.21);
        border: 1px solo solid rgba(255, 255, 255, 0.25);
        border-right: 1px solo solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solo solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(25px);
        width: 300px;
        min-height: 200px;
        border-radius: 8px;
        z-index: 999;
        color: white;
        font-size: 1.25rem;
        padding: 12px 20px;
        object-position: center;
        animation: reveal-board 2s ease-in-out;
    }
    .fb-social{
        opacity: 0;
        animation: fb-upward 1s ease-out 3s forwards;
    }
    .twitter-social{
        opacity: 0;        
        animation: twitter-upward 1s ease-in 4s forwards;
    }
    .gmail-social{
        opacity: 0;
        animation: gmail-upward 1s ease-in 5s forwards;
    }
    .socio-size{
        width: 24px;
        height: 24px;
        text-align: center;
        justify-content: space-around;
    }
    @keyframes fb-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    @keyframes twitter-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    @keyframes gmail-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    /* Layouts */
    /* .container{
        max-width: 100%;
    } */
    .slide-caption{
        display: block;
        position: absolute;
        top: 40%;
        text-align: center;
        width: 100vw;
    }
    section.about {
        display: block;
    }
    .abouttitle {
        background: var(--off-white-bg);
        padding: 32px 0;
    }
    /* .abouttitle::after{
        display: block;
        content: url("/images/spiral-only.png");
        position: absolute;
        top: -190%;
        width: 50%;
        left: 25%;
        transform: scaleX(0.5) scaleY(0.3) rotate(90deg);
    } */
    .aboutinfo {
        background: var(--off-white-bg);
        background-image: url('/images/home-bg.jpg');
        font-size: 24px;
        color: #fff;
        object-fit: cover;
        background-blend-mode:multiply;
        /* height: fit-content; */
        padding: 32px 24px;
    }
    section.plan {        
        height: fit-content;
        background: var(--off-white-bg);
        color:black;
    }
    .imgcontainer{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin: auto;
    }
    .sub-plan:hover{
        display: block;
        opacity: 0;
        animation: plan-show 2s ease-out forwards;
        transform-origin: top center;
    }
    .pubs-div{
        display:flex;
        width:100%;
        height:100%;
        align-items: center;
        justify-content:center;
    }
    .pubs-container{
        color: #fff;
        width: 360px;
        height: 360px;
        background: transparent;
        opacity: 0;
        transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        row-gap: 2px;
        column-gap: 2px;
    }
    .pubs-container.in{
        animation: pubsMoveIn 1s ease-out forwards;
    }
    
    .pubs-container.out{
        animation: pubsMoveOut 1s ease-out reverse forwards;
    }
    
    @keyframes pubsMoveIn {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    
    @keyframes pubsMoveOut {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    section.contact {
        height: max-content;
        display: block;
        justify-content: center;
        align-items: center;
        box-shadow: var(--shadow);
    }
    .contacttitle{
        padding: 24px 0;
    }
    .contactinfo{
        padding: 48px 48px 12px 48px;
    }
}
/* This for small screen to extra small ones 767 or 810*/
@media screen and (max-width: 810px){
    .header{
        width: 100vw; 
        position: fixed;
        left: 0;
        background-color: var(--body-color);
        z-index: 999;
    }
    .side-menu {
        position: absolute;
        padding-top: 36px;        
        padding-left: 24px;
        padding-right: 24px;
        top: 0;
        left: 0;
        height: calc(100vh - 36px);
        width: 60vw;
        background-color: var(--primary-color);
        z-index: 1000;
    }
    .side-menu > ul > li {
        padding: 12px 0;
        cursor: pointer;
    }
    .side-menu > ul > li:hover {
       background-color: red;
    }
    .nav{
        width: 85vw;
    }.nav-logo{
        color: var(--primary-color);
        font-weight: var(--font-black);
        /* font-size: larger; */
    }
    .nav-logo.pink{
        color: var(--primary-color);
    }
    .nav-logo:hover{
        color: var(--primary-color);
    }
    .nav-menu{
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: 0.3s ease-out;
    }    
    .nav-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: var(--small-font-size);
        color: var(--title-color);
        font-weight: var(--font-medium);
    }
    .nav-link:hover{
        color: var(--primary-color);
        border: none;
    }
    .nav-link.active{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        background: var(--off-white-bg);
    }
    .other-home{
        position: absolute;
        top: -130px;
        right: -12px;
        width: 40px;
        height: calc(max-content + 3rem);
        padding: 8px 0 16px;
        background-color: var(--off-white-bg);        
        border-radius: 4px;
        cursor: pointer;
        color: var(--primary-color);
    }    
    .other-home::before{
        content: '';
        position: absolute;
        top: 115px;
        right: 15px;
        width: 15px;
        height: 15px;
        background-color: var(--off-white-bg);        
        transform: rotate(45deg);    
    }
    .other-nav{
        display: none;
    }
    span.auth-menu{
        display: none;
    }
    .pop-menu{
        width: 100%;
        padding: 2px 12px;
        line-height: 1.75rem;
    }
    .pop-menu:hover{
        background-color: var(--primary-color);
        color: #fff;
    }
    .prevnext{
        display: flex;
        position:absolute;
        top: 200px;
        width: 100%;
        /* height: 56px; */
        padding: 24px 24px;
        /* margin: 0 24px; */
        justify-content: space-between;
        z-index: 1000;
    }
    /* style play stop div */
    .playstop{
        display: flex;
        position: absolute;
        width: 100%; 
        top: 45%;
        text-align: center;
        justify-content: space-around;
    }
    .info-board{
        display: block;
        position: absolute;
        top: 100px;
        left: 35%;
        background: rgba(95, 26, 104, 0.1);
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.21);
        border: 1px solo solid rgba(255, 255, 255, 0.25);
        border-right: 1px solo solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solo solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(25px);
        width: 300px;
        min-height: 200px;
        border-radius: 8px;
        z-index: 999;
        color: white;
        font-size: 1.25rem;
        padding: 12px 20px;
        object-position: center;
        animation: reveal-board 2s ease-in-out;
    }
    .fb-social{
        opacity: 0;
        animation: fb-upward 1s ease-out 3s forwards;
    }
    .twitter-social{
        opacity: 0;        
        animation: twitter-upward 1s ease-in 4s forwards;
    }
    .gmail-social{
        opacity: 0;
        animation: gmail-upward 1s ease-in 5s forwards;
    }
    .socio-size{
        width: 24px;
        height: 24px;
        text-align: center;
        justify-content: space-around;
    }
    @keyframes fb-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    @keyframes twitter-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    @keyframes gmail-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(40px);
        }
    }
    /* Layouts */
    /* .container{
        max-width: 100%;
    } */
    .slide-caption{
        display: block;
        position: absolute;
        top: 40%;
        text-align: center;
        width: 100vw;
    }
    section.about {
        display: block;
    }
    .abouttitle {
        background: var(--off-white-bg);
        padding: 24px 0;
    }
    /* .abouttitle::after{
        display: block;
        content: url("/images/spiral-only.png");
        position: absolute;
        top: -250%;
        width: 50%;
        left: 25%;
        transform: scaleX(0.5) scaleY(0.3) rotate(90deg);
    } */
    .aboutinfo {
        background: var(--off-white-bg);
        background-image: url('/images/home-bg.jpg');
        font-size: 24px;
        color: #fff;
        object-fit: cover;
        background-blend-mode:multiply;
        /* height: fit-content; */
        padding: 24px 12px;
    }
    section.plan {        
        height: fit-content;
        background: var(--off-white-bg);
        color:black;
    }
    .imgcontainer{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin: auto;
    }
    .sub-plan:hover{
        display: block;
        opacity: 0;
        animation: plan-show 2s ease-out forwards;
        transform-origin: top center;
    }
    .pubs-div{
        display:flex;
        width:100%;
        height:100%;
        align-items: center;
        justify-content:center;
    }
    .pubs-container{
        color: #fff;
        width: 360px;
        height: 360px;
        background: transparent;
        opacity: 0;
        transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        row-gap: 2px;
        column-gap: 2px;
    }
    .pubs-container.in{
        animation: pubsMoveIn 1s ease-out forwards;
    }
    
    .pubs-container.out{
        animation: pubsMoveOut 1s ease-out reverse forwards;
    }
    
    @keyframes pubsMoveIn {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    
    @keyframes pubsMoveOut {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    section.contact {
        height: max-content;
        display: block;
        justify-content: center;
        align-items: center;
        box-shadow: var(--shadow);
    }
    .contacttitle{
        padding: 24px 0;
    }
    .contactinfo{
        padding: 48px 48px 12px 48px;
    }
}
@media screen and (max-width: 470px){
    .header{
        width: 100vw; 
        position: fixed;
        left: 0;
        background-color: var(--body-color);
        z-index: 999;
    }
    .side-menu {
        position: absolute;
        padding-top: 36px;        
        padding-left: 24px;
        padding-right: 24px;
        top: 0;
        left: 0;
        height: calc(100vh - 36px);
        width: 60vw;
        background-color: var(--primary-color);
        z-index: 1000;
    }
    .side-menu > ul > li {
        padding: 12px 0;
        cursor: pointer;
    }
    .side-menu > ul > li:hover {
       background-color: red;
       padding: 0 12px;
    }
    .nav{
        width: 85vw;
    }
    .nav-logo{
        color: white;
        font-weight: var(--font-black);
        /* font-size: larger; */
    }
    .nav-logo.pink{
        color: var(--primary-color);
    }
    .nav-logo:hover{
        color: var(--primary-color);
        /* color: white */
    }
    .nav-menu{
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: 0.3s ease-out;
    }    
    .nav-link{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: var(--small-font-size);
        color: var(--title-color);
        font-weight: var(--font-medium);
    }
    .nav-link:hover{
        color: var(--primary-color);
        border: none;
    }
    .nav-link.active{
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 12px;
        background: var(--off-white-bg);
    }
    .other-home{
        position: absolute;
        top: -130px;
        right: -12px;
        width: 40px;
        height: calc(max-content + 3rem);
        background-color: var(--off-white-bg);        
        border-radius: 4px;
        cursor: pointer;
        color: var(--primary-color);
        padding-top: 8px;
    }    
    .other-home::before{
        content: '';
        position: absolute;
        top: 115px;
        right: 15px;
        width: 15px;
        height: 15px;
        background-color: var(--off-white-bg);
        transform: rotate(45deg);    
    }
    .other-nav{
        display: none;
    }
    span.auth-menu{
        display: none;
    }
    .pop-menu{
        width: 100%;
        padding: 2px 12px;
        line-height: 1.75rem;
    }
    .pop-menu:hover{
        background-color: var(--primary-color);
        color: #fff;
    }
    /* Help contents and menu */
    .help-wrapper {
        height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .help-menu {
        position: absolute; 
        right: 18px;
        color: white;
        cursor: pointer;
    }
    .help {
        width: 90vw;
        height: fit-content;
        background: #ebedef;
        margin: 10vh 5vw 10vh 5vw;
        padding: 6px 4px;
        border-radius: 6px;
    }
    .help-topic {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
    }
    .help-lead {
        padding: 8px 4px;
    }
    .help-image {
        margin: 6px ;
    }
    .help-link {
        color: white;
        font-weight: bolder;
        background: var(--primary-color);
        padding: 2px 4px;
    }
    .help-detail {
        padding: 8px 4px;
        margin: 0 12px;
    }
    .help-steps {
        padding: 8px 4px;
        list-style-type:decimal;
        border-bottom: 1px solid #000000;
    }
    .prevnext{
        display: flex;
        position:absolute;
        top: 120px;
        width: 100%;
        /* height: 56px; */
        padding: 24px 24px;
        /* margin: 0 24px; */
        justify-content: space-between;
        z-index: 900;
    }
    /* style play stop div */
    .playstop{
        display: flex;
        position: absolute;
        width: 100%; 
        top: 30%;
        text-align: center;
        justify-content: space-around;
    }
    .info-board{
        display: block;
        position: absolute;
        top: 80px;
        left: 30%;
        background: rgba(95, 26, 104, 0.1);
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.21);
        border: 1px solo solid rgba(255, 255, 255, 0.25);
        border-right: 1px solo solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solo solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(25px);
        width: 200px;
        min-height: 150px;
        border-radius: 8px;
        z-index: 999;
        color: white;
        font-size: 14px;
        padding: 12px 20px;
        object-position: center;
        animation: reveal-board 2s ease-in-out;
    }
    .fb-social{
        opacity: 0;
        animation: fb-upward 1s ease-out 3s forwards;
    }
    .twitter-social{
        opacity: 0;        
        animation: twitter-upward 1s ease-in 4s forwards;
    }
    .gmail-social{
        opacity: 0;
        animation: gmail-upward 1s ease-in 5s forwards;
    }
    .socio-size{
        width: 24px;
        height: 24px;
        text-align: center;
        justify-content: space-around;
    }
    @keyframes fb-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(10px);
        }
    }
    @keyframes twitter-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(10px);
        }
    }
    @keyframes gmail-upward {
        0%{
            opacity: 0;
            transform: translateY(100px);
        }
        40%{
            opacity: 0;
            transform: translateY(80px);
        }
        100%{
            opacity: 1;
            transform: translateY(10px);
        }
    }
    /* Layouts */
    /* .container{
        max-width: 100%;
    } */
    .slide-caption{
        display: block;
        position: absolute;
        top: 25%;
        text-align: center;
        width: 100vw;
    }
    section.about {
        display: block;
    }
    .abouttitle {
        background: var(--bg-color);
        color: var(--body-color);
        padding: 12px 0;
    }
    /* .abouttitle::after{
        display: block;
        content: url("/images/spiral-only.png");
        position: absolute;
        top: -300%;
        width: 50%;
        left: 25%;
        transform: scaleX(0.3) scaleY(0.3) rotate(90deg);
    } */
    .aboutinfo {
        background: var(--off-white-bg);
        background-image: url('/images/home-bg.jpg');
        font-size: 24px;
        color: #fff;
        object-fit: cover;
        background-blend-mode:multiply;
        /* height: fit-content; */
        padding: 24px 12px;
    }
    section.plan {        
        height: fit-content;
        background: var(--off-white-bg);
        color:black;
    }
    .imgcontainer{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        justify-content: center;
        width:fit-content;
        margin: auto;
    }
    .sub-plan:hover{
        display: block;
        opacity: 0;
        animation: plan-show 2s ease-out forwards;
        transform-origin: top center;
    }
    .pubs-div{
        display:flex;
        width:100%;
        height:100%;
        align-items: center;
        justify-content:center;
    }
    .pubs-container{
        color: #fff;
        width: 240px;
        height: 240px;
        background: transparent;
        opacity: 0;
        transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        row-gap: 2px;
        column-gap: 2px;
    }
    .pubs-container.in{
        animation: pubsMoveIn 1s ease-out forwards;
    }
    
    .pubs-container.out{
        animation: pubsMoveOut 1s ease-out reverse forwards;
    }
    
    @keyframes pubsMoveIn {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    
    @keyframes pubsMoveOut {
        0%{
            opacity: 0;
            transform: rotate(-30deg) translateX(-500px) translateY(-500px) scale(1.5) skewX(25deg)
        }
        100%{
            opacity: 1;
            transform: rotate(-30deg) translateX(0px) translateY(-200px) scale(1.5) skewX(25deg)
        }
    }
    section.contact {
        height: max-content;
        display: block;
        justify-content: center;
        align-items: center;
        box-shadow: var(--shadow);
    }
    .contacttitle{
        padding: 24px 0;
    }
    .contactinfo{
        padding: 48px 48px 12px 48px;
    }
    .download-detail {
        display: block;
    }
}