/* variable */

:root{
    --text-color:#fff;
    --hover-color:#12f7ff;
    --gr-text-color:#d82c2e;
    --background: #5e5855;
    --neon--box-show:0 0 .5rem rgba(52, 210, 242, 0.2);
    --fnt-neon-text-shadow:0 0 10px rgba(241, 61, 61, 0.3),0 0 20px rgba(241,61,61,0.3),0 0 30px rgba(241,61,61,0.3),0 0 40px rgba(241,61,61,0.3),0 0 70px rgba(241,61,61,0.3),0 0 80px rgba(241,61,61,0.3),0 0 100px rgba(241,61,61,0.3),0 0 150px rgba(241,61,61,0.3);
}

/* GENERAL */
body
{
    font-family: 'Lato', sans-serif;
}
h1,h2,h3,h4,h5,h6
{
    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: var(--gr-text-color);
    margin: 0 auto;
}
.white-divider
{
    width:100px;
    height: 2px;
    background: var(--gr-text-color);
    margin: 0 auto;
}

/* MENU */
.navbar
{
    background: var(--hover-color);
    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: var(--text-color) !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a
{
    color: var(--gr-text-color) !important;
    background-color: var(--text-color) !important;
}
.navbar-default .navbar-toggle
{
    border-style: none;
}
.icon-bar
{
    background-color: var(--text-color) !important;
}





/* ABOUT */
#about
{
    padding-top: 100px;
    background: var(--background);
}
.profile-picture
{
    text-align: center;
    margin: 0 auto;
    float: none;
}
#about .heading h1
{
    color: var(--gr-text-color) ;
    text-transform: uppercase;
}
#about .heading h3
{
    /* color:#000; */
}
.button1
{
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    display: inline-block;
    margin-top:  20px;
    padding: 18px 50px;
    border-radius: 3px;
    transition: all 0.3s ease-in 0s;
}
.button1:hover
{
    background: var(--text-color);
    color: var(--gr-text-color);
    text-decoration: none;
}

/* SKILLS */
#skills
{
    background: var(--text-color);
}
#skills .heading h2
{
    color: var(--gr-text-color);
}
#skills .progress
{
    height: 100%;
    margin: 30px 20px;
    backface-visibility: var(--text-color);
}
#skills .progress-bar
{
    background: var(--hover-color);
}
#skills .progress h5
{
    text-shadow: var(--fnt-neon-text-shadow);
}

/* EXPERIENCE */
#education
{
    background: var(--background);
    color: var(--gr-text-color);
}

.timeline
{
    padding: 30px 10px;
    position: relative;
}
.timeline:before
{
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background-color: var(--text-color);
    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: var(--gr-text-color);
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: var(--text-color);
    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 var(--text-color);
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.175);
    background: var(--text-color);
}
.timeline-panel-container-inverted .timeline-panel
{
    float: left;
    margin-left: 40px;
}

.timeline-body{
    color: #333232;
}

.text-muted{
    text-align: center;
}

.timeline-panel:after
{
    position:absolute;
    top: 27px;
    right: -14px;
    display:inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid var(--text-color);
    border-right: 0 solid var(--text-color);
    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
{
    text-align: center;
    margin-top: 5px;
    font-size: 20px;
}
.timeline-heading h4
{
     /* color: var(--gr-text-color); */
    color: #000 !important;
}

.glyphicon-education
{
    display: flex;
    justify-content: center;
    color: #000 !important;
    align-items: center;
    font-size: 40px;
}

/* EDUCATION */
/* #education
{
    background: #fff;
    display: flex;
    justify-content: space-evenly;
    
} */
/* #education .heading h2
{
    color: var(--gr-text-color);
}
.education-block
{
    width:80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: var(--text-color);
    border-radius: 10px;
    border: 2px solid var(--hover-color);
    margin-bottom: 20px;

}
.education-block h5
{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
 
.education-block h3
{
    display: flex;
    justify-content: center;
    align-items: center;
     color: var(--text-color);
}
.education-block h4
{
   margin-bottom: 20px;
}
.education-block p
{
  font-weight: bold;
}
.education-block .red-divider
{
    margin-bottom: 20px;
}
     */

/* PORTFOLIO */
#portfolio
{
    background: var(--hover-color);
}
#portfolio .heading h2
{
    color: var(--gr-text-color);
}
/* #portfolio .thumbnail img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); 
}
#portfolio .thumbnail img:hover
{
     filter: none;
    -webkit-filter: none; 
} */


.card-wrapper {
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 30px;
    overflow: hidden;
}

.card-list .card-item{
    list-style: none;
}

.card-list .card-item .card-link{
   user-select: none;
   display: block;
   background-color: #fff;
   padding: 18px;
   border-radius: 12px;
   text-decoration: none;
   border: 2px solid transparent;
   box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
   transition: 0.2s ease;
}

.card-list .card-item .card-link:active{
    cursor: grabbing;
}

.card-list .card-item .card-link:hover{
    border-color: #5372F0;
}

.card-list .card-link .card-img{
    /* background: #000/linear-gradient(#393434,#333232); */
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;

}

.card-list .card-link .badge{
    color: #5372F0;
    padding: 8px 16px;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 16px 0 18px;
    background: #DDE4FF;
    width: fit-content;
    border-radius: 50px;
}

.card-list .card-link .badge.designer{
    color: #B22485;
    background: #FFE3D2;
}
.card-list .card-link .badge.marketer{
    color: #B25A2B;
    background: #FFE3D2;
}
.card-list .card-link .badge.gamer{
    color: #205C20;
    background: #D6F8D6;
}

.card-list .card-link .badge.editor{
    color: #856404;
    background: #fff3cd;
}

.card-list .card-link .card-title {
    font-size: 2rem;
    color: #000;
    font-weight: 600;
}

.card-list .card-link .card-bouton{
    height: 35px;
    width: 35px;
    color: #5372F0;
    border-radius: 50%;
    margin: 30px 0 5px ;
    background: none;
    cursor: pointer;
    transform: rotate(-45deg);
    border: 2px solid #5372F0;
    transition: 0.4s ease;
}

.card-list .card-link:hover .card-bouton{
    color: #fff;
    background: #5372F0;
   
}

.card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #5372F0;
}

.card-wrapper .swiper-pagination-bullet-active{
    opacity: 1;
}

.card-wrapper .swiper-slide-button {
    color: #5372F0;
    margin-top: -35px;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px ;
    }
    .card-wrapper .swiper-slide-button{
        display: none;
    }
    
}


/* RECOMMANDATIONS */
/* #recommandations
{
    background: #fff;
}
#recommandations .heading h2
{
  color:var(--gr-text-color);
}
.carousel-control.left, .carousel-control.right
{
    background-image: none;
    color: var(--gr-text-color);
}
.carousel-indicators
{
    bottom: 0px;
}
.carousel-indicators li
{
    border-color: var(--gr-text-color);
}
.carousel-indicators li.active
{
    background-color: var(--hover-color);
}
#myCarousel .item
{
    padding: 40px 30px;
}
#myCarousel .item h3
{
    color: var(--gr-text-color);
    font-style: italic;
} */



/* CONTACT SECTION  CSS */

.contact{
    background-color: var(--scd-bg-color);
    width: 100%;
}

#contact .heading h2{
    color: var(--gr-text-color) !important;
}

.contact form{
    text-align: center;
    max-width: 50rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
}

.contact form input, .contact form textarea{
    width: 100%;
    color: var(--text-color);
    background: var(--background);
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}

.contact form textarea{
    resize: none;
}

.formBtn{
    display: flex;
    justify-content: center;
    width: 100%;
}

.formBtn{
    cursor: pointer;
    font-size: 1rem;
}

.btn-box{
    display: flex;
    /* justify-content: space-between; */
    width: 320px;
    height: 45px;
}

.btn-box .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: transparent;
    color: var(--hover-color);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: .6s ease ;
    box-shadow: var(--neon--box-show);
    border-radius: 5px;
    position: relative; overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}

.btn:hover{
    color: var(--text-color);
}

.btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--hover-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

.btn:hover::before{
    width: 100%;
}

/* FOOTER */
footer
{
    background: #333;
    padding: 20px 0 40px;
}
footer .glyphicon
{
    font-size:  25px;
    margin: 20px;
    color: var(--gr-text-color);
    height: 30px;
}
footer .glyphicon:hover
{
    font-size:  27px;
}
footer h5
{
    color:var(--text-color);
    font-weight: normal;
}
