

  .websites_container {

    max-width: 100%;
    padding: 2rem;
    background: var(--cold);
  }

.list {
  margin: 0;
  padding-top: 40px;
  list-style-type: none;
  display: flex;
  background: white;
  justify-content: space-around;
  flex-wrap: wrap;
  direction: rtl;
  border: 2px solid var(--cola);
   -moz-box-shadow:    inset 0 0 5px var(--colb);
   -webkit-box-shadow: inset 0 0 5px var(--colb);
   box-shadow:         inset 0 0 5px var(--colb);
}

.list-item {
  width: 98%;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 2px solid var(--cola);
  border-radius:5px;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  /* text-shadow: 0 2px 5px white; */
  text-decoration: none;
  background: var(--colb);
  box-shadow: 3px 3px grey;
    cursor:pointer;
}
.list-item:hover {
  color: white;
  background: var(--cold);
}
.list-item:hover .list-item__button {
  opacity: 1;
  transition: all 100ms ease;
}
.list-item__avatar {
  margin-left: 1rem;
}
.list-item__avatar img {
  border: 1px solid #cacfd9;
  border-radius: 5%;
  width: 150px;
  height: 150px;
  background-color: #e1e4ea;
}
.list-item__name {
  display: block;
    font-size:2em;
}
.list-item__info {
  font-size: 1.2em;
  color: white;
}
.list-item__button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  font-family: inherit;
  position: absolute;
  top: 7px;
  left: 7px;
  width: 18px;
  height: 18px;
  font-weight: 700;
  background: var(--cola);
  color: #ffffff;
  line-height: 18px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.6;
  outline: none;
  opacity: 0.2;
}
.list-item__button svg {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
}
.list-item__button:hover {
  background: var(--colb);
}

.search {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  position: relative;
  left:-35%;
  direction: rtl;
}
.search input {
  display: block;
}

.search input {
  width: 30%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #cacfd9;
  font-family: inherit;
  outline: none;
}
.search input:focus {
  box-shadow: 0px 0px 0px 3px rgba(51, 132, 243, 0.15);
  border-color: #3384f3;
}
.search__clear {
  position: absolute;
  top: 0.7rem;
  left: 70.5%;
  cursor: pointer;
  background: #e1e4ea;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  color: #91a1bb;
  border: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 1.4rem;
}
.search__clear:focus, .search__clear:active {
  outline: 0;
}
.search__clear:hover {
  background: #cacfd9;
  color: #597191;
}

.recent-search {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  direction:rtl;
}

.search-item {
  font-size: 1.4rem;
  display: inline-block;
  padding: 0.5rem;
  line-height: 1;
  color: #3384f3;
  border-radius: 5px;
  background: rgba(51, 132, 243, 0.15);
  cursor: pointer;
  margin: 0 0.5rem 0.5rem 0;
}
.search-item:hover, .search-item:focus {
  color: #0e69e6;
  background: rgba(51, 132, 243, 0.2);
}
.search-item__close {
  opacity: 0.5;
  display: inline-block;
  cursor: pointer;
  margin-left: 0.5rem;
}
.search-item__close:hover {
  color: #d63031;
}
.search-item:nth-of-type(5n + 2) {
  color: #00b894;
  background: rgba(0, 184, 148, 0.15);
}
.search-item:nth-of-type(5n + 2):hover, .search-item:nth-of-type(5n + 2):focus {
  color: #00856b;
  background: rgba(0, 184, 148, 0.2);
}
.search-item:nth-of-type(5n + 3) {
  color: #D980FA;
  background: rgba(217, 128, 250, 0.15);
}
.search-item:nth-of-type(5n + 3):hover, .search-item:nth-of-type(5n + 3):focus {
  color: #ca4ff8;
  background: rgba(217, 128, 250, 0.2);
}
.search-item:nth-of-type(5n + 4) {
  color: #d63031;
  background: rgba(214, 48, 49, 0.15);
}
.search-item:nth-of-type(5n + 4):hover, .search-item:nth-of-type(5n + 4):focus {
  color: #b02324;
  background: rgba(214, 48, 49, 0.2);
}
.search-item:nth-of-type(5n + 5) {
  color: #fca709;
  background: rgba(253, 203, 110, 0.2);
}
.search-item:nth-of-type(5n + 5):hover, .search-item:nth-of-type(5n + 5):focus {
  color: #e89803;
  background: rgba(253, 203, 110, 0.25);
}

.clear-btn {
  font-family: inherit;
  background: #91a1bb;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  margin-left: 1rem;
  border-radius: 5px;
  font-size: 1.4rem;
  display: none;
  padding: 0.5rem 1rem;
  line-height: 1;
}
.clear-btn:hover {
  background: #597191;
}
.clear-btn:focus, .clear-btn:active {
  outline: 0;
}
.clear-btn:disabled {
  background: #f6f7f9;
  color: #91a1bb;
  cursor: not-allowed;
}

.cursor_wait {
  cursor: wait
}

@media screen and ( min-width: 100px ) {
.list {
  padding-left: 20px;
  padding-right: 20px;
}	
.list-item__name {
    font-size:1.4em;
}
.Diets_container {
  padding: 2px;
}
.list-item__avatar img {
  width: 75px;
  height: 75px;
}
.search input {
  width: 80%;
}
.search {
  left:-10%;
}
.search__clear {
  left: 21.5%;
 }
}
@media screen and ( min-width: 400px ) {
.list-item__name {
    font-size:1.4em;
}
.Diets_container {
  padding: 0.1rem;
}
.list-item__avatar img {
  width: 90px;
  height: 90px;
}
.search input {
  width: 60%;
}
.search {
  left:-20%;
}
.search__clear {
  left: 41.5%;
 }
}
@media screen and ( min-width: 700px ) {
.list-item__name {
    font-size:2em;
}
.list-item__avatar img {
  width: 110px;
  height: 110px;
}
.search input {
  width: 40%;
}
.search {
  left:-30%;
}
.search__clear {
  left: 61.5%;
 }
}
@media screen and ( min-width: 1300px ) {
.list-item {
  height: 200px;
  max-width: 45%;
}
.list-item__avatar img {
  width: 130px;
  height: 130px;
}
.search input {
  width: 35%;
}
.search {
  left:-32%;
}
.search__clear {
  left: 65.5%;
 }
}
@media screen and ( min-width: 1500px ) {
.list-item {
  height: 200px;
  max-width: 45%;
 }
 .list-item__avatar img {
  width: 150px;
  height: 150px;
}
.search input {
  width: 30%;
}
.search {
  left:-35%;
}
.search__clear {
  left: 70.5%;
 }
}