
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.slider-container {
  display: flex;
  height: 100vh;
  width: 400vw;
  transition: transform 0.5s ease;
}

.slide {
  flex: 1 0 100vw;
  height: 100vh;
  overflow-y: auto;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 60px;
  color: white;
  text-shadow: 1px 1px 3px black;
}

.content {
  padding: 40px;
  background-color: rgba(0,0,0,0.5);
  max-width: 95%;
  margin: auto;
  margin-top: 50px;
  border-radius: 10px;
}

table {
  width: 100%;
  table-layout: fixed;
}

td {
  width: 25%;
  padding: 10px;
}

td a {
  display: block;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

td a:hover, td a:focus {
  background: rgba(255,255,255,0.3);
}

.nav-arrows {
  position: fixed;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

.arrow {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 20px;
  padding: 15px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 20px;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

input#searchBox {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
}

ul.search-list {
  list-style: none;
  margin-top: 10px;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

ul.search-list li {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

ul.search-list li:hover,
ul.search-list li.active {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .content {
    width: 95%;
  }

  td {
    width: 50%;
  }
}

.content h1 {
  text-align: center;
}

/* Base: PC/tablet - 4 columns */
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

td {
  width: 25%;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  td {
    width: 100%;
    display: block;
  }

  tr {
    display: block;
    margin-bottom: 10px;
  }

  table {
    width: 100%;
  }
}
