/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
body {
  font-family: "Segoe UI", sans-serif;
  /* font-family: "Inter", sans-serif; */
  background-color: #ffffff !important;
}

html {
  scroll-behavior: smooth;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

.transform-grid {
  transform: skew(0deg, 0deg) rotate(45deg) translate(50%, -75%);
}

@media not all and (min-width: 640px) {
  .transform-grid {
    transform: none;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* large device */
@media (min-width: 768px) {
  #hero_background {
    background: url(assets/images/tribyou_landing-background.png);
    background-size: cover;
    background-position: bottom right;
    /* background-color: #f5fdfd; */
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    /* border: 1px solid #DFDFDF; */
  }

  #try_now_section {
    background: url(assets/images/tribyou_landing-background.png);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
  }
}

/* small device */
@media (max-width: 768px) {
  #hero_section {
    background: url(assets/images/tribyou_landing-background.png);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
  }

  #try_now_section {
    background: url(assets/images/tribyou_landing-background.png);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
  }
}

.auto-scroll {
  animation: scroll 30s linear infinite;
}

/* Container that holds both front and back of the card */
.card {
  perspective: 1000px; /* Gives the 3D effect */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Front and back face styling */
.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
}

.front {
  z-index: 2;
}

.back {
  transform: rotateY(180deg);
}

.back {
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement-list {
  display: block;
  white-space: nowrap;
}

.announcement-list span {
  display: inline-block;
  margin-right: 8px;
}

.announcement-list img.icon {
  display: inline-block;
  margin-right: 16px;
  vertical-align: middle;
}

.howdoes-card-back {
  transform: rotateY(180deg);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  transform: scale(0.95);
  transition: 2s;
}
.carousel-item.active {
  transform: scale(1.05);
  opacity: 1;
}

.carousel-item .howdoes-card-front {
  background-color: rgb(236 253 245 / 1);
}

.howdoes-card-back{
  background-color: #eeeeee;
}