@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Saira+Stencil+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');
* {
    transition: all 0.3s ease;
}

body{
        margin: 0%;
        background-color:white;
    }








    .head {
    background: rgba(39, 33, 27, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);        height: 80px;
        text-align: left;
        align-items: left;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        color: #c68d43;
        display: flex;
        vertical-align: middle;
      

        
    }
.head h1{
  text-shadow: 0px 0px 0px black;
  align-items: center;
  text-align: center;
  align-content:center;
  font-size: 30px;
}
    .head .buttons {
      width:80%;
      float:right;
        align-content:center;
        color: white;
        text-decoration: none;
        font-style: normal;
        font-family: sans-serif;
        font-weight: 600;
    }
    .head img{
      height: 90px;
    }
    .head .buttons a {
      float:right;
        align-items: center;
        text-align: center;
        align-content:center;
        color: white;
        text-decoration: none;
        font-style: normal;
        vertical-align: middle;
      width: 100px;
      min-width:fit-content;
      height: 100%;
      
    }
.head .buttons a:hover {
    background-color:#3d3934;
  
  
}
.his{
              background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('https://esportiumaresme.cat/wp-content/uploads/2021/03/50-Lliga-2017-1.jpg');


}
.ini{
              background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('./portada.jpg');


}

    .pres {

    background-size: cover;
    background-attachment: fixed;
    }
    .pres h1 {
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        align-items: center;
        text-align: center;
        align-content:center;
        text-shadow: 0px 0px 20px #27211b;
        color:#c68d43;
        font-size:70px;
        font-weight: 100;
        animation: fadeIn 1.5s ease-out;
    }
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    .pres p {

        font-family: sans-serif;
        text-shadow: 0px 0px 10px black;
        text-align: center;
        color: white;
        font-size: 20px;
        margin-left: 20%;
        margin-right: 20%;
        font-weight: bold;
        background-color:rgba(0,0,0,0.5);
        border-radius:10px;
          border: 10px;
        border-color:rgba(0,0,0,0.5);
    }

 .bgcontact{
    background-color: white;
    height: fit-content;
 }
    .contacte {
        font-family: sans-serif;
        color: white;
        font-style: normal;
        width: 90%;
        
      }
      .flex {
        display: flex;
        
        
      }
 .unflex {
    display: flex;
        flex-direction: column;
 }




.aaa {
    background: linear-gradient(145deg, #1e1e1e, #292929); /* Fondo oscuro con degradado */
    border: 3px solid #c68d43; /* Borde tenue */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Sombra ligera */
    padding: 20px; /* Espaciado interno */
    color: white; /* Color del texto */
    text-align: center; /* Centrado del texto */
    font-family: 'Roboto', sans-serif; /* Fuente moderna */
    justify-content: space-between; /* Espaciado uniforme */
    align-items: center; /* Centrado vertical */
    width: 100%; /* Ocupar todo el ancho del contenedor */
    max-width: auto; /* Limitar el tamaño máximo */
    margin: 10px auto; /* Centrar en el contenedor con margen automático */
    box-sizing: border-box; /* Incluir padding en el tamaño total */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transiciones suaves */
}

.aaa:hover {
    transform: translateY(-10px); /* Movimiento hacia arriba al pasar el ratón */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5); /* Sombra más pronunciada */
}

.aaa h1 {
    font-family: 'Montserrat', sans-serif; /* Fuente llamativa para títulos */
    color: #c68d43; /* Color dorado */
    font-size: 1.5em; /* Tamaño adecuado */
    margin-bottom: 10px; /* Espaciado inferior */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Sombra en el texto */
}

.aaa p {
    font-size: 1em; /* Tamaño del texto */
    line-height: 1.6; /* Espaciado entre líneas */
    color: #cccccc; /* Color gris claro */
    margin: 10px 0; /* Espaciado superior/inferior */
}












   
      .center {
        text-align: center;
        align-items: center;
        align-content: center;
      }
            .right {
        text-align: right;
        align-items: right;
        align-content: right;
      }
            .left {
        text-align: left;
        align-items: left;
        align-content: left;
      }
.spacing {
          margin: 10px;
          margin-top: 10px;
          margin-bottom: 10px;
          height: 1px;

}
.margin {
  margin-left: 5%;
        margin-right: 5px;
}
      .contacte h1 {
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-weight: 100;
        font-size: 30px;
      }

      .img {
        position: relative;
        left: -70px;
        top: 570px;
        height: 200px;
        }

      

    
      .contacte p{
        
        font-family: sans-serif;
        color:white;
        text-decoration: none;
        font-style: normal;
        

      }
      .contacte br{
        height: 4px;
      }
.title {
    background-color: #1f1f1f; /* Fondo más oscuro para mayor contraste */
    font-family: 'Montserrat', sans-serif; /* Fuente más moderna y elegante */
    color: #c68d43; /* Mantener el color dorado destacado */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5); /* Sombra más suave */
    padding: 15px 20px; /* Agregar algo de espacio interno */
    text-align: center; /* Centrar contenido */
    border-radius: 10px; /* Bordes ligeramente redondeados */
    margin-bottom: 20px; /* Espaciado inferior para separar secciones */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efectos suaves */
}

.title:hover {
    transform: translateY(-5px); /* Movimiento hacia arriba al pasar el ratón */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6); /* Sombra más pronunciada */
}

.title h1 {
    font-size: 50px; /* Aumentar el tamaño para mayor presencia */
    font-weight: 700; /* Hacerlo más grueso para destacar */
    text-transform: uppercase; /* Texto en mayúsculas para impacto visual */
    color: #c68d43; /* Color dorado más vibrante */
    letter-spacing: 2px; /* Espaciado entre letras para elegancia */
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5); /* Sombra en el texto */
    margin: 0; /* Eliminar márgenes */
    line-height: 1.2; /* Ajustar el espaciado entre líneas */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Transiciones suaves */
}

.title h1:hover {
    color: #ffc107; /* Cambiar el color al pasar el ratón */
    text-shadow: 3px 6px 6px rgba(0, 0, 0, 0.7); /* Sombra más intensa */
}

      .foot {
        background-color:#27211b;
        border-bottom:none;
        color:white;
        height:fit-content;
        font-family: sans-serif;
        font-weight: bold;
        display: flex;
        flex-flow: row;
        align-content: center;
        width: 100%;
        align-items: center;
        align-self: center;
        ruby-align: center;
        
      }
      .foot .colab {
        width: fit-content;
        margin: 20px;
        display: flex;
      }
      .foot .colab a {
        margin: 5px;
        margin-left: 5px;
        height: fit-content;
        background-color: #c68d43;
        border-radius: 20px;
      }
      .foot .colab img{
        height: 100px;
      }

      .foot .colab a:hover{
        background-color: white;
      }

      .footflex {
        display: flex;
      }
      .foot p{
        margin: 7px;
        
      }

      .map {
        width:90% ;
        height:90% ;
        border:0; 
        
        border-radius: 20px;
        box-shadow: 0px 0px 10px white;
      }


.categories .aaa{
  height: fit-content;
  vertical-align: middle;
}
.categories .aaa h1{
  font-size: 40px;

}
.categories .aaa p{
  vertical-align: middle;
  align-items: center;
  align-content: center;
  text-align: center;
  -ms-text-size-adjust: auto;
}
.social {
  height: fit-content;
  background-color: #27211b;
}
.social i{
  margin: 3px;
}
.social a{
  color: #c68d43;
  height: fit-content;
  background-color: #27211b;
}
.social a:hover{
  height: fit-content;
  background-color: #3d3934;
}
.foot .colab .social a,.foot .colab .social a:hover{
  background-color: #27211b;
}

.form form {
  text-align: center;
  margin: 20px; height: 100%;
}
.form input{ 
  height: 18%; color: #27211b;
  text-align: center;
  color: white;
  font-size: 30px;
  background-color: #3d3934;
  border-radius: 15px;
  border-width: 0cap;
  border-style: hidden;

}
.form textarea{
  height: 40%;
  text-align: center;
  color: white;
  font-size: 30px;
  background-color: #3d3934;
  border-radius: 15px;
  border-width: 0cap;
  border-style: hidden;

}

.form button{
  margin-left: 20%; margin-right: 20%; height: 18%; font-family: sans-serif;
  text-align: center;
  font-size: 39px;
  background-color: #c68d43;
  border-radius: 15px;
  border-width: 0cap;
  border-style: hidden;

}

.partits {
    width: 90%;
    margin: 0 auto; /* Centrar la tabla */
    font-family: 'Roboto', sans-serif; /* Fuente moderna */
    align-items: center;
    align-content: center;
    text-align: center;
    border-spacing: 0; /* Eliminar espacios entre celdas */
    overflow-x: auto; /* Permitir desplazamiento horizontal en pantallas pequeñas */
}
.partits button {
    padding: 10px 20px; /* Espaciado interno */
    font-family: 'Montserrat', sans-serif; /* Fuente elegante */
    font-size: 1em; /* Tamaño del texto */
    color: #ffffff; /* Texto blanco */
    background: linear-gradient(135deg, #c68d43, #e2a963); /* Gradiente dorado */
    border: none; /* Sin borde */
    border-radius: 25px; /* Bordes completamente redondeados */
    cursor: pointer; /* Indicar que es interactivo */
    transition: all 0.3s ease; /* Transición suave */
    margin: 5px; /* Espaciado entre botones */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Sombra para elevar el botón */
}
.partits button:hover {
    background: linear-gradient(135deg, #e2a963, #c68d43); /* Gradiente invertido al pasar el ratón */
    transform: translateY(-3px); /* Mover ligeramente hacia arriba */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada */
}

.partits button:active {
    background: #c68d43; /* Color sólido al hacer clic */
    transform: translateY(1px); /* Mover hacia abajo */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Sombra más pequeña */
}
.partits .active {
    background: #27211b; /* Fondo oscuro para botón activo */
    color: #c68d43; /* Texto dorado */
    border: 2px solid #c68d43; /* Borde dorado */
}
.partits table{
    border-radius: 10px;
 border-collapse: collapse;
  width: 100%;
    align-items: center;
  align-content: center;
  text-align: center;
}
.partits thead{
  font-size: 45px;
}
.partits tbody tr {
    transition: all 0.3s ease;
}
.partits tbody{
  font-size: 20px;
}
.partits tbody .category{
  font-size: 30px;
  color: #c68d43;
}
.partits tbody .team{
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 30;
}
.partits tbody .result{}
.partits tbody .date{}

.partits .category{width: 20%}
.partits .team{width: 20%}
.partits .result{width: 20%}
.partits .date{width: 20%}
.partits tr {
  border-radius: 10px;
  margin-top: 10px;
}
.this-week {
  background-color: #27211b;
  border-radius: 10px;
  
}
.this-week .team,.this-week .result,.this-week .date {
  color: white;

}
.winner {
  background-color: #d4edda; /* Verde claro */

}

.lose {
  background-color: #ff6061;
}


@media screen and (min-width: 1457px) {
.follow{
  position: fixed;
  width: 100%;
  margin-top: 0px;
  margin-top: -85px;
    z-index: 1000;
}
.pc{
  margin-top: 85px;
}
}








.header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: white;
  right: 10px;
  top: 10px;
  border-radius: 5px;
  border-style: solid;
  border-color: #c68d43;
  border-width: 2px;
    z-index: 1000;
}


.nav {
  display: none; /* Por defecto el menú está oculto */
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  font-family: impact;
  text-decoration: none;
  color: white;
  font-size: 38px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f0a500;
}

/* Botón del menú */
.menu-toggle {
  transition: transform 0.3s ease;
  background: none;
  border: none;
  color: white;
  font-size: 44px;
  cursor: pointer;
  display: none; /* Ocultar en escritorio */
}

/* Mostrar el menú en dispositivos móviles */













    @media screen and (max-device-width: 1456px) {

      .form form{
        height: 500px; width: 90%; 
      }
      .flex, .unflex, .aaa, .foot {
        display: flex;
            flex-direction: column;
     }
     .head, .right, .left {
      text-align: center;
      align-items: center;
      align-content: center;
    }
    .head h1{font-size: 30px;}
    .pres h1{font-size: 70px;}
    .pres p{font-size: 20px;}
    .contacte h1{font-size: 30px;}
    .title h1{font-size: 40px;}
    .aaa{height: fit-content;}
    .map {height: 600px;}
        

}





@media screen and (max-device-width: 800px) {
      .partits button {
        
        font-size: 50pxem; /* Ajustar tamaño del texto */
    }
    .menu-toggle {
    display: block; /* Mostrar el botón en móviles */
  }

  .nav {
    font-family: "teko";
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #333;
    border-radius: 5px;
    padding: 10px;
    width: 400px;
    border-style: solid;
    border-color: #c68d43;
    border-width: 2px;
  }

  .nav.hidden {
        font-family: "teko";
display: flex; /* Volver a ocultar cuando el estado cambia */
  }
  .head, .flex, .unflex, .aaa, .foot{
       font-family: "teko";
 display: flex;
        flex-direction: column;
 }
 .head, .right, .left {
      font-family: "teko";
text-align: center;
  align-items: center;
  align-content: center;
}
    .head h1{font-size: 75px; margin: 0%;    font-family: "teko";      font-weight: 400;

}
    .pres h1{visibility: hidden;    font-family: "teko";      font-weight: 400;

}
    .pres p{font-size: 30px; margin: 5%;}
    .contacte h1{font-size: 50px;    font-family: "teko";      font-weight: 400;

}
    .title h1{font-size: 75px;    font-family: "teko";      font-weight: 400;

}
.partits button, .form button {
    background: linear-gradient(135deg, #c68d43, #e2a963);
    color: white;
    transition: all 0.3s ease;
}
.partits button:hover, .form button:hover {
    background: linear-gradient(135deg, #e2a963, #c68d43);
    transform: scale(1.1);
}
.partits button, .partits{
        font-family: "teko";
      font-weight: 400;
    }
.aaa{
    padding: 5px;
  height: fit-content;
  font-size: 20px;
}
.aaa h1{
      font-family: "teko";
      font-weight: 400;
}
.map {height: 600px;}
.pres br {visibility: hidden; height: 0;}
.pres {height: fit-content;}

.head {height: fit-content;}
.head img{height: 150px;margin: 0%;}
.head .buttons{visibility: hidden;}
p{
  font-size: 23px;
  line-height: 23px;
}

}









/* PALMARÉS - ESTILOS MEJORADOS */
.palmares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Ajuste flexible de columnas */
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
  grid-auto-rows: min-content; /* Las filas se ajustan a la altura mínima del contenido */
  grid-auto-flow: dense; /* Evita los huecos entre elementos */

}

.palmares-card {
  text-align: center;
  padding: 30px 25px;
  background: #27211b;
  border-radius: 15px;
  border: 2px solid #c68d43;
  margin-bottom: 25px;
  min-height: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.palmares-card:hover {
  transform: translateY(-7px);
}

.trofeo-icon {
  font-size: 2.8em;
  color: #c68d43;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.palmares-card h2 {
  font-family: 'Teko', sans-serif;
  color: #c68d43;
  font-size: 2em;
  margin: 0 0 25px 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.years-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: auto;
}

.year {
background: linear-gradient(145deg, #ffd70033, #ffd70022); /* Gradiente dorado */
  color: #ffd700; /* Texto dorado */
  padding: 8px 22px;
  border-radius: 25px;
  border: 1px solid #ffd70055; /* Borde dorado */
  font-family: 'Saira Stencil One', cursive;
  font-size: 1.1em;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.year:hover {
  background: #c68d4333;
  transform: scale(1.05);
}



.yearsec {
  background: linear-gradient(145deg, #c0c0c033, #c0c0c022); /* Gradiente plateado */
  color: #c0c0c0; /* Texto plateado */
  padding: 8px 22px;
  border-radius: 25px;
  border: 1px solid #c0c0c055; /* Borde plateado */
  font-family: 'Saira Stencil One', cursive;
  font-size: 1.1em;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.yearsec:hover {
  background: #c68d4333;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .palmares-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .palmares-card {
    padding: 25px 20px;
    min-height: auto;
    margin-bottom: 0;
  }
  
  .trofeo-icon {
    font-size: 2.2em;
  }
  
  .palmares-card h2 {
    font-size: 1.7em;
    margin-bottom: 20px;
  }
  
  .year {
    font-size: 1em;
    padding: 6px 18px;
  }
    .yearsec {
    font-size: 1em;
    padding: 6px 18px;
  }
}

@media (max-width: 480px) {
  .years-container {
    gap: 8px;
  }
  
  .year {
    padding: 5px 15px;
  }
    .yearsec {
    padding: 5px 15px;
  }
}














.fusion-highlight h2,
.fusion-highlight h3 {
    color: #f0a500;
    font-family: 'Teko', sans-serif;
    font-size: 2.5em;
    text-transform: uppercase;
    margin: 10px 0;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
}

.fusion-highlight {
    background: linear-gradient(135deg, #1e1e1e, #27211b);
    border: 2px solid #c68d43;
    border-radius: 15px;
    padding: 15px;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.8s ease-out;
}

.fusion-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaciado reducido */
    position: relative;
}

.fusion-logos .logo {
    height: 100px;
    width: auto;
    object-fit: contain; /* Mantiene las proporciones originales */
    border: 2px solid transparent;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.fusion-logos .logo:hover {
    transform: scale(1.05);
}

.fusion-logos .fusion-line {
    width: 90px;
    height: 5px;
    background: linear-gradient(135deg, #f0a500, #c68d43, #f0a500);
    transform: rotate(75deg); /* Inclinación de la línea */
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

/* Animación de aparición */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}




























/* Sección destacada para el subequipo */
.subteam-highlight {
    background: linear-gradient(135deg, var(--primary-bg, #1e1e1e), var(--secondary-bg, #27211b));
    border: 3px solid var(--accent-color, #c68d43);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
    text-align: center;
    color: var(--text-color, #ffffff);
}

.subteam-highlight .subteam-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.subteam-highlight .subteam-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    border: 3px solid var(--accent-color, #c68d43);
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subteam-highlight .subteam-logo:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(255, 255, 0, 0.6);
}

.subteam-highlight h2 {
    font-family: 'Teko', sans-serif;
    font-size: 2.5em;
    color: var(--accent-color, #f0a500);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
}

.subteam-highlight p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.subteam-highlight a.subteam-button {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Teko', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #1e1e1e;
    background: var(--accent-color, #f0a500);
    border-radius: 50px;
    border: none;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.subteam-highlight a.subteam-button:hover {
    background: #c68d43;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
}

/* Variables personalizables para cambiar colores fácilmente */
:root {
    --primary-bg: #1e1e1e; /* Fondo principal */
    --secondary-bg: #27211b; /* Fondo secundario */
    --accent-color: #c68d43; /* Color de acento (bordes, botones) */
    --text-color: #ffffff; /* Color del texto */
}
