
body {
  background: rgb(242,240,234);
  overflow-x: hidden;
}

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

.hide {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.header-holder {
  font-family: 'Lato', sans-serif;
}

.content-title {
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  text-align: center;
}

.content-info {
  font-family: 'Roboto', sans-serif;
  align-items: center;
  margin-top: 2em;
  line-height: 1.8em;
  flex-direction: column;
}

.searchbar-container {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  margin-top: 10em;
  margin-right: 3em;
  margin-left: 3em;
  width: 40vw;
}

.searchresults-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 80vw;
}

h1.content-title {
  font-size: 1.5em;
}

.header-bar {
  width: 35px;
  height: 4px;
  background: #f26101a6;
  margin: 0 auto;
  margin-top: 0px;
}



.article-card a {
  display: flex;
  background-color: #ffffff;
  width: 55vw;
  transition-timing-function: ease-in;
  transition: 0.2s;
  transition-property: transform;
  box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
}



.article-card a:hover {
  transform: translateY(-5px);
}

.test-class-3{
  display: flex;
}

.searchbar-container form {
  width: 100%
}

.searchresults-container ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: baseline;
}

.searchresults-container li {
  margin: 10px 0;
  display: inline-flex;
  width: 100%;
}


.searchresults-container a:hover {
  background: rgba(241, 96, 0, .3);
  transition: 1s;
}

.searchresults-content {
  height: 100px;
  padding: 0px 10px;
}

.searchresults-content h4 {
  margin-top: 5px;
  margin-bottom: 10px;
  font-weight: 600;
}

.searchresults-container h1 {
  margin: 0;
  padding: 20px 0 10px 0;
  letter-spacing: 0.05em;
  text-align: inherit;
  font-size: 0.9em;
}

.searchresults-container p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8em;
}



.searchbar-container h3 {
  border: 1px solid #95989a;
  border-radius: 2px;
  font-size: 1em;
  font-weight: 500;
  padding: 10px;
  margin: 0;
}

/* Dropdown containers */
.searchbar-dropdown-container {
  position: relative;
  cursor: pointer;
}

.searchbar-dropdown-title {
  margin: 0;
  margin-top: 10px;
}

.searchbar-dropdown-container svg {
  transform: rotate(0deg);
  transition: 1s;
  position: absolute;
  width: 16px;
  right: 10px;
  top: 13px;
}

.searchbar-dropdown-items {
  max-height: 0px;
  border-bottom: 0px solid #95989a;
  border-left: 1px solid #95989a;
  border-right: 1px solid #95989a;
  overflow-y: scroll;
  transition: 1s;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.searchbar-dropdown-items::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

.searchbar-dropdown-container-open .searchbar-dropdown-title {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.searchbar-dropdown-container-open .searchbar-dropdown-items {
  max-height: 300px;
  border-bottom: 1px solid #95989a;
  transition: 2s;
}

.searchbar-dropdown-container-open svg {
  transform: rotate(180deg);
  transition: 1s;
}

.searchbar-container label {
  display: block;
  padding: 5px;
  font-family: 'Roboto', sans-serif;
}

/* Text input */
.search-text-input {
  margin-top: 4em;
  display: flex;
  width: 55vw;
  position: relative;
}

.search-text-input button {
  position: absolute;
  background: none;
  border: none;
  right: 24px;
  top: 16px;
  outline: none;
}

.search-text-input svg {
  fill: white;
  width: 20px;
}


input[type='text'] {
  background-color: rgba(241, 96, 0, 1);
  border: 0;
  color: white;
  height: 50px;
  font-size: 0.8em;
  width: 100%;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  padding-left: 1em;
}

input[type='text']:focus {
  outline: none;
  color: white;
}

input[type='text']::placeholder {
  margin-left: 1em;
  color: white;
}

input[type='text']::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input[type='checkbox'] {
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #95989a;
    -webkit-appearance: none;
    width: 1em;
    background-color: #fff;
    height: 1em;
    margin: 0;
    border-radius: 2px;
    outline: none;
    transition: .5s;
}

input[type='checkbox']:checked {
    background: rgba(241, 96, 0, 1);
    border: 1px solid rgba(241, 96, 0, 1);
    transition: .5s;
}

input[type='Submit']{
  margin-top: 10px;
  background: rgba(241, 96, 0, 1);
  border: 0;
  color: white;
  padding: 10px;
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  outline: 0;
  transition: .5s;
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
}

input[type='Submit']:hover{
  background: rgba(241, 96, 0, .6);
  transition: .5s;
}



.header-inner {
  width: 343px;
}


.test-class {
  display: flex;
  justify-content: flex-start;
  align-self: flex-start;
}

.article-img img {
  width: 10em;
  height: 10em;
  object-fit: cover;
}

.article-img {
  height: 10em;
}


/* New CSS */

.search-mainblock {
  display: flex;
  justify-content: center;
  width: 80vw;
}

.searchresults-content h3 {
  font-family: 'Roboto', sans-serif;
}

.tags-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.popular-tags {
  margin-top: 1em;
  font-family: 'Lato', sans-serif;
  background-color: rgba(241, 96, 0, 0.49);
  padding: 10px 10px;
  margin: 8px;
}

.pagination {
  align-items: center;
  display: flex;
  font-family: 'Lato', sans-serif;
  gap: 1em;
  margin: 1em 0 5em;
}

.pagination a {
  background-color: rgba(241, 96, 0, 0.49);
  color: white;
  padding: 10px 16px;
}

.pagination a:hover {
  background: rgba(241, 96, 0, 1);
}

/*  Mobile Layouts */

@media only screen and (max-width: 479px){ 

  .content-title {
    margin-top: 3em;
  }

  .searchbar-container {
    display: flex;
    align-self: center;
    width: 80vw;
  }

  .search-text-input button {
    right: 5px;
  }

  .search-mainblock {
    flex-direction: column;
    align-items: center;
    width: inherit;
  }

  .searchbar-container {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: 5em;
    margin-right: 1em;
    margin-left: 1em;
    width: 80vw;
}

  .searchresults-container {
    width: 80vw;
  }

  .search-text-input {
    width: 80vw;
  }

  .searchresults-container h1 {
    font-size: 0.9em;
  }

  .article-card a {
    flex-direction: column;
  }

  .article-img img {
    width: 100%;
    border-bottom-left-radius: 0px;
  }

  .searchresults-content h3 {
    font-size: 1em;
  }

  .searchresults-container ul {
    display: flex;
    justify-content: center;
  }

  .article-card a {
    width: 80vw;
  }

  .searchresults-content h1 {
    text-align: left;
  }

  .header-navigation {
    justify-content: space-between;
  }

  .header-hamburger {
    display: flex;
    margin-right: 2em;
  }

  .header-nav-items {
    display: none;
  }

  .searchresults-content {
    height: 235px;
    padding: 0px 20px;
  }

  .searchresults-container h1 {
    padding: 10px 0px 10px 0px;
    letter-spacing: 0.05em;
  }

 }

@media only screen and (min-width: 480px) and (max-width: 767px){ 
  .content-title {
    margin-top: 3em;
  }

  .searchbar-container {
    display: flex;
    align-self: center;
    width: 80vw;
  }

  .search-text-input button {
    right: 5px;
  }

  .search-mainblock {
    flex-direction: column;
    align-items: center;
    width: inherit;
  }

  .searchbar-container {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: 5em;
    margin-right: 1em;
    margin-left: 1em;
    width: 80vw;
}

  .searchresults-container {
    width: 80vw;
  }

  .search-text-input {
    width: 80vw;
  }

  .searchresults-container h1 {
    font-size: 1em;
  }

  .article-card a {
    flex-direction: column;
  }

  .article-img img {
    width: 100%;
    border-bottom-left-radius: 0px;
    object-fit: cover;
  }

  .searchresults-content h3 {
    font-size: 1em;
  }

  .searchresults-container ul {
    display: flex;
    justify-content: center;
  }

  .article-card a {
    width: 80vw;
  }

  .searchresults-content h1 {
    text-align: left;
  }

  .header-navigation {
    justify-content: space-between;
  }

  .header-hamburger {
    display: flex;
    margin-right: 2em;
  }

  #search {
    display: none;
  }

  .header-nav-items {
    display: none;
  }


 

 }

@media only screen and (min-width: 768px) and (max-width: 991px){ 
  
  .searchbar-container {
    display: flex;
    align-self: center;
    width: 65vw;
  }

  .search-text-input button {
    right: 5px;
  }

  .search-mainblock {
    flex-direction: column;
    align-items: center;
    width: inherit;
  }

  .searchbar-container {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-top: 5em;
    margin-right: 1em;
    margin-left: 1em;
    width: 65vw;
}

  .searchresults-container {
    width: 65vw;
  }

  .search-text-input {
    width: 65vw;
  }

  .searchresults-container h1 {
    font-size: 1em;
  }

  .article-card a {
    flex-direction: column;
  }

  .article-img img {
    width: 100%;
    border-bottom-left-radius: 0px;
    object-fit: cover;
  }

  .searchresults-content h3 {
    font-size: 1em;
  }

  .searchresults-container ul {
    display: flex;
    justify-content: center;
  }

  .article-card a {
    width: 65vw;
  }

  .searchresults-content h1 {
    text-align: left;
  }

  .header-navigation {
    justify-content: space-between;
  }

  .header-hamburger {
    display: flex;
    margin-right: 2em;
  }

  .header-search {
    position: absolute;
    left: 10em;
  }

  .header-nav-items {
    display: none;
  }

 }

@media only screen and (min-width: 992px){ 

 }

 @media only screen and (min-width: 1281px) {

   .search-mainblock {
     overflow-y: hidden;
     min-height: 80vh;
   }

   .header-hamburger {
    display: none;
  }

  .searchbar-container {
    
    width: 20vw;
  }
  
 }
