@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
  --blue: #094d94;
  --mediumBlue: #8ba5d2;
  --lightBlue: #e9f6ff; 
  --lightBlue2: #f3f8fb; 
  --red: rgb(173, 27, 27);
}
body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--lightBlue);
}
header{
  padding: 1rem;
  background-color: white;
  width: 100%;
  text-align: center;
}
h1, h2, a{
  color: var(--blue);
  text-decoration: none;
}
main{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
section{
  h2, p, table{
    margin-bottom: 0.5rem;
  }
}
table{
  td{
    padding: 0.5rem;
    background-color: white;
    transition: background-color 0.3s;
  }
  td.zv{
    background-color: var(--lightBlue2);
    color: var(--blue);
  }
  td.blood{
    color: var(--red);
  }
  tr:hover td{
    background-color: var(--lightBlue);
  }
}
section:nth-child(2){
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 0;
  h2{
    grid-column: span 2;
  }
  div{
    border-bottom: 1px solid white;
  }
}
footer{
  background-color: var(--blue);
  color: var(--lightBlue);
  width: 100%;
  text-align: center;
  padding: 1rem;
}

@media screen and (max-width: 500px) {
  h1{
    line-height: 2rem;
  }
  main{
    padding: 0.5rem;
  }
  h2{
    text-align: center;
  }
  table{
    margin-left: -0.5rem;
    width: 100%;
  }
  table td:first-child{
    writing-mode: vertical-lr;
    text-align: center;
    background-color: var(--lightBlue);
  }
  table td{
    padding: 0.25rem;
    font-size: 0.85rem;
  }
  section:nth-child(2) div{
    font-size: 0.9rem;
  }
}