* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 60px 20px;
  text-align: left;
  font-size: 110%;
  color: #333;
  background: #fff;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #000;
  font-size: 2.2em;
}

h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #000;
  font-size: 1.6em;
}

h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #000;
  font-size: 1.3em;
}

p.intro {
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7em;
  text-align: justify;
}

p.caption {
  font-size: 0.95em;
  color: grey;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 30px;
}

.authors {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  font-size: 1.05em;
}

.authors a {
  color: inherit;
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.badges {
  text-align: center;
  margin-bottom: 40px;
}

.badges a {
  margin: 0 8px;
  font-size: 1em;
  text-decoration: none;
}

.section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 50px auto;
}

.figure-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.figure-container img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.gif-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.gif-container img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.viewer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.button-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.energy-table {
  margin: 20px auto;
  border-collapse: collapse;
  font-size: 1em;
}

.energy-table th,
.energy-table td {
  padding: 10px 20px;
  text-align: center;
  border: 1px solid #ddd;
}

.energy-table th {
  background: #4a90d9;
  color: #fff;
  font-weight: bold;
}

.energy-table td {
  background: #f9f9f9;
  color: #333;
}

.instructions {
  font-size: 0.85em;
  color: grey;
  margin-top: 10px;
  list-style-type: disc;
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 4px;
}

button {
  background-color: #4a90d9;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 1px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #357abd;
}

.divider {
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: #e0e0e0;
  margin: 40px auto;
}
