/* styles.css */
body {
  background-color: rgb(14, 14, 84);
  margin: 0;
}

.box {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 1rem;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
      from {
        opacity:0; 
        transform:translateY(-20px);
    }
      to {
        opacity:1; 
        transform:translateY(0);
    }
    }

/* NAVBAR */
.nav {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  color: white;
  position: relative;
  left: 15px;
  display: flex;
  font-size: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
}
#inner_logo { color: rgb(6, 172, 238); }

.nav_inner {
  position: relative;
  right: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-weight: bold;
}

#nav1 a {
  color: white;
  text-decoration: none;
}
#nav1 a:hover { color: yellow; }

/* MAIN CONTAINER */
.container {
  text-align: center;
  background: white;
  height: auto;
  max-width: 50rem;
  width: 100%;
  padding: 3rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 20px 2px pink;
}

select, button {
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  border-radius: 6px;
}

.output {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #333;
}

footer{
  position: relative;
  bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .container {
    max-width: 90%;
    padding: 2rem 1rem;
  }
}

@media (max-width: 600px) {
  .logo { font-size: 1.2rem; }
  .nav_inner { gap: 1rem; font-size: 0.9rem; }
  .container h1 { font-size: 1.3rem; }
  select, button { width: 100%; font-size: 0.95rem; }
}

@media (max-width: 450px) {
  .nav_inner{
    left: 15px;
  }
}

@media (max-width: 400px) {
  .nav { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .container h1 { font-size: 1.1rem; }
  .container { padding: 1.5rem 1rem; }
}
