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

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

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');


body {
  background: #FAF9F6;
  color:#333;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
	padding: 80px 40px 0 40px;;
  overflow-x: hidden;
}

.noise::before{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    content: "";
    opacity: .05;
    z-index: 1000;
    pointer-events: none;
    background: url(noise.gif) ;
}

::-moz-selection {
 background: #FF00FF80;
}
:selection {
  background: #FF00FF80;
}

#container {
	  filter: url(#filter-noise);
}

h1, h2, h3, h4, p {
	font-size: 1.2rem;
	font-weight: 400;
}

.censura {
  font-family: "Redacted", system-ui;
  font-weight: 400;
  font-style: normal;
	font-size: 2rem;
  line-height: 2.1rem;
}

a {
	color:#333;
	text-decoration: none;
}

.caixa {
	border-bottom: solid 2px;
	transform: rotate(0.3deg);
}

em {
	text-decoration: underline;
}

subratllat {
      position: relative;
  }

subratllat::before {
      /* Highlight color */
      background-color: #FFFF00;
      content: "";
      position: absolute;
      width: calc(100% + 4px);
      height: 60%;
      left: -2px;
      bottom: 0;
      z-index: -1;
      transform: rotate(-1deg);
  }

  subratllat2 {
        position: relative;
    }

  subratllat2::before {
        /* Highlight color */
        background-color: #FFFF00;
        content: "";
        position: absolute;
        width: calc(100% + 11px);
        height: 80%;
        left: 2px;
        bottom: 7px;
        z-index: -1;
        transform: rotate(3deg);
    }

    subratllat3 {
          position: relative;
      }

    subratllat3::before {
          /* Highlight color */
          background-color: #FFFF00;
          content: "";
          position: absolute;
          width: calc(100% + 7px);
          height: 90%;
          left: 5px;
          bottom: 3px;
          z-index: -1;
          transform: rotate(-3deg);
      }

.flex {
	display: flex;
	flex-direction: row;
	gap: 40px;
	justify-content: space-between;
	align-items: flex-end;
}

.caixa_1 {
	line-height: 1.3rem;
	transform: rotate(-0.3deg);
}

.caixa_2 {
	width: 60px;
	fill: #333;
	margin-bottom: -20px;
}

.contingut {
  display: flex;
	flex-direction: row;
	gap: 40px;
	margin: 40px 0;
}

.text {
	width: 70%;
	transform: rotate(-0.3deg);
}

.imatge {
	margin-top: 15px;
	width: 30%;
	background: #FAF9F6;
	transform: rotate(0.3deg);
}

.peu_image {
	transform: rotate(-2deg);
	font-size: 0.8rem;
}

.halftone{
	aspect-ratio: 1;
  position: relative;
  overflow: hidden;
	mix-blend-mode: multiply;
	opacity: 0.77;
}

.halftone1 {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  filter: contrast(2000%);
}

.halftone2 {
  position: absolute;
  top: -50%;
  left: -50%;
  bottom: -50%;
  right: -50%;
  background: radial-gradient( circle at center, hsl(0, 0%, 13%), hsl(0, 0%, 110%) );
    background-size: auto;
  background-size: 3px 3px; /* dot size */
  transform: rotate(20deg);
}

.halftone3 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url('foto.jpeg');
    background-size: auto;
  background-size: cover;
	  background-position: center;
  filter: grayscale(1) brightness(80%) contrast(80%);
	mix-blend-mode: hard-light;
}

.llistat {
	margin: 40px 0;
}

/* table */
thead {
	border-bottom: 4px solid;
	transform: rotate(0.3deg);
}
table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #FAF9F6;
  border-bottom: 1px solid #333;
  padding: .35em;
	transition: background 0.2s linear;
}

tr:nth-child(3) {
	 transform: rotate(0.1deg);
}

table tr:last-child {
	border-bottom: 0px solid;
	transform: rotate(-0.3deg);
}

thead tr:hover {
  background: #FAF9F6;
	cursor: default;
}

/*
tr:hover {
  background: #E1E0DE;
	transition: background 0.2s linear;
	cursor: crosshair;
}*/

table th,
table td {
  padding: .625em;
  text-align: left;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* responsive */
@media (max-width: 1080px) {

	.contingut {
    flex-direction: column;
    justify-content: center;
    flex-grow: 2rem;
    flex-wrap: wrap;
    flex-basis: 10%;
	}

	.text {
		width: 100% !important;
	}

	.imatge {
		min-width: 340px;
		max-width: 600px
	}

  table {
    border: 0 !important;
  }

  table caption {
    font-size: 1.3em !important;
  }

  table thead {
    border: none !important;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table tr {
    border-bottom: 1px solid #333;
    display: block;
    margin-bottom: .625em;
  }

  table td {
    border-bottom: 1px solid #333;
    display: block;
    font-size: .8em;
    text-align: right;
  }

  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  table td:last-child {
    border-bottom: 0 !important;
  }
} /* fi responsive */
