body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
     background-image: url("images/bg.svg");
      background-size: cover;
      background-position: center;
      background-repeat: repeat;
     margin-bottom: 120px;
    padding-bottom: 120px;
}

.search-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  margin-bottom: 20px;
  margin-top: 20px;
  width: 95%;
  z-index: 999;
}

.image-container {
    position: absolute;
    top: 160px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    width: 80%;
    margin-bottom: 120px;
    padding-bottom: 120px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  cursor: pointer;
}

input {
position: relative;
width: 80%;
height: 40px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
z-index: 999;
font-size: 20px;
border: 1px solid #007bff;
border-radius: 4px;
    background-color: black;
    color: white;
}



.api-key-section {
  position: fixed;
  bottom: 20px;
  width: 80vw;
  text-align: center;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#api-key {
  width: 100%; /* Adjusted to fit the container */
  height: 40px;
  padding: 10px 20px;
  font-size: 16px;
  display: block; /* Centered in the container */
  margin-bottom: 5px; /* Space between input and link */
  text-align: center;
}



.get-api-key a {
  color: #007bff;/* Or any color that suits your design */
  text-decoration: none;
  font-size: 14px;
}

.get-api-key a:hover {
  text-decoration: underline;
}




.gif-container {
    position: relative;
    display: inline-block; /* Or 'block' depending on your layout */
    margin: 5px;
}

.action-icons-container {
    display: none; /* Initially hidden */
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    text-align: center;
}

.action-icons-container.show {
    display: block;
}

.icon {
    padding: 5px;
    cursor: pointer;
}


.icon {
    padding: 10px;
    cursor: pointer;
    font-size: 24px; 
    display: inline-block;
    margin: 0 5px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7); 
    color: #333; 
}

/* Add a hover effect for better interactivity */
.icon:hover {
    background-color: rgba(255, 255, 255, 0.9);
}



.powered-by {
    margin-top: 10px;
    text-align: center;
}

.powered-by a {
    color: #000; /* Or any color that suits your design */
    text-decoration: none;
    font-size: 14px;
}

.powered-by a:hover {
    text-decoration: underline;
  color: blue;
}

.switch-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: 80%;
}

.switch-btn {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.switch-btn:hover {
    background-color: #f8f7f7;
}

.switch-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
/* Style for the key icon inside the search input */
.key-icon {
    position: fixed;
    right: 10px; /* Adjust to position inside the search input */
    top: 6%; /* Adjust to vertically align */
    transform: translateY(-50%);
    color: white;/* Adjust color as needed */
    cursor: pointer;
}


footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

footer p {
  font-size: 14px;
  color: #007bff;
}