body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: fixed;
    background: transparent;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    
}

.logo {
    width: 80px;
    transition: width 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .logo {
        width: 60px;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 30px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #df7eff, #ff758c);
    transition: width 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu burger */
.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 30px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px;
        border-radius: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .burger-menu {
        display: block;
    }
}


/* Section intro */
.intro {
    background: url('images/header-background.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 0;
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

@media screen and (max-width: 768px) {
    .intro {
        height: calc(100vh - 60px);
        padding: 0 20px;
    }
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}


.line1 {
    font-weight: 300;
    color: #555;
}

.line2 {
    font-weight: 700;
    color: #222;
    font-size: 3rem;
}

.line3 {
    font-weight: 300;
    color: #555;
}

@media screen and (max-width: 768px) {
    .intro h1 {
        font-size: 3rem;
    }

    .intro .line1 {
        font-size: 2rem;
    }

    .intro .line2 {
        font-size: 2.5rem;
    }
}


/*
██████  ██    ██ ████████ ████████  ██████  ███    ██ 
██   ██ ██    ██    ██       ██    ██    ██ ████   ██ 
██████  ██    ██    ██       ██    ██    ██ ██ ██  ██ 
██   ██ ██    ██    ██       ██    ██    ██ ██  ██ ██ 
██████   ██████     ██       ██     ██████  ██   ████ 
                                                      
*/

.achievement-container {
    margin: 30px;
    padding: 20px;
}

.achievements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.achievement-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    width: 200px;
    height: 200px;
    border: none;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(+160%);
    margin: 15px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);

}

.achievement-btn:hover {
    background: #ddd;
}

.icon-container svg {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    .achievement-btn {
        display: none;
    }
}



.about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    flex-wrap: wrap;
    margin-top: 200px;
}


.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 900px;
    margin-left: 20px;
    text-align: center;
}

.about-content h2 {
    text-align: left;
    font-size: 1.4rem;

}

.about-content p {
    margin-bottom: 50px;
    font-size: 16px;
}

.about-content .btn-parcours {
    margin-top: 30px;
}



.about .photo img {
    width: 400px;
    border-radius: 10px;
    float: left;
    margin-right: 20px;
}



.btn-parcours {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #FD619A, #FFCC58);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease-in-out;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}


.btn-parcours:hover {
    background: white;
    color: #ff758c;
    border: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(255, 117, 140, 0.5);
    border-radius: 25px;
}


@media screen and (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }
}

/* 
███████ ██   ██ ██ ██      ██      ███████ 
██      ██  ██  ██ ██      ██      ██      
███████ █████   ██ ██      ██      ███████ 
     ██ ██  ██  ██ ██      ██           ██ 
███████ ██   ██ ██ ███████ ███████ ███████ 
 */

.skills {
    text-align: center;
    padding: 50px 50px;
    width: 100%;
    box-sizing: border-box;
    position: relative;

}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.icon {
    width: 100px;
    height: 100px;
    background-color: #F1EEEE;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    margin: auto;
    flex-shrink: 0;
}

.icon svg {
    width: 70%;
    height: 70%;
}


.btn-portfolio {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #FD619A, #FFCC58);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease-in-out;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.btn-portfolio:hover {
    background: white;
    color: #ff758c;
    border: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(255, 117, 140, 0.5);
    border-radius: 25px;
}


/*
██ ███    ██ ████████ ███████ ██████  ███████ ███████ ████████ ███████ 
██ ████   ██    ██    ██      ██   ██ ██      ██         ██    ██      
██ ██ ██  ██    ██    █████   ██████  █████   ███████    ██    ███████ 
██ ██  ██ ██    ██    ██      ██   ██ ██           ██    ██         ██ 
██ ██   ████    ██    ███████ ██   ██ ███████ ███████    ██    ███████ 
*/
.interests {
    padding: 50px 20px;
}



.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    max-height: 600px;
    margin: 0 auto;
}

.interest-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
}

.interest-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.large {
    grid-column: span 2;
}

.interests-grid div:nth-child(2) {
    grid-row: span 2;
}

.overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}



@media (max-width: 768px) {
    .interests-grid {
        grid-template-columns: 1fr;
    }

    .large {
        grid-column: span 1;
    }
}



/*
███████  ██████   ██████  ████████ ███████ ██████  
██      ██    ██ ██    ██    ██    ██      ██   ██ 
█████   ██    ██ ██    ██    ██    █████   ██████  
██      ██    ██ ██    ██    ██    ██      ██   ██ 
██       ██████   ██████     ██    ███████ ██   ██ 
 */

footer {
    background: linear-gradient(135deg, #FD619A, #FFCC58);
    border-radius: 25px;
    padding: 20px 0;
    margin: 20px;
    max-width: 100%;
    text-align: center;
    color: white;
}

.footer-logo .logo {
    width: 100px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #333;
}



.parcours {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    flex-wrap: wrap;
    margin-top: 200px;
}

/***************************************************************
████████ ██ ███    ███ ███████ ██      ██ ███    ██ ███████ 
   ██    ██ ████  ████ ██      ██      ██ ████   ██ ██      
   ██    ██ ██ ████ ██ █████   ██      ██ ██ ██  ██ █████   
   ██    ██ ██  ██  ██ ██      ██      ██ ██  ██ ██ ██      
   ██    ██ ██      ██ ███████ ███████ ██ ██   ████ ███████ 
****************************************************************/
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 10px;
}

.timeline-section {
    margin-top: 200px;
    font-size: 14px;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #FD619A, #FFCC58);
    border-radius: 40px;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.timeline-item.left {
    left: -10%;
    text-align: end;
}

.timeline-item.right {
    left: 10%;
    text-align: left;
}

.content {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 45%;
}

h3 {
    margin-top: 0;
}

.timeline-item.left .content {
    margin-right: auto;
}

.timeline-item.right .content {
    margin-left: auto;
}

.timeline-item.left::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 60%;
    width: 15px;
    height: 15px;
    background-color: #2f2d2d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 480px) {

    .timeline-item.left::before,
    .timeline-item.right::before {
        display: none;
    }

    .timeline {
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .timeline-item {
        width: 90%;
        margin: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content {
        width: 100%;
        padding: 15px;
        text-align: center;
        box-sizing: border-box;
    }

    .timeline:before {
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
    }
}

@media (max-width: 768px) {

    .timeline-item.left::before,
    .timeline-item.right::before {
        display: none;
    }

    .timeline {
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
        width: 90%;
    }

    .content {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .timeline:before {
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
    }
}







/***************************************************************
██████   █████  ██      ███████ ██████  ██ ███████ 
██       ██   ██ ██      ██      ██   ██ ██ ██      
██   ███ ███████ ██      █████   ██████  ██ █████   
██    ██ ██   ██ ██      ██      ██   ██ ██ ██      
 ██████  ██   ██ ███████ ███████ ██   ██ ██ ███████ 
****************************************************************/

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    grid-gap: 15px;
    width: 100%;
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
    margin-top: 200px;
}

.portfolio-grid+.portfolio-grid {
    margin-top: 10px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vertical {
    grid-column: span 2;
}

.horizontal {
    grid-row: span 2;
}


.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .portfolio-grid {
        margin-top: 100px;
        max-height: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio-item {
        grid-column: span 1;
    }

    .portfolio-item img {
        height: auto;
    }

    .portfolio-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio-item {
        margin-bottom: 15px;
    }

    .portfolio-item img {
        height: auto;
    }
}


/***************************************************************
██████  ██████   ██████       ██ ███████  ██████ ████████ 
██   ██ ██   ██ ██    ██      ██ ██      ██         ██    
██████  ██████  ██    ██      ██ █████   ██         ██    
██      ██   ██ ██    ██ ██   ██ ██      ██         ██    
██      ██   ██  ██████   █████  ███████  ██████    ██    
***************************************************************/

h1 {
    font-size: 1.4rem;
    margin-top: 30px;
}

main {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 150px;
    text-align: center;
}

main img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}



.btn-retour {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FD619A, #FFCC58);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 50px;
    margin-top: 80px;
    transition: background 0.3s ease;
}

.btn-retour:hover {
    background: white;
    border: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(255, 117, 140, 0.5);
    color: #ff758c;
    border-radius: 25px;
}

.step {
    display: flex;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: left;
}

.step:first-child {
    border-top: none;
}

.step:first-of-type {
    margin-top: 50px;
}


.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-image {
    max-width: 400px;
    height: auto;

}

.step-text {
    width: 50%;
}

.step h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: left;
}

.step p {
    font-size: 1rem;
    color: #555;
}

.outil-utilise {
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1rem;
}




@media (max-width: 768px) {
    main {
        padding: 15px;
        text-align: left;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }


    .step-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .step-text {
        width: 100%;
        padding: 0 10px;
    }

    .step h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .step p {
        font-size: 0.9rem;
    }

    .outils-utilises {
        font-weight: bold;
        margin-top: 10px;
        font-size: 1rem;
    }

    section {
        padding: 20px 10px;
    }

    section h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    section p {
        font-size: 0.9rem;
        color: #555;
    }

    .btn-retour {
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
        font-size: 1rem;
    }

    .step:nth-child(2),
    .step:nth-child(4) {
        flex-direction: column;
        align-items: flex-start;
    }

    .step:nth-child(2) .step-text,
    .step:nth-child(4) .step-text {
        width: 100%;

    }

    .step:nth-child(2) .step-image,
    .step:nth-child(4) .step-image {
        margin-bottom: 20px;
    }
}


/*
██████  ██████  ███    ██ ████████  █████   ██████ ████████ 
██      ██    ██ ████   ██    ██    ██   ██ ██         ██    
██      ██    ██ ██ ██  ██    ██    ███████ ██         ██    
██      ██    ██ ██  ██ ██    ██    ██   ██ ██         ██    
 ██████  ██████  ██   ████    ██    ██   ██  ██████    ██    
 */




.contact-section {
    text-align: center;
    padding: 50px 20px;

}



.contact-form {
    background: #f3f0ee;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

.contact-section {
    position: relative;
    top: -120px;
    padding: 40px;
    width: 50%;
    margin: 0 auto;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .contact-section {
        width: 80%;
        top: -30px;
    }
}



.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 2px solid #000;
    background: transparent;
    outline: none;
    font-size: 16px;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.checkbox-container input {
    margin-right: 10px;
}

.checkbox-container a {
    color: #000;
    text-decoration: underline;
}

.submit-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #FD619A, #FFCC58);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease-in-out;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}


.submit-btn:hover {
    background: white;
    color: #ff758c;
    border: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(255, 117, 140, 0.5);
    border-radius: 25px;
}

.linkedin-container {
    text-align: center;
    font-size: 19px;

}

.linkedin-container svg {
    width: 54px;
    height: 54px;
    transition: transform 0.2s ease-in-out;
}

.linkedin-container a:hover svg {
    transform: scale(1.1);
    fill: #005582;
}



.login-container {
    min-height: 75vh;
    padding-top: 80px;
    padding-bottom: 40px;
}

form {
    max-width: 350px;
    width: 100%;
}

form .form-label {
    font-weight: 600;
}

form .btn {
    margin-top: 10px;
}