/* CSS styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  color: #333;
  margin-top: 50px;
}

h2 {
  text-align: center;
  color: gray;
}

#search {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

input[type="text"] {
  min-width: 25%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-left: 10px;
  margin-right: 10px;
}

input[type="submit"] {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

input[type="submit"]:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

select {
  margin-left: 10px;
  margin-right: 10px;
}

button {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.banner {
  text-align: center;
  background-color: red;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  min-height: 36px;
}

header > a {
  color: #fff;
}

header > a:visited {
  color: #fff;
}

#results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.result {
  width: 300px;
  margin: 20px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.result a h2 {
  margin-top: 0;
}

.result h4 {
  color: gray
}

.result img {
  width: 100%;
  margin-top: 10px;
}

table {
  min-width: 100%;
  overflow-x: scroll;
  padding: 5%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

table td,
table th {
  padding: 8px;
  cursor: pointer;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table td:hover {
  background-color: #ddd;
}

table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}

#downloadFolder {
  min-width: 100%;
  overflow-x: scroll;
  padding: 5%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.switch-simple {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

.switch-simple input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-simple > .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #9fccfa;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.switch-simple > .slider:before {
  position: absolute;
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2em;
  width: 2em;
  inset: 0;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.switch-simple input:checked + .slider {
  background: #0974f1;
}

.switch-simple input:focus + .slider {
  box-shadow: 0 0 1px #0974f1;
}

.switch-simple input:checked + .slider:before {
  transform: translateX(1.6em);
}