* {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.f32-bold {
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

.f32-semibold {
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
}

.f24-medium {
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.f20-semibold {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.f18-medium {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.f18-light {
  font-size: 18px;
  font-weight: 300;
  line-height: 22px;
}

.f16-bold {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.f16-semibold {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.f16-medium {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.f16-light {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}

.f14-medium {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 20px;
}

.f14-regular {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.f13-medium {
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.f13-semibold {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.bouton-contact {
    background-color: #116ACC;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 7px;
}

.nav {
    background: linear-gradient(black, #182233);
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    color: white;
    padding: 0 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-items {
  display: flex;
  gap: 30px;
  align-items: center;
  
}

.nav-items a {
  text-decoration: none;
  color: white;
}

.nav-items a:hover {
  color: #116ACC;
  transform: translateY(-2px);
}

.Moi {
  height: 500px;
  background: #182233;
  display: flex;
}

.Moi img {
  width: 43%;
  display: block;
  margin-left: auto;

  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 20%,
    rgba(0,0,0,0)
  );
}

.nom {
  align-self:center;
  margin-left: 7%;
  font-size: 46px;
  color: white;
}

.bouton-cv {
    background-color: #116ACC;
    text-decoration: none;
    color: white;
    border: none;
    height: 40px;
    width: 50%;
    align-items: center;
    display: flex;
    padding: 10px 20px;
    border-radius: 7px;
}

.about-me {
  display: flex;
  align-items:baseline ;
  
}

.skills-card {
  width: 500px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  margin: 5% 5%;
  transition: all 0.3s;
}

.compétences {
  margin: 0;
  padding: 16px;
  background: #f1f1f3;
}

.skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid #e5e7eb;
  font-weight: 500;
}

.icon{
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.a-propos{
  background-color: #182233;
  height: 400px;
  color: white;
  padding: 10% 15%;
}

.a-propos h2 {
  margin: 5% 0;
  padding: 0;
  font-size: 46px;
}

.a-propos p {
  font-size: 25px;
  line-height: 32px;
}

.bouton-projets {
    background-color: #116ACC;
    text-decoration: none;
    color: white;
    border: none;
    height: 40px;
    width: 10%;
    align-items: center;
    display: flex;
    padding: 10px 20px;
    border-radius: 7px;
    justify-content: center;
}

.skills-card li:hover {
  transform: translateX(6px);
  background: #f9fafb;
}

.skills-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transform: translateX(6px);
}

.bouton-cv:hover{
    background-color: #0e57b8;
}

.bouton-cv:active{
    transform: translateY(4px);
}

.bouton-projets:hover{
    background-color: #0e57b8;
}

.bouton-projets:active{
    transform: translateY(4px);
}

.bouton-contact:hover {
    background-color: #0e57b8;
}
.bouton-contact:active {
    transform: translateY(4px);
}

.formation h2 {
  font-size: 46px;
}

.icon-formation {
  width: 40%;
}

.formation{
  margin-top: 5%;
  margin-left: 10%;
  margin-right: 10%;
  align-items: center;
  background: #182233;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 40px;
  color: white;
}

.formation-card {
  display: flex;
  gap : 40px;
}

.icon-formation{
  width: auto;
  height: 100%;
  max-width: 650px;
}

.formation:hover {
  box-shadow: 0 15px 10px rgba(0,0,0,0.5);
  transition: all 0.3s;
  transform: scale(1.01);
}


.bouton-site{
  background-color: #116ACC;
  text-decoration: none;
  color: white;
  border: none;
  height: 40px;
  align-items: center;
  display: flex;
  padding: 10px 20px;
  border-radius: 7px;
  justify-content: center;
  margin-top: 40px;
}

.bouton-site:hover {
  background-color: #0e57b8;
}

.bouton-site:active {
  transform: translateY(4px);
}

.formation-card p{
  font-size: 22px;
  line-height: 22px;
}

.timeline {
  display: relative;
  margin: 5% 30%;
  justify-content: center;
}

.timeline-item {
  position: relative;
  margin-left: 60px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  background: #4f46e5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  top:35%;
  border: 4px solid white;
}


.timeline-content {
  background: #182233;
  color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

hr {
  border: none;
  border-top: 5px solid #4f46e5;
  transform: rotate(90deg);
  height: auto;
  width: 180px;
  margin-left: -52px;
}

.timeline-content:hover {
  box-shadow: 0 25px 30px rgba(0,0,0,0.5);
  transition: all 0.3s;
  transform: scale(1.01);
  cursor: pointer;
}

.date {
  margin-left: 60px;
}

.cert {
  margin-left: 19%;
}

.certification {
  display: flex;
  height: 100px;
  background-color: #1e293b;
  width: 60%;
  margin: 2% auto;
  padding: 20px;
  border-radius: 20px;
  align-items: center;
  gap: 30px;
}

.certification p {
  color: white;
}

.red {
  height: 100px;
  margin-left: auto;
}

.certification:hover {
  box-shadow: 0 25px 30px rgba(0,0,0,0.5);
  transition: all 0.3s;
  transform: scale(1.01);
  cursor: pointer;
}

.imgpix{
  cursor: pointer;
  height: 100px;
}

dialog {
  border: none;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  justify-content: center;
  margin: auto;
}

dialog button{
  cursor: pointer;
  background-color: #116ACC;
  color: white;
  padding: 10px 20px;
  border-radius: 7px;
}

dialog::backdrop {
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,.35);
}






.footer {
  background-color: #182233;
  color: #ffffff;
  padding: 60px 20px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p, .footer-column ul {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding-top: 30px;
  margin-top: 20px;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
}

.text-projet {
  text-align: center;
  margin-top: 5%;
  background-color: #1e293b;
  border-radius: 15px;
  color: white;
  padding: 20px;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}

.projets {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 5%;
}

.projet-card {
  background: #182233;
  color: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 20px;
  transition: all 0.3s;
}

.projet-card img {
  width: 100%;
  border-radius: 12px;
}

.projet-card:hover {
  box-shadow: 0 25px 30px rgba(0,0,0,0.5);
  transition: all 0.3s;
  transform: scale(1.01);
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.popup-content {
  background: white;
  width: 400px;
  padding: 20px;
  margin: 15% auto;
  border-radius: 10px;
  text-align: center;
}

.close {
  float: right;
  font-size: 25px;
  cursor: pointer;
}

