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

/* Body Styling */
body {
  background-color: #fafafa;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headings */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #444;
}

/* Paragraphs & Lists */
p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

ul {
  margin-left: 20px;
  list-style: disc;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px dashed #aaa;
  transition: all 0.2s ease;
}
a:hover {
  color: #000;
  border-bottom: 1px solid #000;
}

.icons {
  width: 35px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Layout Containers */
.main-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.portfolio-card-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 60px;
}

/* Vertical Connector */
.connector {
  width: 2px;
  height: 1400px;
  border-left: 2px dashed #ccc;
  background: linear-gradient(to bottom, #ccc, transparent 85%);
  margin-right: 7px;
}

/* Card Connection Lines */
.structure-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.connector-horizontal {
  width: 100%;
  max-width: 1000px;
  height: 2px;
  border-top: 2px dashed #ccc;
  margin-bottom: 60px;
}

/* Portfolio Card */
.portfolio-card {
  border: 2px dashed #ccc;
  padding: 40px;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.portfolio-card:hover {
  border-style: solid;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  width: 100%;
}

footer details.license-details {
  margin-top: 16px;
}

footer details.license-details summary {
  cursor: pointer;
  font-size: 0.95rem;
  color: #555;
  outline: none;
  list-style: disclosure-closed;
}

footer details.license-details[open] summary {
  list-style: disclosure-open;
}

footer pre.license-text {
  white-space: pre-wrap;
  font-size: 0.85rem;
  color: #777;
  background: #fafafa;
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .connector,
  .connector-horizontal {
    display: none;
  }

  .portfolio-card {
    padding: 25px;
    width: 95%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  p,
  ul {
    font-size: 0.95rem;
  }
}