:root {
    --color0: #485563;
    --color1: #29323c;
    --color2: #fff;
    --color3: #fff;
    --colorFront: rgb(125, 123, 66);
    --colorFront2: rgb(144, 143, 109);
    --ease: cubic-bezier(0.075, 0.82, 0.165, 1);
}
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
button {
    border: none;
}
button:hover {
    cursor: pointer;
}
.overflowHide {
    overflow: hidden;
}
.fullpage {
    width: 100vw;
    height: 100vh;
}
body {
    background: radial-gradient(var(--color0) 20%, var(--color1) 85%);
}
.abs {
    position: absolute;
    top: 50%;
    left: 50%;
}
h2.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text {
    font-weight: bold;
    color: var(--color2);
}
.greeting {
    transform: translate(-50%, -50%);
    perspective: 1000px;
    transform-style: preserve-3d;
}
h1 {
    transform: translate(90%, -50%) rotateY(0deg);
    line-height: 110px;
    color: var(--color2);
    font-size: 120px;
    animation: greet 1s 0.5s var(--ease) forwards;
    opacity: 0;
    z-index: -1;
}
@keyframes greet {
    20%,
    60% {
        transform: translate(-50%, -50%) rotateY(-25deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotateY(-25deg);
        opacity: 0.5;
    }
}
.swapper {
    margin-top: 10%;
    top: 38%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 460px;
    height: 100vh;
    perspective: 1000px;
    clip-path: circle(0px at center);
    animation: swap 0.4s 1.5s ease-in forwards;
    /* display: none; */
}
.swapper:hover {
    cursor: crosshair;
    outline: none;
}
@keyframes swap {
    to {
        clip-path: circle(100% at center);
    }
}

/* 3D CUBE */

.cube {
    transform: translate(-50%, -50%) rotateX(20deg) rotateY(0deg);
    width: 340px;
    height: 540px;
    transform-style: preserve-3d;
    transition: 1.5s var(--ease);
}
.side {
    position: absolute;
    width: inherit;
    height: inherit;
    color: white;
    backface-visibility: hidden;
}
.overflowX {
    overflow: hidden;
}
.front {
    background: linear-gradient(var(--colorFront2), var(--colorFront) 70%);
    transform: translateZ(270px);
}
.back {
    background: #884930;
    transform: rotateY(180deg) translateZ(270px);
}
.left,
.right {
    width: 540px;
    background: #2d363f;
}
.left {
    transform: rotateY(-90deg) translateZ(270px);
}
.right {
    transform: rotateY(90deg) translateZ(70px);
}
.top {
    transform: rotateX(90deg) translateZ(270px);
    background: rgba(0, 0, 0, 0.4);
}
.bottom {
    transform: rotateX(-90deg) translateZ(270px);
    background: #0b0d0f;
}

/* CONTAINER */

/* FRONT */
.container,
.container_back {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    width: auto;
    height: 540px;
    transition: 0.3s var(--ease);
    overflow: hidden;
}
.page_parent {
    position: relative;
    display: block;
    width: 340px;
    height: 540px;
    background: linear-gradient(var(--color0) 20%, var(--color1) 85%);
}
.text_area {
    height: calc(100% - 270px);
    width: 340px;
}
.title,
.text_area {
    padding: 10px 20px;
}
.title {
    padding-top: 20px;
    text-align: left;
    font-size: 30px;
    color: rgba(255, 255, 255, 1);
    line-height: 35px;
    text-shadow: 1px 2px 3px #333;
}
.text_front {
    margin: 15px 20px;
    padding: 0 15px;
    text-align: left;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 27px;
}
.imgdiv {
    width: 340px;
    height: 270px;
}
img {
    width: 100%;
    height: auto;
    margin-top: 20%;
}
.button_style {
    position: absolute;
    left: 20px;
    bottom: 25px;
    content: "button";
    width: 110px;
    height: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 4px 5px 6px rgba(0, 0, 0, 0.2);
}
#next_front,
#prev_front {
    position: absolute;
    top: calc(100% - 50px);
    left: calc(50% + 120px);
    background-color: none;
    z-index: 99;
}
#prev_front {
    transform: rotateY(180deg) translate(40px, 0);
    display: none;
}
/* ENDFRONT */

/* BACK */
.page_parent_back {
    position: relative;
    display: block;
    width: 340px;
    height: 540px;
    background: linear-gradient(var(--color0) 20%, var(--color1) 85%);
}
.text_area_back {
    height: auto;
    width: 340px;
}
.title_back,
.text_back {
    padding: 10px 20px;
}
.title_back {
    padding-top: 20px;
    text-align: left;
    font-size: 25px;
    color: rgba(255, 255, 255, 1);
    line-height: 30px;
    text-shadow: 1px 2px 3px #333;
}
.text_back {
    margin: 70px 6px;
    padding: 0 15px;
    text-align: left;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}
.imgdiv_back {
    position: relative;
    width: 340px;
    height: 350px;
    overflow: hidden;
}
.imgdiv_back img {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.text_back,
.button_style_back {
    position: absolute;
    bottom: 25px;
}
.text_back {
    left: 0;
    line-height: 0px;
}
.button_style_back {
    position: absolute;
    left: 20px;
    content: "button";
    width: 110px;
    height: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 4px 5px 6px rgba(0, 0, 0, 0.2);
}
/* ENDBACK */

h2 {
    font-size: 85px;
    line-height: 80px;
}
.fixed {
    position: fixed;
}
h3 {
    bottom: -5px;
    white-space: nowrap;
    padding: 10px 0px;
    font-size: 18px;
    background: #333;
    width: 100%;
    text-align: center;
}
.footer {
    bottom: 0;
    width: 100%;
    height: 55px;
    background-color: #000;
    border-top: 5px solid red;
}
a,
.footertext {
    background: #000;
    line-height: 25px;
    font-size: 15px;
    text-decoration: none;
    color: white;
}
a:hover {
    color: yellow;
    transition: 0.3s var(--ease);
    text-decoration: underline;
    outline: none;
}
h4 {
    top: 20%;
    left: 50%;
    width: 200px;
    font-size: 35px;
    text-align: center;
}
svg {
    position: absolute;
    top: 62%;
    left: 63%;
    transform: translate(-25%, -25%) scale(1.3);
    width: inherit;
    height: inherit;
}
h5 {
    top: 50%;
    left: 50%;
    display: block;
    font-family: sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: white;
    z-index: 15;
    margin: 6px 0 0 0;
    padding: 0;
    text-align: right;
    width: 160px;
    line-height: 15px;
    text-shadow: 1px 1px 3px black;
    transform: translate(-50%, -50%);
}
span {
    font-size: 25px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    color: transparent;
    text-shadow: 1px 1px 3px transparent;
}
svg#button {
    width: 25px;
    height: 25px;
    stroke: rgba(255, 255, 255, 1);
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    z-index: 9999;
}
svg#button:hover {
    stroke: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.1s var(--ease);
    outline: none;
}
.frontText,
.backText {
    left: 0;
    top: 0;
    height: inherit;
    display: flex;
    transition: 0.3s var(--ease);
}
.frontText {
    width: calc(4 * 340px);
}
.backText {
    width: calc(5 * 340px);
}
.ft_1,
.ft_2,
.ft_3,
.ft_4,
.ft_5 {
    position: relative;
    width: 340px;
    height: inherit;
}
#videoArea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    clip-path: circle(0px at center);
    overflow: hidden;
}
.animVideo {
    animation: swap 0.8s var(--ease) forwards;
}
video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100vh;
}
#closeButton,
#brosur,
#brosur2 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 5;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
}
#closeButton {
    left: 90%;
    top: 20px;
}
#brosur,
#brosur2 {
    bottom: 90px;
    border: 1px solid #222;
    padding: 10px 20px;
    font-weight: bold;
    stroke: none;
    fill: white;
    width: 45px;
    background: none;
    border: none;
}
#brosur:hover,
#brosur2:hover {
    fill: rgba(255, 255, 255, 0.5);
}
#brosur:hover:before,
#brosur2:hover:before {
    position: absolute;
    line-height: 15px;
    font-size: 10px;
    color: white;
    transition: 0.2s var(--ease);
    white-space: nowrap;
    fill: rgba(255, 255, 255, 0.5);
}
#brosur:hover:before {
    top: 60px;
    left: 20px;
    content: "KONTAK WHATSAPP";
}
#brosur2:hover:before {
    top: 60px;
    left: 30px;
    content: "LIHAT BROSUR";
}
#brosur {
    left: 40%;
}
#brosur2 {
    left: 55%;
}

/* RESPONSIVE */

@media only screen and (max-width: 800px) {
    h1 {
        line-height: 70px;
        font-size: 85px;
    }
    .swapper {
        top: 50%;
        left: 50%;
        width: 100%;
    }
    .footer {
        height: 28px;
        border-top: 2px solid red;
    }
    a,
    .footertext {
        line-height: 8px;
        font-size: 15px;
    }
    video {
        width: 98%;
        height: 90%;
    }
}
