@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300&display=swap');
/* @import url('https://fonts.cdnfonts.com/css/blueberry'); */
/* @import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap'); */
:root {
    --color-white: #fff;
    --color-body: #f1f1e9;
    --color-mainGreen: #36A465;
}

* {
    /* font-family: 'Roboto Condensed', sans-serif; */
    /* font-family: 'Blueberry', sans-serif; */
    /* font-family: 'Caveat', cursive; */
    font-family: 'Rancho', cursive;
    /* font-family: 'Pacifico', cursive; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    /* font-size: 20px; */
    font-family: 'Roboto Condensed', sans-serif;
}

strong {
    font-family: 'Roboto Condensed', sans-serif;
}

body {
    height: 100%;
    margin: 0;
    background-color: var(--color-body);
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navigation {
    background-color: var(--color-white);
    padding: 10px;
}
/* .logo { TODO: Si es fa aixó, cal mirar per pixels, ja que queda molt junt si es petit.
    margin-left: 30%;
} */
.logo a img {
    width: 75px;
    height: 75px;
}

.links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding-right: 15px;
    /* margin-right: 30%; TODO: Si es fa cal mirar tambe logo, o sino, centrar al mitg els links. */
}

.links li {
    list-style: none;
}
.links a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.links a:hover {
    color: var(--color-mainGreen);
    /* font-weight: bold; */
    transform: scale(1.2)
}

.toggleMobile {
    display: none;
    z-index: 999;
}
.mobileBurgerIcon {
    width: 35px;
    height: 35px;
}
.closeIcon {
    width: 35px;
    height: 35px;
}

@media only screen and (max-width: 768px) {
    .links {
        display: none;
        padding-right: 0px;
    }
    .links.active {
        display: flex;  
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-white);
        z-index: 999;
    }
    .links.active li a {
        font-size: 20px;
    }
    .logo a img { 
        width: 50px;
        height: 50px;
    }
    .toggleMobile {
        display: flex;
    } 
    .mobileBurgerIcon {
        display: flex;
    }
    .mobileBurgerIcon.hide {
        display: none;
    }
    .closeIcon {
        display: none;
    }
    .closeIcon.active {
        display: flex;
    }
}
/* END NAVBAR */
/* HEADER BANNER */
.headerBanner {
    height: 800px;
    max-width: 100%;
}
.headerBanner img {
    width: 100%;
    /* height: auto; */
    max-height: 800px;
    display: block;
}
.headerBanner_container {
    position: relative;
    display: block;
    text-align: center;
}
.headerBanner_title {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--color-white);
    opacity: 0;
    animation: slideIn 1s ease-out forwards;
}
.headerBanner_title p {
    font-style: italic;
    font-size: 30px;
}

.headerBanner_icons_container {
    display: flex;
    gap: 20px;
    position: absolute;
    top: 30%; 
    left: 46.5%;
    opacity: 0;
    animation: bannerIconsSlideIn 1s ease-out forwards;
}

.headerBanner_icons_container img {
    width: 70px;
    height: 70px;
}
.headerBanner_text1 {
    position: absolute;
    top: 50%; /* Posición vertical del texto en el 50% superior del contenedor */
    left: 50%; /* Posición horizontal del texto en el 50% izquierdo del contenedor */
    transform: translate(-50%, -50%); /* Centrar el texto en el medio del contenedor */
    color: white; /* Color del texto */
    font-size: 60px; /* Tamaño del texto */
    font-weight: bold;
}
.headerBanner_text2 {
    position: absolute;
    top: 60%; /* Posición vertical del texto en el 50% superior del contenedor */
    left: 50%; /* Posición horizontal del texto en el 50% izquierdo del contenedor */
    transform: translate(-50%, -50%); /* Centrar el texto en el medio del contenedor */
    color: white; /* Color del texto */
    font-size: 60px; /* Tamaño del texto */
    font-weight: bold;
}

@media (max-width: 768px) { /* Puedes ajustar el valor "768px" según tus necesidades */
    .headerBanner {
      height: auto;
      width: 100%;
    }
    .headerBanner img {
        height: 400px;
        width: 100%;
    }
    .headerBanner_title {
        font-size: 35px;
    }
    .headerBanner_icons_container img{
        width: 35px;
        height: 35px;
    }
    .headerBanner_icons_container { 
        top: 9%; 
        left: 34%;
        animation: bannerIconsSlideInSmall 1s ease-out forwards;
    }
  }

  @media screen and (min-width: 769px) and (max-width: 960px) {
    .headerBanner {
        height: auto;
        width: 100%;
    }
    .headerBanner_title {
        font-size: 30px;
    }
      .headerBanner img {
          height: 400px;
          width: 100%;
    }
      .headerBanner_icons_container img{
        width: 45px;
        height: 45px;
    }
    .headerBanner_icons_container { 
        top: 17%; 
        left: 44.5%;
        animation: bannerIconsSlideInMedium 1s ease-out forwards;
    }
  }
  @keyframes slideIn {
    to {
        left: 50%; 
        opacity: 1; 
    }
  }
  @keyframes bannerIconsSlideIn {
    to {
        left: 43.5%;
        opacity: 1; 
    }
  }
  @keyframes bannerIconsSlideInSmall{
    to {
        left: 31%;
        opacity: 1; 
    }
  }
  @keyframes bannerIconsSlideInMedium {
    to {
        left: 38.5%;
        opacity: 1; 
    }
  }
/* END HEADER BANNER */

/* QUI SOM */
@keyframes slidy {
    0% {
      left: 0%;
    }
    20% {
      left: 0%;
    }
    25% {
      left: -100%;
    }
    45% {
      left: -100%;
    }
    50% {
      left: -200%;
    }
    70% {
      left: -200%;
    }
    75% {
      left: -300%;
    }
    95% {
      left: -300%;
    }
    100% {
      left: -400%;
    }
  }

.quisom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.quisom_container {
    text-align: center;
    margin-top: 90px;
    width: 100%;
}
.quisom h2 {
    font-size: 40px;
}
/* .quisom img {
    margin-top: 40px;
    margin-left: 300px;
    width: 700px;
    height: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
} */
.quisom h3 {
    font-size: 40px;
    color: var(--color-mainGreen);
}

@keyframes slideIn_quisom_content {
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes slideIn_quisom_image {
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

.quisom_image_content {
    display: flex;
    align-items: center;
    text-align: start;
    justify-content: center;
    gap: 60px
}
.quisom_content {
    width: 350px;
    opacity: 0;
    transform: translateX(70%);
}

.quisom_parragraph_animation {
    animation: slideIn_quisom_content 1s forwards;
}

.custom-hr {
    position: relative;
    height: 1px;
    background-color: green;
    margin: 20px 0;
  }
  
  .hr-text {
    position: absolute;
    top: -25px;
    left: 50%;
    background-color: var(--color-body);
    padding-left: 30px;
    padding-right: 30px;
    transform: translateX(-50%); 
  }

  .quisom_slider_container {
    opacity: 0;
    transform: translateX(-70%);

    overflow: hidden;
    display: block;
    text-align: center;
    width: 600px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  }

  .quisom_slider_animation {
    animation: slideIn_quisom_content 1s forwards;
  }

  .quisom_slider_non_animation {
    opacity: 1;
    transform: translateX(0%);
  }

  .quisom_slider_container figure img {
    width: 600px;
    float: left;
    height: auto;
    object-fit: cover;
  }
  .quisom_slider_container figure {
    height: auto;
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 30s slidy infinite;
  }

  .quisom_video {
    text-align: center;
  }

  .video {
    margin-top: 3%;
    width: 1600px;
    height: 900px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  }

  @media (max-width: 768px) {
    
    .quisom h2 {
        font-size: 30px;
        padding-left: 3px;
        padding-right: 3px;
    }
    .quisom h3 {
        font-size: 30px;
    }
    /* .quisom img {
        margin-top: 10px;
        margin-left: 0px;
        height: 230px;
        width: 350px;
    } */
    .quisom_slider_container {
        margin-top: 10px;
        width: 350px;
    }

    .quisom_slider_container figure img {
        width: 350px;
    }

    .quisom_container {
        text-align: center;
        margin-top: 20px;
    }
    .quisom_image_content{
        display: flex;
        flex-direction: column;
        gap: 0px
    }
    .quisom_content {
        margin-top: 30px;
    }

    .video {
        width: 350px;
        height: 230px;
    }
  }
  @media screen and (min-width: 769px) and (max-width: 960px) { 
    /* .quisom img {
        margin-top: 10px;
        margin-left: 13%;
        height: 230px;
        width: 350px;
    } */
    .quisom_slider_container {
        width: 350px;
    }

    .quisom_slider_container figure img {
        width: 350px;
    }
    
    .video {
        width: 750px;
        height: 400px;
    }
  }
/* END QUI SOM */

/* GOOGLE REVIEWS */
.googleReviews {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}
.reviewsContent {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 40px;
}

.reviewsContent img {
    width: 50px;
    height: 50px;
}

.review {
    padding: 20px;
    width: 300px;
    /* background-color: aqua; */
    display: flex;
    gap: 20px;
    border-radius: 25px;
    border: 3px solid var(--color-mainGreen);
    background-color: var(--color-white);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.review a {
    text-decoration: none;
    color: var(--color-mainGreen);
}

.makeReview a {
    border-radius: 25px;
    padding: 15px;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-mainGreen);
}

.makeReview a:hover {
    background-color: rgba(54, 164, 101, 0.8);
}

.makeReview a img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(100%) sepia(94%) saturate(0%) hue-rotate(221deg) brightness(105%) contrast(105%);
}

.reviewName {
    font-size: 25px;
    font-weight: bold;
}

.rate img {
    width: 30px;
    height: 30px;
    /* animation: colorChange 1s linear forwards; */
}

.rate_animation {
    animation: colorChange 1s linear forwards;
}

.rate img:nth-child(1) {
    animation-delay: 0.2s;
}

.rate img:nth-child(2) {
    animation-delay: 0.4s;
}

.rate img:nth-child(3) {
    animation-delay: 0.6s;
}

.rate img:nth-child(4) {
    animation-delay: 0.8s;
}

.rate img:nth-child(5) {
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes colorChange {
    0%{
        transform: scale(1.2);
        filter: invert(44%) sepia(100%) saturate(270%) hue-rotate(93deg) brightness(100%) contrast(95%);
    }
    100% {
        filter: invert(44%) sepia(100%) saturate(270%) hue-rotate(93deg) brightness(100%) contrast(95%);
    }
}

@media only screen and (max-width: 768px) {
    .reviewsContent {
        flex-direction: column;
    }
}

@media screen and (min-width: 769px) and (max-width: 960px) {
    .reviewsContent {
        gap: 15px;
    }
}
/* END GOOGLE REVIEWS */

/* PRE FOOTER */
.prefooter {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-mainGreen);
    height: 200px;
    width: 100%;
    margin-top: 40px;
    text-align: center;
}
.prefooter_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}
.prefooter_content h4 {
    font-size: 25px;
}
.prefooter_content p {
    margin-top: 20px;
    padding-left: 3px;
    padding-right: 3px;
}
.prefooter_content img {
    width: 40px;
    height: 40px;
    margin-top: 10px;
    filter: invert(100%);
}

.bell_animation {
    display:block;
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 4px;
  }
  
  @-webkit-keyframes ring {
    0% { -webkit-transform: rotateZ(0); }
    1% { -webkit-transform: rotateZ(30deg); }
    3% { -webkit-transform: rotateZ(-28deg); }
    5% { -webkit-transform: rotateZ(34deg); }
    7% { -webkit-transform: rotateZ(-32deg); }
    9% { -webkit-transform: rotateZ(30deg); }
    11% { -webkit-transform: rotateZ(-28deg); }
    13% { -webkit-transform: rotateZ(26deg); }
    15% { -webkit-transform: rotateZ(-24deg); }
    17% { -webkit-transform: rotateZ(22deg); }
    19% { -webkit-transform: rotateZ(-20deg); }
    21% { -webkit-transform: rotateZ(18deg); }
    23% { -webkit-transform: rotateZ(-16deg); }
    25% { -webkit-transform: rotateZ(14deg); }
    27% { -webkit-transform: rotateZ(-12deg); }
    29% { -webkit-transform: rotateZ(10deg); }
    31% { -webkit-transform: rotateZ(-8deg); }
    33% { -webkit-transform: rotateZ(6deg); }
    35% { -webkit-transform: rotateZ(-4deg); }
    37% { -webkit-transform: rotateZ(2deg); }
    39% { -webkit-transform: rotateZ(-1deg); }
    41% { -webkit-transform: rotateZ(1deg); }
  
    43% { -webkit-transform: rotateZ(0); }
    100% { -webkit-transform: rotateZ(0); }
  }
  
  @-moz-keyframes ring {
    0% { -moz-transform: rotate(0); }
    1% { -moz-transform: rotate(30deg); }
    3% { -moz-transform: rotate(-28deg); }
    5% { -moz-transform: rotate(34deg); }
    7% { -moz-transform: rotate(-32deg); }
    9% { -moz-transform: rotate(30deg); }
    11% { -moz-transform: rotate(-28deg); }
    13% { -moz-transform: rotate(26deg); }
    15% { -moz-transform: rotate(-24deg); }
    17% { -moz-transform: rotate(22deg); }
    19% { -moz-transform: rotate(-20deg); }
    21% { -moz-transform: rotate(18deg); }
    23% { -moz-transform: rotate(-16deg); }
    25% { -moz-transform: rotate(14deg); }
    27% { -moz-transform: rotate(-12deg); }
    29% { -moz-transform: rotate(10deg); }
    31% { -moz-transform: rotate(-8deg); }
    33% { -moz-transform: rotate(6deg); }
    35% { -moz-transform: rotate(-4deg); }
    37% { -moz-transform: rotate(2deg); }
    39% { -moz-transform: rotate(-1deg); }
    41% { -moz-transform: rotate(1deg); }
  
    43% { -moz-transform: rotate(0); }
    100% { -moz-transform: rotate(0); }
  }
  
  @keyframes ring {
    0% { transform: rotate(0); }
    1% { transform: rotate(30deg); }
    3% { transform: rotate(-28deg); }
    5% { transform: rotate(34deg); }
    7% { transform: rotate(-32deg); }
    9% { transform: rotate(30deg); }
    11% { transform: rotate(-28deg); }
    13% { transform: rotate(26deg); }
    15% { transform: rotate(-24deg); }
    17% { transform: rotate(22deg); }
    19% { transform: rotate(-20deg); }
    21% { transform: rotate(18deg); }
    23% { transform: rotate(-16deg); }
    25% { transform: rotate(14deg); }
    27% { transform: rotate(-12deg); }
    29% { transform: rotate(10deg); }
    31% { transform: rotate(-8deg); }
    33% { transform: rotate(6deg); }
    35% { transform: rotate(-4deg); }
    37% { transform: rotate(2deg); }
    39% { transform: rotate(-1deg); }
    41% { transform: rotate(1deg); }
  
    43% { transform: rotate(0); }
    100% { transform: rotate(0); }
  }
/* END PRE CONTACT */

/* FOOTER */
.footer {
    background-color: var(--color-body);
    width: 100%;
}
.footer_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.socials {
    display: flex;
    gap: 70px;
}
.socials img {
    width: 40px;
    height: 40px;
}
.socials img:hover {
    filter: invert(52%) sepia(34%) saturate(708%) hue-rotate(93deg) brightness(97%) contrast(94%);
}
.info_content {
    margin-top: 50px;
    display: flex;
    gap: 30px;
}
.info {
    text-align: start;
}
.googleMap {
    height: 300px;
}

.credits {
    margin-top: 3%;
    padding-left: 3px;
    padding-right: 3px;
}


@media (max-width: 768px) {
    .googleMap {
        height: 230px;
        width: 230px;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .info {
        margin-left: 10px;
    }
    .info h3 {
        font-size: 15px;
    }

    .info_content {
        gap: 5px;
    }
}
/* END FOOTER */
