@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

body {
  font-family: 'Noto Sans', sans-serif;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
header h1 {
  text-align: center;
}

header div {
  margin: 50px auto;
  position: relative;
}
header input {
  width: 40em;
  margin: auto;
  padding: 1em 3em 1em 3.5em;
  border-radius: 100px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 20px;
  border: none;
  outline: none;
  box-shadow: var(--shadow);
  transition: box-shadow .3s;
}
header input:hover, header input:focus {
  box-shadow: var(--shadow-hov);
}
header div img {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  filter: brightness(0);
  transition: filter .3s;
}
header div:hover img, header input:focus + img {
  filter: brightness(1);
  opacity: 1;
}
header > span {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1em;
  margin-top: 20px;
}
header > span p {
  background: var(--primary);
  color: var(--surface);
  padding: .15em 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color .3s;
}
header > span p:hover {
  background: var(--primary-focus);
}
header > span > p::selection {
  background-color: var(--secondary);
  color: var(--on-dark);
}


section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px;
}
section > h2 {
  border-left: solid var(--primary) 3px;
  padding-left: .5em;
}
section > p {
  margin-top: 1em;
}
section > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 50px 30px;
  margin: 40px 0px;
}
section > div > a {
  display: block;
  width: 100%;
  max-width: 400px;
  min-width: 300px;
  border-radius: 4px;
  text-decoration: none;
  padding: 20px;
  background: var(--surface);
  color: var(--on-dark);
  transition: box-shadow .5s ease, transform .5s ease;
}
section > div > a:hover {
  transform: scale(1.02);
  box-shadow: 0 82px 54px -50px rgba(0,0,0,0.5);
}
section > div > a:hover,section > div > a:active {
  color: var(--on-dark);
}
section > div > a > h3 {
  margin-bottom: .5em;
}
section > div > a > p {
  overflow-wrap: break-word;
}
section > div > a > span {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-top: 20px;
}
section > div > a > span {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  column-gap: 1em;
  margin-top: 20px;
}
section > div > a > span > p {
  background: var(--primary);
  color: var(--surface);
  padding: .15em 1em;
  border-radius: 50px;
}
section > div > a > span > p::selection {
  background-color: var(--secondary);
  color: var(--on-dark);
}


/* contributors section */
section > ul {
  list-style-position: inside;
  margin-top: 1em;
}