@font-face {
    font-family: 'PixelFont';
    src: url('fonts/pixelfont.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    src: url('fontsRroboto-bold.ttf') format('truetype'),
         url('fonts/Roboto.ttf') format('truetype');
}
@media (max-width: 768px) {
    .section-header {
        height: 180px; /* Reduim mida en pantalles petites */
    }

    .section-title {
        font-size: 1.8rem;
    }
}
:root {
    --primary-color: #040B11;
    --hover-color: #5a636c;
    --text-color: #21E786;
    --white: #fff;
}
body {
    font-family: 'PixelFont', sans-serif;
    font-size: 25px;
    background-color: var(--primary-color);
    color: var(--text-color);
}


h1, p {
    margin: 0;
    padding: 10px 0;
}

p {
  font-size: 30px;
}
.socials-logo {
  text-decoration: none;
  color: inherit; /* Mantiene el color predeterminado del texto */
  text-decoration: none;
}
.parallax-play {
  height: 100vh;
}
.p-play {
  font-size: 40px;
}
.title-play{
  font-size: 60px;
  font-weight: 700;
}
.separador {
  padding-top: 100px;
}
.separador-med {
  padding-top: 75px;
}

.separador-mini {
  padding-top: 50px;
}

.link {
  text-decoration: none;
  color: inherit;
}

.section-header {
    width: 100%;
    height: 250px;
    background-image: url('img/monza.jpg');
    background-size: cover; /* Escala la imatge per cubrir tot el header */
    background-position: center;
    display: flex; /* Alinear el contingut */
    justify-content: center; /* Centrar horizontalment el titul */
    align-items: center; /* Centrar verticalment el titul */
    text-align: center;
    color: white;
    font-family: 'PixelFont', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative; /* Necessari per al pseudo-element del fons negre difuminat */
}

/* Pseudo-element fons negre difuminat */
.section-header::before {
    content: ''; /* Crea un pseudo-element buit */
    position: absolute; /* Posicionar el difuminat sobre el header */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Ajustar el título para que esté por encima del pseudo-elemento */
.section-title {
    position: relative; /* Asegurar que el titul està sobre el difuminar */
    font-size: 5rem;
    z-index: 2;
    text-transform: uppercase;
}
/* Inici menu */
.menu-container {
    height: 45px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 35px;
    max-height: 100%;
    object-fit: contain;
}

.menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
    padding: 0;
    gap: 20px;
}

.menu-item {
    font-size: 30px;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.menu-item:hover {
    color: var(--hover-color);
}


/*Inici parallax*/
.parallax {
    background-image: url('img/parallax1.jpg'); /* Cambia por tu imagen */
    min-height: 300px; /* Ajusta según lo necesario */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.content {
    background: rgba(255, 255, 255, 0.8); /* Fondo semitransparente para mejor legibilidad */
    padding: 30px;
    border-radius: 10px;
}
.text-container {
    min-height: 300px; /* Coincide con el alto del parallax */
    display: flex;
    align-items: center;
    justify-content: center;
}
/*
.parallax {
    height: 100vh;
    width: 100%;
    background-image: url('img/parallax1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content {
    padding: 20px;
    background-color: var(--white);;
    text-align: center;
}*/
/*Final parallax*/
/* Inici our team */
.rol-team{
  font-weight: 700;
}
.nom-team {
  color: #fff;
  font-weight: 700;
}
.team {
  font-family: 'Roboto', sans-serif;;
}
.contenedor-team {
  display: flex;
  justify-content: center;
  align-items: center;
}
.foto-team {
  width: 655px;
  height: 655px;

}
.logo-team {
  padding-right: 1rem;
}
.link {
    text-decoration: none;
}

.link-team {
  color: var(--white);;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.link .logo-team {
    color: var(--text-color);
}

.text-personal-about{
  padding-right: 1.5rem;
  text-align: justify !important;
}

/* Final our team */
