html, body {
    box-sizing: border-box;
    font-family: sans-serif;
    height: 100%;
    margin: auto
    
}  

.main {
    text-align: center;
    background: #ffffff;
    min-height: 1000px
}

.searchbar {
    width: 50%;
    text-indent: 20px;
    font-size: 15px;
    padding: 10px 0 10px 0;
    border-style: solid;
    border-radius: 10px;
    margin-bottom: 10px;
    
}
.searchbutton {
    background-color: #ddd;  
    padding: 10px;
    font-size: 15px;
    border-style: solid;
    border-color: #888;
    border-radius: 10px;
    transition: 250ms;
}
.searchbutton:hover {
  
  border-color: #5a6ca3;
  background-color: #9dcafa;
  padding: 10px 20px 10px 20px;
  }

.results {
    text-align: center;
    margin-left: 25%;
    width: 50%;
    list-style: none;
    padding-bottom: 200px;
}

.results .result {
    background-color: #eee;
    margin: 5px;
    padding: 10px;
    color: black;
    width: 75%;
    display: inline-block;
    border-radius: 20px;
}
.results li a img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 10px;
  transition: 300ms;
  }
.results li a img:hover{
  filter: contrast(70%) sepia(20%);
  }
.results li p {
  padding: 20px;
  text-align: justify;
  }
.results li h2 a {
  font-size: 25px;
  text-decoration: none;
  color: #5a6ca3;
  font-weight: 900;
  transition: 300ms;
  }
.results li h2 a:hover {
  font-size: 27px;
  color: #111
  }

.banner {
 background-image: url("img/skoipt.jpg");
 background-repeat: no-repeat;
 background-size: cover;
 background-position: center;
 background-blend-mode: multiply;
 background-color: #818080;
 height: 400px;
 color: #fff;
 margin-bottom: 100px;
  }
.banner h1 {
  margin: 0;
  padding-top: 150px;
  text-shadow: 0 5px 5px #000;
  }
  
.tag-list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  list-style: none;
  }
.tag-list li {
  background-color: #ddd;
  margin: 0 10px 0 10px;
  padding: 10px;
  border-radius: 10px;
  }
.tag-list li input[type="checkbox"] {
  margin-left: 10px;
  transform: scale(1.5);
  }
.noresult {
  margin-top: 100px;
  padding-bottom: 200px;
  background: none;
  font-size: 20px;
  font-weight: 500;
  color: #aaa;
  }
  
.clear-input-container {
  position: relative;
}
.clear-input-button {
 /* button position */
  position: absolute;
  right: 25%;
  top: 8px;
  bottom: 0;
  /* button appearane */
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  appearance: none;
  border: none;
  border-radius: 25%;
  background: gray;
  margin: 0;
  padding: 12px;
  color: white;
  font-size: 20px;
  cursor: pointer;
  /* hide the button initially */
display: none
}

.clear-input-button:hover {
  background: darkgray;
}
.searchbar--touched:focus + .clear-input-button,
.searchbar--touched:hover + .clear-input-button,
.searchbar--touched + .clear-input-button:hover {
  display: inline-flex;
}
  