/* General styles */

body {
  font-family: "Fira Mono", "Consolas", monospace;
  font-size: 1.125em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  padding-left: 1.2rem;
}

.list li {
  padding-left: 0.3rem;
  color: #dcdcaa;
  font-weight: 600;
}

.list li:nth-of-type(2) {
  color: #c586c0;
  font-weight: 400;
  padding-left: 1.5rem;
}

.list li:nth-of-type(3) {
  margin-bottom: 2rem;
  color: #6a9955;
  font-weight: 400;
  padding-left: 3rem;
}

h2 {
  margin: 1rem 0 0.2rem 0;
  font-weight: 800;
  text-align: center;
}

h4 {
  margin: 1.2rem 0 1rem 0;
  font-weight: 700;
  color: #eaeaea;
}

a {
  color: #569cd6;
}

/* Styles for the terminal section */
.stack,
.contact,
.cv,
.experiences,
.formation {
  color: #d7ba7d;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.name,
.presentation-text {
  display: block;
  text-align: center;
  margin: 1.5rem auto 0 auto;
}

.name {
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 0.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-text {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e1e1e;
}

.presentation-text {
  font-size: 1.5rem;
  max-width: 600px;
  color: #4f39f6;
  font-weight: 700;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #232323;
  margin-left: 2px;
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.terminal_indicator {
  width: 5px;
  height: 18px;
  background: #eaeaea;
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.terminal {
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  color: #eaeaea;
  margin: 2rem auto;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.2em 1.5rem 1.2em;
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  height: 32px;
  background: #181818;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 0 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.terminal-buttons {
  display: flex;
  gap: 0.5em;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.3em;
  display: inline-block;
}
.terminal-btn.close {
  background: #ff5f56;
}
.terminal-btn.min {
  background: #ffbd2e;
}
.terminal-btn.max {
  background: #27c93f;
}

.terminal-content {
  margin-top: 40px;
}

/* Styles for the project section */
.tech-list {
  color: #f44747;
}

.projects {
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  box-sizing: border-box;
}

.project-card {
  background: #232323;
  border-radius: 6px;
  margin-bottom: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}

.project-header {
  cursor: pointer;
  padding: 1em 1.2em;
  background: #1e1e1e;
  color: #98d77b;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.project-header:hover {
  background: #252526;
}

.project-content {
  max-height: 0;
  overflow: hidden;
  background: #232323;
  color: #eaeaea;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 1.2em;
}

.project-card.active .project-content {
  max-height: 500px;
  padding: 1em 1.2em;
}
