@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Grape+Nuts&display=swap');

:root {
    --white: hsl(0, 0%, 100%);
    --black: hsl(120, 48%, 16%);
    --amaranth: hsl(82, 74%, 39%);
    --xiketic1: hsl(46, 53%, 9%);
    --xiketic2: hsl(120, 48%, 16%);
    --new-purple: hsl(82, 74%, 39%);
    --silver-sand: hsl(82, 16%, 72%);
    --purple-violet: hsl(81, 47%, 18%);
    --battleship-gray: hsl(82, 11%, 66%);
    --light-periwinkle: hsl(82, 100%, 89%);
    --maximum-blue-purple: hsl(86, 58%, 70%);

    --ff-poppins: "Poppins", sans-serif;

    --fs1: 36px;
    --fs2: 30px;
    --fs3: 22px;
    --fs4: 18px;
    --fs5: 16px;
    --fs6: 14px;

    --fw500: 500;
    --fw600: 600;

    --transition: .15s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

li { list-style: none; }

a { text-decoration: none; }

img, span, button, a, ion-icon { display: block; }

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

html {
    font-family: var(--ff-poppins);
    color: var(--white);
    
}

body { overflow-x: hidden; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--xiketic1); }
::-webkit-scrollbar-thumb { background: var(--new-purple); border-radius: 10px; }
::-webkit-scrollbar-thumb { height: 10px; background: var(--xiketic1); }

.container { padding: 30px 15px; padding-right: 8px; }

.btn-primary {
    background: var(--amaranth);
    color: var(--white);
    font-size: var(--fs6);
    font-weight: var(--fw500);
    text-transform: capitalize;
    padding: 12px 40px;
    border-radius: 25px;
    transition: var(--transition);
}

    .btn-primary:hover { --amaranth: hsl(82, 98%, 24%); }

.h1
{ font-weight: var(--fw500); line-height: 1.3; 
font-family: "Grape Nuts", cursive;}


.h2, .h3, .h5 { font-weight: var(--fw500); line-height: 1.3; 
}

    .h1 { font-size: var(--fs1); }
    .h2 { font-size: var(--fs2); }
    .h3 { font-size: var(--fs3); }
    .h5 { font-size: var(--fs5); font-weight: var(--fw500); }

main { background: var(--xiketic1); }

/*HEADER*/

header {
    position: relative;
    background: var(--xiketic1);
}

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.navbar {
    background: var(--purple-violet);
    position: fixed;
    bottom: 100%;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    box-shadow: 0 2px 5px hsla(0, 0%, 0%, .5);
    visibility: hidden;
    transition: var(--transition);
    z-index: 1;
}

    .navbar.active { transform: translateY(100%); visibility: visible; }
    .navbar .btn-primary { display: none; }

.navbar-link {
    width: max-content;
    color: var(--white);
    font-size: var(--fs6);
    font-weight: var(--fw500);
    padding: 10px 20px;
    border-radius: 8px;
}

    .navbar-link:hover { background: var(--new-purple); }

.nav-open-btn, .nav-close-btn {
    background: var(--white);
    color: var(--black);
    font-size: 30px;
    padding: 3px;
    border-radius: 8px;
}

    .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 15px;
    }

/*HERO*/

.hero {
    min-height: 80vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 0 130px;
}

.hero-title { margin-bottom: 50px; }

/*DOWNLOAD*/

.download { padding: 80px 0; }

.download-list {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 40px;
}

.download-link {
    max-width: 150px;
    color: var(--white);
    font-size: var(--fs4);
    text-align: center;
}

    .download-link ion-icon {
        margin: auto;
        font-size: 65px;
        margin-bottom: 15px;
    }

/*FEATURES*/

.features {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 60px;
}

.features-item:not(:last-child) { margin-bottom: 50px; }
.features-item-title { margin-bottom: 20px; }
.features-item-text { color: var(--light-periwinkle); }
.feature-banner { position: relative; }

.feature-banner-bg { 
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(calc(-50% - 3px));
    width: 125%;
}

.banner-img {
    position: relative;
    left: 5px;
    width: 100%;
    margin: auto;
}

/*OVERVIEW*/

.overview { padding: 80px 0; }

.overview-card {
    background: var(--xiketic1);
    border-radius: 12px;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, .5);
}

.overview-banner { padding: 40px 0; }

    .overview-banner img {
        width: 100%;
        max-width: 320px;
        margin: auto;
    }

.overview-content { padding: 0 25px 40px; }
.overview-title { margin-bottom: 20px; }
.overview-text { margin-bottom: 40px; color: var(--light-periwinkle); }

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .overview-item:not(:last-child) { margin-bottom: 20px; }
    .overview-item ion-icon { color: var(--amaranth); font-size: 20px; }
    .overview-item span { font-size: var(--fs6); width: calc(100% - 30px); }

/*BLOG*/

.blog { padding: 20px 0; }

.blog-title { text-align: center; margin-bottom: 120px; }

.testimonials { text-align: center; margin-bottom: 60px; margin-top: 60px;}

.blog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.blog-banner {
    position: relative;
    height: 250px;
	
	
    margin-bottom: 140px;
}

    .blog-banner img {
        width: 320px;
        
        object-fit: cover;
       text-align: center;
    }

    .blog-banner time {
        position: absolute;
        bottom: 220px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--amaranth);
        color: var(--white);
        font-size: var(--fs6);
        font-weight: var(--fw600);
        text-align: center;
        min-width: 130px;
        padding: 8px 0;
        border-radius: 20px;
    }

.blog-post-title { color: var(--white); margin-bottom: 10px; }
    .blog-post:hover .blog-post-title { text-decoration: underline; }

.blog-post-text {
    color: var(--silver-sand);
    font-size: var(--fs6);
    padding-right: 10px;
    padding-bottom: 20px;
}


/*FOOTER*/

footer { background: var(--xiketic2); }
    footer .container { padding: 80px 15px; }

.footer-brand { margin-bottom: 40px; }

    .footer-brand p {
        font-size: var(--fs6);
        font-weight: var(--fw500);
        margin-bottom: 20px;
    }

.footer-logo { margin-bottom: 30px; }

.social-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    color: var(--maximum-blue-purple);
    font-size: 20px;
}

    .social-link:hover { color: var(--white); }

.footer-link-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-item-title { margin-bottom: 20px; }

.footer-link {
    width: max-content;
    color: var(--maximum-blue-purple);
    font-size: var(--fs6);
    margin-bottom: 8px;
}

    .footer-link:hover { text-decoration: underline; }

.footer-btn-group > a { width: max-content; }
.footer-btn-group img:first-of-type { margin-bottom: 20px; }

.copyright {
    color: var(--maximum-blue-purple);
    padding: 20px 15px;
    text-align: center;
    font-size: var(--fs6);
    border-top: 1px solid hsla(240, 30%, 83%, .1);
}

/*GO-TOP*/

.go-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--amaranth);
    color: var(--white);
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, .5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease-in;
}
    .go-top:hover { --amaranth: hsl(349, 69%, 43%) }
    
    .go-top.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

/*MEDIA QUERIES*/

@media (min-width: 360px) {
    :root {
        --fs1: 42px;
        --fs2: 32px;
    }
}

@media (min-width: 450px) {
    :root {
        --fs1: 48px;
        --fs2: 36px;
        --fs3: 24px;
    }

    .feature-banner-bg { width: 150%; }

    .overview-content { padding: 0 40px 50px; }

    .blog-title { --fs2: 32px; }
    .blog-post-title { --fs3: 22px; }
}

@media (min-width: 600px) {
    :root {
        --fs1: 52px;
    }

    .container { max-width: 520px; margin: auto; }

    .blog-banner { height: 300px; }
    .blog-title { --fs2: 42px; }

    .footer-brand { margin-bottom: 40px; }
    .footer-link-box { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {

    .container { max-width: 700px; }

    .download-list {
        grid-template-columns: repeat(3, 1fr);
        max-width: fit-content;
        margin: auto;
        gap: 80px;
    }

    .features-item {
        max-width: 450px;
        margin-inline: auto;
        text-align: center;
    }

    .feature-banner-bg { width: 170%; }

    .blog-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {

    .container { max-width: 970px; }

    .navbar {
        position: static;
        visibility: visible;
        background: none;
        padding: 0;
        box-shadow: none;
    }

    .nav-open-btn, .nav-close-btn { display: none; }

    .navbar-list {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .navbar-link { position: relative; }
        .navbar-link:hover { background: none; }

        .navbar-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            background: transparent;
            width: 50%;
            height: 2px;
        }

            .navbar-link:hover::before { background: var(--white); }

    .navbar .btn-primary { 
        display: block;
        margin-left: 15px;
    }

    .hero { position: relative; }

    .hero-content { width: 50%; }

    .hero-banner {
        position: absolute;
        top: 50%;
        right: -100px;
        transform: translateY(-50%);
        background: url('../images/RelaxiaVerdinaHero.png') no-repeat;
        background-size: contain;
        width: 70%;
        padding-bottom: 50%;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 100px;
    }

    .features-list:first-child li { text-align: right; }
    .features-list:last-child li { text-align: left; }

    .overview-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .overview-banner img { max-width: 380px; }
    .overview-content { width: 55%; padding: 40px; }

    .blog-list { grid-template-columns: repeat(3, 1fr); }
    .blog-banner { height: 200px; }

    footer .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-link-box { grid-template-columns: repeat(4, 1fr); }
    .footer-btn-group { margin-left: 20px; }
}

@media (min-width: 1200px) {

    :root { 
        --fs1: 60px;
    }

    .container { max-width: 1140px; }

    .hero { padding-top: 120px; padding-bottom: 150px; }
    .hero-banner { top: 55%; right: -50px; }

    .blog { padding-bottom: 150px; }

    footer .container { padding: 100px 15px; }
}

/* SCROLL BAR */


/* SCROLL BARS */
 
/* width */
::-webkit-scrollbar {
  width: 16px;
}
 
/* Track */
::-webkit-scrollbar-track {
  background: #B9DF86;
   /*  border-radius: 10px; */
 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #78ae1a;
 
   
    /* border-radius: 10px; */
 
 /*   border-bottom-right-radius: 80px 80px; */
     border: solid 1px hsl(82, 74%, 39%);
}
 
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: hsl(82, 89%, 28%);
}


/* NOTES */


.note-position-1 {
  top: 150px;
  color: #B9DF86;
}

.note-position-2 {
  top: 180px;
  left: 50px;
  color: #B9DF86;
}

.note-position-3 {
  top: 160px;
  left: 100px;
  color: #B9DF86;
}

.note-position-4 {
  top: 155px;
  left: 75px;
  color: #B9DF86;
}

.animation-delay-1 {
  animation-delay: 1s;
}

.animation-delay-2 {
  animation-delay: 2s;
}

.note-amination {
  position: absolute;
  font-size: 35px;
  animation-name: notes;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  opacity: 0;
}

@keyframes notes {
  0% {
    font-size: 35px;
    opacity: 0; 
  }
  50% {
    opacity: 1; 
  }
  100% {
    font-size: 60px;
    margin-top: -150px;
    opacity: 0; 
  }
}



/* FLYIN */


.shape {
  font-family: 'playball', cursive;
  color: #fff;
  margin: .2em .35em .18em .19em;
  position: relative;
  text-align: center;
  padding: .4em 1em;
  width: auto;
  display: inline-block;
  line-height: 1.5;
  -webkit-transform: skew(0deg, -3deg);
  -ms-transform: skew(0deg, -3deg);
  transform: skew(0deg, -3deg);
  transition: all .5s;
  white-space: nowrap;

  &:before {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 80%;
    background: hsl(82, 100%, 87%);
    border-radius: 12px;
    -webkit-transform: skew(10deg);
    -ms-transform: skew(10deg);
    transform: skew(10deg);
  }
  &:after {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40%;
    background: hsl(82, 100%, 87%);
    border-radius: 12px;
    -webkit-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    transform: skew(-20deg);
  }
  // RWD
  font-size: 25px;
  @media screen and (min-width: 240px) {
    font-size: 10vw;
  }
  @media screen and (min-width: 370px) {
    font-size: 35px;
  }
  @media screen and (min-width: 768px) {
    font-size: 45px;
  }
  @media screen and (min-width: 992px) {
    font-size: 55px;
  }
}


/* TESTIMONIALS */

.testimonial-slider ul.slider {
   display: block;
   list-style: none;
   padding: 0;
   position: relative;
   display: inline-block;
   width: 100%;
   height: 350px;
   overflow: hidden;
   margin: 0 auto;
}

.testimonial-slider ul.slider li {
    position: absolute;
    display: block;
    width: 100%;
    opacity: 0;
    margin: 0 auto;
    text-align: center;
}
.testimonial-slider ul.slider li:nth-child(1) {
    opacity: 1;

    -webkit-animation: fade-animation-1 50s infinite;
            animation: fade-animation-1 50s infinite;
}
.testimonial-slider ul.slider li:nth-child(2) {
    -webkit-animation: fade-animation-2 50s infinite;
            animation: fade-animation-2 50s infinite;
}
.testimonial-slider ul.slider li:nth-child(3) {
    -webkit-animation: fade-animation-3 50s infinite;
            animation: fade-animation-3 50s infinite;
}
.testimonial-slider ul.slider li:nth-child(4) {
    -webkit-animation: fade-animation-4 50s infinite;
            animation: fade-animation-4 50s infinite;
}

.testimonial-slider q {
   display: inline-block;
   font: normal 700 30px / 1.25 "Raleway", Helvetica, Arial, Verdana, sans-serif;
   letter-spacing: .5pt;
   text-shadow: 0 5px 10px rgba(0,0,0,.1);
   max-width: 300ch;
   text-align: center;
}

.testimonial-slider .source {
    margin-top: 15px;
    color: #e8f8cb;
    font: italic 400 30px / 1.35 "Raleway", Helvetica, Arial, Verdana, sans-serif;
}

/* KEYFRAME DECLARATIONS */
@keyframes fade-animation-1 {
    0%, 25%, 100% {
        opacity:0
    }
    3%, 22% {
        opacity: 1;
    }
}
@keyframes fade-animation-2 {
    0%, 25%, 50%, 100% {
        opacity:0
    }
    28%, 47% {
        opacity: 1;
    }
}
@keyframes fade-animation-3 {
    0%, 50%, 75%, 100% {
        opacity:0
    }
    53%, 72% {
        opacity: 1;
    }
}
@keyframes fade-animation-4 {
    0%, 75%, 100% {
        opacity:0
    }
    78%, 97% {
        opacity: 1;
    }
}


@-webkit-keyframes fade-animation-1 {
    0%, 25%, 100% {
        opacity:0
    }
    3%, 22% {
        opacity: 1;
    }
}
@-webkit-keyframes fade-animation-2 {
    0%, 25%, 50%, 100% {
        opacity:0
    }
    28%, 47% {
        opacity: 1;
    }
}
@-webkit-keyframes fade-animation-3 {
    0%, 50%, 75%, 100% {
        opacity:0
    }
    53%, 72% {
        opacity: 1;
    }
}
@-webkit-keyframes fade-animation-4 {
    0%, 75%, 100% {
        opacity:0
    }
    78%, 97% {
        opacity: 1;
    }
}



 /* Change 100px to match your header's height */
  scroll-padding-top: 100px; 
  scroll-behavior: smooth;
  
}

html {
  /* Default offset for desktop */
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    /* Smaller offset for a shorter mobile menu */
    scroll-padding-top: 70px;
  }
}

/* AGUA */

.bubbles{
    width:160px;
    padding-left:20px;
    position:absolute;
    bottom:0;
    margin-left:-90px;
    left:50%;
    display:inline-block;
}

.bubble{
    -webkit-animation:short-bubble 1500ms linear infinite;
    animation:short-bubble 1500ms linear infinite;
    -webkit-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
    height:10px;
    width:9px;
    border:1px solid rgba(240,240,240,0.5);
    border-radius:50%;
}

.b2{
    -webkit-animation:medium-bubble 5000ms linear infinite;
    animation:medium-bubble 5000ms linear infinite;
    -webkit-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
    margin-left:-7px;
    margin-top:25px;
    height:13px;
    width:12px;
}

.b3{
    -webkit-animation-duration:3500ms;
    animation-duration:3500ms;
    margin-left:-5px;
    margin-bottom:10px;
}

.b4{
    -webkit-animation-duration:2000ms;
    animation-duration:2000ms;
    -webkit-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
    margin:0 0 40px -9px;
    height:7px;
    width:6px;
}

.b5{
    -webkit-animation:medium-bubble 3000ms linear infinite;
    animation:medium-bubble 3000ms linear infinite;
    -webkit-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
    margin-left:-1px;
    margin-top:100px;
    height:5px;
    width:4px;
}

.b6{
    -webkit-animation-duration:3000ms;
    animation-duration:3000ms;
    margin-left:-8px;
    margin-bottom:50px;
}

.b7{
    -webkit-animation-duration:6000ms;
    animation-duration:6000ms;
    margin-left:-3px;
    margin-bottom:50px;
    height:7px;
    width:6px;
}

.b8{
    -webkit-animation:medium-bubble 2000ms linear infinite;
    -webkit-animation-fill-mode:forwards;
    animation:medium-bubble 2000ms linear infinite;
    animation-fill-mode:forwards;
    margin-left:-13px;
    margin-bottom:30px;
}

@-webkit-keyframes short-bubble{
    0%{ -webkit-transform:translate3d(5px, 0, 0);opacity:0; }
    13%{ -webkit-transform:translate3d(2px, -20px, 0); opacity:1; }
    20%{ -webkit-transform:translate3d(5px, -40px, 0) scale(1.2); }
    30%{ -webkit-transform:translate3d(0, -60px, 0); }
    40%{ -webkit-transform:translate3d(8px, -80px, 0); }
    50%{ -webkit-transform:translate3d(3px, -100px, 0); }
    60%{ -webkit-transform:translate3d(8px, -120px, 0); }
    70%{ opacity:0.4; }
    80%, 100%{ -webkit-transform:translate3d(0,-200px, 0); opacity:0; }
}

@keyframes short-bubble{
    0%{ transform:translate3d(5px, 0, 0);opacity:0; }
    13%{ transform:translate3d(2px, -20px, 0); opacity:1; }
    20%{ transform:translate3d(5px, -40px, 0) scale(1.2); }
    30%{ transform:translate3d(0px, -60px, 0); }
    40%{ transform:translate3d(8px, -80px, 0); }
    50%{ transform:translate3d(3px, -100px, 0); }
    60%{ transform:translate3d(8px, -120px, 0); }
    70%{ opacity:0.4; }
    80%, 100%{ transform:translate3d(0,-200px, 0); opacity:0; }
}

@-webkit-keyframes medium-bubble{
    0%{ -webkit-transform:translate3d(0, 0, 0); opacity:0;}
    5%{ -webkit-transform:translate3d(4px, -20px, 0); opacity:1;}
    10%{ -webkit-transform:translate3d(2px, -40px, 0) rotate(10deg); }
    20%{ -webkit-transform:translate3d(7px, -80px, 0) rotate(14deg) scale(0.7); }
    30%{ -webkit-transform:translate3d(5px, -120px, 0) rotate(15deg); }
    40%{ -webkit-transform:translate3d(1px, -160px, 0) rotate(20deg); }
    50%{ -webkit-transform:translate3d(2px, -200px, 0) rotate(18deg) scale(1.1); }
    60%{ -webkit-transform:translate3d(-3px, -240px, 0) rotate(22deg); opacity:0.4; }
    100%{ -webkit-transform:translate3d(0, -400px, 0); opacity:0; }
}

@keyframes medium-bubble{
    0%{ transform:translate3d(0, 0, 0); opacity:0;}
    5%{ transform:translate3d(4px, -20px, 0); opacity:1;}
    10%{ transform:translate3d(2px, -40px, 0) rotate(10deg); }
    20%{ transform:translate3d(7px, -80px, 0) rotate(14deg) scale(0.7); }
    30%{ transform:translate3d(5px, -120px, 0) rotate(15deg); }
    40%{ transform:translate3d(1px, -160px, 0) rotate(20deg); }
    50%{ transform:translate3d(2px, -200px, 0) rotate(18deg) scale(1.1); }
    60%{ transform:translate3d(-3px, -240px, 0) rotate(22deg); opacity:0.4; }
    100%{ transform:translate3d(0, -400px, 0); opacity:0; }
}


