
body {
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background-color: #ff00a6;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 10px;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#search-input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-right: 10px;
}

#search-button {
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  background-color: #ff0000;
  color: #fff;
}

  #customMenu {
            display: none;
            position: absolute;
            background-color: #ffffff;
            border: 1px solid #ccc;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 10px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 16px;
            color: #333;
            border-radius: 5px;
        }

        #customMenu a,
        #customMenu p {
            text-decoration: none;
            color: #007BFF;
            display: block;
            padding: 10px 15px;
            transition: background-color 0.3s;
            cursor: pointer;
        }

        #customMenu a:hover,
        #customMenu p:hover {
            background-color: #f2f2f2;
        }


#data-container {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.room-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 10px;
}

.room-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.room-card p {
  margin: 5px 0;
}

#categories-container {
  overflow-x: auto;
  white-space: nowrap;
  margin-bottom: 10px;
}

.category {
  display: inline-block;
  padding: 10px;
  margin: 0 5px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.category:hover {
  background-color: #0056b3;
}

#loading-animation {
  display: none;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
}

footer {
  background-color: #ff00a6;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  height: 3%;
  width: 100%;
  display: flex;
  align-items: center;
}

footer h3 {
  margin-left: 20px;
  font-size: 20px;
}

footer h3 em {
  font-style: italic; 
  font-size: 18px;
}



.add-room-button {
  margin-top: 10px;
  text-align: center;
}

.add-room-button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff0066;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.add-room-button a:hover {
  background-color: #d90059;
}

#upload-notice {
  background-color: #007bff;
  color: #fff;
  padding: 15px;
  text-align: center;
  margin-bottom: 0px;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#upload-notice span {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

/* Decrease font size on mobile devices */
@media (max-width: 768px) {
  #upload-notice span {
    font-size: 16px;
  }

  #customMenu {
                display: none !important;
            }
}
@media (max-width: 768px) {
  .room-card {
    padding: 8px;
    width: calc(100% - 20px); /* Adjust as needed for spacing and borders */
  }

  #customMenu {
                display: none !important;
            }

  #data-container {
    padding: 5px;
  }
 #upload-notice span {
    font-size: 14px; /* Adjust the font size for mobile devices */

      line-height: 1.2;

  }
  
}
