@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;700&display=swap");
/* Header */
html {
  scroll-behavior: smooth;
  font-family: Teko;
}
/* formatting */
.graybg {
  background-color: lightgray;
}
.gray-text {
  color: lightgray;
}
.white-text {
  color: white;
}
.text {
  position: absolute;
  left: 50%; /* horizontal alignment */
  top: 50%; /* vertical alignment */
  transform: translate(-50%, -50%); /* precise centering; see link below */
}
h1 {
  font-size: 6rem;
  font-weight: normal;
  margin: 0px;
  padding: 0px;
  height: 6rem;
}
h2 {
  font-size: 3rem;
  font-weight: normal;
  margin: 0px;
  padding: 0px;
  height: 3rem;
}
p {
  font-size: 1.3rem;
}
/* header */
header {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 600px;
  margin: 0px;
  padding: 0px;
  background-image: url("../images/banner.jpg");
  background-color: #cccccc;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0px 0px 30px 30px white inset;
}
header img {
  width: 10%;
  height: 100px;
  margin: 0px;
  padding: 0px;
}
nav {
  width: 90%;
}
header ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  list-style-type: none;
}
header li {
  margin: 2rem;
  font-family: "Teko";
}
header li a {
  text-decoration: none;
  color: black;
  text-transform: uppercase;
  font-size: 1.5rem;
}
img {
  width: 90%;
}
main {
  width: 100%;
  margin: 0 auto;
  background-color: white;
}
.container {
  width: 80%;
  margin: 0 auto;
}
/* Intro */
.intro {
  text-align: center;
}
.intro p {
  margin: auto;
  max-width: 60%;
}
section {
  width: 100%;
}
/* Catalogue */
.kittyContainer {
  display: flex;
  margin: 2rem auto;
  flex-flow: row wrap;
  max-height: 50%;
  padding-bottom: 2rem;
  margin: 0px;
}
.col {
  flex: 33%;
  max-width: 33%;
}
.kittyCard {
  overflow: hidden;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center; */
  margin: 0;
  padding: 0;
  position: relative;
}
.kittyCard img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  justify-self: center;
  transition: 0.5s ease;
  -webkit-filter: brightness(100%);
}
.kittyCard:hover img {
  -webkit-filter: brightness(70%);
}
/* .kittyName {
  transition: 0.5s ease;
  opacity: 1;
  position: absolute;
  word-break: break-word;
  margin: 0.5rem;
  text-align: right;
} */
.kittyCaption {
  position: absolute;
  word-break: break-word;
  justify-self: flex-start;
  align-self: flex-end;
  height: 100%;
  margin: 0.5rem;
  color: white;
  transition: 0.5s ease;
  opacity: 0;
}
.kittyCard:hover .kittyCaption {
  opacity: 1;
}
.kittyCard .button {
  position: absolute;
  align-self: flex-end;
  justify-self: flex-end;
  margin: 1rem;
  color: white;
  border: white;
  font-size: 2rem;
  border: 0.2rem solid white;
  border-radius: 0.12rem;
  padding: 0rem 0.5rem;
  transition: all 0.2s;
}
.kittyCard .button:hover {
  color: black;
  background-color: white;
}

/* Meet the Team */
.team {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 0 1rem 0;
}
.team h2 {
  width: 24%;
  margin: 0px;
  padding: 0px;
  text-align: left;
  height: 2.9rem;
  font-weight: normal;
  font-size: 3rem;
}
.card {
  width: 24%;
  overflow: hidden;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem; */
  justify-items: center;
  margin: 0;
  padding: 0;
  position: relative;
}
.card img {
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  justify-self: center;
}
.card p {
  width: 90%;
  height: auto;
}
.caption {
  position: absolute;
  word-break: normal;
  justify-self: flex-start;
  align-self: flex-end;
  margin: 0.5rem;
}
.job-roll {
  position: absolute;
  word-break: break-word;
  justify-self: flex-start;
  align-self: flex-start;
  margin: 0.5rem;
}
/* Footer */
footer {
  display: flex;
  justify-content: space-around;
  align-content: center;
  /* position: fixed; */
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 10vh;
  background-color: black;
  color: white;
  text-align: left;
}

footer .title {
  font-size: 2rem;
  align-self: center;
}
