* { box-sizing: border-box; font-family: 'Ubuntu', sans-serif; }
body { margin: 0; background: #f4f4f4; transition: 0.3s; }
header {
  position: sticky; top: 0; background: #ff7315; color: #fff; text-align: center; padding: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
header h1 { margin: 0; }
header button { background: #333; color: #fff; border: none; padding: 8px 12px; border-radius: 5px; cursor: pointer; }

main { width: 945px; margin: 20px auto; padding-bottom: 80px; }
nav { width: 20%; float: left; }
nav li { list-style: none; padding: 8px; border-radius: 6px; cursor: pointer; }
nav li:hover, .selected { background: #ffa259; }
#optionQuantity { display: none; width: 100%; padding: 8px; font-size: 18px; border-radius: 8px; margin: 10px 0; }

#converterSpace { width: 75%; float: right; }
.converter { display: flex; margin: 15px 0; border-radius: 12px; }
input, select { height: 50px; font-size: 20px; padding: 8px; border: none; }
input { flex: 70%; border-radius: 12px 0 0 12px; }
select { flex: 30%; border-radius: 0 12px 12px 0; }

.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

footer {
  position: fixed; bottom: 0; width: 100%; text-align: center; background: #ff7315; color: #fff; padding: 10px;
}

/* Dark mode */
body.dark { background: #1c1c1c; color: #fff; }
body.dark header { background: #333; }
body.dark footer { background: #333; }
body.dark .glass { background: rgba(40, 40, 40, 0.5); }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; /* Bigger base font */
}

header h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.converter input {
  height: 65px;
  font-size: 28px;
  padding: 10px 15px;
}

.converter select {
  height: 65px;
  font-size: 22px;
}

nav li {
  font-size: 20px;
  padding: 12px;
  border-radius: 8px;
}

header button {
  font-size: 18px;
  padding: 10px 18px;
  border-radius: 8px;
}

footer {
  font-size: 18px;
  padding: 15px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

/* Header */
header {
  background: #4e54c8;
  background: linear-gradient(45deg, #4e54c8, #8f94fb);
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

/* Main container */
main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Sidebar menu */
nav {
  flex: 1;
  max-width: 250px;
}
nav ul {
  list-style: none;
}
nav li {
  padding: 15px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.2s;
}
nav li:hover, .selected {
  background: #8f94fb;
  color: #fff;
}

/* Converter Card */
#converterSpace {
  flex: 2;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#converterSpace h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #4e54c8;
}

.converter {
  display: flex;
  margin-bottom: 20px;
}

.converter input,
.converter select {
  height: 70px;
  font-size: 1.4rem;
  border: 1px solid #ddd;
  padding: 0 15px;
}

.converter input {
  flex: 70%;
  border-radius: 10px 0 0 10px;
}

.converter select {
  flex: 30%;
  border-radius: 0 10px 10px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #4e54c8;
  color: #fff;
  margin-top: 40px;
  font-size: 1.1rem;
}
footer strong {
  color: #ffd700;
}

/* Mobile */
@media (max-width: 768px) {
  main {
    flex-direction: column;
    align-items: center;
  }
  nav { width: 100%; max-width: none; }
  #converterSpace { width: 100%; }
}
