@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2:wght@500&display=swap");
:root { 
  --main-color: hsl(79.69, 75.29%, 66.67%);
  --accent-color: hsl(70.29, 63.64%, 89.22%);
  --text-color: hsl(160, 7.59%, 30.98%);
  
  --margin-xxs: .25rem;
  --margin-xs: .5rem;
  --margin-s: .75rem;
  --margin-m: 1.115rem;
  --margin-l: 1.25rem;
  --margin-xl: 1.75rem;
  --margin-xxl: 2.5rem;

  --font1:   
  font-family: "Arimo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--text-color)
  
  --font2: "Roboto", sans-serif;
  color: var(--text-color)
}

p.font-isi{
  font-size: var(--margin-m);
  line-height: 1.6;
}

.center{
  text-align: center
}

.main-color{
  color: var(--main-color);
}

.justify{
   text-align: justify;
   margin: 20px 120px;
}

.font1 {
  font-family: var(--font1);
}
.font2 {
  font-family: var(--font2);
}

.max-width-1 {
  max-width: 80vw;
}

.max-width-2 {
  max-width: 60vw;
}

.m-auto {
  margin: auto;
}

.mx-1{
  margin-left: 23px;
  margin-right: 23px;
}

.my-2{
  margin-top: 32px;
  margin-bottom: 32px;
}

.btn {
  padding: 0px 20px;
  padding-top: 3px;
  border: 2px solid black;
  border-radius: 6px;
  font-family: var(--font1);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  color: white;
  background: var(--main-color);
}

.form-input {
  padding: 0px 5px;
  padding-top: 3px;
  font-size: 16px;
  border: 2px solid var(--text-color);
  border-radius: 4px;
  margin: auto;
  font-family: var(--font1);
}

.form-box click, input, textarea {
  width: 14vw;
  padding: 0px 6px;
  margin: 7px 0;
  outline: none;
  font-size: 18px;
  font-family: var(--font1);
  border: 2px solid var(--text-color);
    border-radius: 5px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1000;
    display: none; /* Hidden by default */
}
.search-results div {
    padding: 10px;
    cursor: pointer;
}
.search-results div:hover {
    background-color: #f0f0f0;
}

#blogList li {
    list-style-type: none;
    padding: 8px 0;
}

#blogList li a {
    text-decoration: none;
    color: #333;
    display: block;
}

#blogList li a:hover {
    background-color: #f0f0f0;
}

.searchContainer {
    width: 50%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dropdown-content {
    display: none; /* Hide search results by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--accent-color);
    border: 1px solid black;
    z-index: 1000;
}

.dropdown-content a {
    padding: 10px;
    display: block;
    text-decoration: none
    background-color: var(--accent-color);
    color: var(--text-color);
    border-bottom: 1px solid black;
}

.dropdown-content a:hover {
    background-color: var(--hover-color);
}

.dropdown-content a:last-child {
    border-bottom: none; /* Remove the bottom border of the last item */
}

.nav-right {
    position: relative;
}

.nav-right input {
    padding: 5px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid black;
    width: 100%;
    max-width: 460px;
}

#clearButton {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: solid black;
}

.random-button {
    background-color: var(--main-color);
    color: var(--text-color) bolder;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.random-button:hover {
    background-color: var(--hover-color);
}
