/* --------------------------------------------------------
version: 1.0
last modified: 10/2025
author: Ruben Alcaraz
email: ralcaraz@ub.edu
website: https://www.rubenalcaraz.es
----------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}
html, body {
  scrollbar-width: auto;
  scrollbar-color: #7f1537 #f1f1f1;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 0;
}
body{font-family:'Lato',Helvetica,Arial,sans-serif;}
/*Tipografia*/
h1,h2,h3,h4,h5,h6{font-family: 'Merriweather', Georgia, serif;font-weight:700;}
h2{font-size: 2.5rem;}
p{letter-spacing: 0.1px;}
.w300{font-weight:300;}
.w300i{font-weight:300;font-style:italic;}
.w400i{font-weight:400;font-style:italic;}
.w700{font-weight:700;}
.w700i{font-weight:700;font-style:italic;}
.w900{font-weight:900;}
.w900i{font-weight:900;font-style:italic;}
.fs18{font-size:1.23rem;}
.fs24{font-size:1.5rem;}
.fs50{font-size:3.125rem;}
.main-title {
font-size:10vw;
  line-height: 1.1 !important;
}
.titol-responsive{font-size:6.5vw !important;}
.titol-responsive-mini{font-size:4.5vw !important;}
 @media (max-width: 568px) {
   .titol-responsive-mini{font-size:35px !important;}
   h2{font-size: 1.5rem;}
}
.bio{
  background-color:#f7f7f7;
}
.marca{
  border: 2.5px solid #99264d;
  margin-bottom: 35px;
}
.bloque-destacado{background-color:rgb(247, 247, 247);padding:50px;}
  @media (max-width: 568px) {
    .bloque-destacado{padding:20px;}
}
.color-change {
  animation: colorChange 0s forwards;
}

@keyframes colorChange {
  to {
    color: #7f1537;
  }
}
.menu{font-family: 'Merriweather', Georgia, serif;font-weight:700;font-size:1.2rem;}
.menu:focus{color: #001133;
  text-decoration: none;
  border-bottom: 3px solid #7f1537;
    padding-bottom: 7px;}
.second-title{font-size:2.5vw;font-family: 'Merriweather', Georgia, serif;font-weight:700;}
@media (max-width: 990px) {
  .expo-section {
    .second-title{font-size:3.2vw;}
  }
}
  @media (max-width: 568px) {
  .expo-section {
    .second-title{font-size:3.8vw;}
    .second-title{font-size:1.5rem;}
  }
  }
::-moz-selection {color:#fff;background:#7f1537;}
::selection{color:#fff;background:#7f1537;}
a.text-link {
  box-shadow: inset 0 -2px #7f1537;
  padding-bottom: 2px;
  color: #000;
  text-decoration: none;
  transition: color .25s ease-in-out,background .25s ease-in-out;
}
a.text-link:hover, a.text-link:focus {
  background-color: #7f1537;
  color:#fff;
}
.seleccionat{
  text-decoration: none !important;
  border-bottom: 3px solid #7f1537 !important;
  padding-bottom: 8px !important;
}
footer{
  margin-top: 150px !important;
    background-image: linear-gradient( 180deg, #7f1537 0%, rgba(172, 25, 72, 1) 100% ) !important;
}
#saltarcontenido a {padding:6px;position: absolute;top:-40px;left:0px;color:white;border-right:1px solid #001133;border-bottom:1px solid #001133;border-bottom-right-radius:8px;background-image: linear-gradient( 180deg, rgba(127, 21, 55, 1) 0%, rgba(172, 25, 72, 1) 100% ) !important;-webkit-transition: top 1s ease-out, background 1s linear;transition: top 1s ease-out, background 1s linear;z-index: 100;}
#saltarcontenido a:focus {position:absolute;left:0px;top:0px;background-image: linear-gradient( 180deg, rgba(127, 21, 55, 1) 0%, rgba(172, 25, 72, 1) 100% );outline:0;-webkit-transition: top .1s ease-in, background .5s linear; transition: top .1s ease-in, background .5s linear;}
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.text-white-shadow {
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.section-1 {
  background-image: url('../img/agullo-posseidores.jpg');
}
.section-2 {
  background-image: url('../img/pimentel-posseidores.jpg');
}
.section-3 {
  background-image: url('../img/bassecourt-posseidores.jpg');
}
.section-4 {
  background-image: url('../img/canal-posseidores.jpg');
}
.section-5 {
  background-image: url('../img/desbosc-posseidores.JPG');
}
.section-6 {
  background-image: url('../img/morell-posseidores.jpg');
}
.section-7 {
  background-image: url('../img/nola-posseidores.jpg');
}
.section-8 {
  background-image: url('../img/posseidores-josefa-clairac.jpg');
}
.section-9 {
  background-image: url('../img/posseidores-teresa-prat.jpg');
}
.section-10 {
  background-image: url('../img/rosa-ravella-posseidores.jpg');
}
.section-11 {
  background-image: url('../img/raimunda-tord-posseidores.jpg');
}
.section-12 {
  background-image: url('../img/rosa-trulles-posseidores.jpg');
}

.bg-custom {
  --bs-bg-opacity: 1;
  background-color: rgba(172, 25, 72, 0.4) !important;
}
.custom-hr {
  border: 0;
  border-top: 2px solid #7f1537;
  margin: 1rem 0;
}
/* imatge interactiva viquiprojecte */
  .contenedor {
    max-width: 900px;
    margin: auto;
    text-align: center;
  }
  .contenedor-imagen {
    position: relative;
    width: 100%;
  }
  .contenedor-imagen img {
    width: 100%;
    display: block;
  }

  .zona {
    position: absolute;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(127, 21, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
  }

.zona:focus {
    outline: 2px solid #0d6efd;
    border-radius: 4px;
  }
  .zona:hover {
    transform: scale(1.2);
  }
  .zona span {
    color: white;
    font-weight: bold;
    pointer-events: none;
  }
  #contenido {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
  }
  #contenido img {
    max-width: 100%;
    display: block;
    margin: 10px auto;
  }
.enquesta-divider{margin-top: 125px !important;}
    .highcharts-figure,
            .highcharts-data-table table {
                font-family: "Lato", sans-serif !important;
                color: #000000;
                min-width: 310px;
                max-width: 800px;
                margin: 1em auto;
            }

            #marques,
            #data {
                height: 400px;
            }
.highcharts-title{
  font-family: 'Merriweather', Georgia, serif;font-weight:700;
}
/* Bootstrap rewrite */
.custom-pagination .page-link {
  background-color: white;
  color: #7f1537;
  border: 1px solid #7f1537;
  transition: all 0.3s ease;
}
.custom-pagination .page-link:hover,
.custom-pagination .page-link:focus {
  background-color: #7f1537;
  color: #fff !important;
  border-color: #7f1537;
  outline: none;
}

.btn-custom{
  background-color: #7f1537;
  color: #fff !important;
  border-color: #7f1537;
  border-width: 2px;
  outline: none;
  font-weight: 400;
}
.btn-custom:hover{
  background-color: #fff;
  color: #7f1537 !important;
  border-color: #7f1537;
  outline: none;
}

.btn-outline-secondary {
  --bs-btn-border-color: none !important;
  --bs-btn-hover-bg: #ffffff !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #fff !important;
  --bs-btn-active-border-color: #fff !important;
}
.nav-link {
    text-decoration: none;
    border-bottom: 3px solid transparent;
    display: inline-block;
    color: inherit;
    transition: border-bottom 0.3s ease;
}
.nav-link:hover {
    border-bottom: 3px solid #7f1537;
    color: #7f1537 !important;
}
.link-footer:hover{
  text-decoration: none;
}
.navbar-toggler {
    border-color: #7f1537;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%237f1537' stroke-width='4' stroke-linecap='butt' stroke-miterlimit='10' d='M2 6h28 M2 16h28 M2 26h28'/%3E%3C/svg%3E");
}
.navbar-nav {
  gap: 0.6rem !important;
}
.expo-section {
  height: 100vh;
  min-height: 100vh;
  z-index: 0;
}
.expo-section .background-image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.5;
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
  pointer-events: none;
}
.expo-section .row {
  position: relative;
  z-index: 0;
  background-color: transparent;
  padding: 1rem;
  color: black;
}
.offcanvas, .offcanvas-header, .offcanvas-body{
  background-color: white !important;
  z-index: 1055 !important;
  position: fixed !important;
}
@media (max-width: 1200px) {
  .expo-section {
    height: auto;
    min-height: auto;
    padding-bottom: 2rem;
    z-index: 0;
  }
  .expo-section .background-image {
    height: 40vh;
    bottom: auto;
    top: 0;
  }
}
@keyframes fadeInToHalfOpacity {
  from { opacity: 0; }
  to { opacity: 0.5; }
}
.background-image {
  animation: fadeInToHalfOpacity 3s forwards;
}
.card-hover {
  transition: all 0.3s ease-in-out;
  position: relative;
}
.card-hover:hover, .card-hover:focus, .card-hover:active {
  box-shadow: 15px 15px 0px #7f1537;
  transform: translate(-3px, -3px);
  z-index: 2;
}
.card-img{
  filter: brightness(0.7) contrast(1.2) saturate(1.1);
}
.card-img2{
  filter: brightness(0.4) contrast(1.2) saturate(1.1);
}
.card-home:hover, .card-home:focus{
  font-weight:600;
  font-size: 1.15rem;
}
.card-home:hover .w400i,
.card-home:focus .w400i {
  font-weight: inherit !important;
  font-size: inherit !important;
}
.offcanvas {
  z-index: 1055 !important;
}
header, .expo-section, main, footer {
  z-index: 0 !important;
  position: relative;
}
/*flechas carrusel*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #000 !important;
}