* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Marcellus", serif;
}

body {
  position: relative;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #ddd;
}

.header-content h1 {
  font-weight: bolder;
  font-size: 2rem;
  margin-bottom: 5px;
}

.header-content h3 {
  font-weight: 400;
  color: #555;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007BFF;
}

main {

  margin: 60px 20px;
  display: flex;
  flex-direction: column;
}

.presentation {
  z-index: 2;
  text-align: left;
}

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #666;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #0056b3;
}

.projects {
  padding: 40px 20px;
}

.projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.card {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card p {
  color: #666;
}

.card ul {
  color: #666;
  margin: 0 0 15px 20px;
}

.card ul li {
  margin-bottom: 6px;
}

.card code {
  background-color: #f4f4f4;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: monospace;
  color: #d6336c;
}

/* Tech tags on project cards */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px !important;
}

.tags span {
  font-size: 0.75rem;
  font-weight: bold;
  color: #007BFF;
  background-color: #eaf3ff;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Roadmap / planned-next note inside modals */
.roadmap {
  font-style: italic;
  border-left: 3px solid #007BFF;
  padding-left: 12px;
  margin-bottom: 15px !important;
}

.modal-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #555;
}

.intro p {
  transition: opacity 0.5s ease-in-out;
}


@media (min-width: 1000px) {
  .presentation {
    text-align: left;
    width: 60vw;
  }
}

.draw {
  position: absolute;
  left: 0;
  right: 0;
  bottom: auto;
  height: 100px;
  z-index: 1;
  background-image:
    linear-gradient(to bottom right, transparent 50%, #4a87e1 50%, #0066FF 52%, transparent 52%),
    linear-gradient(to bottom left, transparent 50%, #FF6600 50%, #FF6600 52%, transparent 52%),
    linear-gradient(to bottom right, transparent 70%, #00CC66 70%, #00CC66 72%, transparent 72%);
  background-size: 100% 100px;
  background-repeat: no-repeat;
}

@media (max-width: 480px) {

  #subtitle {
    display: none;
  }

  .nav-links {
    padding-right: 5px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {}

@media (min-width: 768px) and (max-width: 999px) {}

@media (min-width: 1000px) {
  .presentation {
    padding: 0 100px;
  }
}
