:root {
  --accent:       #1ABC9C;    
  --accent-dark:  #138f75;    
  --accent-bg:    #0f5245;    
  --tag-rgb: 0, 181, 216; 
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  
  
}


/* Canvas full-screen fixe */
#nn-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
}

html {
  --scroll-behavior: smooth;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', serif;
  padding-top: 54px;
  color: #868e96;
  scroll-behavior: smooth;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Saira Extra Condensed', serif;
  font-weight: 700;
  color: #343a40;
}


h1, h2{
  text-transform: uppercase;
}

h1 {
  font-size: 6rem;
  line-height: 5.5rem;
}

h2 {
  font-size: 3.5rem;
}

.subheading {
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.35rem;
}

.list-social-icons a {
  color: #495057;
}

.list-social-icons a:hover {
  color:var(--accent);
}

.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}

.list-icons {
  font-size: 3rem;
}

.list-icons .list-inline-item i:hover {
  color: var(--accent);
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
  }
  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
  .bg-primary {
  background: transparent !important;
  border-right: none !important;
  z-index: 2;
  }

}
@media (max-width: 991.98px) {
  .bg-primary {
    background: var(--accent-dark) !important;
    border: 1px solid var(--accent-dark) !important;
    
    z-index: 2;
  }
}

section.resume-section {
  border-bottom: 1px solid hsla(22, 100%, 96%, 0.082);
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}



.text-primary {
  color:var(--accent) !important;
}

a {
  color: var(--accent-dark);
}

a:hover, a:focus, a:active {
  color: var(--accent-dark);
}

.tag {
  background-color: rgba(var(--tag-rgb), 0.7) !important; 
  display: inline-block !important;
  border-radius: 3px;
  padding: 0 12px;
  color: black           !important;
}

.tag:hover {
  background-color: rgba(var(--tag-rgb), 0.9) !important; 
  color: white             !important;
}


.tag::before,
.tag::after {
  display: none !important;
}


img.qrcode {
  mix-blend-mode: normal !important;
  opacity: 0.4 !important;
  background: transparent;
}

.project-container {
  border: 1px solid rgba(26, 188, 156, 0.2);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
  background: rgba(15, 82, 69, 0.05);
  gap: 1.5rem;
}

.project-container:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(26, 188, 156, 0.2);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .project-container {
    display: flex;          
    flex-direction: row;     
    align-items: center;
    gap: 1.5rem;     
  }
}

/* Animations pour la section skills */
.list-inline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Animation principale au hover */
.list-inline-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.3);
    border-color: #64ffda;
}

/* Animation des icônes devicons */
.list-inline-item i.devicons {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: all 0.4s ease;
    color: #64ffda;
}

.list-inline-item:hover i.devicons {
    transform: rotateY(360deg) scale(1.2);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
}

/* Animation des images de skills */
.skill-image {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    transition: all 0.4s ease;
    filter: brightness(0.8);
}

.list-inline-item:hover .skill-image {
    transform: rotate(360deg) scale(1.2);
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(100, 255, 218, 0.6));
}

/* Animation des liens */
.list-inline-item a {
    color: #ccd6f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.list-inline-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, #00d4ff);
    transition: width 0.3s ease;
}

.list-inline-item:hover a::after {
    width: 100%;
}

.list-inline-item:hover a {
    color: #64ffda;
}

