/* General */
/* emporter de google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

:root {
    /* couleurs*/
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;

    /* Font size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-I: 1.5rem;
    --font-size-xI: 2rem;
    --font-size-xxI: 2.3rem;

    /* font weight */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    /* site max width */
    --site-max-width: 1300px;
}

/* stylings for whole site */

html {
    scroll-behavior: smooth;
}

body{
    font-family: "lato" sans-serif;
}
h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}
img{
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

section{
    padding: 65px 0 80px 0;
}
section .heading {
    text-align: center;
    padding-bottom: 40px;
}
section .heading h2{
    text-transform: uppercase;
    /*color: #d82c2e;changement*/
}
.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}
.divider{
    width: 100px;
    height: 2px;
   /* background-color: #d82c2e;*/
   background-color: var(--secondary-color);
    margin: 0 auto 20px;
}
.divider.white{
    background-color: var(--secondary-color);
}
ul{
   list-style: none; 
}

/* NAVBAR */
.navbar{
    background-color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid var(--secondary-color);
}
.navbar-nav {
    margin: 0 auto;
    text-align: center;
}
.nav-link {
    color: var(--white-color);
    margin: 0 6px;
}
.nav-link.active,
.nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color) !important;
}

/* Hero section style */
.hero-section {
    min-height: 100vh;
    background: var(--primary-color);
}

.hero-section .section-content {
    margin-left: 30px;
    display: flex;
    align-items: center;
    min-height: 80vh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: var(--font-size-xxI);
    color: var(--secondary-color);
    font-family: "miniver", sans-serif;
}
.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xI);
    font-weight: var(--font-weight-semibold);
}
.hero-section .hero-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m);
}
.hero-section .hero-details .buttons {
    display: flex;
    gap: 30px;
}
.hero-section .hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}
.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}
.hero-section .hero-details .button:hover,
.hero-section .hero-details .order-now {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}
.hero-section .hero-details .contact-us:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}
.hero-section .hero-details .order-now:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    max-height: 500px;
    margin: 5px;
    border-radius: 70%;
    object-fit: cover;
    overflow: hidden;
    
}

/* about */
#about{
    background-color: var(--primary-color);
}
.profile-picture {
    text-align: center;
    margin: 0px auto 30px;
}
#about .heading h1{
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.button1{
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid white;
    padding: 18px 50px;
    display: inline-block;
    border-radius: 3px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease-in 0s;
}
.button1:hover{
    background: white;
    color: #d82c2e;
}

#skillsPhotos {
    background-color: var(--light-pink-color);
}

#skillsPhotos .heading h2 {
   color: var(--primary-color);
}  

/* SKILLS */
#skills {
    background-color: var(--medium-gray-color);
}
#skills .heading h2{
    color: var(--primary-color);
}
#skills .progress{
    height: 45px;
    margin: 30px 20px;
}
#skills .progress:last-child{
    margin-bottom: 0px;
}
#skills .progress-bar {
    background-color: rgb(49, 49, 211);
}
#skills .progress-bar h5{
    text-shadow: 1px 1px 1px var(--secondary-color);
    margin-bottom: 3px;
}


/* EXPERIENCE */

#experience {
    background-color: var(--primary-color);
}
#experience .heading h2{
    color: white;
}
.timeline{
    padding: 30px 10px;
    position: relative;
}
.timeline:before{
    content: " ";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 5px;
    background-color: #333;
    left: 50%;
    margin-left: -2.5px;
}
.timeline > li {
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:before, 
.timeline > li:after{
    content: " ";
    display: table;
}
.timeline > li:after{
    clear: both;
}

.timeline li .timeline-badge {
    color: #d82c2e;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #ddd;
    border-radius: 50%;
}

.timeline-panel-container {
    width: 50%;
    float: left;
}
.timeline-panel-container-inverted{
    width: 50%;
    float: right;
}
.timeline-panel {
    width: 90%;
    float: right;
    margin-right: 40px;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    background-color: #fff;
}
.timeline-panel-container-inverted .timeline-panel {
    float: left;
    margin-left: 40px;
}
.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
.timeline-panel-container-inverted .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-heading h3 {
    margin: 5px;
    font-size: 20px;
}
.timeline-heading h4 {
    color: #d82c2e;
}
/* EDUCATION */
#education {
    background-color: var(--light-pink-color);
}
#education .heading h2 {
    color: #d82c2e;
    margin: 15px 0px;
}
.education-block {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #e9ecef;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}
.education-block h5 {
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block span {
   font-size: 35px; 
}
.education-block h3 {
    color: #d82c2e;
    margin: 15px 0px;
}
.education-block h4 {
    margin-bottom: 20px;
    font-weight: normal;
}

/* PORTFOLIO */
#portfolio {
    background-color: var(--medium-gray-color);
}
#portfolio .heading h2 {
    color: var(--primary-color);
}
#portfolio img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
#portfolio img:hover {
    filter: none;
    -webkit-filter: none;
}
#portfolio .col-md-4 {
    margin-bottom: 20px;
}

/* RECOMMENDATIONS */
#recommendations {
    background-color: #dccece;
}
#recommendations .heading h2 {
    color: var(--primary-color);
}
#myCarousel .carousel-item {
    padding: 30px 30px 90px;
}
#myCarousel .carousel-item h3 {
    color: #d82c2e;
    font-style: italic;
}
/*
/* FOOTER 
footer {
    background-color: #333;
    padding: 20px 0 40px;
}
footer span {
    color: #d82c2e;
    font-size: 25px;
    line-height: 35px;
}
footer span:hover {
    font-size: 27px;
}
footer h5 {
    color: #fff;
    font-weight: normal;
}
footer h6 {
    color: #fff;
    font-weight: normal;
}
*/

/* Archivesphotos*/

.Archivesphotos .container{
    max-height: 70%;
    max-width: 40%;  
   
}
.reseausociaux{
    margin: 30px;
}
.reseausociaux a{
    margin: 0 5px;
}

/* style de section Contact */
.contact-section {
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

#Contact .heading{
    color: var(--primary-color);
}

.contact-section .section-content {
    margin-right: 30px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-section  .contact-info-list .contact-info {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

.contact-section .contact-info-list .contact-info i {
    font-size: var(--font-size-m);
}

.contact-section .contact-form .form-input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    outline: none;
    margin-bottom: 16px;
    background: var(--white-color);
    border-radius: var(--border-radius-s);
    border: 1px solid var(--medium-gray-color);
}

.contact-section .contact-form {
    max-width: 50%;
}

.contact-section .contact-form .form-input:focus {
    border-color: var(--secondary-color);
}

.contact-section .contact-form textarea {
    height: 100px;
    padding: 12px;
    resize: vertical;
}

.contact-section .contact-form .submit-button {
    padding: 10px 26px;
    margin-top: 10px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    background: var(--primary-color);
    border-radius: var(--border-radius-m);
    border: 1px solid var(--white-color);
    transition: 0.3s ease;
}

.contact-section .contact-form .submit-button:hover {
    color: var(--dark-color);
    background: var(--secondary-color);
}

/* style de la section footer */
.footer-section {
    padding: 70px;
    background: var(--dark-color);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: var(--white-color);
    transition: 0.5s ease;
}

.footer-section .social-link-list {
    display: flex;
    gap: 20px;
}

.footer-section .social-link-list .social-link {
    font-size: var(--font-size-I);
}

.footer-section .social-link-list .social-link:hover, .footer-section .policy-text .policy-link:hover {
    color: var(--secondary-color);
}

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: var(--white-color);
}


/* Résponsive pour media query code max width 900px */
@media  screen and (max-width: 900px) {
    :root {
        --font-size-m: 1rem;
        --font-size-I: 1.3rem;
        --font-size-xI: 1.5rem;
        --font-size-xxI: 1.8rem;
    }
    .hero-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }
    .hero-section .hero-details :is(.subtitle, .description), .about-section .about-details, .contact-section .contact-form {
        max-width: 100%;
    }

    .hero-section .hero-details .butttons {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin: 0;
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;
    }
}

@media  screen and (max-width: 640px) {
    footer-section .section-content {
        flex-direction: column;
        gap: 20px;
    }
}





