body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: linear-gradient(120deg, #232526 0%, #414345 100%);
  color: #f5f5f5;
  min-height: 100vh;
}

.navbar {
  background-color: #2c3e50;
  padding: 20px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
.navbar #menu-toggle {
  display: none;
}
.navbar .logo {
  color: #fff;
  font-weight: bold;
  font-size: 1.3em;
  padding: 15px 0;
}
.navbar .menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.navbar .menu-icon span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.navbar .menu li {
  position: relative;
}
.navbar .menu li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}
.navbar .menu li a:hover {
  background-color: #34495e;
}
.navbar .menu li.dropdown .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 125%;
  background-color: #2c3e50;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease;
  opacity: 0.3s ease;
  transform: 0.3s ease;
  visibility: 0.3s ease;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.navbar .menu li.dropdown .submenu li a {
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  background-color: #2c3e50;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .menu li.dropdown .submenu li a:hover {
  background-color: #3498db;
}
.navbar .menu li.dropdown .submenu li a {
  padding: 12px 20px;
  color: #fff;
}
.navbar .menu li.dropdown .submenu li a:hover {
  background-color: #3498db;
}
.navbar .menu li.dropdown:hover .submenu {
  max-height: 100px;
  opacity: 1;
  visibility: visible;
}
.navbar .menu li.dropdown:hover .submenu {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}
.navbar .menu li.dropdown2 .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 110%;
  background-color: #2c3e50;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease;
  opacity: 0.3s ease;
  transform: 0.3s ease;
  visibility: 0.3s ease;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.navbar .menu li.dropdown2 .submenu li a {
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  background-color: #2c3e50;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .menu li.dropdown2 .submenu li a:hover {
  background-color: #3498db;
}
.navbar .menu li.dropdown2 .submenu li a {
  padding: 12px 20px;
  color: #fff;
}
.navbar .menu li.dropdown2 .submenu li a:hover {
  background-color: #3498db;
}
.navbar .menu li.dropdown2:hover .submenu {
  max-height: 100px;
  opacity: 1;
  visibility: visible;
}
.navbar .menu li.dropdown2:hover .submenu {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}
.navbar .timeline {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}
.navbar .timeline h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
.navbar .timeline h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background: #007bff;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.navbar .timeline .timeline-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}
.navbar .timeline .timeline-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #007bff;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}
.navbar .timeline .timeline-item {
  position: relative;
  width: 250px;
  margin: 1rem;
  z-index: 2;
}
.navbar .timeline .timeline-item .timeline-content {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}
.navbar .timeline .timeline-item .timeline-content h3 {
  margin-bottom: 0.5rem;
  color: #007bff;
}
.navbar .timeline .timeline-item .timeline-content .date {
  display: block;
  font-weight: bold;
  color: #555;
  margin-bottom: 1rem;
}
.navbar .timeline .timeline-item .timeline-content p {
  font-size: 0.95rem;
  color: #666;
}
.navbar .timeline .timeline-item .timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 15px;
  height: 15px;
  background: #007bff;
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .navbar .timeline .timeline-container {
    flex-direction: column;
    align-items: center;
  }
  .navbar .timeline .timeline-container::before {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
  .navbar .timeline .timeline-item {
    width: 90%;
  }
  .navbar .timeline .timeline-item .timeline-content::before {
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .navbar .menu-icon {
    display: flex;
  }
  .navbar .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #2c3e50;
  }
  .navbar #menu-toggle:checked ~ .menu {
    display: flex;
  }
  .navbar #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  .navbar #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .navbar .menu li.dropdown .submenu {
    position: static;
    box-shadow: none;
  }
}

header {
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  padding-bottom: 2rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4vw 0 4vw;
}

.logo img {
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
  position: relative;
}

nav ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #00e6b8;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}

nav ul li a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(120deg, rgba(20, 20, 20, 0) 45%, rgb(20, 20, 20) 55%), url("../img/moi.jpg") left/65% 275% no-repeat;
  background-position: center, left 40%;
}
.hero .hero-text {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  text-align: right;
  max-width: 40%;
}
@media (max-width: 768px) {
  .hero {
    align-items: center;
    height: 600px;
    width: 100%;
    display: flex;
    text-align: center;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 50%, rgb(20, 20, 20) 100%), url("../img/moi.jpg") center/cover no-repeat;
  }
  .hero .hero-text {
    display: flow-root;
    position: static;
    transform: none;
    text-align: center;
    max-width: 100%;
    padding: 10px 10px 10px 10px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 20px;
    margin-top: 350px;
  }
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00e6b8;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.3rem;
  color: #b2bec3;
  margin-bottom: 0.2rem;
}

.hero p {
  color: #b2bec3;
  font-size: 1.1rem;
}

section {
  margin: 2.5rem auto;
  max-width: 900px;
  background: rgba(34, 40, 49, 0.95);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2rem 2rem 2rem;
}

h2 {
  color: #00e6b8;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  color: #a6dbd1;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

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

.about-text {
  max-width: 600px;
  color: #b2bec3;
  font-size: 1.1rem;
  text-align: justify;
}

.skills-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-category {
  background: #232526;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 1.5rem;
  min-width: 220px;
  max-width: 270px;
  margin-bottom: 1.5rem;
}

.skill-category h3 {
  color: #00e6b8;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.skill-category ul {
  padding-left: 1.2rem;
  color: #b2bec3;
  font-size: 1.05rem;
}

.projects-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  background: #232526;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 1.2rem;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card h3 {
  color: #00e6b8;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #b2bec3;
  margin-bottom: 1rem;
}

.technologies {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.technologies span {
  background: #00e6b8;
  color: #232526;
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

button.projet1 {
  background: #00e6b8;
  color: #232526;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button.projet1:hover {
  background: #00bfa3;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.contact-info {
  color: #b2bec3;
  font-size: 1.1rem;
}

.social-links {
  display: inline;
  gap: 1.2rem;
  align-items: center;
  margin-top: 4rem;
}

.social-links a {
  color: #00e6b8;
  font-size: 2rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #00bfa3;
}

footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  color: #b2bec3;
  font-size: 1rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  section {
    padding: 1.2rem 0.5rem;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  .skills-grid, .projects-grid, .contact-content {
    flex-direction: column;
    align-items: center;
  }
}
hr {
  border-color: rgb(104, 127, 151);
}

.link {
  color: #a6dbd1;
}/*# sourceMappingURL=style.css.map */