@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

body {
  margin: 0px;
  font-family: 'Roboto', sans-serif;
}

header {
  padding: 10px 10%;
  text-align: center;
  background-color: black;
  color: white;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 10px;
  padding: 10px;
}

table {
  border-collapse: collapse;
  margin: auto;
}

tr {
  border-bottom: 1px solid rgb(179, 179, 179);
}

th,
td {
  padding: 10px 20px;
  vertical-align: top;
}

a {
  color: black;
}

img {
  width: 100%;
}

section {
  display: grid;
  padding: 50px 10%;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

article {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

article figure,
article img {
  grid-column: 1;
  grid-row: 1;
}

article figure {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 18px 15px 5px 15px;
  margin: 0px;
  z-index: 2;
  transition: 1s;
  transform: translateY(calc(100% - 55px));
}

article figure h2 {
  font-size: 20px;
  margin: 0px 0px 15px 0px;
}

article:hover figure {
  transform: translateY(30%);
}

::selection{
  background-color: #ff0000;
  color: rgb(0, 85, 255);
}