/* menu tres barritas */
.menu-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Botó de les 3 barres */
.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 4px;
  background-color: black;
  border-radius: 2px;
}

/* Fons del menú desplegable */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Ocult per defecte */
  justify-content: center;
  align-items: center;
  z-index: 1500;
}

/* Contenidor del menú */
.menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Disposició 2x2 */
  gap: 15px; /* Espai entre botons */
  background-color: rgba(255, 255, 255, 0.5); /* Fons semi-transparent */
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 400px;
  margin-bottom: 500px;
  padding-bottom: 100px ;
  border-radius: 15px;
  width: 500px; /* Fent-lo responsive */
  max-width: 400px; /* Amplada màxima */
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Botons del menú */
.menu-item {
  padding: 10px;
  background-color: #4a4a4a;
  color: white;
  border: none;
  border-radius: 10px; /* Vores arrodonides */
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Jersey 25";
  font-size:25px;
  /* Mida igual per a botons quadrats */
  aspect-ratio: 1 / 1;
  width: 100%;
}


.menu-item:hover {
  background-color: #333333;
}

/* Botó de tancar el menú */
.close-button {
  position: absolute;
  top: 0.1px;
  right: 20px;
  font-size: 80px;
  color: black;
  cursor: pointer;
}


a {
  text-decoration: none; /* Treu el subratllat */
  color: inherit; /* Utilitza el mateix color que el text al voltant */
}

/* styles.css */
body {
    margin: 0;
    height: 100vh;
    background: repeating-linear-gradient(
        -20deg,         /* Anglació de la línia */
        lightgray,        /* Color del primer tram */
        lightgray 300px,  /* Fi del primer tram (amplada més gran) */
        #bfbfbf 300px,  /* Inici del segon tram */
        #bfbfbf 600px   /* Fi del segon tram */
    );
    font-family: "Jersey 25";
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    font-family: "Jersey 25";
    color: black;
}

.title {
  margin-top:100px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 5px 0 #fff; /* Sombra blanca perpendicular */
}

.image-container {
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-left: 20px;
    margin-right: 10px;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
}

.description {
    text-align: justify;
    line-height: 1.6;
    margin-left: 70px;
    margin-right: 70px;
}
