@font-face {
  font-family: "Inter";
  src: local("Inter"),
    url("./fonts/Inter-VariableFont_slnt\,wght.ttf") format("opentype");
}

ul,
li {
  list-style-type: none;
}

#successBacklog p b {
  color: #000000;
  opacity: 0.8;
}

body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.backlog,
.backlog-list {
  display: flex;
  flex-direction: column;
}

.backlog-page {
  display: flex;
}

.backlog #backlog-search {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.backlog #backlog-search input {
  border: 1px solid rgba(223, 223, 223, 0.5);
  border-radius: 4px;
  height: 44px;
  background: transparent url("./img/search.svg") no-repeat 12px center;
  box-shadow: none;
  background-color: rgba(242, 242, 242, 0.3);
  padding-left: 35px;
  margin-bottom: 0px;
}

.backlog #backlog-search .backlog-form {
  height: 34px;
  margin-left: 20px;
  border: none;
  color: #fafafa;
  background-color: #ff7b3b;
  cursor: pointer;
  border-radius: 50px;
}

.backlog #backlog-search .backlog-form:hover {
  opacity: 0.7;
}

.backlog #backlog-search .backlog-cancel {
  opacity: 0.7;
  width: 15px;
  cursor: pointer;
}

.backlog-search-btns {
  margin-left: -30px;
  display: flex;
  align-items: center;
}

.hidden {
  display: none;
}

.empty {
  margin-left: -30px;
}

.backlog-list .list li a {
  display: contents;
  width: 100%;
}

.backlog-list .list li .item .description {
  font-family: "Inter";
  color: #222;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
}

.backlog-list .list li .item .description span:first-child {
  font-weight: 600;
  margin-right: 15px;
}

.backlog-list .list li .item .description span:last-child {
  word-wrap: break-word;
}

.backlog-list .list li .item .status {
  font-family: "Inter";
  color: #555;
  opacity: 0.8;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
}

.backlog-list .list li .item .status span {
  margin-right: 10px;
}

.backlog-list .list li .like {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  min-width: 60px;
}

.pagination-wrapper {
  width: 300px;
  justify-content: space-between;
  align-self: center;
}

.prev-page {
  margin-right: 30px;
  cursor: pointer;
}

.next-page {
  margin-left: 23px;
  cursor: pointer;
}

.pagination li {
  padding: 5px 7px;
  border: 1px solid rgba(223, 223, 223, 0.5);
  border-radius: 4px;
  margin-right: 7px;
  color: black;
}

.backlog-add-btn {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #ff7b3b;
  cursor: pointer;
}

.current-page {
  background-color: #ff7b3b;
  border-color: #ff7b3b;
  opacity: 0.7;
}

.reset-results {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  color: black;
  cursor: pointer;
}

.reset-results:hover {
  color: #ff7b3b;
  cursor: pointer;
}

@media (max-width: 900px) {
  .backlog-page,
  .pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
  }

  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .backlog-page {
    flex-direction: column;
    align-self: center;
    width: 100%;
    max-width: 680px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 30px;
  }

  .description {
    width: inherit;
  }

  .description span,
  .description span hostname {
    display: inline-block;
    width: inherit;
  }

  .backlog-add {
    display: none;
  }

  .backlog #backlog-search input {
    width: 100%;
    max-width: 680px;
    height: 34px;
  }

  .backlog #backlog-search .backlog-form {
    height: 34px;
    width: 85px;
  }

  .backlog-list .list {
    width: 100%;
    max-width: 1054px;
    margin-top: 26px;
  }

  .backlog-list .list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
  }

  .backlog-list .list li .item {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 680px;
    margin-bottom: 5px;
  }

  .backlog-list .list li .like {
    align-self: flex-end;
  }
}

@media (min-width: 900px) and (max-width: 1500px) {
  .backlog-page {
    padding-left: 30px;
    padding-right: 30px;
  }

  .backlog {
    padding-left: 27px;
  }
}

@media (min-width: 1500px) {
  .backlog-page {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media (min-width: 900px) {
  .backlog-page,
  .pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
  }

  .backlog-page {
    width: 100%;
    max-width: 1920px;
    padding-top: 40px;
    padding-bottom: 40px;
    align-self: center;
  }

  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .backlog-add {
    width: 30%;
    padding-top: 88px;
    align-self: flex-start;
    justify-self: center;
    position: sticky;
    top: 0;
  }

  .backlog {
    width: 78%;
  }

  .backlog-add-btn:hover {
    cursor: pointer;
    opacity: 0.8;
  }

  .pagination li:hover {
    cursor: pointer;
    background-color: #ff7b3b;
    border-color: #ff7b3b;
    opacity: 0.7;
  }

  .backlog #backlog-search input {
    width: 690px;
  }

  .backlog #backlog-search .backlog-form {
    width: 135px;
  }

  .backlog-list {
    margin-top: 32px;
  }

  .backlog-list .list {
    width: 100%;
    margin-left: 0;
  }

  .backlog-list .list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 20px 0;
  }

  .backlog-list .list li .item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 40px;
    margin-bottom: 5px;
  }

  .backlog-list .list li .like,
  .close-modal {
    cursor: pointer;
  }
}
