/* Global */

body {
    font-family: Arial, sans-serif;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 45px 0 80px 0;
}

section .heading {
    text-align: center;
    padding-bottom: 40px;
}

.heading h2 {
    text-transform: uppercase;
}

.section-divider {
    width: 100px;
    height: 2px;
    margin: 0 auto 20px;
}

.white {
    background: white;
}

.colored, #skills .progress-bar{
    background: #273d6b;
}

#about, #skills, #portfolio, #contact{
    background: #2f5289;
}

.red {
    color : #990000
}

/* MENU */

.navbar {
    background-color: #2f5289;
    font-size: 12px;
    border-bottom: 1px solid #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0;
    height: 60px;
}
.nav-pills .nav-link{
    color: #fff !important;
    text-align: center;
    border-radius: unset;
}
.nav-pills .nav-link.active, .nav-pills .nav-link:hover{
    color: #fff !important;
    background-color: #2f5289 !important;
    font-weight: bolder;
}
.navbar-toggler{
    color: #fff !important;
    border-style: none;
}

/* ABOUT */

#about {
    padding-top: 100px;
}

.profile-picture {
    text-align: center;
    margin: 0 auto;
    float: none;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

#about .heading h1 {
    color: white;
}

#about .heading h3 {
    color: #4a9cf3;
}

#about .heading .button-1 {
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    border: 1px solid white;
    display: inline-block;
    margin-top: 20px;
    padding: 18px 50px;
    border-radius: 3px;
    background: #4a9cf3;
    transition: all 0.3s ease-in 0s;
}

#about .heading .button-1:hover {
    background: #273d6b;
    color: #949494;
    text-decoration: none;
}

/* SKILLS */

#skills .heading h2, .timeline-heading h4 {
    color: white;
}

#skills h3 {
    color: white;
    text-align: center;
}

#skills .progress {
    height: auto;
    margin: 30px 20px;
    background: #dddddd;
}

#skills .progress h5{
    margin-top: 5px;
    text-shadow: 1px 1px 1px #000;
}

/* XP */

#experience {
 background-color: white;
}

#experience .heading h2 {
    color: #273d6b;
}

.timeline {
    padding: 30px 10px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background: #273d6b;
    left: none;
    right: 10px;
    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: #273d6b;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
        top: 16px;
        left: none;
        right: -22px;
    margin-left: -25px;
    background-color: #dddddd;
    border-radius: 50%;
}

.timeline .timeline-heading h4 {
    color: #2f5392;
}

.timeline-panel-container {
    width: 100%;
}

.timeline .right {
    float: left;
    margin-left: -40px;
}

.timeline .left {
    float: left;
}

.timeline-panel {
    width: 90%;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0,0.175);
    text-align: left;
}

.timeline .right-inside {
    margin-left: 40px;
    float: right;
}

.timeline .left-inside {
    margin-right: 40px;
    float: right;
}

.timeline-panel:after {
    position:absolute;
    top: 27px;
    right: -14px;
    display:inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #273d6b;
    border-right: 0 solid #273d6b;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline-heading h3 {
    margin-top: 5px;
    font-size: 20px;
}

@media (min-width: 770px) {
    .timeline .right {
        float: right;
    }

    .timeline .right-inside {
        margin-right: 40px;
        float: left;
    }

    .right-inside:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }

    .timeline:before {
        left: 50%;
    }

    .timeline li .timeline-badge {
        left: 50%;
    }

    .timeline-panel-container {
        width: 50%;
    }
}

/* FORMATIONS */

#formation{
    background: #fff;
}

#formation .heading h2{
    color: #273d6b;
}

.formation-block{
    width:90%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;

}

.formation-block h5{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}

.formation-block .fas{
    font-size: 35px;
}

.formation-block h3{
    color: #273d6b;
}

.formation-block h4{
    margin-bottom: 20px;
    font-size: 20px;
}

.formation-block p{
    font-weight: bold;
}

.formation-block .red-divider{
    margin-bottom: 20px;
}

/* portfolio */

#portfolio .heading h2 {
    color: white;
}

#portfolio img{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#portfolio img:hover{
    filter: none;
    -webkit-filter: none;
}

#portfolio .col-md-6{
    margin-bottom: 20px;
}

/* hobbies */
#hobbies {
    background: #fff;
}

#hobbies .heading h2 {
    color: #273d6b;
}

#hobbies .heading p {
    color: #273d6b;
}

#hobbies .hobbies-divider{
    width: 200px;
    height: 1px;
    margin: 0 auto 18px;
}

/* contact */
#contact .heading h2 {
    color: #fff;
}

#contact label {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

#contact p {
    font-size: 20px;
}

#contact #message {
    height: 200px;
}

#contact .form-control {
    height: 50px;
    font-size: 18px;
}

#contact .comments {
    font-size: 18px;
    font-style: italic;
    height: 25px;
}

#contact .notice {
    font-weight: bold;
}

#contact .contact-button {
    width: 100%;
    border: 1px solid #333;
    background-color: #273d6b;
    color: white;
    transition: all 0.3s ease-in 0s;
}

#contact .contact-button:hover {
    background-color: #333;
}

#contact .thank-you {
    text-align: center;
    color: white;
    margin-top: 22px;
    font-weight: bold;
}

/* FOOTER */
footer{
    background: #333;
    padding: 20px 0 40px;
}

footer .fas{
    font-size:  25px;
    margin: 20px;
    color: #273d6b;
    height: 30px;
}

footer .fas:hover{
    font-size:  27px;
}

footer h6{
    color: #fff;
    font-weight: normal;
}