/**
Theme Name: AI Counsel
Author: Webdesign 24
Author URI: https://www.webdesign24.fr/
Description: Astra is the fastest!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-counsel
Template: astra
*/

body {
  --wp--preset--font-family--primary: "hk_groteskregular", sans-serif;
  --wp--preset--font-family--titles: "hk_groteskblack", sans-serif;
  --cursor-rgb: 48, 217, 138; /*244, 241, 222;*/
  background-color: var(--ast-global-color-7);
}

#content {
  background-color: var(--ast-global-color-2);
}

/****** typography, titles and links ******/
.site-title,
.site-title a,
.entry-title,
.entry-title a {
  font-family: var(--wp--preset--font-family--titles);
  letter-spacing: 0.2ch;
}

.has-x-large-font-size,
.has-medium-font-size,
.has-large-font-size,
.has-x-large-font-size {
  line-height: 1;
}

/****** wp core blocks *****/
/*navigation*/
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  width: 58px;
  height: 58px;
}

.wp-block-navigation__responsive-container
  .wp-block-navigation__responsive-container-content {
  padding-top: 70px !important;
}

/****** Helpers ******/
.has-pos-absolute {
  position: absolute !important;
}

/**********Shortcodes*****/
/*==== Infinite picture SC*/
.wd-infinite-picture{
  max-width: 100%;
  overflow: hidden;
  margin: auto;
  position: relative;
}

.infinite-picture-img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 300%;
  animation: slideshow 50s linear infinite;
  -webkit-animation: slideshow 50s linear infinite;
}
@keyframes slideshow {
  0% {
    left: -200%;
  }
  100% {
    left: 0;
  }
}
/*==== Horizontal scroll SC*/
.scroll-wrapper-container {
  overflow: hidden;
  height: 100vh;
  margin: auto;
}
.scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vh;
  transform: rotate(-90deg) translate3d(0, -100vh, 0);
  transform-origin: right top;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 100vw;
  perspective: 1px;
  transform-style: preserve-3d;
  padding-bottom: 10rem;
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-item {
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  transform-origin: 50% 50%;
  transform: rotate(90deg) translateZ(0.1px) scale(0.9) translateX(0px)
    translateY(-3vh);
  transition: 1s;
  max-width: 100vw;
}

.scroll-item:hover {
  min-height: 65vh;
  max-width: none;
  z-index: 999;
}

.scroll-item:nth-of-type(2n + 1) {
  transform: rotate(90deg) translateZ(-0.2px) scale(1.2) translateX(0%)
    translateY(-10vh);
}

.scroll-item:nth-of-type(2n) {
  transform: rotate(90deg) translateZ(-0.25px) scale(1.1) translateX(0%)
    translateY(8vh);
}

/**** Animations */
/*AI logo*/
#ai-logo{
  animation: logoAnim 12s linear .7s infinite;
  -webkit-animation: logoAnim 12s linear .7s infinite;
}

@keyframes logoAnim {
  0%{
    transform: translateX(0);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
}
  25%{
    transform: translateX(-25%);
    -webkit-transform: translateX(-25%);
    -moz-transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    -o-transform: translateX(-25%);
}
50%{
  transform: translateX(25%);
  -webkit-transform: translateX(25%);
  -moz-transform: translateX(25%);
  -ms-transform: translateX(25%);
  -o-transform: translateX(25%);
}
  100%{
    transform: translateX(0);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
}
}

/*Custom cursor*/
.has-custom-cursor,
.site-footer,
.has-custom-cursor > *,
.site-footer > * {
  cursor: none !important;
}

#wd-cursor {
  visibility: hidden;
  width: 20px;
  height: 20px;
  border: 10px solid rgba(var(--cursor-rgb), 0.8);
  border-radius: 50%;
  position: absolute;
  z-index: 9999;
  display: none;
}

#wd-cursor::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 15px solid rgba(var(--cursor-rgb), 0.2);
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 10;
}

/* === animated text bg*/
.animate-characters {
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #30d98a 0%,
    #44107a 29%,
    #e07a5f 67%,
    #f4f1de 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  line-height: 1.5;
  font-size: 2em;
}

@media screen and (min-width:720px) {
  .animate-characters{
    font-size: 4lvw;
  }
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}


