html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #fefefe;
  font-family: "Courier New", monospace;
  overflow-x: hidden;
}

#pixelContainer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.pixel {
  position: absolute;
  background-color: #eee8d5;
  border-radius: 1px;
  opacity: 0.6;
}

.pixel-small {
  width: 1px;
  height: 1px;
}

.pixel-medium {
  width: 2px;
  height: 2px;
}

.pixel-large {
  width: 3px;
  height: 3px;
}

.pixel-extra-large {
  width: 4px;
  height: 4px;
}

.gate-tag {
  position: fixed;
  font-family: "Courier New", monospace;
  font-size: 8px;
  color: #93a1a1;
  pointer-events: none;
  width: 70px;
  text-align: center;
  z-index: 50;
  white-space: nowrap;
}

#main-content {
  position: relative;
  z-index: 100;
  left: 0;
  max-width: 600px;
  margin: 0 auto;
  padding: 190px 40px 40px 120px;
  background-color: transparent;
  min-height: calc(100vh - 24px);
  box-sizing: border-box;
  text-align: left;
}

.area {
  font-size: 13px;
  color: #555555;
  margin: 8px 0 8px 0;
  line-height: 1.5;
  text-align: center;
}

.section-heading {
  font-size: 18px;
  color: #333333;
  margin: 25px 0 12px 0;
  font-weight: normal;
  letter-spacing: 1px;
  text-align: left;
}

.focus-area {
  font-size: 14px;
  color: #555555;
  margin: 5px 0 20px 15px;
  line-height: 1.5;
  text-align: left;
}

.project-title-text {
  font-size: 14px;
  color: #555555;
  margin: 15px 0 8px 15px;
  line-height: 1.5;
  text-align: left;
  font-weight: 500;
}

.project-separator {
  border: none;
  border-top: 1px dashed #eeeeee;
  margin: 15px 0 15px 15px;
  width: 40%;
}

.project-item {
  margin: 6px 0 6px 25px;
}

.project-item a {
  color: #555555;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  display: inline-block;
  padding: 3px 5px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.project-item a:before {
  content: "→ ";
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.project-item a:hover {
  color: #333333;
  background-color: #f8f8f8;
}

.project-item a:hover:before {
  opacity: 1;
}

.doi-text {
  font-size: 10px;
  color: #888888;
  opacity: 0.8;
  display: block;
  text-align: center;
}

.area a {
  color: #555555;
  text-decoration: none;
  font-size: 11px;
  position: relative;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.area a:before {
  content: "→ ";
  opacity: 0;
  transition: opacity 0.2s ease;
}

.area a:hover:before {
  opacity: 0.6;
}

.area a:hover {
  color: #333333;
  background-color: #f8f8f8;
}

.detail {
  font-size: 11px;
  color: #888;
  margin: 8px 0 8px 0;
  line-height: 1.5;
  text-align: left;
  display: inline-block;
  width: auto;
}

#header {
  text-align: left;
  margin-bottom: 35px;
  padding-bottom: 15px;
}

.butterfly-container {
  text-align: left;
  margin-top: 40px;
  margin-bottom: 60px;
  margin-left: 85px;
}

.butterfly {
  width: 30px;
  max-width: 100px;
  height: auto;
  opacity: 0.7;
  display: block;
  margin: 0;
}

h1 {
  font-size: 28px;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  font-weight: normal;
  letter-spacing: 2px;
}

.header-title {
  color: #c1c1c1; /* Ändra denna färg till valfri */
}

.subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0;
  letter-spacing: 1px;
}

h2 {
  font-size: 16px;
  color: #333333;
  margin: 40px 0 16px 0;
  font-weight: normal;
  letter-spacing: 1px;
}

#research-areas,
#approach,
#status {
  margin-bottom: 40px;
}

#status p {
  font-size: 13px;
  color: #555555;
  margin: 8px 0 8px 20px;
  line-height: 1.5;
}

.note {
  color: #8b4513 !important;
  font-size: 12px !important;
  font-style: italic;
}

#symbol {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#symbol pre {
  font-family: "Courier New", monospace;
  font-size: 10px;
  color: #7f8c8d;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  opacity: 0.6;
  text-align: center;
  display: block;
}

.symbol-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.symbol-paren {
  font-size: 16px; /* 20% mindre än tidigare 20px */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.symbol-core {
  font-size: 10px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

#status-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background-color: #2d3748;
  color: #e2e8f0;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
  box-sizing: border-box;
  overflow: hidden;
}

.status-left {
  color: #e2e8f0;
}

.status-right {
  color: #e2e8f0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #main-content {
    padding: 170px 30px 30px 80px;
    max-width: 90%;
  }

  .section-heading {
    font-size: 16px;
    margin: 20px 0 10px 0;
  }

  .focus-area {
    margin: 5px 0 15px 10px;
    font-size: 13px;
  }

  .project-title-text {
    margin: 12px 0 6px 10px;
    font-size: 13px;
  }

  .project-item {
    margin: 5px 0 5px 20px;
  }

  .project-separator {
    margin: 12px 0 12px 10px;
    width: 50%;
  }

  .butterfly-container {
    margin-left: 45px;
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: 85px;
  }

  h1.header-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  #main-content {
    padding: 150px 20px 20px 60px;
  }

  .section-heading {
    font-size: 15px;
  }

  .focus-area {
    margin: 5px 0 12px 5px;
    font-size: 12px;
  }

  .project-title-text {
    margin: 10px 0 5px 5px;
    font-size: 12px;
  }

  .project-item {
    margin: 4px 0 4px 15px;
  }

  .project-separator {
    margin: 10px 0 10px 5px;
    width: 60%;
  }

  .butterfly-container {
    margin-left: 40px;
    margin-top: 25px;
    margin-bottom: 30px;
  }

  h1.header-title {
    font-size: 20px;
  }
}
