@import url("https://fonts.googleapis.com/css?family=Cinzel");
@import url("https://fonts.googleapis.com/css?family=Karla");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  font-size: 1.6rem;
  font-family: "Karla", Verdana, sans-serif;
}

a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
p {
  transition: all 0.3s ease-in-out;
}
a:visited {
  color: #000000;
  text-decoration: none;
}

.grid {
  width: 100vw;
  margin: 0 auto;
  display: grid;
  column-gap: 10px;
  row-gap: 10px;
  padding: 0px 10px;
  grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(0.5fr, 1fr));
  text-align: center;
  justify-content: center;
  height: 100vh;
  vertical-align: text-top;
}

.item {
  overflow: hidden;
}
.img {
  vertical-align: top;
  transition: 0.7s ease-in-out;
  width: 100%;
}
.img:hover {
  transform: scale(1.05);
}

.title {
  line-height: 4 rem;
  font-size: 2.8rem;
  font-family: "Cinzel";
  padding: 15px 0px;
}

.grid a:hover .title {
  transform: scale(1.2);
}
