body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f3f4f6;
  color: #333;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

h1 {
  color: #2c3e50;
  margin-top: 20px;
}

.logo-image {
  width: 250px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container {
  /* position: fixed; */
  top: 300px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  background-color: #f4f4f6;
  padding: 10px 10px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

input[type="text"] {
  width: 80%;
  padding: 10px 15px;
  font-size: 16px;
  border: 4px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

input[type="text"]:focus {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

#search-results {
  margin-top: 80px;
  width: 100%;
  max-width: 900px;
}

#search-results th,
#search-results td {
  padding: 12px 15px;
  text-align: left;
  word-wrap: break-word;
}

#search-results th {
  background-color: #3498db;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
}

#search-results tr {
  border-bottom: 1px solid #ddd;
}

#search-results tr:hover {
  background-color: #ff9ea1;
}

#search-results td {
  font-size: 18px;
}

#search-results th:first-child,
#search-results td:first-child {
  width: 20%;
}

#search-results th:last-child,
#search-results td:last-child {
  width: 80%;
}

.no-results {
  font-size: 16px;
  color: #555;
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  table-layout: fixed;
}

header {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 15px;
  padding-top: 2px;
  padding-bottom: 2px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  /* width:90%; */
}

footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 15px;
  padding-top: 2px;
  padding-bottom: 2px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20%;
  /* width:90%; */
}

.footer-box {
  padding: 5px;
  /* background-color: #34495e; */
  border-radius: 5px;
  font-size: 14px;
  text-align: left;
}

.footer-box a, .footer-box.link, .footer-box a:visited {
  color: white;
  font-size: 22px;
  text-decoration: none;
}

header .footer-box {
  background-color: black;
  color: white;
}




/* >>> cards <<< */

/* table { */
/*   width: 100%; */
/*   border-collapse: collapse; */
/*   table-layout: fixed; */
/*   margin: 0 auto; */
/* } */

td {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: center;
  vertical-align: top;
  width: 25%;
  word-wrap: break-word;
}

.main-container {
  width: 75%;
  max-width: 1600px;
  margin: 0 auto;
}

.input-field {
  width: 100%;
  height:100%;
  /* box-sizing: border-box; */
  /* padding: 5px; */
  /* border: 1px solid #ccc; */
  border-radius: 4px;
}

.input-field.deactivated {
  background-color: gray;
  cursor: not-allowed;
  box-shadow:whitesmoke;
}

.input-field input {
  /* padding: 8px; */
  border: 1px solid #ccc;
  /* border-radius: 4px; */
  /* width: 150px; */
}

/*FIXME: with line-height:1 we have proper word wrap but space between 1 to 2 line is too much*/
.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  /* padding: 3px; */
  padding-left: 3px;
  margin-top:0px;
  /* width: 300px; */
  text-align: left;
  background-color: white;
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.3s ease;
  word-wrap:break-word;
  word-break:normal;
  margin:0;
}

.card p {
  margin-top:8px;
  margin-bottom:8px;
}

.card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card.deactivated {
  background-color: #e0e0e0;
  text-decoration: line-through;
  cursor: not-allowed;
  box-shadow: none;
}




/* Popup-Div in Spalte 1 (z. B.) */
.search-popup {
  position: absolute; 
  /* top: 0; */
  /* left: 0; */
  /* right: 0; */
  /* margin-top: 5px; */
  background: #fff;
  border: 1px solid red;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  width:600px ;
}

.search-popup table {
  width: 100%;
  border-collapse: collapse;
}
.search-popup th, .search-popup td {
  border: 1px solid #ccc;
  /* padding: 6px; */
  font-size: 16px;
  text-align: left;
}
