@font-face {
  font-family: "Font";
  src: url("./JetBrains.ttf");
}

html {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}

body {
  display: flex;
  color: #ffffff;
  background: #151515;
  margin-right: 9em;
  padding: 1em;
  font-family: Font;
}

img {
  height: 600px;
  width: 350px;
  margin-right: 2em;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

nav {
  display: grid;
  grid-row-gap: 1.5em;
  grid-column-gap: 2em;
  grid-template-columns: 1fr 1fr;
  min-width: 24em;
  grid-auto-rows: max-content;
}

h1 {
  font-size: 2.2em;
  font-weight: 600;
  grid-column: 1/-1;
  text-align: center;
  margin-bottom: 0;
}

h2 {
  font-size: 1.2em;
  font-weight: 600;
  color: #c5c5c5;
  grid-column: 1/-1;
  text-align: center;
}

ul {
  margin: 0;
  padding: 0;
  white-space: nowrap;
  list-style-type: none;
}

li {
  line-height: 1.4em;
  margin-left: 4.8em;
}

li:first-child {
  display: inline-block;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  line-height: 2em;
  margin-left: 2.5em;
}

a {
  color: #c5c5c5;
  font-size: 1.1em;
  text-decoration: none;
}

a:hover {
  color: #5e5e5e;
  font-style: italic;
}

.container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.search-bar {
  width: 80%;
  max-width: 700px;
  background: #343434;
  display: flex;
  align-items: center;
  border-radius: 60px;
  padding: 10px 20px;
}

.search-bar input {
  background: transparent;
  flex: 1;
  border: 0;
  outline: none;
  padding: 6px 2px;
  font-size: 20px;
  color: #ffffff;
}

.search-bar button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    margin-left: 10px;
}

.search-bar button:hover {
  color: #c5c5c5;
}

::placeholder {
  color: #8a8a8a;
}
