/* Menu */


* {
  font-family: "Raleway";
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  width: 100%;
}

body {
  background-color: #fff;
}


.top-nav {
  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #77aacc;
  background: linear-gradient(to left, #77aacc, #fff);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFF;
width: 100%;
  height: 50px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem !important;
  overflow: hidden;
}

.menu a {
color: #fff;
text-decoration: none;
font-size: 18px;
margin: 15px;
}

.menu-button-container {
  display: none;
position: relative;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}


/* ===== Algemene opmaak ===== */

.box {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); */
}

/* ===== Zoekbalk en knoppen ===== */
.search-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.search-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 650px;
}

input[type="text"] {
  flex: 1;
  min-width: 140px;
  max-width: 500px;
  height: 70px;
  padding: 0 14px;
  font-size: 18px !important;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-sizing: border-box;
}

#mic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  cursor: pointer;
  font-size: 20px;
  flex-shrink: 0;
}

button {
  height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 25px;
  background: #77aacc;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

button:hover {
  background: #ccc;
}

/* ===== Resultaten ===== */
#results {
  margin-top: 24px;
}

.result {
  margin-bottom: 20px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.title {
  color: #1a0dab;
  font-size: 18px;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  word-wrap: break-word;
}

.url {
  color: #006621;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
  word-break: break-all;
}

.snippet {
  color: #444;
  font-size: 16px;
  line-height: 1.4;
  word-wrap: break-word;
}

/* ===== Paginatie ===== */
.pagination {
  text-align: center;
  margin-top: 24px;
}

.page-link {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eee;
  text-decoration: none;
  color: #333;
}

.page-link.active {
  background: #1a73e8;
  color: #fff;
}

.page-link:hover {
  background: #ccc;
}


@media (max-width: 768px) {

body {
    padding: 0px;
  }

  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #77aacc;
  }

  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }

.menu a {
    line-height: 2.5rem;   /* past precies binnen de li hoogte */
    padding: 0;            /* geen extra padding nodig */
    display: flex;
    align-items: center;   /* verticale centrering */
    justify-content: center;
    width: 100%;
}

  .box {
    margin: 10px auto;
    padding: 14px;
  }

  .search-row {
    flex-wrap: nowrap;
  }

  .search-inner {
    flex-direction: row;
    gap: 8px;
    max-width: 100%;
  }

  input[type="text"] {
    height: 50px;
    font-size: 16px !important;
    padding: 0 10px;
  }

  #mic {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  button {
    height: 42px;
    font-size: 15px;
    padding: 0 12px;
  }

  .title {
    font-size: 16px;
  }

  .snippet {
    font-size: 13px;
  }

  .url {
    font-size: 12px;
  }

}


