/* GENERAL */
body
{
    font-family: 'Lato', sans-serif;
}
h1,h2,h3,h4,
{
    font-weight: bold;
}
img
{
    max-width: 100%;
    height: auto;
}
ul,ol
{
    list-style:none;
}
section
{
    padding: 45px 0 80px 0;
}
section .heading 
{
    text-align: center;
    padding-bottom: 40px;        
}
section .heading h2
{
    text-transform: uppercase;
}
.red-divider
{
    width:100px;
    height: 2px;
    background: #d82c2e;
    margin: 0 auto;
}
.white-divider
{
    width:100px;
    height: 2px;
    background: rgb(22, 13, 65);
    margin: 0 auto;
}

/* MENU */
.navbar
{
    background: #352f2f;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
}
.navbar .navbar-nav
{
    display: inline-block;
    float: none;
    vertical-align: top;
}
.navbar .navbar-collapse
{
    text-align: center;
}
.navbar li a
{
    color: rgb(201, 193, 193) !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a
{
    color: #ffffff !important;
    background-color: rgb(255, 217, 0) !important;
}
.navbar-default .navbar-toggle
{
    border-style: none;
}
.icon-bar
{
    background-color: #fff !important;
}


/* ABOUT */
#about
{
    padding-top: 100px;
    text-align: center;
    color: white;
    background-image: url("../images/font.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; 
}
.profile-picture
{
    text-align: center;
    margin: 0 auto;
    float: none;
}
#about .heading h1
{
    font-size: 50px;
    color:rgb(255, 255, 255);
    text-transform: uppercase;
    text-shadow: 
    color: white; text-shadow: black 0.1em 0.1em 0.2em
}
#about .heading h3
{
    color:rgb(255, 255, 255);
    text-shadow: 
    color: white; text-shadow: black 0.1em 0.1em 0.2em
}
.button1
{
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    display: inline-block;
    margin-top:  20px;
    padding: 18px 50px;
    border-radius: 3px;
    transition: all 0.3s ease-in 0s;
    text-shadow: 
    color: white; text-shadow: black 0.1em 0.1em 0.2em
}
.button1:hover
{
    background: rgb(255, 217, 0);
    color: #ffffff;
    text-decoration: none;
}

#skills {
    background: #797979;
    color: white;
}
/* EXPERIENCE */
#experience
{
    background: #898989;
}
#experience .heading h2
{
    color: #fff;
}
.timeline
{
    padding: 30px 10px;
    position: relative;
}
.timeline:before
{
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background-color: #333;
    left: 50%;
    margin-left: -2.5px;
}
.timeline > li
{
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:after
{
    clear: both;
}
.timeline > li:before, .timeline > li:after
{
    content: " ";
    display: table;
}
.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: #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-top: 5px;
    font-size: 20px;
}
.timeline-heading h4
{
     color: #d82c2e;
}

/* EDUCATION */
#education
{
    background: #797979;
}
#education .heading h2
{
    color: #ffffff;
}
.education-block
{
    width:80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;

}
.education-block h5
{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block .glyphicon
{
    font-size: 40px;
}
.education-block h3
{
     color: #d82c2e;
}
.education-block h4
{
   margin-bottom: 20px;
}
.education-block p
{
  font-weight: bold;
}
.education-block .red-divider
{
    margin-bottom: 20px;
}
    
/* PORTFOLIO */
#portfolio
{
    background: #d82c2e;
}
#portfolio h2
{
    color: white;
}
#portfolio h3
{
    color: white;
}
#portfolio .portfolio-item 
{
    right: 0;
    margin: 0 0 15px; 
}
#portfolio .portfolio-item .portfolio-link 
{
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer; 
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover 
{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
    opacity: 0;
    background: rgba(254, 211, 54, 0.76); 
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover 
{
    opacity: 1; 
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content 
{
    font-size: 20px;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    color: white; 
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i 
{
    margin-top: -12px; 
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 
{
    margin: 0; 
}
#portfolio .portfolio-item .portfolio-caption 
{
    max-width: 400px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #fff; 
}
#portfolio .portfolio-item .portfolio-caption h4 
{
    margin: 0;
    text-transform: none; 
}
#portfolio .portfolio-item .portfolio-caption p 
{
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

#portfolio * 
{
    z-index: 2; 
}

@media (min-width: 767px) 
{
#portfolio .portfolio-item 
{
    margin: 0 0 30px; 
} }

/* RECOMMANDATIONS */
#recommandations
{
    background: #fff;
}
#recommandations .heading h2
{
  color: #d82c2e;
}
.carousel-control.left, .carousel-control.right
{
    background-image: none;
    color: #d82c2e;
}
.carousel-indicators
{
    bottom: 0px;
}
.carousel-indicators li
{
    border-color: #d82c2e;
}
.carousel-indicators li.active
{
    background-color: #d82c2e;
}
#myCarousel .item
{
    padding: 40px 30px;
}
#myCarousel .item h3
{
    color: #d82c2e;
    font-style: italic;
}

.img1
{
    width: 10%;
    height: 10%;
    text-align: center;
}
.img2
{
    width: 3%;
    text-align: center;
}

/* FOOTER */
footer
{
    background: #333;
    padding: 20px 0 40px;
}
footer .glyphicon
{
    font-size:  25px;
    margin: 20px;
    color: #d82c2e;
    height: 30px;
}
footer .glyphicon:hover
{
    font-size:  27px;
}
footer h5
{
    color: #fff;
    font-weight: normal;
}
.img-tech {
    width: 50px; /* Ajuste cette valeur selon la taille de JS.svg */
    height: 50px;
    object-fit: contain;
}
.cv-frame {
    width: 80%;
    height: 90vh;
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    margin: 0 auto;
}
#about {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-image: url("../images/font.jpg");
    background-size: cover;
    background-position: center;
}

/* zone grisée et transparente sous le texte */
.cv-container {
    background: rgba(0, 0, 0, 0.6); /* gris foncé transparent */
    padding: 20px 40px;
    border-radius: 15px;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* bouton à l'intérieur */
.button1 {
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    padding: 15px 40px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button1:hover {
    background: rgb(255, 217, 0);
    color: #000;
}

