@font-face {
    font-family: BebasNeue;
    src: url(../fonts/BebasNeue.otf);
}
@font-face {
    font-family: 'Segoe UI';
    src: url('../fonts/segoeui.ttf');
}

/* color primary : #75abf5 */

/*.btn-primary{
    background-color: #75abf5;
    border-color: #5790de;
}*/
html.skrollr-mobile, html.skrollr-mobile body {
        overflow-y: visible!important;
    }
body {
    height: auto !important;
}
#preloader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-outline-secondary:not([disabled]):not(.disabled).active {
    box-shadow: none;
}
header{
    background-color: #1c1c1c;
    border-bottom: 1px solid white;
}
.navbar-brand{
    color: white;
    font-size: 24pt;
    font-family: BebasNeue;
    text-transform: uppercase;
    margin-left: 5px;
}
#preloader i, a:hover, li.nav-item:hover a, ul.social li:hover a, footer a, .nav-link.active {
    color: #75abf5;
}
a.nav-link {
    color: white;
    font-size: 12pt;
    font-family: 'Segoe UI';
    text-transform: uppercase;
}
li.nav-item:hover, .nav-link.active {
    border-bottom: 3px solid #75abf5;
    margin-bottom: -3px;
}
#personal,#workedu,#skill,#portfolio,#contact {
    min-height: 400px;
    padding: 60px 0;
}
#personal {
    background-image: url(../img/bg1.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
h1.my-name {
    color: white;
    text-transform: uppercase;
    font-family: 'Segoe UI';
    font-size: 48pt;
    margin-top: 20px;
    letter-spacing: 5px;
}
h2.occupation {
    color: #75abf5;
    font-size: 14pt;
    text-transform: uppercase;
}
h2.title {
    text-transform: uppercase;
    font-size: 26pt;
    font-family: BebasNeue;
    border-left: 3px solid;
    padding-left: 20px;
    color: #4274b8;
}/*
h2.title::before {
    content: "";
    border: .2px dashed;
    position: absolute;
    right: 0;
    left: 160px;
    top: 18px;
}*/
.light, h2.light {
    color: white;
    border-color: white;
}
ul.personal-info, ul.social {
    list-style-type: none;
    color: white;
    padding-left: 23px;
}
ul.social {
    padding-left: 0;
}
ul.personal-info li {
    padding: 10px 0;
    border-bottom: 1px dashed white;
}
ul.social li {
    display: inline-block;
    padding: 0 8px;
}
ul.social li a {
    color: white;
}
a.download-cv {
    margin-left: 20px;
    margin-top: -3px;
}
.work-item {
    margin-bottom: 25px;
}
.work-item:hover button {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.work-detail {
    padding: 30px 10px 10px 40px;
    border-left: 1px dashed;
    margin-top: 30px;
}
h3.title {
    font-size: 14pt;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4px;
}
h3.subtitle {
    font-size: 13pt;
    text-transform: uppercase;
}
p.job-desc {
    margin-top: 20px;
    font-size: 11pt;
    padding-bottom: 30px;
}
#skill {
    background-image: url(../img/bg2.jpg);
    background-position: 0px 0px;
    background-size: cover;
    background-attachment: fixed;
}
.chart {
    margin-top: 30px;
    margin-bottom: 8px;
}
.chart span {
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 18pt;
    margin-top: 86px;
}
#skill .subtitle {
    font-size: 10pt;
    font-style: italic;
}
#skill canvas {
    padding: 0;
    margin: auto;
    display: block;
}
.portfolio {
    overflow: hidden;
    cursor: default;
    margin-bottom: 15px;
    padding-right: 0;
}
#portfolio-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
}
.portfolio-detail {
    position: absolute;
    bottom: 0;
    top: 160px;
    background-color: rgba(11,171,245,0.8);
    padding: 15px;
    color: white;
    text-align: center;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
}
.portfolio img {
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
}
.portfolio:hover .portfolio-detail {
    top: 0;
    opacity: 1;
}
.portfolio:hover img {
    opacity: 0.7;
}
#contact {
    background-image: url(../img/bg3.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
footer {
    padding: 15px 0;
    background: #1c1c1c;
    color: #c5c5c5;
}
footer p.text-center {
    margin-bottom: 0;
}
#contact .form-control {
    background: transparent;
    color: white
}
#contact .btn {
    cursor: pointer;
}
.navbar-toggler {
    border: 1px solid white;
}
.navbar-toggler-icon {
    width: auto;
    height: auto;
    color: white;
}
.my-contact {
    padding-left: 15px;
    margin-top: 30px;
}
.my-contact p {
    padding-left: 10px;
}
.itch-io-items>.col-lg-6 {
    margin-top: 7px;
    margin-bottom: 8px;
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199px) {
    .portfolio-detail {
        top: 125px;
        font-size: 10pt;
    }
    #skill, #contact,#personal {
        background-position: 0px 0px !important;
    }
}

/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        background-color: rgb(28, 28, 28);
        box-shadow: 2px 3px 5px #3a3a3a;
        top: 87px;
        left: 0px;
        right: 0px;
        z-index: 99;
    }
    li.nav-item:hover, .nav-link.active {
        border-bottom: none;
        margin-bottom: 0;
    }
    li.nav-item.active {
        background-color: #4274b8;
    }
    li.nav-item.active a {
        color: white;
    }
    li.nav-item {
        padding: 0 60px;
    }
    .portfolio-detail {
        top: 148px;
    }
}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767px) {
    li.nav-item {
        padding: 0 35px;
    }
    #personal {
        padding: 40px 0;
    }
    .my-photo {
        display: block;
        margin: 0 auto;
    }
    h1.my-name {
        font-size: 40pt;
        letter-spacing: 7px;
    }
    h2.occupation {
        font-size: 14pt;
        margin-bottom: 30px;
    }
    .download-cv {
        display: block;
    }
    .portfolio-detail {
        top: 184px;
    }
    .contact-right {
        margin-top: 20px;
    }
    ul.social, .my-contact p, h1.my-name, h2.occupation {
        text-align: center;
    }
    .personal-info-wrapper {
        padding-right: 23px;
    }
    .my-contact p {
        padding-left: 0px;
    }
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {
    h1.my-name {
        font-size: 34pt;
    }
    .portfolio-detail {
        top: 184px;
        font-size: 12pt;
    }
    #skill canvas {
        width: 120px !important;
        height: 120px !important;
    }
    .chart span {
        margin-top: 73px;
    }
}

/*Extra extra small devices (portrait small phones, less than 425px)*/
@media (max-width: 424px) {
    .portfolio-detail {
        top: 143px;
        padding: 5px;
        font-size: 12pt;
    }
}