/*!
Theme Name: Happy Trackers
Theme URI: http://underscores.me/
Author: Endieee!!!!
Author URI: https://www.instagram.com/andhikadhev/
Description: 
Version: 1.0.7
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: canna-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Canna Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
    /* Define CSS variables */
    --hr-color--green-dark: #94e355;
    --hr-color--green-shade: #b4ff79;
    --hr-color--pink: #e65c72;
    --hr-color--white: #fff;
    --hr-color--dark: #424c3a;
    --hr-color--brown: #857456;
    --hr-color--linen: #FFF3E8;
    --hr-color--khaki: #BAAB93;
    --hr-color--grey: #928B85;
    --hr-font--display: "Anton", sans-serif;
    --hr-font--text: "Poppins", sans-serif;
}

/* Base */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

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

body {
    margin: 0;
    font-size: 15px;
    color: #333;
    background-color: var(--hr-color--green-shade);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

a {
    color: var(--hr-color--blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* Fonts */
h1, h2, h3, h4, h5, h6, button {
    font-family: var(--hr-font--display);
    line-height: 1.33;
    font-weight: 400;
    margin: 0px;
}

body, input {
    font-family: var(--hr-font--text);       
    line-height: 2.02;       
}

.text-sm {
    font-size: 14px;
}

.text-base {
    font-size: 16px;
}

.text-xl {
    font-size: 20px;
}

.text-2xl {
    font-size: 27px;
}

.text-3xl {
    font-size: 34px;
}

.text-4xl {
    font-size: 40px;
}

.text-5xl {
    font-size: 40px;
}

.text-6xl {
    font-size: 64px;
}

.text-9xl {
    font-size: 96px;
}

p {
    margin-bottom: 20px;
}

p.wysgig {
    margin: 0px;
}

.wysgig *:first-child {
    margin-top: 0px;
}

.wysgig *:last-child {
    margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
    .text-6xl {
        font-size: 42px;
    }

    .text-4xl {
        font-size: 32px;
    } 

    .text-3xl--sm {
		font-size: 32px;
	}

    .text-2xl--sm {
		font-size: 24px;
	}

	.text-2xl {
		font-size: 20px
	}

    .text-xl--sm {
		font-size: 18px;
	}
	
	.text-xl {
		font-size: 18px;
	}
}

/* Button */

button, .button {
    padding: 0px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s all ease;
}

.button--base {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 18px;
    font-family: var(--hr-font--display);
    font-weight: 800;
    border: 1px solid transparent;
    text-decoration: none;
    border-radius: 7px;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.button--solid-gradient {
    background: linear-gradient(90deg, #E55573 0%, #EA876C 100%);
    color: var(--hr-color--white);
}



@media screen and (max-width: 768px) {	
	.button--base {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 16px;
    }
}

/* Container */
.site-content, .site-content > div {
    width: 100%;
}
section {
    width: 100%;
    display: block;
    position: relative;
}

.container.container--fullscreen {
    height: calc(100vh - 88.41px);;
    height: calc(100dvh - 88.41px);;
}

.container__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.container__background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container__background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container__background--overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(0deg, rgba(16, 2, 50, 0.4), rgba(16, 2, 50, 0.4));
}

section > .container__wrapper >  .container__content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

section > .container__wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0px auto;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
}

.box-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flickity-enabled {
    outline: none ;
}

.cls {
    transition: 500ms;
}

@media screen and (max-width: 768px) {
    section > .container__wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Annoucement Bar */

.annoucement {
    width: 100%;
    background-color: var(--hr-color--green-dark);
}

.annoucement__wrapper {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    display: flex;
    flex-direction: row;
    padding: 0px 20px;
}

.annoucement__email {
    font-size: 14px;
}

svg.annoucement__sosmed-icon {
    width: 14px;
}

.annoucement__sosmed {
    display: flex;
    margin-left: auto;
}

a.annoucement__sosmed-item {
    display: flex;
    margin-right: 5px;
    padding-right: 5px;
    border-right: 1px solid var(--hr-color--pink);
}

/* Header */
.header {
    display: block;
}

.header--sticky {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    transition: 200ms ease;
    opacity: 0;
    z-index: 90;
    transform: translateY(-100%);
    background-color: #b4ff79;
}

.header--sticky > .header__wrapper {
    padding: 8px 20px !important;
}


.header--sticky--reveal {
    opacity: 1;
    transform: translateY(0%);
}

.header--sticky .header__logo {
    width: 60px;
}

/* .header--sticky {
    position: fixed !important;
    opacity: 0;
    top: 0px !important;
    transition: opacity 0.3s ease-in-out;
}

.header--sticky-reveal {
    opacity: 1;
} */

.header.header--overlay {
    position: absolute;
    left: 0;
    top: 48.8px;
    width: 100%;
    z-index: 50;
    background-color: transparent;
}

.header > .header__wrapper {
    display: flex;
    padding: 6px 20px;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    max-width: 1140px;
    margin: 0px auto;
}

.header__logo {
    width: 116px;
    height: auto;
}

.header__navigation {
    display: flex;
}

.header__navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.header__navigation ul li, .header__navigation ul li a {
    font-family: var(--hr-font--display);
    font-weight: 400;
    font-size: 18px;
    line-height: 127%;
    letter-spacing: .3px;
    text-align: center;
    text-decoration: none;
    color: var(--hr-color--pink);
}
.header__box--action {
    flex-direction: row;
    gap: 14px;
    align-items: center;
}

.header__menu-button {
    display: none;
}



@media screen and (max-width: 1140px) {
    .header__wrapper {
        flex-direction: row-reverse;
    }

    .header__button-underline {
        display: none;
    }

    .header__box--menu {
        min-width: 183px;
    }
}

@media screen and (max-width: 768px) {
	.header__logo {
		width: 80px;
		height: auto;
	}

    .header__navigation {
        display: none;
    }

    .header__menu-button {
        display: flex;
    }
    .header > .header__wrapper {
        padding: 8px 20px;
    }

    svg.box-flex.header__logo-icon {
        max-width: 165px;
    }

    .header.header--overlay {
        top: 43.8px;
    }

    .menu-nav__button-icon {
        max-width: 35px;
    }
	
	.menu-nav__button-close {
		font-size: 29px !important;
	}
	
	.menu-nav__navigation ul.menu > li.menu-item a {
		font-size: 24px !important;
	}
	
	.menu-nav__navigation ul.menu > li.menu-item.menu-item-has-children > a::after {
		top: 2px !important;
	}
	
	.menu-nav__navigation ul.menu > li.menu-item ul.sub-menu a {
		font-size: 20px !important;
	}

    .header__box--menu {
        min-width: 130px;
    }

    .header__button-outline {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {

    .header__box--menu {
        min-width: 63px;
    }

    .header__button-outline {
        font-size: 13px;
        padding-top: 5px;
        padding-bottom: 5px;
		padding-left: 12px;
        padding-right: 12px;
    }
	
	.menu-nav__button-icon {
		height: 26px;
		width: 26px;
	}
	svg.box-flex.header__logo-icon {
		max-width: 158px;
		height: 26px;
	}
}

.annoucement__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #544d42a3;
    z-index: 95;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 500ms;
    pointer-events: none;
    opacity: 0;
}

.annoucement__modal.open {
    pointer-events: all;
    opacity: 1;
}

.annoucement__modal-wrapper {
    width: calc(100% - 30px);
    max-width: 730px;
    max-height: calc(100% - 30px);
    padding: 30px;
    margin: auto;
    position: relative;
    background-color: var(--hr-color--white);
    overflow-y: scroll;
    scrollbar-color: var(--hr-color--blue) var(--hr-color--linen);
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.annoucement__modal-content h2,
.annoucement__modal-content h3,
.annoucement__modal-content h4 {
    color: var(--hr-color--blue);
    margin-bottom: 22px;
}

.annoucement__modal-content h2 {
    font-size: 42px;
}

.annoucement__modal-content h3 {
    font-size: 36px;
}

.annoucement__modal-content h4 {
    font-size: 24px;
}

.annoucement__modal-content strong {
    font-weight: 700;
    color: var(--hr-color--blue);
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .annoucement__modal-wrapper {
        padding: 30px 16px;
    }
}

/* Menu Nav */

.menu-nav {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--hr-color--green-shade);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: 500ms;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-nav.open {
    opacity: 1;
    pointer-events: all;
}

.menu-nav__wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--hr-color--blue);
    justify-content: space-between;
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 60px;
    padding-bottom: 60px;
    transition: 500ms;
    overflow-y: scroll;
    scrollbar-color: var(--hr-color--blue) var(--hr-color--linen);
    scrollbar-width: thin;
}

.menu-nav.open .menu-nav__wrapper {
    transform: translateX(0%);
}


.menu-nav__button-close {
    flex-direction: row;
    font-size: 32px;
    text-transform: uppercase;
    align-items: center;
    gap: 25px;
    color: var(--hr-color--white);
    position: absolute;
    top: 18px;
    right: 20px;
}

.lang-switcher {
    position: relative;
}

.lang-switcher__selected {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    font-size: 24px;
    color: var(--hr-color--white);
    font-family: var(--hr-font--display);
    align-items: center;
    min-width: 75px;
}

.lang-switcher__selected-icon {
    display: flex;
}

.lang-switcher__select-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
}

.lang-switcher__select-list.open {
    display: flex;
}

.lang-switcher__option-item {
    width: 100%;
    background-color: var(--hr-color--white);
    font-size: 20px;
    color: var(--hr-color--blue);
    padding: 8px 10px;
    text-align: center;
    display: flex;
    align-items: start;
}

.lang-switcher__option-item:hover, .lang-switcher__option-item.current {
    opacity: 0.8;
    background-color: var(--hr-color--white);
    color: var(--hr-color--blue);
}

.menu-nav__body {
    margin: auto;
}

.menu-nav__navigation {
    width: 100%;
}

.menu-nav__navigation ul.menu {
    width: 100%;
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.menu-nav__navigation ul.menu > li.menu-item {
    padding: 0px;
    position: relative;
}

.menu-nav__navigation ul.menu > li.menu-item a {
    font-size: 36px;
    font-family: var(--hr-font--display);
    color: var(--hr-color--pink);
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
}

.menu-nav__navigation ul.menu > li.menu-item.menu-item-has-children > a::after {
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    background-size: cover;
    background-position: center;
    position: absolute;
    right: -28px;
    top: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='11' viewBox='0 0 21 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L10.5 10L20 1' stroke='white' stroke-linejoin='bevel'/%3E%3C/svg%3E%0A");
}

.menu-nav__navigation ul.menu > li.menu-item ul.sub-menu {
    list-style: none;
    overflow: hidden;
    width: 100%;
    transition: height 300ms ease;
    transition-delay: 100ms;
}

.menu-nav__navigation ul.menu > li.menu-item ul.sub-menu a {
    font-size: 28px;
    color: var(--hr-color--white);
}

.menu-nav__foot {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.menu-nav__sosmed-list {
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

a.menu-nav__sosmed-item {
    display: flex;
}

@media screen and (max-width: 1180px) {
    .menu-nav__wrapper {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .menu-nav__wrapper {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .menu-nav__foot {
        flex-direction: column;
        gap: 35px;
    }
}

/* Footer */
.footer {
    display: block;
    background-color: var(--hr-color--blue);
}

.footer__wrapper {
    width: 100%; 
    max-width: 1120px;
    margin: 0px auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 38px;
    padding-bottom: 38px;
    flex-direction: row;    
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__content {
    width: 100%;
}

.footer__content--site-detail {
    max-width: 181px;
    margin: auto;
}

.footer__content--menu {
    max-width: 215px;
}

.footer__about {
    margin-top: 52px;
    margin-bottom: 0px;
    color: var(--hr-color--white);
}

.footer__sosmed-list {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 28.8px;
}

a.footer__sosmed-item {
    display: flex;
}

.footer__menu-label {
    color: var(--hr-color--white);
    text-transform: uppercase;
    font-weight: 700;
}

.footer__navigation {
    margin-top: 40px;
}
.footer__navigation > ul {
    padding-left: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    list-style: none;
}

.footer__navigation > ul a {
    font-size: 20px;
    color: var(--hr-color--white);
    text-decoration: none;
    text-transform: uppercase;
    line-height: 2;
}

.footer__navigation ul.sub-menu {
    padding-left: 35px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--hr-color--white);
}

.footer__navigation ul.sub-menu a {
    line-height: 2;
}

.footer__link-list {
    margin-top: 40px;
    width: 100%;
    gap: 20px;
}

.footer__link-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

svg.footer__link-icon {
    min-width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__link-text p:first-of-type {
    margin-top: 0px;
}
.footer__link-text p:last-of-type {
    margin-bottom: 0px;
}

.footer__link-text {
    color: var(--hr-color--white);
}

.footer__link-text a {
    color: var(--hr-color--white);
    text-decoration: none;
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    display: flex;
}


@media screen and (max-width: 1240px) {

    
    .footer__content--menu {
        max-width: 260px;
        margin-top: 42px;
    }
}

@media screen and (max-width: 768px) {
    .footer > .footer__wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer__wrapper {
        gap: 50px;
    }
    svg.footer__logo-icon {
        width: 190px;
    }

    .footer__navigation {
        margin-top: 20px;
    }

    .footer__content--menu {
        max-width: 100%;
        margin-top: 0px;
    }

    .footer__wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .footer__sosmed-list {
        margin-top: 50px;
    }
    .footer__link-list {
        margin-top: 20px;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
    }

    .floating-whatsapp svg {
        width: 60px;
        height: auto;
    }
}


.copyright {
    background-color: var(--hr-color--green-dark);
    padding: 12px 20px;
}

.copyright > .copyright__wrapper {
    align-items: center;
}

a.copyright__note {
    color: var(--hr-color--black);
    text-decoration: none;
}


