/*!/wp-content/themes/newflyde/style.css*/@font-face {
  font-family: Agenda-Light;
  src: url(/wp-content/themes/newflyde/fonts/agenda-4.ttf);
 font-display:swap;}

@keyframes rotar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fall1 {
  from {
    top: -50px;
    transform: rotate(0deg);
  }

  to {
    top: 100%;
    left: 54%;
    transform: rotate(360deg);
  }
}

@keyframes fall2 {
  from {
    top: -40px;
    transform: rotate(0deg);
  }

  to {
    top: 100%;
    left: 54.5%;
    transform: rotate(360deg);
  }
}

@keyframes fall3 {
  from {
    top: -35px;
    transform: rotate(0deg);
  }

  to {
    top: 100%;
    left: 53.5%;
    transform: rotate(360deg);
  }
}

@keyframes fall4 {
  from {
    top: -55px;
    transform: rotate(0deg);
  }

  to {
    top: 100%;
    left: 54%;
    transform: rotate(360deg);
  }
}

@keyframes boat-animation {
  0% {
    left: 5%;
    opacity: 0.1;
  }

  10% {
    opacity: 0.9;
  }

  50% {
    left: 50%;
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    left: 50%;
    opacity: 0;
  }
}

/* Elements */
:root {
  --background-color-light: #FFFFFF;
  --text-color-light: #7c7c7c;
  --background-color-dark: #1d1d1d;
  --text-color-dark: #bdbdbd;
    --text-color-dark-bubble: #444444;
  --background-color-dark-speech-bubble: #f3f3f3;
}

.dark-mode {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark);
}

.dark-mode .gray-ellipse-bg {
  background-image: url(/wp-content/themes/newflyde/img/background-dark.png);
}

.dark-mode footer {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark);
}

.dark-mode a {
  color: var(--text-color-dark);
}

.dark-mode p {
  color: var(--text-color-dark);
}

.dark-mode .speech-bubble.white {
  background-color: var(--background-color-dark-speech-bubble);
  border-color: var(--background-color-dark-speech-bubble);
}

.dark-mode .speech-bubble>p {
  color: var(--text-color-dark-bubble);
}

.dark-mode .speech-bubble.white::before {
  color: var(--background-color-dark-speech-bubble);
}

.dark-mode .speech-bubble.tail-right-down::after {
  color: var(--background-color-dark-speech-bubble);
}

.dark-mode .fish-frame>p {
  color: white;
}

.dark-mode .cta-container>div>p {
  color: white;
}

.dark-mode .human-img-container>p {
  color: white;
}

body {
  --background: var(--background-color-light);
  --text-color: var(--text-color-light);
  overflow-x: hidden;
}

.dark-mode {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark);
}

a {
  font-size: 1rem;
  text-decoration: none;
  color: #7c7c7c;
}

a,
a>img {
  cursor: pointer;
}

p {
  color: #3C3C3C;
}


* {
  cursor: url(/wp-content/themes/newflyde/img/circle_orange.svg) 16 16, auto;
}

/* Classes */

/** Buttons **/

.btn.responsive {
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  width: min(150px, 100%);
}

.btn.orange {
  color: #ff8e3e;
}

.btn-outline-primary.orange {
  border-color: #ffffff;
}

.btn-outline-primary.orange:hover {
  border-color: #ffffff;
  background-color: #ff8e3e;
}

.btn.white {
  color: white;
}

.btn-outline-primary.white {
  border-color: white;
}

.btn-outline-primary.white:hover {
  color: #7c7c7c;
  border-color: white;
  background-color: white;
}

.btn-outline-primary.round {
  border-radius: 1.5rem;
}

/** Font color **/

.orange {
  color: #ff8e3e;
}

.blue {
  color: #009cff;
}

.white {
  color: #ffffff;
}

.speech-bubble.blue>p {
  color: white;
}

/** Font Sizes **/

.intro1>p:first-child,
.video-content>p,
.rutine>p,
.doubt-container>p,
.fish-frame>p {
  font-size: 48px;
}

.video-content>p,
.intro>p,
.cta-container>div>p:first-of-type {
  font-size: clamp(3rem, 2vw + 1rem, 6rem);
}

.cta-container {
  text-align: center; 
}

.cta-container p {
  margin: 0 auto;
}

.cta-container p.small-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem); 
  line-height: 1.5; /* Mejora la legibilidad */
}

.cta-container .btn {
  display: inline-block;
  margin-top: 1rem;
}


.rutine-stat>p:first-of-type,
.flyde-explanation-text>p,
.human-img-container>p {
  font-size: clamp(2rem, 2vw + 1rem, 4rem);
}

.intro1>p,
.speech-bubble>p,
.human-container>div:not(.human-img-container)>p,
.cta-container>div>p {
  font-size: clamp(1rem, 2vw + 1rem, 2rem);
}

.intro2>p,
.rutine-paragraph>p,
.square-speech-bubble-container>.speech-bubble>p {
  font-size: clamp(0.7rem, 1.4vw + 0.7rem, 1.4rem);
}

.rutine-stat>p {
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
}

.gap-88 .col-auto {
  margin-left: 44px;
  margin-right: 44px;
}

/** Containers **/

.top-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 20px;
  background-color: white; 
  border-bottom: 1px solid #ddd; 
}

.top-header a {
  text-decoration: none;
  font-size: 14px;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 5px;
  color: black; 
  transition: background-color 0.3s, color 0.3s;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
}


.main-header .uk-logo {
  max-height: 30px !important;
  height: auto !important; 
  width: auto !important;
}

.flyde-intro {
  margin-top: 4rem !important;
}

.intro1 {
  margin-bottom: 4rem !important;
  line-height: 50px;
  font-family: Agenda-Light;

}

.intro2 > p {
  color:gray;
}

.point {
  position: relative;
}

.point::after {
  content: "";
  background: #ff8e3e;
  border-radius: 1.5rem;
  width: min(5%, 15px);
  aspect-ratio: 1 / 1;
  position: absolute;
}

.video-wrapper video {
  display: block; /* Asegura que no se comporte como inline */
  width: 100%; /* Ocupa todo el ancho */
  height: auto; /* Mantiene proporciones */
}

.video-wrapper {
  position: relative;
  margin-top: 3rem;
}

.video-content {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.video-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

.rutine {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem;
}

.rutine-paragraph {
  width: min(700px, 90%);
}

.rutine-container {
  display: flex;
  text-align: center;
}

.gray-ellipse-bg {
  background-image: url(/wp-content/themes/newflyde/img/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
  background-position: center;
  padding-bottom: 5rem;
}

.doubt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  line-height: normal;
}

/* Base styles for all devices */
.speech-bubble-container {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  margin-top: 8rem;
  z-index: 1;
}

.sun-image-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}


.sun-image {
  width: 50%;
  max-width: 100%;
  height: auto;
}

.sun-squares-container {
  position: relative;
  width: 100%;
  height: 25%;
}

.sun-square {
  position: absolute;
  width: 0.5rem;
  z-index: -5;
  aspect-ratio: 1 / 1;
  background: #009cff;
  transform: translate(-50%, -50%);
}

.squares_image {
  position: absolute;
  bottom: 0;
}

.bubbles-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transform: translateY(12%);
  margin-top: -3.5rem !important;
}

.bubbles-container>.speech-bubble-row:first-of-type {
  justify-content: space-around;
  margin-top: 0;
}

.bubbles-container>.speech-bubble-row {
  margin: 7.5vh 0;
}

.bubbles-container>.speech-bubble-row:last-of-type {
  justify-content: space-around;
  margin-bottom: 0;
}

.speech-bubble-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: min(100px, 20vh);
}


.speech-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: clamp(20%, 230px, 45%);
  min-height: 100%;
  position: relative;
}

/* Colors */
.speech-bubble.blue {
  background: #009cff;
  border-color: #009cff;
}

.speech-bubble.white {
  background-color: white;
  border-color: white;
}

/* Tail styles */

.fish-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -2px;
}


.fish-frame>img:first-of-type {
  width: 100%;
  position: relative;
}

.fish-frame>img:last-of-type {
  width: 100%;
}

.app-icon {
  width: 10%;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.app-icons-container {
  margin-top: -20%;
  margin-bottom: 10%;
  width: 80%;
  padding-left: 20%;
}

.apps_flyde_explanation {
  width: 80%;
}

.app-icon {
  width: 10%;
  float: left;
  margin-right: 2%;
  transition: transform 0.5s ease-out;
}

.icon-analytics {
  transform: translate(-80%);
}

.icon-shopify {
  transform: translate(50%);
  width: 10%;
}

.icon-activecampaign {
  transform: translate(390%, 20%);

  width: 10%;
}

.icon-brevo {
  transform: translate(30%, 30%);
}

.icon-drive {
  transform: translate(120%, 80%);
  width: 10%;
}

.icon-facebook {
  visibility: hidden;
  width: 10%;
}

.icon-facebook2 {
  transform: translate(0%, 20%);

  width: 7%;
}

.icon-hubspot {
  transform: translate(230%);
}

.icon-cloud {
  transform: translate(250%, 80%);

  width: 10%;
}

.icon-chimp {
  transform: translate(360%, 20%);

  width: 10%;
}

.icon-emarsys {
  transform: translate(200%, 180%);
  width: 7%;
}

.icon-sap {
  transform: translate(380%, 20%);

  width: 8%;
}

.icon-prestashop {
  transform: translate(310%, 160%);

  width: 10%;
}

.icon-salesforce {
  transform: translate(400%, 140%);
  width: 7%;
}

.app-icons-container::after {
  content: "";
  display: block;
  clear: both;
}

.flyde-explanation-text {
  text-align: center;
}

.flyde-explanation-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0 !important;
}

.flyde-explanation-image>img {
  width: 60%;
}

.square-bubbles-container {
  display: flex;
}

.square-speech-bubble-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33.33333333%;
  padding: 0 3rem !important;
}

.square-speech-bubble-container>.speech-bubble {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: gray solid 0.5px;
}

.sea-bg {
  background-image: url(/wp-content/themes/newflyde/img/square_speech_bubble_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.human-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.human-img-container>img {
  width: 90%;
  position: absolute;
  top: 5%;
  left: 5%;
}

.human-img-container>img:first-child {
  width: 100%;
  position: initial;
  animation: rotar 4s ease-in-out infinite;
}

.human-img-container {
  width: 40%;
  aspect-ratio: 1 / 1;
  position: relative;
}

.human-img-container>p {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 35%;
}

.human-img-container>p:first-of-type {
  translate: 30% -50%;
}

.human-img-container>p:last-of-type {
  translate: 155% -50%;
}

.cta-container {
  background-image: url(/wp-content/themes/newflyde/img/banner_orange.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
}

.progress-bar-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.progress-bar-container>div {
  width: 100%;
}

.progress-bar-container>div>img {
  width: 100%;
}

.close-page-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.contact-container {
  display: flex;
  align-items: center;
}

/** Images **/

.logo.responsive {
  width: min(250px, 60%);
  height: auto;
}

.play-video.responsive {
  width: min(114px, 100%);
}

/** Custom Classes **/

.opacity-50 {
  opacity: 50%;
}

/* Teléfonos pequeños */
@media (max-width: 575px) {
  /** Font Sizes **/

  .intro1>p:first-child,
  .rutine>p,
  .doubt-container>p,
  .fish-frame>p,
  .intro>p {
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
  }

  .video-content>p,
  .flyde-explanation-text>p,
  .human-img-container>p,
  .cta-container>div>p:first-of-type,
  .brands-container {
    font-size: clamp(0.7rem, 1.4vw + 0.7rem, 1.4rem);
  }

  .rutine-paragraph>p,
  .human-container>div:not(.human-img-container)>p {
    font-size: clamp(0.6rem, 1.2vw + 0.6rem, 1.2rem);
  }

  .intro1>p,
  .intro2>p,
  .speech-bubble>p,
  .cta-container>div>p {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  }
}

/* Teléfonos medianos */
@media (max-width: 767px) {
  /** Containers **/

  .rutine-container {
    flex-direction: column;
  }

  .speech-bubble-container {
    margin-top: 3rem;
    aspect-ratio: unset;
    padding-bottom: 5rem;
  }

  .speech-bubble-row>.speech-bubble.white {
    margin-left: -3rem;
  }

  .speech-bubble-row>.speech-bubble.blue {
    margin-right: -3rem;
  }

  .sun-image {
    padding-top: 16%;
  }

  .fish-frame {
    margin-bottom: 1rem;
  }

  .flyde-explanation-image {
    margin: 2rem 0 !important;
  }

  .human-img-container {
    width: 80%;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  /** Font Sizes **/

  .intro1>p:first-child,
  .rutine>p,
  .doubt-container>p,
  .fish-frame>p {
    font-size: clamp(2rem, 2vw + 1rem, 4rem);
  }

  .video-content>p,
  .intro>p,
  .cta-container>div>p:first-of-type {
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
  }

  .rutine-paragraph>p,
  .flyde-explanation-text>p,
  .square-speech-bubble-container>.speech-bubble>p {
    font-size: clamp(0.8rem, 1.6vw + 0.8rem, 1.6rem);
  }

  .intro1>p,
  .intro2>p,
  .speech-bubble>p,
  .human-container>div:not(.human-img-container)>p,
  .cta-container>div>p {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  }
}

/* Tabletas */

@media (max-width: 991px) {
  .square-bubbles-container {
    flex-direction: column;
    align-items: center;
  }

  .square-speech-bubble-container {
    width: 90%;
    padding: 1.5rem !important;
  }

  .close-footer-container,
  .close-footer-container>div {
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
  }
}

/* Responsive font sizes */
@media (min-width: 576px) and (max-width: 767px) {

  .intro1>p:first-child,
  .rutine>p,
  .doubt-container>p,
  .fish-frame>p {
    font-size: clamp(2rem, 2vw + 1rem, 4rem);
  }

  .video-content>p,
  .intro>p,
  .cta-container>div>p:first-of-type {
    font-size: clamp(1rem, 2vw + 1rem, 2rem);
  }

  .rutine-paragraph>p,
  .flyde-explanation-text>p,
  .square-speech-bubble-container>.speech-bubble>p {
    font-size: clamp(0.8rem, 1.6vw + 0.8rem, 1.6rem);
  }

  .intro1>p,
  .intro2>p,
  .speech-bubble>p,
  .human-container>div:not(.human-img-container)>p,
  .cta-container>div>p {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  }
}

/* Tablet styles */
@media (max-width: 991px) {
  .square-bubbles-container {
    flex-direction: column;
    align-items: center;
  }

  .square-speech-bubble-container {
    width: 90%;
    padding: 1.5rem !important;
  }

  .close-footer-container,
  .close-footer-container>div {
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  .intro1>p:first-child,
  .rutine>p,
  .doubt-container>p,
  .fish-frame>p {
    font-size: clamp(3rem, 2vw + 1rem, 6rem);
  }

  .video-content>p,
  .square-speech-bubble-container>.speech-bubble>p,
  .intro>p,
  .cta-container>div>p:first-of-type {
    font-size: clamp(2rem, 2vw + 1rem, 4rem);
  }

  .intro1>p,
  .speech-bubble>p,
  .human-container>div>p,
  .cta-container>div>p {
    font-size: clamp(0.8rem, 1.4vw + 0.8rem, 1.4rem);
  }
}

/* Medium devices */
@media (min-width: 992px) and (max-width: 1199px) {

  .square-speech-bubble-container>.speech-bubble>p,
  .human-img-container>p {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  }
}

@media (min-width: 1100px) {
  .bubbles-container {
    padding-bottom: 20rem;
    margin-top: 0.5rem !important;
  }
}

@media (max-width: 1024px) {
  .bubbles-container {
    padding-bottom: 6rem;
  }
}

@media (min-width: 300px) and (max-width: 900px) {
  
  .speech-bubble{
    width: 40%;
  }

  .bubbles-container {
    padding-bottom: 2rem;
    transform: translateY(21%);
  }

  .sun-image {
    width: 60%;
  }

  .flyde-good-day-p {
    position: absolute;
    font-size: 3vw;
    color: white;
    left: 60%;
    bottom: 33%;
    transform: translateX(-50%);
    text-align: center;
  }

  .app-icons-container {
    margin-bottom: -60%;
    margin-top: -10%;
    width: 85%;
    padding-left: 15%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px), screen and (min-width: 1025px) {
  .flyde-intro {
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .flyde-intro {
    display: none;
  }
}