* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1560px;
  min-width: 1240px;
  width: 100%;
  margin: 20px auto;
  color: #333;
  line-height: 1.6;
}

.container * {
  box-sizing: border-box;
}

header {
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 2.1rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 auto;
}


.calculator-container {
  display: grid;
  grid-template-columns:1.5fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section,
.result-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-section{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-box{
  width: 100%;
  display: grid;
  grid-template-columns:repeat(3,1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.container label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1rem;
}

.container input,
.container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 1rem;
}

.container button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 14px 68px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
  margin: auto;
}

.container button:hover {
  background-color: #2980b9;
}

.result-card {
  margin-top: 20px;
}

.result-value {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
}

.result-description {
  text-align: center;
  font-size: 1.1rem;
}

.result-details {
  margin-top: 20px;
}

.result-card p{
  margin-top: 8px;
}

.result-details p, .result-card li{
  margin-top: 8px;
  opacity: 0.85;
}

.result-card ul{
  padding-left: 20px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
}

footer {
  text-align: center;
  color: #666;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin: 0 10px;
  color: #3498db;
  text-decoration: none;
}
