@font-face {
  font-family: Roboto-Medium;
  src: url(Roboto-Medium.ttf);
}

body {
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p,
a {
  font-family: "Roboto", sans-serif;
}

h1 {
  /*font-family: Arial, sans-serif;*/
  font-weight: 500;
  font-style: normal;
  font-size: 3em;
  vertical-align: bottom;
  display: inline-block;
  margin: -1px 0 0 0.2em;
  color: black;
}

h2 {
  font-weight: 500;
  font-size: 32px;
}

h3 {
  font-weight: 500;
}

h4 {
  font-weight: 300;
  margin: 0;
}

p {
  text-align: center;
  font-weight: 300;
}

a {
  text-align: center;
  font-weight: 300;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: blue;
}

#ReRead_logo {
  height: 50px;
  display: block;
  float: left;
  margin-left: 8px;
}

.topnav {
  overflow: hidden;
  min-width: 307px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 20px 0 10px 0;
}

.split {
  display: none;
}

.split.responsive {
  display: block;
  margin-top: 20px;
}

/* Style the links inside the navigation bar */
.split a {
  float: none;
  display: block;
  color: black;
  text-align: center;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 30px;
}

.split a:hover span:not(.material-symbols-outlined) {
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 1px;
}

.topnav .icon {
  float: right;
  display: block;
  padding: 7px 20px;
  margin-top: -1px;
}

.line {
  background-color: black;
  width: 20px;
  height: 2px;
  margin: 13px 0;
}

#author_date {
  text-align: center;
  font-style: italic;
  margin: 0;
}

.highlight {
  background-color: yellow; /* Change this to your preferred highlight color */
}

input[type="search"] {
  padding-left: 5px;
  font-size: 16px;
}

/* Container for the input and button */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  margin: 20px auto;
  width: 70%;
  min-width: 282px;
}

/* Style for the input field */
.search-container input[type="search"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px; /* Rounded corners only on left side */
  outline: none;
  height: 52px;
}

/* Style for the search button */
.search-container button {
  height: 52px;
  padding: 10px 20px;
  border: 1px solid #007bff;
  background-color: #007bff;
  color: white;
  border-radius: 0 4px 4px 0; /* Rounded corners only on right side */
  cursor: pointer;
  font-size: 16px;
}

/* Button hover effect */
.search-container button:hover {
  background-color: #0056b3;
}

@media screen and (min-width: 770px) {
  .split {
    display: block;
    float: right;
  }

  .split a {
    float: left;
    text-align: center;
    display: block;
    font-size: 24px;
  }

  .split.responsive {
    margin-top: 0;
  }

  .topnav a.icon {
    display: none;
  }

  .material-symbols-outlined {
    display: inline-block;
  }

  #ReRead_logo {
    margin-left: 1.5em;
  }
}
