@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  overflow-x: hidden; /* Hide scrollbars */
}

.hero-text {
  animation: fadeIn 1.5s ease-out;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 1.5s infinite alternate;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  width: 80px;
  filter: invert(61%) sepia(89%) saturate(403%) hue-rotate(186deg)
    brightness(93%) contrast(92%);
}

.gradient-text {
  background: linear-gradient(45deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Input Component Styles */
.input-card {
  width: 90%;
  max-width: 470px;
  background: linear-gradient(135deg, #003e95, #221f36);
  color: #fff;
  margin: 20px auto 0;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
  border-style: solid;
  border-color: rgb(0, 88, 230);
}

.search {
  width: 100%;
  justify-content: space-between;
}

.search input {
  border: 0;
  outline: 0;
  background: #ebfffc;
  color: #414141;
  padding: 10px 25px;
  height: 50px;
  border-radius: 30px;
  flex: 1;
  margin-right: 0px;
  font-size: 18px;
  margin-bottom: 8px;
  width: 100%;
}

.search button {
  border: 0;
  outline: 0;
  background: #ebfffc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.search button img {
  width: 16px;
  margin-left: auto;
  margin-right: auto;
}

.night h1 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 8px;
}

.error {
  text-align: center;
  margin-left: 10px;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.skyChart {
  margin-top: 5px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.night {
  display: none;
}

.image-upload-container {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  margin: 10px 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.image-upload-container.dragover {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: #666;
}

.upload-label {
  display: block;
  cursor: pointer;
  color: #666;
}

.image-container {
  position: relative;
  width: 100%;
  display: inline-block;
}

.inner-circle {
  position: absolute;
  margin-top: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; /* Fixed width */
  height: 120px; /* Same as width for perfect circle */
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 32, 0.6); /* Dark blue background */
}

.uploadedImage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.example {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 25%;
}
