html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vw;
  background: #111;
  color: #fff;
  font-family: 'Tahoma', sans-serif;
  font-size: 16px;
}

.container {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
}

.texlist {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.tex {
  width: 10vw;
  height: 10vw;
  margin: 1rem;
  position: relative;
}

.tex img {
  width: 100%;
  height: 100%;
}

.tex .buttons {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20,20,20,0.7);
}

.tex:hover .buttons {
  display: flex;
}

.buttons button, .buttons a {
  width: 100%;
  margin: 0.5rem 0;
  background: #333;
  color: #fff;
  border: none;
  outline: none;
  padding: .3rem;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
}

.buttons button:hover, .buttons a:hover {
  background: #994433;
  border: none;
  outline: none;
}
