@media (prefers-reduced-motion: no-preference) {
    * {
      scroll-behavior: smooth;
    }
  }

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(120deg, #232526 0%, #414345 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.cv-container {
    max-width: 800px;
    margin: 40px auto;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 42px 0 rgba(235, 15, 180, 0.45);
    padding: 40px 30px;
}
.cv-header {
    text-align: center;
    margin-bottom: 20px;
}

.cv-header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #FE8E0C;
}

.cv-header h2 {
    font-size: 1.5em;
    color: #ccc;
    margin-top: 10px;
}

.cv-section {
    margin-bottom: 30px;
}

section h3 {
    font-size: 1.3em;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
@media (max-width: 600px) {
  section ul {
    flex-direction: column;
    align-items: stretch;
  }
  section ul li {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

section ul li {
    margin-right: 10px;
    background: linear-gradient(45deg, #FF9A07, #FC4587);
    border-radius: 20px;
    padding: 8px 25px;
    color: #fff;
    font-weight: bold;
}

.cv-jobs {
    background: linear-gradient(45deg, #2F2F38, #44444C, #2F2F38);
    border-radius: 15px;
    padding: 2px 15px 5px 30px;
    margin-bottom: 20px;
    border-left: 4px solid #e52e71;
    transition: box-shadow 0.3s, border-color 0.3s;
    animation: fadeInUp 1s forwards;
    box-shadow: 0 2px 8px rgba(229,46,113,0.08);
}

.cv-jobs h4 {
    font-size: 1.1em;
    color: #FE8E0C;
    margin-bottom: 5px;
}

.cv-jobs span {
    color: #ccc;
}

.cv-jobs p {
    font-size: 1em;
    color: #fff;
    margin-top: 10px;
}

.cv-contact p {
    font-size: 1em;
}

.cv-contact a {
    color: #FFF;
    text-decoration: none;
    border-bottom: 2px solid #FFF;
    padding-bottom: 1px ;
}

.cv-contact a:hover {
    color: #FE8E0C;
    border-bottom: 2px solid #FE8E0C;
    transform: scale(1.05);
    transition: transform 0.3s;
}

i {
    margin-right: 5px;
}

.cv-jobs:hover {
    border-color: #FF9A07;
    box-shadow: 0 4px 16px rgba(229,46,113,0.18);
}
.cv-skills li{
    transition: color 0.3s, transform 0.3s;
}

.cv-skills li:hover {
    transform: scale(1.2, 1.2) rotate3d(0, 0, 1, -2deg);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(6, 202, 247, 0.7);
    background: linear-gradient(45deg, #02F0FD, #FC4587);
}

.html-header {
    text-align: left;
    margin-bottom: 20px;
}

.html-header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #FE8E0C;
}

.html-header h2 {
    font-size: 1.5em;
    color: #ccc;
    margin-top: 10px;
    text-align: center;
}

.html-about {
    margin-bottom: 30px;
}

.html-about p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.html-more a {
    color: #138bba;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}

.html-more a:hover {
    color: #FE8E0C;
    transform: scale(1.05);
    transition: transform 0.3s;
    text-decoration: underline;
}

.cv-header h1, .html-header h1 {
    text-shadow:
        0 0 8px #ff8a00,
        0 0 16px #e52e71,
        0 0 32px #00f2fe;
}

.skill-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.skill-link:hover {
    transition: transform 0.3s, color 0.3s;
    color: #ff8a00;
    border-bottom: 2px solid #e52e71;
}

img {
    max-width: 100%;
    height: auto;
}

.avenir-header {
    text-align: center;
    margin-top: 100px;
}