 body {
    font-family: Roboto, Arial;
    }

    .container{
      max-width: 1200px;
    }


body, p {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;

}

.avatar-md {
    height: 2.5rem;
    width: 2.5rem;
}
.avatar {
    display: inline-block;
    position: relative;
}

.icon-lg svg {
  color: #669aba;
}

input.form-control {
    height: 4rem;
    font-family: 'Outfit';
    font-size: 1.1rem;
    border: 2px solid #0d6efd52;
    border-radius: 0;
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}


h1.corpo-morat,
h2.corpo-morat,
h3.corpo-morat,
h4.corpo-morat,
h5.corpo-morat,
h6.corpo-morat {
  color: #669aba !important;
}

h1.corpo-groc,
h2.corpo-groc,
h3.corpo-groc,
h4.corpo-groc,
h5.corpo-groc,
h6.corpo-groc {
  color: #fff0d5!important;
}



p.corpo-groc {
  color: #fff0d5!important;
}

.corpo-morat {
  color: #669aba;
}

.corpo-groc {
  color: #fff0d5!important;
}

.corpo-salmo {
  color: #e63534;
}

.corpo-verd {
  color: #00563f;
}



.bg-corpo-morat {
  background-color: #669aba;
}

.bg-corpo-groc {
  background-color: #fff0d5;
}

.bg-corpo-salmo {
  background-color: #e63534;
}

.bg-corpo-verd {
  background-color: #00563f;
}

.navbar-brand:focus, .navbar-brand:hover {
  color: #fff0d5!important;
}

.navbar-brand {

  color: #fff0d5!important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.icon-shape {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}

.icon-md {
    height: 2.5rem;
    line-height: 2.5rem;
    width: 2.5rem;
}

.icon-xl {
    height: 3.5rem;
    line-height: 3.5rem;
    width: 3.5rem;
}

.icon-lg {
    height: 3rem;
    line-height: 3rem;
    width: 3rem;
}

.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: #f5f5f5;
}

.border-bottom {
    border-bottom: 1px solid #f0e2e5 !important;
}

.border-top {
    border-top: 1px solid #f0e2e5 !important;
}

.fons-quadres {
background-color: #669aba;
  background-image: repeating-linear-gradient( 0deg, rgba(230, 53, 52, 0.46) 0px, rgba(230, 53, 52, 0.69) 1px, transparent 1px, transparent 150px ), repeating-linear-gradient( 90deg, rgba(230, 53, 52, 0.69) 0px, rgba(239, 126, 98, 0.5) 1px, transparent 1px, transparent 150px );
  margin-top: -15rem;
  padding-top: 19rem;
      /* background-position: 55px 28px; */
}

/* Contenidor centrat */
.compartir-xarxes {
  display: flex;
  justify-content: center; /* centra horitzontal */
  align-items: center;     /* centra vertical */
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.logo-menu {
  max-width: 35px; 
  margin-right: 0.4rem; 
  margin-top: -3px; 
  text-transform: uppercase;
}

/* Estil comú */
.boto-xarxa {
  display: flex;
  align-items: center;
  justify-content: center; /* centra contingut dins botó */
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  min-height: 50px;       /* uniformitat */
}

/* Fons corporatiu inicial */
.boto-xarxa.telegram { background-color: #0088cc; }
.boto-xarxa.whatsapp { background-color: #25d366; }
.boto-xarxa.x { background-color: #000000; }

/* Hover: fons blanc + text i border del color corporatiu */
.boto-xarxa.telegram:hover {
  background-color: #ffffff;
  color: #0088cc;
  border: 2px solid #0088cc;
}
.boto-xarxa.whatsapp:hover {
  background-color: #ffffff;
  color: #25d366;
  border: 2px solid #25d366;
}
.boto-xarxa.x:hover {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

/* Icones */
.boto-xarxa i {
  font-size: 1.2rem;
  color: inherit;
}

/* Logo X com a imatge */
.boto-xarxa .logo-x {
  width: 15px;
  height: 15px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Canvi de logo X en hover */
.boto-xarxa.x:hover .logo-x {
  content: url('logo-x-negre.png');
}

.contenidor-correu {
  display: flex;
  justify-content: center;
  gap: 1rem; /* equivalent a gap-4 aproximadament */
}

/* Estils per a tots els enllaços de la web */
a {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #e63534;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

a:hover {
    color: #00563f;
    text-decoration-thickness: 3px;
}


/* Color per a totes les icones SVG */
.icon-lg svg {
    color: #e63534;
}

/* --- BOTONS CORPORATIUS --- */

/* Botó principal: fons morat, text salmó */
.btn-corpo-morat {
  background-color: #669aba;
  border: 2px solid #669aba;
  color: #e63534;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
}

/* Botó contorn morat: fons transparent, text morat */
.btn-corpo-outline-morat {
  background-color: transparent;
  border: 2px solid #669aba;
  color: #669aba;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
}

/* Botó contorn salmó */
.btn-corpo-outline-salmo {
  background-color: transparent;
  border: 2px solid #e63534;
  color: #e63534;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  padding: 0.75rem 4rem;
}

/* Botó secundari: fons salmo, text morat */
.btn-corpo-salmo {
    background-color: #e63534;
    border: 2px solid #e63534;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    padding: 1rem 2rem;
    /*text-shadow: 1px 1px 3px #5a2020;*/
}

a.btn-corpo-salmo {
    background-color: #e63534;
    border: 2px solid #e63534;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    padding: 1rem 2rem;
    /*text-shadow: 1px 1px 3px #5a2020;*/
}

/* --- Hover botó corpo-morat --- */
.btn-corpo-morat:hover,
.btn-corpo-morat:focus {
  color: #fff0d5;
    background-color: #669aba;
  border: 2px solid #669aba;

}

/* --- Hover botó corpo-salmo --- */
.btn-corpo-salmo:hover,
.btn-corpo-salmo:focus {
  color: #669aba;
    background-color: #fff0d5;
  border: 2px solid #fff0d5;

}

a.btn-corpo-salmo:hover,
a.btn-corpo-salmo:focus {
  color: #669aba;
    background-color: #fff0d5;
  border: 2px solid #fff0d5;

}

/* --- Estil general navbar --- */
.navbar .nav-link,
.navbar .dropdown-toggle,
.navbar .dropdown-item {
  color: #fff0d5 !important;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Hover i focus --- */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #fff !important;
  background-color: transparent;
}

/* --- Menú desplegable --- */
.navbar .dropdown-menu {
  background-color: #3c2c4a;
  border: none;
}

.text-block {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-block h1,
.text-block p {
  width: 100%;
  max-width: 100%;
}



    section{padding: 5rem 0rem; overflow: hidden}

    .form-control {
    min-height: 3rem;
    }
    .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-size: 0.8rem;
    line-height: 1.7;
    }



    @media (max-width: 768px) {


      .text-block h1{
    width: 100%;
    max-width: 100%;
    font-size: 1.6rem;
}


.text-block p {

    font-size: 1.1rem;
}


.logo-menu {
  max-width: 28px!important; 
  margin-right: 0.3rem; 
  margin-top: -3px; 
  text-transform: uppercase;
}

.navbar-brand.color-corporatiu-groc {
  font-size: 0.8rem!important;
}
    
    section{padding: 5rem 0rem}
    .scroller.row {
    overflow: auto;
    white-space: nowrap;
    display: block;
    margin-bottom: -2rem;
    }
    .scroller>div {
    display: inline-block;
    white-space: initial;
    width: 75%;
    padding-bottom: 2rem;
    }
    }


@media (min-width: 768px) {
        .border-end-md {
        border-right: 1px solid #f0e2e5 !important;
    }
  }