html {
    height: 100%;
}

body{
    height: 100%;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-family: sans-serif;
    transition: background-color0.3s;
    color: 0.3s;
}

.search .input {
    background-color: #113579;
    border: 0;
    font-size: 16px;
    color: #243d50;
    padding: 15px;
    height: 40px;
    width: 40px;
    transition: width 0.8s ease;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

body.dark{
    background-color: #212121;
}
.heading {
    margin-top: 120px;
}
.switch{
    position: relative;
    width: 3.5rem;
    height: 2rem;
    margin-top: 20px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
.slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(215, 215, 228);
    transition: 0.4s;
    border-radius: 30px;
}
.slider::before {
    position: absolute;
    content: "";
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 20px;
    left: 15px;
    top: 12%;
    transform: translate(-50%);
    background: linear-gradient(40deg, #ff0080,#ff8c00 70%);
    transition: 0.4s;
}
input:checked + .slider {
    background-color: #37393f;
}
input:checked + .slider::before{
    left: calc(100% - 1.1rem);
    background: #37393f;
    box-shadow: 
    inset - 3px -2px 5px -2px #8983f3,
    inset -10px -4px 0 0 #a3dafb
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #6e8efb;
}

#accueil {
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    background-color: rgba(238, 213, 181, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    text-align: center;
    color: #333;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.home-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.profile-image {
    margin: 1rem auto;
}

.profile-image img {
    border-radius: 50%;
    border: 3px solid #6e8efb;
}

.home-content h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5a7de0;
}

section {
    padding: 3rem 2rem;
    border-bottom: 1px solid #e1e1e1;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #6e8efb;
    margin-bottom: 1rem;
    text-align: center;
}

.section-content, .diapo, .rapport {
    background-color: #fff;
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-content:hover, .diapo:hover, .rapport:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content ul li {
    background-color: #f0f0f0;
    margin: 0.5rem 0;
    padding: 0.75rem;
    border-radius: 4px;
}

.rapport a, .section-content a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.rapport a:hover, .section-content a:hover {
    background-color: #5a7de0;
}

.competences-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.competence-card {
    flex: 1;
    margin: 0 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.competence-card h3 {
    color: #6e8efb;
    border-bottom: 2px solid #6e8efb;
    padding-bottom: 0.5rem;
}

.competence-card ul {
    list-style: none;
    padding: 0;
}

.competence-card ul li {
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress {
    background-color: #4CAF50;
    height: 100%;
    border-radius: 5px;
}

.interets-container {
    margin-top: 2rem;
    text-align: center;
}

.interets-container h3 {
    color: #6e8efb;
}

.interet-card {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.interet-card div {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.interet-card img {
    width: 50px;
    height: 50px;
}

#mon-cv {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.cv-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cv-header {
    text-align: center;
    padding: 1rem;
    background-color: #f8f4e9;
    border-bottom: 1px solid #ddd;
}

.cv-header h2 {
    margin: 0;
    color: #333;
}

.cv-content {
    display: flex;
}

.cv-sidebar {
    flex: 1;
    padding: 2rem;
    background-color: #f8f4e9;
    border-right: 1px solid #ddd;
}

.profile-image {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-image img {
    border-radius: 50%;
    border: 3px solid #6e8efb;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.skills, .languages, .software, .interests {
    margin-bottom: 1.5rem;
}

.skills h3, .languages h3, .software h3, .interests h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.skills ul, .languages ul, .software ul, .interests ul {
    list-style: none;
    padding: 0;
}

.skills ul li, .languages ul li, .software ul li, .interests ul li {
    margin-bottom: 0.5rem;
}

.cv-main {
    flex: 2;
    padding: 2rem;
}

.education, .experience {
    margin-bottom: 2rem;
}

.education h3, .experience h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.education-item, .experience-item {
    margin-bottom: 1.5rem;
}

.education-item h4, .experience-item h4 {
    margin: 0;
    color: #333;
}

.education-item p, .experience-item p {
    margin: 0.25rem 0;
}

.education-item ul, .experience-item ul {
    list-style: none;
    padding: 0;
}

.education-item ul li, .experience-item ul li {
    margin-bottom: 0.25rem;
}

.download-cv {
    text-align: center;
    margin-top: 2rem;
}

.download-cv a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-cv a:hover {
    background-color: #5a7de0;
}

#mes-motivations, #mes-objectifs {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

#mes-motivations h2, #mes-objectifs h2 {
    text-align: center;
    color: #333;
}

.motivations-container, .objectifs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.motivation-card, .objectif-card {
    flex: 1;
    margin: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.motivation-icon, .objectif-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.motivation-icon img, .objectif-icon img {
    width: 50px;
    height: 50px;
}

.motivation-card h3, .objectif-card h3 {
    color: #6e8efb;
    text-align: center;
}

.motivation-card p, .objectif-card p {
    text-align: justify;
}

#formation-eda-rh {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.formation-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.formation-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.formation-header h2 {
    color: #333;
    margin: 0;
}

.formation-header p {
    color: #666;
    margin: 0.5rem 0;
}

.formation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
}

.formation-description {
    margin-bottom: 2rem;
    text-align: justify;
}

.formation-objectives h3, .formation-activities h3, .formation-competences h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.formation-objectives ul {
    list-style: none;
    padding: 0;
}

.formation-objectives ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.formation-objectives ul li:before {
    content: "•";
    color: #6e8efb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.formation-activities, .formation-competences {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.activity-card, .competence-card {
    flex: 1;
    min-width: 250px;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity-card h4, .competence-card h4 {
    color: #6e8efb;
    margin-top: 0;
}

.activity-card p, .competence-card p {
    margin: 0.5rem 0 0;
}

.contact-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px 0 0 10px;
}

.contact-info h2 {
    margin-top: 0;
    color: #333;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info ul li .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background-color: #fff;
    border-radius: 0 10px 10px 0;
}

.contact-form h2 {
    margin-top: 0;
    color: #333;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form button {
    padding: 10px;
    background-color: #6e8efb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #5a7de0;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-logo p {
    margin: 0.5rem 0 0 0;
}

.footer-navigation, .footer-contact {
    flex: 1;
}

.footer-navigation h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-navigation ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-navigation ul li, .footer-contact ul li {
    margin-bottom: 0.5rem;
}

.footer-navigation ul li a, .footer-contact ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-navigation ul li a:hover, .footer-contact ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
}

.section-content, .diapo, .rapport {
    background-color: #fff;
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-content:hover, .diapo:hover, .rapport:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rapport a, .section-content a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.rapport a:hover, .section-content a:hover {
    background-color: #5a7de0;
}

