* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  margin: 20px auto auto;
  width: 830px;
  padding-left: 15px;
  padding-right: 15px;
  @media (max-width: 830px) {
    width: 100%;
  }
  .input-field {
    background-color: #eee;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 20px;
    input {
      flex: 1;
      border: none;
      outline: none;
      padding: 15px 15px 15px 20px;
      font-size: 20px;
      &:focus {
        box-shadow: 0 0 0 1.5px #f44336;
      }
    }
    button {
      background-color: #f44336;
      border: none;
      outline: none;
      color: white;
      font-weight: bold;
      font-size: 18px;
      padding: 0 20px;
      cursor: pointer;
    }
  }
  .repos-field {
    background-color: #e0e0e0;
    padding: 20px;
    display: grid;
    gap: 5px;
    .repo {
      background-color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      p {
        font-size: 17px;
      }
      > div {
        display: flex;
        gap: 5px;
        .stars, .visit {
          color: white;
          padding: 5px 0;
          width: 100px;
          font-size: 12px;
          display: flex;
          justify-content: center;
          border-radius: 4px;
        }
        .stars {
          background-color: #009688;
        }
        .visit {
          background-color: #e91e63;
          border: none;
          outline: none;
          text-decoration: none;
        }
      }
    }
  }
}
