/*-----------------------------------------------------------------
Template Name  : Mirya - Personal Portfolio
Author         : HasnaaDesign
Version        : 1.0
Primary Use    : Personal, Porfolio
-----------------------------------------------------------------*/
/*-----------------------------------------------------------------
Table Of Contents
--------------------------------
 1. Global Styles
 2. Loading
 3. Navbar
 4. Header
 5. About Me
 6. Skills
 7. Services
 8. Resume
 9. Portfolio
 10. Fun Facts
 11. Testimonials
 12. Blog
 13. Contact
 14. Footer
 15. Scroll To Top
 16. Media Queries
 17. Popup Images Slider
-----------------------------------------------------------------*/

/* --------------------------------------
   1. Global Styles
-----------------------------------------*/

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
}

a,
a:hover,
a:focus,
a:active {
    color: #fff;
    text-decoration: none;
}

.main-title {
    padding-bottom: 80px;
    text-align: center;
}

.main-title h2 {
    display: inline-block;
    position: relative; 
    color: #fff;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-title h2:before,
.main-title h2:after {
    content: "";
    position: absolute;
    bottom: -12px;
    width: 38%;
    height: 2px;
    background-color: #191919;
}

.main-title h2:before {
    left: 0;
}

.main-title h2:after {
    right: 0;
}

.main-title h2 span {
    position: absolute;
    bottom: -19px;
    left: 50%;
    width: 15px;
    height: 15px;
    background-color: #191919;
    -webkit-transform: translateX(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) rotate(45deg);
    -o-transform: translateX(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    -webkit-box-shadow: 0 1px 25px 1px #231a1d;
    -moz-box-shadow: 0 1px 25px 1px #231a1d;
    -o-box-shadow: 0 1px 25px 1px #231a1d;
    box-shadow: 0 1px 25px 1px #231a1d;
}

.main-title h2 span:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 5px;
    height: 5px;
    background-color: #D20000;
}

.display-table {
    display: table;
    width: 100%;
}

.display-table-cell {
    display: table-cell;
    vertical-align: middle;
    height: 100vh;
    min-height: 100%;
}

.main-btn {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    padding: 12px 16px;
    margin-top: 50px;
    border: none;
    outline: none;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    overflow: hidden;
}

.main-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%) scale(0) rotate(45deg);
    -moz-transform: translate(-50%, -50%) scale(0) rotate(45deg);
    -o-transform: translate(-50%, -50%) scale(0) rotate(45deg);
    -ms-transform: translate(-50%, -50%) scale(0) rotate(45deg);
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.main-btn:hover:before {
    -webkit-transform: translate(-50%, -50%) scale(1) rotate(45deg);
    -moz-transform: translate(-50%, -50%) scale(1) rotate(45deg);
    -o-transform: translate(-50%, -50%) scale(1) rotate(45deg);
    -ms-transform: translate(-50%, -50%) scale(1) rotate(45deg);
    transform: translate(-50%, -50%) scale(1) rotate(45deg);
}

.main-btn span {
    position: relative;
    z-index: 2;
}

.navbar.active-nav,
.home .arrow,
.about-me .about-info .personal-info,
.about-me .about-info .personal-info ul li:before,
.skills .progress-container .progress,
.portfolio .portfolio-filter li,
.portfolio .portfolio-content .item .overlay span,
.portfolio .portfolio-content .item .overlay span:before,
.testimonials .item,
.testimonials .item .description:before,
.testimonials .item .description:after,
.blog .post .post-footer:before,
.blog .post .post-footer .post-category a,
.contact .contact-box,
.contact .contact-box h4,
.contact .contact-box h4:before,
.contact .contact-form,
.contact .contact-form .contact-btn:hover {
    -webkit-box-shadow: 0 1px 25px 1px #231a1d;
    -moz-box-shadow: 0 1px 25px 1px #231a1d;
    -o-box-shadow: 0 1px 25px 1px #231a1d;
    box-shadow: 0 1px 25px 1px #231a1d;
}

.resume .resume-content:before,
.resume .resume-content .resume-item .resume-year,
.resume .resume-content .resume-item .resume-details,
.resume .download-resume .main-btn,
.portfolio .portfolio-content .item .overlay,
.portfolio .portfolio-content .item .overlay a,
.blog .post {
    -webkit-box-shadow: 0 1px 25px 1px #231f21;
    -moz-box-shadow: 0 1px 25px 1px #231f21;
    -o-box-shadow: 0 1px 25px 1px #231f21;
    box-shadow: 0 1px 25px 1px #231f21;
}

.navbar,
.navbar .menu-toggle .bar,
.about-me .about-image img,
.about-me .about-info .personal-info .social-icons a,
.portfolio .portfolio-content .item .overlay,
.portfolio .portfolio-content .item .overlay h4:before,
.portfolio .portfolio-content .item .overlay a,
.testimonials .owl-theme .owl-controls .owl-page span,
.blog .post:hover .post-img img,
.blog .post .post-content .post-title h4,
.blog .post .post-content .post-info li a span,
.blog .post .post-footer .post-more,
.contact .contact-form .form-group .input-border,
.contact .contact-form .contact-btn,
.footer .footer-social-icons li a,
.scroll-top {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

/* --------------------------------------
   2. Loading
-----------------------------------------*/

.preloader {
    background-color: #232222;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 999999;
}

.loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loading-inner {
    height: 60px;
    width: 60px;
    padding: 0px;
    display: inline-block;
}

.loading-inner span {
    width: 60px;
    height: 60px;
    position: absolute;
    display: inline-block;
    background-color: #D20000;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: preloading 1.6s linear infinite;
    animation: preloading 1.6s linear infinite;
}

.loading-inner span:last-child {
    animation-delay: -0.6s;
    -webkit-animation-delay: -0.6s;
}

@keyframes preloading {
    0% {
        transform: rotate(45deg) scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: rotate(45deg) scale(1, 1);
        opacity: 0;
    }
}

@-webkit-keyframes preloading {
    0% {
        -webkit-transform: rotate(45deg) scale(0, 0);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: rotate(45deg) scale(1, 1);
        opacity: 0;
    }
}

/* --------------------------------------
   3. Navbar
-----------------------------------------*/

.navbar {
    background-color: transparent;
    border: none;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 999;
}

.navbar.active-nav {
    background-color: #232222;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar .menu-toggle {
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px;
    margin: 7px 0;
    display: none;
    float: right;
    z-index: 2;
}

.navbar .menu-toggle .bar {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

.navbar .menu-toggle .bar:nth-child(2) {
    margin: 6px 0;
}

.navbar.menu-active .menu-toggle .bar:nth-child(2) {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.navbar.menu-active .menu-toggle .bar:first-child {
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    -o-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

.navbar.menu-active .menu-toggle .bar:last-child {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
    color: #fff;
    padding: 13px 0;
    font-size: 24px;
    letter-spacing: .5px;
	font-weight: 600;
}

.navbar .navbar-brand span {
    color: #D20000;
}

.navbar .navbar-nav > li {
   margin: 0 2px;
}

.navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
    color: #fff;
    font-weight: 600;
    padding: 10px 13px;
    border-top: 4px double transparent;
    border-bottom: 4px double transparent;
    letter-spacing: 1px;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.navbar .navbar-nav > li > a.active {
    color: #D20000;
    border-top: 4px double #D20000;
    border-bottom: 4px double #D20000;
    border-radius: 12px;
}

/* --------------------------------------
   4. Header
-----------------------------------------*/

.home {
    background: url(../images/bg_xboudx.jpg) center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.home .overlay {
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home .intro {
    margin-left: 14vw;
}

.home .intro h1 {
    color: #fff;
    font-size: 87px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 10px 0;
}

.home .intro h3 {
    color: #bfbebe;
    font-size: 23px;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
}

.home .intro h3 span {
    color: #D20000;
    font-family: 'Open Sans', sans-serif;
}

.home .intro .main-btn {
    min-width: 130px;
    color: #fff;
    background-color: #D20000;
    z-index: 2;
}

.home .intro .main-btn:hover {
    color: #D20000;
}

.home .intro .main-btn:before {
    background-color: #232222;
}

.home .arrow {
    background-color:#232222;
    position: absolute;
    bottom: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 2;
}

.home .arrow a {
    display: block;
    color: #bfbebe;
    padding: 0;
    margin-top: 0;
}

.home .arrow a.main-btn:hover {
    color: #fff;
}

.home .arrow a.main-btn:before {
    background-color: #D20000;
}


.home .arrow a .fa-angle-down {
    position: relative;
    bottom: -4px;
    font-size: 25px;
    z-index: 2;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.home .divider {
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
}

.home .divider .wave {
    width: 100%;
    height: auto;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* --------------------------------------
   5. About Me
-----------------------------------------*/

.about-me {
    background-color:#232222;
    padding: 70px 0 120px;
    color: #fff;
}

.about-me .about-image {
    position: relative;
    margin-top: 40px;
    margin-right: 50px;
}

.about-me .about-image:before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(to right, rgb(210, 0, 0) 5%, #fff 100%);
}

.about-me .about-image img {
    position: relative;
    z-index: 10;
    margin-left: 30px;
    margin-right: 0;
    border-radius: 8px;
}

.about-me .about-info {
    color: #bfbebe;
}

.about-me .about-info h3 {
    color: #D20000;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    line-height: 0.75;
    margin: 0;
	margin-top: 45px;
}

.about-me .about-info h4 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 600;
}

.about-me .about-info p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-me .about-info p:last-of-type {
    margin-bottom: 0;
}

.about-me .about-info .personal-info {
    position: relative;
    border: 3px solid #272525;
    padding: 33px 20px;
    margin-top: 30px;
    margin-right: 20px;
}

.about-me .about-info .personal-info ul li {
    position: relative;
    line-height: 2.5;
}

.about-me .about-info .personal-info ul li:before,
.about-me .about-info .personal-info ul li:after {
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.about-me .about-info .personal-info ul li:before {
    top: 11px;
    left: 16px;
    width: 15px;
    height: 15px;
    background-color: #191919;
}

.about-me .about-info .personal-info ul li:after {
    top: 16px;
    left: 21px;
    width: 5px;
    height: 5px;
    background-color: #D20000;
}

.about-me .about-info .personal-info ul li span {
    font-size: 15px;
    font-weight: 600;
    margin-right: 10px;
    margin-left: 25px;
}

.about-me .about-info .personal-info .social-icons {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: -19px;
    background-color: #232222;
}

.about-me .about-info .personal-info .social-icons a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 31px;
    font-size: 15px;
    margin-bottom: 4px;
    text-align: center;
    background-color: #191919;
    color: #3a3c3c;
    border-radius: 50%;
    cursor: pointer;
    -webkit-box-shadow: 0 0 15px 0 #231a1d;
    -moz-box-shadow: 0 0 15px 0 #231a1d;
    -o-box-shadow: 0 0 15px 0 #231a1d;
    box-shadow: 0 0 15px 0 #231a1d;
}

.about-me .about-info .personal-info .social-icons a:hover {
    color: #fff;
}

.about-me .about-info .personal-info .social-icons a.facebook:hover {
    background-color: #3b5998;
}

.about-me .about-info .personal-info .social-icons a.twitter:hover {
    background-color: #1da1f2;
}

.about-me .about-info .personal-info .social-icons a.google-plus:hover {
    background-color: #db4437;
}

.about-me .about-info .personal-info .social-icons a.linkedin:hover {
    background-color: #0077b5;
}

.about-me .about-info .personal-info .social-icons a.behance:hover {
    background-color: #0057ff;
}

/* --------------------------------------
   6. Skills
-----------------------------------------*/

.skills {
    background: url("https://via.placeholder.com/1920x1280") center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.skills .overlay {
    background-color: rgba(0, 0, 0, .8);
    height: 100%;
    padding: 120px 0;
}

.skills .progress-container {
    padding-top: 34px;
    position: relative;
    margin-bottom: 15px;
}

.skills .progress-container .percent {
    position: absolute;
    top: 0;
    left: -15px;
    display: inline-block;
    width: 30px;
    height: 20px;
    color: #D20000;
    background: #191919;
    text-align: center;
    line-height: 21px;
    font-size: 14px;
    -webkit-transition: all 1.1s ease-in-out;
    -moz-transition: all 1.1s ease-in-out;
    -o-transition: all 1.1s ease-in-out;
    -ms-transition: all 1.1s ease-in-out;
    transition: all 1.1s ease-in-out;   
}

.skills .progress-container .percent:before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #191919 transparent transparent;
    display: block;
}

.skills .progress-container .progress {
    height: 5px;
    background-color: #444;
    border-radius: 0;
    margin-bottom: 0;   
}

.skills .progress-container .progress .progress-bar {
    background-color: #D20000;
    width: 0;
    -webkit-transition: all 1.1s ease-in-out;
    -moz-transition: all 1.1s ease-in-out;
    -o-transition: all 1.1s ease-in-out;
    -ms-transition: all 1.1s ease-in-out;
    transition: all 1.1s ease-in-out;
}

.skills .progress-container h3 {
    margin: 10px 0 0;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    color: #a99f9f;
    letter-spacing: 1px;
}

/* --------------------------------------
   7. Services
-----------------------------------------*/

.services {
    background-color: #232222;
    padding-top: 120px;
    padding-bottom: 90px;
    color: #bfbebe;
    overflow: hidden;
}

.services .service {
    position: relative;
    margin-bottom: 30px;
    padding: 45px 20px;
    border-left: 3px solid #272525;
    border-bottom: 3px solid #272525;
    -webkit-box-shadow: 0 0 15px 0 #231a1d;
    -moz-box-shadow: 0 0 15px 0 #231a1d;
    -o-box-shadow: 0 0 15px 0 #231a1d;
    box-shadow: 0 0 15px 0 #231a1d;
}

.services .service:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 15px 0 #231a1d;
    -moz-box-shadow: 0 0 15px 0 #231a1d;
    -o-box-shadow: 0 0 15px 0 #231a1d;
    box-shadow: 0 0 15px 0 #231a1d;
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    -moz-transform: scale3d(1.07, 1.07, 1.07);
    -o-transform: scale3d(1.07, 1.07, 1.07);
    -ms-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
    opacity: 0;
    filter:alpha(opacity=0);
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -o-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
}

.services .service:hover:before {
    opacity: 1;
    filter:alpha(opacity=100);
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.services .service .service-icon {
    position: absolute;
    top: 40px;
    right: 24px;
    display: inline-block;
    background-color:#2d2a2a;
    color: #bfbebe;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    padding: 0;
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    -o-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
}

.services .service .service-icon i {
    display: inline-block;
    font-size: 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.services .service h4 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #D20000;
	font-weight: 600;
}

.services .service h4:before {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #2d2a2a;
}

.services .service p {
    line-height: 1.8;
    letter-spacing: .5px;
    margin-bottom: 0;
}

/* --------------------------------------
   8. Resume
-----------------------------------------*/

.resume {
    background-color: #2d2a2a;
    padding: 120px 0;
    color: #bfbebe;
}

.resume .resume-title {
    position: relative;
    left: -9px;
    margin-bottom: 20px;
}

.resume .resume-title i {
    color: #D20000;
    margin-right: 10px;
    vertical-align: middle;
}

.resume .resume-title h3 {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    vertical-align: middle;
    letter-spacing: 1px;
}

.resume .resume-content {
    position: relative;
    padding: 40px 0;
    padding-left: 25px;
}

.resume .resume-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 3px;
    height: 100%;
    width: 3px;
    border: 3px solid #312e2e;
    border-radius: 6px;
}

.resume .resume-content .resume-item {
    margin-bottom: 30px;
}

.resume .resume-content .resume-item:last-child {
    margin-bottom: 0;
}

.resume .resume-content .resume-item .resume-year {
    position: relative;
    display: inline-block;
    border: 3px solid #312e2e;
    border-radius: 4px;
    padding: 4px 18px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}

.resume .resume-content .resume-item .resume-year:before,
.resume .resume-content .resume-item .resume-year:after {
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.resume .resume-content .resume-item .resume-year:before {
    top: 4px;
    left: -29px;
    width: 15px;
    height: 15px;
    background-color: #191919;
}

.resume .resume-content .resume-item .resume-year:after {
    top: 9px;
    left: -24px;
    width: 5px;
    height: 5px;
    background-color: #D20000;
}

.resume .resume-content .resume-item .resume-details {
    position: relative;
    border-right: 3px solid #312e2e;
    border-bottom: 3px solid #312e2e;
    border-radius: 4px;
    padding: 20px;
}

.resume .resume-content .resume-item .resume-details i {
    position: absolute;
    right: 8px;
    top: 18px;
    color: #383535;
}

.resume .resume-content .resume-item .resume-details span {
    display: inline-block;
    color: #D20000;
    font-weight: 600;
    letter-spacing: .5px;
}

.resume .resume-content .resume-item .resume-details p {
    line-height: 1.8;
    padding-top: 15px;
    border-top: 1px solid #312e2e;
    margin: 0; 
    margin-top: 15px;
    font-size: 13px;
}

.resume .download-resume .main-btn {
    background-color: #2d2a2a;
    color: #bfbebe;
}

.resume .download-resume .main-btn:hover {
    color: #fff;
}

.resume .download-resume .main-btn:before {
    background-color: #D20000;
}

/* --------------------------------------
   9. Portfolio
-----------------------------------------*/

.portfolio {
    background-color: #232222;
    padding-top: 120px;
    padding-bottom: 90px;
    color: #bfbebe;
}

.portfolio .portfolio-filter {
    width: 500px;
    margin: 0 auto 50px;
    text-align: center;
}

.portfolio .portfolio-filter li {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    margin-left: 8px;
    font-weight: 400;
    border-top: 3px solid #312e2e;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.portfolio .portfolio-filter li:before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #D20000;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.portfolio .portfolio-filter .active:before {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.portfolio .portfolio-filter li:first-child {
    margin-left: 0;
}

.portfolio .portfolio-filter .active {
    color: #D20000;
}

.portfolio .portfolio-content .item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio .portfolio-content .item:hover .overlay {
    visibility: visible;
    -webkit-transform: perspective(700px) rotateY(0deg);
    -moz-transform: perspective(700px) rotateY(0deg);
    -o-transform: perspective(700px) rotateY(0deg);
    -ms-transform: perspective(700px) rotateY(0deg);
    transform: perspective(700px) rotateY(0deg);
}

.portfolio .portfolio-content .item:hover .overlay h4:before {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.portfolio .portfolio-content .item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: rgba(35, 34, 34, .93);
    -webkit-transform: perspective(700px) rotateY(-90deg);
    -moz-transform: perspective(700px) rotateY(-90deg);
    -o-transform: perspective(700px) rotateY(-90deg);
    -ms-transform: perspective(700px) rotateY(-90deg);
    transform: perspective(700px) rotateY(-90deg);
}

.portfolio .portfolio-content .item .overlay h4 {  
    position: absolute;
    top: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: inline-block;
    margin: 0;
    font-size: 16px;
    letter-spacing: .5px;
    color: #fff;
}

.portfolio .portfolio-content .item .overlay h4:before {  
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D20000;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.portfolio .portfolio-content .item .overlay a {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #232222;
    color: #D20000;
    text-align: center;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -o-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.portfolio .portfolio-content .item .overlay a:hover {
    color: #fff;
    background-color: #D20000;
}

.portfolio .portfolio-content .item .overlay .fa-link {
    display: inline-block;
    font-size: 16px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.portfolio .portfolio-content .item .overlay span {
    position: absolute;
    bottom: 13px;
    right: 20px;
    display: inline-block;
    padding: 6px 12px;
    background-color: #2d2a2a;
    border-right: 2px solid #312e2e;
    border-bottom: 2px solid #312e2e;
    border-radius: 4px;
    text-align: center;
    color: #D20000;
    letter-spacing: .5px;
}

.portfolio .portfolio-content .item .overlay span:before {
    content: "";
    position: absolute;
    bottom: 14px;
    right: -22px;
    display: inline-block;
    width: 20px;
    height: 4px;
    background-color: #2d2a2a;
}

/* --------------------------------------
   10. Fun Facts
-----------------------------------------*/

.facts {
    background: url('https://via.placeholder.com/1920x1280') center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #fff;
}

.facts .overlay {
    height: 100%;
    background-color: rgba(0, 0, 0, .75);
    padding-top: 120px;
    padding-bottom: 90px;
}

.facts .fact-item {
    padding: 0 20px;
    margin-bottom: 30px;
}

.facts .fact-item span {
    display: block;
    margin-bottom: 20px;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}

.facts .fact-item h4 {
    background: rgba(86, 82, 82, 0.32);
    margin: 0;
    padding: 18px 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --------------------------------------
   11. Testimonials
-----------------------------------------*/

.testimonials {
    background-color: #232222;
    padding: 120px 0;
    color: #bfbebe;
}

.testimonials .item {
    position: relative;
    padding: 40px;
    border-left: 3px solid #272525;
    border-right: 3px solid #272525;
    margin: 0 20px 30px;
}

.testimonials .item .client-pic {
    float: left;
    width: 65px;
    height: 65px;
    margin-right: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonials .item .client-pic img {
    width: 100%;
}

.testimonials .item .client-info {
    float: left;
}

.testimonials .item .client-info h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0;
    margin-top: 12px;
    color: #fff;
}

.testimonials .item .client-info span {
    display: inline-block;
    margin: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: #D20000;
}

.testimonials .item .description {
    margin-top: 20px;
    position: relative;
}

.testimonials .item .description:before,
.testimonials .item .description:after {
    font-family: "FontAwesome";
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    background-color: #272525;
    text-align: center;
    color: #D20000;
}

.testimonials .item .description:before {
    content: "\f10d";
    top: 12px;
    left: -20px;
}

.testimonials .item .description:after {
    content: "\f10e";
    bottom: -2px;
    right: -20px;
}

.testimonials .item .description p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    border-top: 1px solid #272525;
}

.testimonials .item .description .desc-one {
    position: absolute;
    top: 24px;
    left: -40px;
    width: 24px;
    height: 4px;
    background-color: #272525;
}

.testimonials .item .description .desc-two {
    position: absolute;
    bottom: 10px;
    right: -40px;
    width: 24px;
    height: 4px;
    background-color: #272525;
}

.owl-theme .owl-controls {
    text-align: center;
    margin-top: 10px;
}

.owl-theme .owl-controls .owl-page {
    display: inline-block;
    margin-right: 14px;
}

.testimonials .owl-theme .owl-controls .owl-page span {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #191919;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.testimonials .owl-theme .owl-controls .owl-page.active span:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    background-color: #D20000;
}

.owl-origin {
    -webkit-perspective: 1200px;
    -webkit-perspective-origin-x: 50%;
    -webkit-perspective-origin-y: 50%;
    -moz-perspective: 1200px;
    -moz-perspective-origin-x: 50%;
    -moz-perspective-origin-y: 50%;
    perspective: 1200px;
}

.owl-backSlide-out {
    -webkit-animation: backSlideOut 1s both ease;
    -moz-animation: backSlideOut 1s both ease;
    animation: backSlideOut 1s both ease;
}
.owl-backSlide-in {
    -webkit-animation: backSlideIn 1s both ease;
    -moz-animation: backSlideIn 1s both ease;
    animation: backSlideIn 1s both ease;
}

@-webkit-keyframes backSlideOut {
    25% {
        opacity: .5;
        filter: alpha(opacity=50);
        -webkit-transform: translateZ(-500px)
    }
    75% {
        opacity: .5;
        filter: alpha(opacity=50);
        -webkit-transform: translateZ(-500px) translateX(-200%)
    }
    100% {
        opacity: .5;
        filter: alpha(opacity=50);
        -webkit-transform: translateZ(-500px) translateX(-200%)
    }
}
@-moz-keyframes backSlideOut {
    25% {
        opacity: .5;
        filter: alpha(opacity=50);
        -moz-transform: translateZ(-500px)
    }
    75% {
        opacity: .5;
        filter: alpha(opacity=50);
        -moz-transform: translateZ(-500px) translateX(-200%)
    }
    100% {
        opacity: .5;
        filter: alpha(opacity=50);
        -moz-transform: translateZ(-500px) translateX(-200%)
    }
}
@keyframes backSlideOut {
    25% {
        opacity: .5;
        filter: alpha(opacity=50);
        transform: translateZ(-500px)
    }
    75% {
        opacity: .5;
        filter: alpha(opacity=50);
        transform: translateZ(-500px) translateX(-200%)
    }
    100% {
        opacity: .5;
        filter: alpha(opacity=50);
        transform: translateZ(-500px) translateX(-200%)
    }
}
@-webkit-keyframes backSlideIn {
    0%,25% {
        opacity: .5;
        filter: alpha(opacity=50);
        -webkit-transform: translateZ(-500px) translateX(200%)
    }
    75% {opacity: .5;
        filter: alpha(opacity=50);
        -webkit-transform: translateZ(-500px)
    }
    100% {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform:translateZ(0) translateX(0)
    }
}
@-moz-keyframes backSlideIn {
    0%,25% {
        opacity: .5;
        filter: alpha(opacity=50);
        -moz-transform: translateZ(-500px) translateX(200%)
    }
    75% {
        opacity: .5;
        filter: alpha(opacity=50);
        -moz-transform: translateZ(-500px)
    }
    100% {
        opacity: 1;
        filter: alpha(opacity=100);
        -moz-transform: translateZ(0) translateX(0)
    }
}
@keyframes backSlideIn {
    0%,25% {
        opacity: .5;
        filter: alpha(opacity=50);
        transform: translateZ(-500px) translateX(200%)
    }
    75% {
        opacity: .5;
        filter: alpha(opacity=50);
        transform: translateZ(-500px)
    }
    100% {
        opacity: 1;
        filter: alpha(opacity=100);
        transform: translateZ(0) translateX(0)
    }
}

/* --------------------------------------
   12. Blog
-----------------------------------------*/

.blog {
    background-color: #2d2a2a;
    padding-top: 120px;
    padding-bottom: 90px;
    color: #bfbebe;
}

.blog .post {
    border-right: 3px solid #312e2e;
    border-bottom: 3px solid #312e2e;
    margin-bottom: 30px;
}

.blog .post:hover .post-img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.blog .post-img {
    overflow: hidden;
}

.blog .post .post-content {
    padding: 20px;
}

.blog .post .post-content .post-title h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .5px;
    margin: 0 0 5px;
}

.blog .post .post-content .post-title h4:hover {
    color: #D20000;
}

.blog .post .post-content .post-info {
    margin-bottom: 0;
}

.blog .post .post-content .post-info li {
    display: inline-block;
    font-size: 12px;
    margin-right: 10px;
}

.blog .post .post-content .post-info li a span {
    color: #bfbebe;
}

.blog .post .post-content .post-info li a span:hover {
    color: #D20000;
}

.blog .post .post-content .post-text p {
    line-height: 1.8;
    padding-top: 15px;
    margin: 15px 0 0;
    border-top: 1px solid #312e2e;
    font-size: 14px;
}

.blog .post .post-footer {
    position: relative;
    padding: 20px;
    background-color: #232222;
}

.blog .post .post-footer:before {
    content: "";
    position: absolute;
    bottom: 28px;
    right: 0;
    display: inline-block;
    width: 20px;
    height: 4px;
    background-color: #2d2a2a;
}

.blog .post .post-footer .post-more {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog .post .post-footer .post-more:hover {
    color: #D20000;
}

.blog .post .post-footer .post-more i {
    margin-left: 4px;
}

.blog .post .post-footer .post-category a {
    position: absolute;
    bottom: 13px;
    right: 20px;
    display: inline-block;
    padding: 6px 12px;
    background-color: #2d2a2a;
    border-right: 2px solid #312e2e;
    border-bottom: 2px solid #312e2e;
    border-radius: 4px;
    text-align: center;
    color: #D20000;
}

/* --------------------------------------
   13. Contact
-----------------------------------------*/
.envoyer {
	font-size: 24px;
	color: #090;
}


.contact {
    background-color: #232222;
    padding: 120px 0;
    color: #bfbebe;
}

.contact .contact-box {
    position: relative;
    padding: 30px 20px;
    border-right: 3px solid #272525;
    border-bottom: 3px solid #272525;
    margin-bottom: 30px;
}

.contact .contact-box i {
    position: absolute;
    top: 56px;
    right: 28px;
    display: inline-block;
    color: #383535;
    font-size: 40px;
}

.contact .contact-box h4 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    letter-spacing: .6px;
    margin: 20px 0;
    margin-top: 6px;
    padding: 10px 12px;
    background-color: #2d2a2a;
    border-right: 2px solid #312e2e;
    border-bottom: 2px solid #312e2e;
    border-radius: 4px;
    text-align: center;
    color: #D20000;
}

.contact .contact-box h4:before {
    content: "";
    position: absolute;
    bottom: 16px;
    left: -20px;
    display: inline-block;
    width: 20px;
    height: 4px;
    background-color: #2d2a2a;
}

.contact .contact-form {
    background-color: #2d2a2a;
    padding: 50px 20px;
    margin-top: 20px;
    border-right: 3px solid #272525;
    border-bottom: 3px solid #272525;
}

.contact .contact-form .form-group {
    position: relative;
    margin-bottom: 40px;
}

.contact .contact-form .form-group .form-control {
    background-color: #2d2a2a;
    color: #fff;
    border: 0;
    border-bottom: 1px solid #bfbebe;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    height: 46px;
    padding: 12px;
}

.contact .contact-form .form-group textarea.form-control {
    height: 120px;
    resize: none;
    padding-top: 18px;
}

.contact .contact-form .form-group label {
    position: absolute;
    top: 13px;
    left: 12px;
    width: 100%;
    margin-bottom: 0;
    font-weight: 400;
    cursor: text;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.contact .contact-form .form-group .form-control:focus ~ label,
.contact .contact-form .form-group input:not([value=""]) ~ label,
.contact .contact-form .form-group textarea:not([data-value=""]) ~ label {
    top: -16px;
    left: 0;
    font-size: 12px;
    letter-spacing: .5px;
}

.contact .contact-form .form-group .form-control:focus ~ label {
    color: #D20000;
}

.contact .contact-form .form-group .input-border {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D20000;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.contact .contact-form .form-group .form-control:focus ~ .input-border {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.contact .contact-form .contact-btn {
    background-color: #D20000;
    color: #fff;
    padding: 12px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1.5px;
    outline: none;
}

.contact .contact-form .contact-btn:hover {
    background-color: #2d2a2a;
    color: #D20000;
}

/* --------------------------------------
   14. Footer
-----------------------------------------*/

.footer {
    background-color: #2d2a2a;
    padding: 50px 0;
    color: #fff;
}

.footer .footer-social-icons {
    margin-bottom: 0;
}

.footer .footer-social-icons li {
    display: inline-block;
    margin-right: 10px;
}

.footer .footer-social-icons li a {
    display: inline-block;
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.footer .footer-social-icons li a:hover {
    color: #D20000;
}

.footer .copyright p {
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-top: 20px;
}

.footer .copyright p a {
    color: #D20000;
}

/* --------------------------------------
   15. Scroll To Top
-----------------------------------------*/

.scroll-top {
    background-color:#232222;
    position: fixed;
    bottom: -70px;
    right: -70px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #bfbebe;
    padding: 0;
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    -o-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, .4);
}

.scroll-top:hover {
    color: #fff;
}

.scroll-top:before {
    background-color: #D20000;
}

.scroll-top.active {
    bottom: 30px;
    right: 30px;
}

.scroll-top .fa-angle-up {
    position: relative;
    bottom: -2px;
    font-size: 25px;
    z-index: 2;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* --------------------------------------
   16. Media Queries
-----------------------------------------*/

/* Extra Large Devices */
@media (min-width: 1200px) {
    
}

/* Large Devices */
@media (min-width: 992px) and (max-width: 1199px) {
    .home .intro {
        margin-left: 7vw;
    }
    
    .about-me .about-image img {
        margin-top: 60px;
    }
	
	.about-me .about-info h3 {
		margin-top: 0;
	}
    
    .about-me .about-info .personal-info ul li {
        font-size: 13px;
    }
    
    .about-me .about-info .personal-info ul li span {
        font-size: 14px;
        margin-right: 5px;
    }
    
    .portfolio .portfolio-content .item .overlay h4 {
        top: 20px;
    }
}

/* Medium Devices */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar .navbar-nav > li > a,
    .navbar .navbar-nav > li > a:hover,
    .navbar .navbar-nav > li > a:focus {
        padding: 10px;
    }
    
    .home .intro {
        margin-left: 0;
    }
    
    .about-me .about-image {
        margin-right: 110px;
        margin-left: 110px;
    }
    
    .about-me .about-image img {
        max-width: 500px;
        width: 100%;
    }
    
    .about-me .about-info {
        margin-top: 40px;
    }
	
	.about-me .about-info h3 {
		margin-top: 0;
	}
    
    .portfolio .portfolio-content .item .overlay h4 {
        top: 20px;
    }
}

/* Small Devices */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .navbar .container {
        padding-right: 0;
        padding-left: 0;
    }
    
    .navbar .navbar-header {
        margin: 0;
    }
    
    .navbar .menu-toggle {
        display: block;
    }
    
    .navbar .navbar-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        visibility: hidden;
        background: rgba(0, 0, 0, .5);
    }
    
    .navbar .navbar-links .navbar-nav {
        background: #232222;
        position: absolute;
        top: 0;
        left: -300px;
        width: 265px;
        height: 100%;
        margin: 0;
        overflow: auto;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
    }
    
    .navbar .navbar-links .navbar-nav > li {
        margin: 0;
    }
    
    .navbar .navbar-links .navbar-nav > li.nav-brand {
        padding: 60px 0;
        border-top: 1px solid #272525;
        border-bottom: 1px solid #272525;
    }
    
    .navbar .navbar-links .navbar-nav > li.nav-brand a {
        display: inline-block;
        padding: 0;
        border: none;
        font-size: 24px;
        letter-spacing: 1px;
        font-weight: 600;
    }
    
    .navbar .navbar-links .navbar-nav > li.nav-brand a span {
        color: #D20000;
    }
    
    .navbar .navbar-nav > li > a,
    .navbar .navbar-nav > li > a:hover,
    .navbar .navbar-nav > li > a:focus {
        position: relative;
        padding: 15px 28px;
        border-top: 1px solid #272525;
        border-bottom: 1px solid #272525;
    }
    
    .navbar .navbar-nav > li > a:before {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #D20000;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    
    .navbar .navbar-nav > li > a.active {
        background-color: #2d2a2a;
        color: #D20000;
        border-top: 1px solid #272525;
        border-bottom: 1px solid #272525;
        border-radius: 0;
    }
    
    .navbar .navbar-nav > li > a.active:before {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    
    .navbar.menu-active .navbar-links {
        visibility: visible;
    }
    
    .navbar.menu-active .navbar-links .navbar-nav {
        left: 0;
    }
    
    .home .intro {
        margin-left: 0;
    }
    
    .home .intro h1 {
        font-size: 60px;
    }
    
    .about-me .about-image {
        margin-right: 80px;
        margin-left: 80px;
    }
    
    .about-me .about-image img {
        max-width: 350px;
        width: 100%;
    }
    
    .about-me .about-info {
        margin-top: 40px;
    }
    
    .about-me .about-info h3 {
        font-size: 18px;
    }

    .about-me .about-info h4 {
        font-size: 24px;
    }
    
    .about-me .about-info .personal-info ul li {
        font-size: 12px;
        line-height: 3;
    }
    
    .about-me .about-info .personal-info ul li span {
        font-size: 13px;
        margin-right: 3px;
    }
    
    .resume .resume-content {
        margin-bottom: 30px;
    }
    
    .resume .download-resume .main-btn {
        margin-top: 20px;
    }

}

/* Extra Small Devices */
@media (max-width: 575px) {
    .main-title {
        padding-bottom: 60px;
    }
    
    .main-title h2 {
        font-size: 26px;
    }
    
    .navbar .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .home .intro h1 {
        font-size: 54px;
    }

    .home .intro h3 {
        font-size: 20px;
    }
    
    .home .intro h3 span {
        letter-spacing: .3px;
    }
    
    .about-me {
        padding: 80px 0;
    }
    
    .about-me .about-image {
        margin: 0;
    }
    
    .about-me .about-image:before {
        display: none;
    }
    
    .about-me .about-image img {
        margin: auto;
    }
    
    .about-me .about-info p {
        font-size: 13px;
    }
    
    .about-me .about-info .personal-info {
        margin-right: 0;
        padding: 20px 15px;
    }
    
    .about-me .about-info .personal-info ul .info-item {
        width: 100%;
    }
    
    .about-me .about-info .personal-info ul li:before,
    .about-me .about-info .personal-info ul li:after {
        content: none;
    }
    
    .about-me .about-info .personal-info ul li span {
        margin-left: 0;
        margin-right: 10px;
    }
    
    .about-me .about-info .personal-info .social-icons {
        position: static;
        text-align: center;
        margin-top: 14px;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    
    .about-me .about-info .personal-info .social-icons a {
        display: inline-block;
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-right: 14px;
        margin-bottom: 14px;
    }
    
    .skills .overlay {
        padding: 80px 0;
    }
    
    .skills .progress-container h3 {
        font-size: 16px;
    }
    
    .services {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .services .service .service-icon {
        width: 42px;
        height: 42px;
        line-height: 42px;
    }
    
    .services .service .service-icon i {
        font-size: 18px;
    }
    
    .services .service h4 {
        font-size: 14px;
    }
    
    .services .service p {
        font-size: 13px;
    }
    
    .resume {
        padding: 80px 0;
    }
    
    .resume .resume-title i {
        font-size: 24px;
    }
    
    .resume .resume-title h3 {
        font-size: 17px;
    }
    
    .resume .resume-content .resume-item .resume-year {
        font-size: 12px;
    }
    
    .resume .resume-content .resume-item .resume-details i {
        opacity: .4;
    }
    
    .resume .resume-content .resume-item .resume-details span {
        font-size: 13px;
    }
    
    .portfolio {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .portfolio .portfolio-filter {
        width: 100%;
    }
    
    .portfolio .portfolio-filter li {
        padding: 12px 10px;
        margin-left: 2px;
    }
    
    .portfolio .portfolio-filter li:not(:last-child) {
        margin-bottom: 10px;
    }
    
    .portfolio .portfolio-content .item .overlay h4 {
        top: 16px;
        left: 20px;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -o-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        font-size: 14px;
    }
    
    .portfolio .portfolio-content .item .overlay span {
        font-size: 13px;
        bottom: 7px;
    }
    
    .facts .overlay {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials .item {
        padding: 20px;
    }
    
    .testimonials .item .client-info h3 {
        font-size: 14px;
    }

    .testimonials .item .client-info span {
        font-size: 13px;
    }

    .testimonials .item .description {
        margin-top: 10px;
    }
    
    .testimonials .item .description:before,
    .testimonials .item .description:after {
        content: none;
    }

    .testimonials .item .description p {
        font-size: 13px;
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials .item .description .desc-one,
    .testimonials .item .description .desc-two {
        display: none;
    }
    
    .blog {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .blog .post .post-content .post-text p {
        font-size: 13px;
    }
    
    .contact {
        padding: 80px 0;
    }
}


/**** Popup Images Slider ******/
.modal-backdrop {
  display: none;
}
body.modal-open {
    overflow: hidden; /* Prevent scrolling */
    height: 100%; /* Ensure height is 100% to prevent overflow */
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 1);
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background-color: #2D2A2A;
    width: 80%;
    max-width: 800px; /* Larger width for desktop */
    box-sizing: border-box;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #D20000;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #ddd;
}

.modal-navigation {
    overflow: hidden;
    text-align: center;
	vertical-align: middle;
	margin-top: 15px;
}

.modal-navigation .prev {
    float: left;
}

.modal-navigation .next {
    float: right;
}

.modal-navigation .modal-link {
    display: inline-block;
	margin-top: 5px;
    padding: 10px 20px;
    background-color: #007BFF; /* Couleur de fond du bouton */
    color: white; /* Couleur du texte */
    text-decoration: none; /* Retire la décoration du lien */
    border-radius: 5px; /* Coins arrondis */
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ajout d'une légère ombre */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animation douce */
}

.modal-navigation .modal-link:hover {
    background-color: #0056b3; /* Couleur au survol */
    transform: translateY(-3px); /* Légère élévation au survol */
}

.modal-navigation button {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.modal-navigation button:hover {
    opacity: 1;
}

.thumbnail {
    background-color: #2D2A2A;
    border: none;
}

.thumbnail-slider {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thumbnail-slider .thumbnail {
    cursor: pointer;
    padding: 10px;
}

.thumbnail-slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.thumbnail-slider img:hover {
    border: 2px solid #555;
}


/* Responsive Styles for 600px and below (tablets/small devices) */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        padding: 15px;
        margin: 5% auto;
        max-width: none;
    }

    .modal-content img {
        width: 100%;  /* Ensure the image takes full width of the modal */
        height: auto; /* Keep aspect ratio */
        max-width: 100%; /* Prevent image from exceeding viewport width */
        max-height: 80vh; /* Prevent image from exceeding 80% of viewport height */
        object-fit: contain; /* Ensure the entire image is visible */
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 44px;
    }

    .modal-navigation button {
        font-size: 24px;
        padding: 8px;
    }

    .thumbnail-slider img {
        height: 200px;
    }

    .thumbnail-slider {
        flex-direction: row;
        overflow-x: scroll;
    }

    .thumbnail-slider .thumbnail {
        width: 30%;
        padding: 5px;
    }
}

/* Extra Small Screens: 480px and below */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 10px;
        margin: 2% auto;
    }

    .modal-content img {
        width: 100%;  /* Take the full width of the modal */
        height: auto; /* Maintain aspect ratio */
        max-width: 100%; /* Ensure image doesn't exceed viewport width */
        max-height: 70vh; /* Ensure image doesn't exceed 70% of viewport height */
        object-fit: contain; /* Fit the image within available space */
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .modal-navigation button {
        font-size: 18px;
        padding: 6px;
    }

    .thumbnail-slider img {
        height: 150px;
    }

    .modal-navigation {
        flex-direction: column;
        align-items: center;
    }

    .modal-navigation button {
        margin-bottom: 5px;
    }
}