.search-container {
  background-color: #121212;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  position: fixed; /* Make it fixed */
  top: 2.7em; /* Adjust to position it vertically */
  left: 50%; /* Adjust to position it horizontally */
  transform: translate(-50%, -50%); /* Center it within the viewport */
  width: 100%;
  z-index: 10;
}

.search-container input[type=text] {
    padding: 15px;
    width: 30em;
    border-radius: 30px; /* Rounded corners */
    border: 2px solid #555; /* Border color */
    background-color: #444; /* Dark background for input */
    color: #fff; /* Light text for contrast */
    font-size: 16px; /* Increase font size */
    margin: 0 5px;

    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.search-container input[type=text]:focus {
    outline: none; /* Remove default focus outline */
    border-color: #4caf50; /* Change border color on focus */
}

.search-container button {
    padding: 15px 20px;
    border: none;
    border-radius: 30px; /* Rounded corners */
    background-color: #3498db; /* Blue background */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 16px; /* Increase font size */
    margin: 0 5px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.search-container button:hover {
    background-color: #2980b9;
    transform: scale(1.05); 
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 17px; 
    padding: 20px;
}

.card {
    display: block;
    width: 260px; 
    flex-grow: 1;
    max-width: 300px;
    
    height: 150px;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3); 
}

.card-content {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); 
    width: 100%;
    padding: 10px;
}

.card-content h3, .card-content p {
    margin: 5px 0;
    color: white; 
}

.card:hover {
    transform: scale(1.05);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212; /* Dark background */
    margin: 0 auto; /* Center the body horizontally */
    max-width: 1200px; /* Set a maximum width for the body */
    padding: 20px; /* Add padding to the body for spacing */
}

.title {
    text-align: center;
    font-size: 24px;
    color: #ffffff; /* White text */
    margin-top: 20px;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.7), 0 0 10px rgba(52, 152, 219, 0.7), 0 0 15px rgba(52, 152, 219, 0.7); /* Subtle blue glow */
}

#openUrlsButton {
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 16px;
  margin: 0 5px;
  
  background-color: #ff6666;
  font-style: italic;
  position: relative; 
}

#openUrlsButton::after {
  content: attr(data-tooltip); 

  position: absolute;
  top: 120%; 
  left: 50%;
  transform: translateX(-50%); 
  
  background-color: #333; 
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-style: normal; 
  white-space: pre-wrap; 
  width: max-content;
  max-width: 250px; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 100;
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, top 0.3s;
  pointer-events: none; 
}

#openUrlsButton:hover {
  background-color: #e04d4d;
  transform: scale(1.05);
}

#openUrlsButton:hover::after {
  opacity: 1;
  visibility: visible;
  top: 130%; 
}