* {
  font-family: congenial, sans-serif;
  font-size: 16px;
}

html,
body,
div,
form,
fieldset,
legend,
label {
  margin: 0;
  padding: 0;
}

body {
  background-color: whitesmoke;
}


table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6,
th,
td,
caption {
  font-weight: normal;
}

img {
  border: 0;
}

ul {
  margin: 0;
  text-align: left;
  padding: 1.5vw
}

p {
  cursor: default;
  hyphens: none;

  font-family: congenial-light, sans-serif;
  font-size: 1rem;
  line-height: 1.25em;
  padding: 1em;


}

/* Our Styles */

content {
  display: grid;
  grid-template-rows: repeat(4, 30vh);
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3vw;
  margin: 5vw;
  margin-top: 5vh;
  width: 90vw;
}

footer {
  margin: 5vw;
  width: 45vw;
}

li {
  list-style: none;
  font-family: congenial-light,
    sans-serif;

}

div {
  height: 100%;
  width: 100%;
  object-fit: cover;
}



img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}



header {
  font-size: 4rem;
  margin-left: 5vw;
  margin-top: 3vh;
  font-weight: bold;
}

/* Hover actions */

.content {
  position: relative;
  margin: auto;
  overflow: hidden;
  box-shadow: 10px 10px 5px grey;

}

.content .content-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay {
  opacity: 1;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details {
  top: 90%;
  left: 50%;
  opacity: 1;
}

.content-details h3 {
  color: white;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  font-family: congenial,
    sans-serif;
  font-size: 1.2rem;
}


.fadeIn-bottom {
  top: 80%;
}
