html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-width: 100%;

  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  background-color: #ffffff;

  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: rgba(101, 110, 194, 1);
  transition: color ease-in-out 0.5s;
}

a:hover {
  color: rgba(176, 101, 194, 1);
}

main {
  height: 100vh;
  width: 100%;
}

input {
  outline: none;
  border: none;

  margin: 8rem 0 0;
  padding: 0 1.5rem;

  min-height: 4rem;
  width: 36rem;
  height: 4rem;

  color: rgba(101, 110, 194, 1);
  font-size: 1.5rem;
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;

  box-shadow: 0px 7px 12px 0px rgba(100, 100, 111, 0.2);
}

input::placeholder {
  color: rgba(101, 110, 194, 1);
}

span {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

.rendered {
  height: 100%;
  width: 100%;

  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.content {
  width: 90%;

  margin: 0;
  padding: 2rem;

  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-template-columns: repeat(6, 1fr);

  justify-content: center;

  gap: 1rem;
}

.content > a {
  padding: 1rem 2rem;

  min-width: 30%;

  grid-column: span 2;
  grid-row: span 2;

  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 7px 25px 0px rgba(100, 100, 111, 0.2);

  font-size: 2rem;
}

.content > a:nth-child(-n+2) {
  padding: 1.5rem 2rem;

  grid-column: span 3;
  grid-row: span 3;

  font-size: 1.5rem;
}

.card {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.props-div {
  display: flex;
  justify-content: space-between;

  gap: 1rem;

  color: rgba(118, 118, 118, 1);
}

.status-alive {
  color: rgba(38, 117, 4, 1);
  font-weight: 700;
}

.status-dead {
  color: rgba(130, 10, 10, 1);
  font-weight: 700;
}

.date-div {
  text-align: right;
}

h3 {
  margin: 0;
  padding: 0;

  color: rgba(0, 0, 0, 1);

  font-size: 2rem;
  font-weight: 400;
}

.found {
  padding: 1rem 0 2rem 2rem;

  font-size: 1rem;
  color: rgba(40, 38, 38, 1);
}

.credits {
  width: 100%;
  padding: 0 0 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  font-size: 1rem;
}

@media screen and (max-width: 1280px) {
  .content {
    grid-template-rows: repeat(9, 1fr);
    grid-template-columns: repeat(6, 1fr);
  }

  .content > a {
    grid-column: span 3;
    grid-row: span 2;
  }
}

@media screen and (max-width: 1100px) {
  .content {
    grid-template-rows: repeat(10, 1fr);
    grid-template-columns: repeat(6, 1fr);
  }

  .content > a {
    grid-column: span 6;
    grid-row: span 2;
  }

  .content > a:nth-child(-n+2) {
    grid-column: span 6;
    grid-row: span 3;
  }
}

@media screen and (max-width: 710px) {
  input {
    width: 70vw;
  }

  .content {
    width: 80%;
  }
}

@media screen and (max-width: 500px) {
  input {
    width: 60vw;
  }

  .content {
    width: 79%;
  }
}
