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

body {
  overflow-x: hidden !important;
  width: 100vw;
}

/* Estilo base para la barra de desplazamiento */
::-webkit-scrollbar {
  width: 10px; /* Ancho de la barra de desplazamiento */
}

/* Estilo del riel de la barra de desplazamiento */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color del fondo del riel */
}

/* Estilo del pulgar de la barra de desplazamiento */
::-webkit-scrollbar-thumb {
  background: linear-gradient(30deg,#f9eb24 , #009067); /* Degradado vertical de dos colores */
  border-radius: 5px; /* Borde redondeado del pulgar */
}


p {
  font-size: 19px !important;
}

td {
  font-size: 18px;
}

.noticias h3 {
  padding-bottom: 5vh;
  padding-top: 10vh;
}

.insta-grid {
  display: inline-flex;
  margin-left: 10vw;
  margin-right: 10vw;
}

.insta-grid iframe {
  width: 80vw;
  height: 70vh;
  overflow: hidden !important;
  border: 0;
  border-radius: 10px;
  transition: all 0.3s;
}

.insta-grid iframe:hover {
  transform: scale 1.1;
  box-shadow: 10px black;
}


@media only screen and (max-width:560px){
  .insta-grid {
    display: flex;
    flex-direction: column;
  }
  .insta-grid iframe {
    height: 45vh;
  }
}

.tituloportada {
  margin-top: -10vh !important;
  font-size: 45px !important;
}

@media only screen and (max-width:1199px){
  .tituloportada {
    margin-top: 15vh !important;
    font-size: 35px !important;
  }
}

.noticias {
  text-align: center;
}

.news-container {
  display: grid;
  margin-left: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
  justify-items: center;
}

.news_title {
  margin-left: 10vw;
  margin-right: 10vw;
}

.new {
  width: 25vw;
  margin-bottom: 10vh;
  margin-top: 10vh;
  border-radius: 15px;
  border: 2px solid #8f8f8f;
  transition: all 0.75s;
  text-align: center;
  padding: 10px;
}

.new:hover {
  transform: scale(1.05);
}

.new img {
  width: 20vw;
  object-fit: cover;
}

.new h4 {
  color: #4d4d4d;
}

.new a {
  display: inline-block;
}

.img-news {
  height: 60vh;
}

@media only screen and (max-width:991px){
  .news-container {
    display: block;
    margin-left: 5vw;
    text-align: center;
  }

  .new {
    width: 80vw;
    padding: 30px;
    margin-left: 5vw;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .new img {
    width: 60vw;
  }

  .img-news {
    height: 30vh;
  }
}

.texto-oculto p {
  font-size: 18px;
}

/* Estilo para el encabezado de cada sección */
.texto-principal {
    cursor: pointer;
}

/* Estilo para el ícono de la flecha */
.flecha {
    transition: transform 0.3s;
}

/* Estilo para el texto oculto */
.texto-oculto {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

/* Estilo para el párrafo dentro del texto oculto */
.texto-oculto p {
    margin: 10px 0;
}

/* Estilo para la sección activa */
.texto-oculto.active {
    max-height: 2000px; /* Un valor grande para garantizar que se muestre todo el contenido */
}

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

.read-more {
  display: inline-block;
}

.text {
  flex: 1;
  width: 30vw;
}

.text p {
  padding-top: 10vh;
}

.about-image {
  width: 40vw;
}

@media only screen and (max-width:991px) {
  .about-image {
    width: 80vw;
    margin-left: 5vw;
  }
  .about-container {
    flex-direction: column;
  }
  .text {
    width: 80vw;
    padding-left: 5vw;
  }
}

.nosaltres {
  padding-top: 20vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-left: 5vw;
  margin-right: 5vw;
}

.nosaltres-intro {
  display: flex;
  padding-top: 10vh;
  padding-bottom: 15vh;
}

.nosaltres-intro img {
  display: inline-block;
  width: 45vw;
}
.nosaltres-intro p {
  display: inline-block;
  width: 40vw;
  margin-right: 5vw;
}

@media only screen and (max-width: 1199px) {
  .nosaltres-intro {
    display: flex;
    flex-direction: column;
  }
  .nosaltres-intro img {
    width: 80vw;
    display: block;
  }
  .nosaltres-intro p {
    width: 80vw;
    display: block;
  }
}



/*Categories subpáginas*/

.categories-detalls {
  text-align: center;
}

.coach-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 20vh;
}

.delegat-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.equip-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.coach {
  transition: all 0.5s;
}

.coach:hover {
  transform: scale(1.075);
}

.porter {
  transition: all 0.5s;
}

.porter:hover {
  transform: scale(1.075);
}

.equip {
  transition: all 0.5s;
}

.equip:hover {
  transform: scale(1.075);
}

.delegat {
  transition: all 0.5s;
}

.delegat:hover {
  transform: scale(1.075);
}

.categories-detalls img {
  width: 15vw;
  margin-left: 5vw;
  margin-right: 5vw;
}

.categories-detalls h3 {
  margin-top: 15vh;
}

.categories-detalls h6 {
  margin-top: 2.5vh;
}


@media only screen and (max-width:991px) {
.categories-detalls img {
  width: 70vw;
  }
}

.team-member {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 60vh;
  margin-bottom: 15vh;
}

.team-member-img {
  width: 17.5vw;
  display: inline-block;
}

.team-member-text {
  margin-left: 10vw;
  display: inline-block;
  width: 50vw;
  text-align: left;
}


@media only screen and (max-width:991px) {

  .team-member {
    display: block;
    height: 115vh;
    width: 100vw;
    padding-right: 10vw;
  }

  #andreu-azaustre {
    height: 150vh;
  }

  .team-member-img {
    width: 80vw;
    margin-bottom: 7.5vh;
  }

  .team-member-text {
    width: 80vw;
    text-align: center;
    padding-right: 5vw;
  }

}
