body, html {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: all 0.5s ease;
}

.container {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

h1 {
  text-align: center;
  color: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  color: #ffffff;
}

input[type="number"], input[type="text"] {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #2c2c2c;
  color: #ffffff;
}

button {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #28a745;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #218838;
}

#semestersContainer {
  margin-top: 20px;
}

.semester {
  border: 1px solid #333;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.subjects-container {
  margin-top: 10px;
}

.subject {
  margin-bottom: 10px;
}

.subject-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.marks-container,
.credits-container {
  display: flex;
  gap: 10px;
}

.marks-container label,
.credits-container label {
  flex: 1;
}

.marks-container input,
.credits-container input {
  flex: 2;
}

#result {
  margin-top: 20px;
}

#result p {
  color: #ffffff;
}
