/* Projects Styles */


/* --------------------------------------
 * Global Typography
 *------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px;
    color: var(--color-heading);
}

h1 {
    font-size: 26px;
    line-height: 1.8em;
    font-weight: 700;
}

h2 {
    font-size: 18px;
    line-height: 1.8em;
    font-weight: 700;
}

h3 {
    font-size: 16px;
    line-height: 1.8em;
    font-weight: 500;
}

h4 {
    font-size: 15px;
    line-height: 1.8em;
    font-weight: 500;
}

h5 {
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 500;
}

h6 {
    font-size: 15px;
    line-height: 1.5em;
}


/* --------------------------------------
 * LINK STYLE
 *------------------------------------------*/

a {
    color: var(--color-primary-text);
    text-decoration: none;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

a,
a:active,
a:focus,
a:active {
    text-decoration: none;
    outline: none
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--color-primary-hover-text);
}

p {
    margin-bottom: 20px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/*------------------
 * Button Style
 *------------------*/

.btn {
    padding: 14px 30px 11px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    border: 0;
    text-transform: uppercase;
}

.btn-lg {
    font-weight: 700;
    font-size: 24px;
    padding: 15px 30px;
}


/*btn-primary*/

.btn-primary {
    background-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active:focus {
    background: var(--color-primary-hover);
}


/*btn-default*/

.btn-default {
    color: var(--color-primary-text);
    background-color: transparent;
    border: 2px solid var(--color-border-primary);
    outline: none !important;
    box-shadow: none !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active:focus {
    background: var(--color-border-primary);
    color: var(--color-white);
    border-color: var(--color-border-primary);
    outline: none !important;
    box-shadow: none !important;
}

button:focus,
.btn:focus,
.btn:active:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* --------------------
 * Column Block
 * -------------------*/

.columns-block {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    margin: 40px auto;
    padding: 0;
    box-shadow: 0 0 0 1px var(--color-border-primary);
}

.blocks {
    box-sizing: border-box;
}

.left-col-block {
    overflow: hidden;
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    position: relative;
    background: var(--color-bg-white);
    border-right: 1px solid var(--color-border-primary);
}

.right-col-block {
    -webkit-flex: 2 0 0;
    flex: 2 0 0;
    position: relative;
    background: var(--color-bg-white);
}

@media (max-width: 768px) {
    .columns-block {
        display: block;
        margin: 0;
        box-shadow: none;
    }

    .left-col-block {
        width: 100%;
        position: relative;
        border: 0;
    }

    .right-col-block {
        width: 100%;
        position: relative;
        box-shadow: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .columns-block {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}


/* --------------------
 * Section Background
 * -------------------*/

.gray-bg {
    background-color: var(--color-bg-white);
}


/* --------------------
 *  main Wrapper
 * -------------------*/

#main-wrapper {
    overflow: hidden;
}


/*-------------------
 * Section Wrapper
 *-------------------*/

.section-wrapper {
    padding: 50px;
    border-bottom: 1px solid var(--color-border-primary);
}

@media (max-width: 480px) {
    .section-wrapper {
        padding: 30px 20px;
    }
}


/*---------------------------
* Section Title
*---------------------------*/

.section-title {
    margin-bottom: 15px;
    color: var(--color-primary-hover-text) !important;
}

.section-title h2 {
    margin-bottom: 5px;
    color: var(--color-primary-hover-text) !important;
}


/*-----------------------------
 * NAVIGATION & HEADER STYLE
 *-----------------------------*/

.header {
    padding: 20px !important;
    margin: 0;
    position: relative;
}

.header .profile-img {
    margin-bottom: 25px;
}

.header .content {
    width: 100%;
    margin: 0 auto;
}

.header .content h1 {
    line-height: 1;
    margin: 0 0 5px;
}

.header .content .lead {
    font-size: 18px;
}

.header .content .about-text {
    margin: 10px 0;
}

.header .btn {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .header {
        padding: 0;
        text-align: center;
        border-bottom: 1px solid #ededed;
    }

    .header img {
        margin: 0 auto;
    }

    .header .content {
        padding: 10px;
    }
}


/* Header Sticky */

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}


/*-------------------
 * Social Icon
 *-------------------*/

.social-icon {
    margin: 20px 0;
    padding: 0;
    display: block;
}

.social-icon li {
    display: inline-block;
    margin: 0 2px;
}

.social-icon li a {
    display: block;
    font-size: 12px;
    color: var(--color-text-primary);
    width: 34px;
    height: 34px;
    line-height: 33px;
    text-align: center;
    border-radius: 2px;
    border: 1px solid var(--color-border-primary);
}

.social-icon li a:hover {
    border-color: var(--color-primary-hover);
}


/*-------------------
 * Expertise
 *-------------------*/

.expertise-item {
    margin-bottom: 20px;
}

.expertise-item h3 {
    margin-bottom: 5px;
    font-weight: 700;
}


/*-------------------
 * Skills Progressbar
 *-------------------*/

.progress-item {
    position: relative;
}

.progress-item .progress-title {
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 5px;
}

.progress-item .progress {
    height: 4px;
    box-shadow: none;
    border-radius: 5px;
}

.progress-item .progress-bar {
    background-color: var(--color-primary);
    box-shadow: none;
    text-align: right;
}

.progress-item .progress-percent {
    font-size: 10px;
    background-color: var(--color-text-secondary);
    position: absolute;
    top: 5px;
    padding: 0 8px;
    border-radius: 3px;
}

.progress-item .progress-percent::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    border-top: 6px solid var(--color-text-secondary);
    border-right: 8px solid transparent;
}


/*-------------------
 * Portfolio
 *-------------------*/

.portfolio-item {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.portfolio-item .portfolio-thumb img {
    height: auto;
    display: block;
    max-width: 100%;
}

.portfolio-item .portfolio-thumb video {
    height: auto;
    display: block;
    max-width: 100%;
}

.portfolio-item .portfolio-info {
    position: absolute;
    bottom: 0;
    padding: 30px 15px 5px;
    width: 100%;
    background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.portfolio-item .portfolio-info h3 {
    margin: 0;
    line-height: 1;
    color: var(--color-bg-white);
}

.portfolio-item .portfolio-info small {
    color: var(--color-bg-white);
}

.portfolio-item:hover .portfolio-info {
    background: -webkit-linear-gradient(top, transparent 0%, #000 100%);
}


/*-------------------
 * Content Item
 *-------------------*/

.content-item {
    margin-bottom: 40px;
}

.content-item h3 {
    margin: 0 0 10px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
}

.content-item h4 {
    margin: 0;
    line-height: 1;
}

.content-item small {
    color: var(--color-text-secondary);
}


/*-------------------
 * Contact
 *-------------------*/

.feedback-form {
    margin-top: 50px;
}


/*-------------------
 * Form Style
 *-------------------*/

.form-control {
    height: 50px;
    padding: 0 20px;
    font-size: 13px;
    line-height: 50px;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-primary);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.form-control:focus,
.form-control:active {
    box-shadow: none;
}


/* --------------------------------------------
 *   Footer
 *---------------------------------------------- */


/* Copyright */

.footer {
    padding: 30px 50px;
}

.footer .copyright-section {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.footer .copyright-section .copytext {
    font-weight: 400;
    display: block;
}

@media (max-width: 480px) {
    .footer {
        padding: 10px 20px;
    }
}


/* ---------------------------------------------- /*
 * Preloader
/* ---------------------------------------------- */

#preloader {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

#status,
.status-mes {
    background-image: url("../img/preloader.6a7ca121b74a.svg");
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    left: 50%;
    margin: -100px 0 0 -100px;
    position: absolute;
    top: 50%;
    width: 200px;
}

.status-mes {
    background: none;
    left: 0;
    margin: 0;
    text-align: center;
    top: 65%;
}

/* Dark mode preloader */
[data-theme="dark"] #status {
    background-image: url("../img/preloader-dark.cd8c041a2087.svg");
}

@media (prefers-color-scheme: dark) {
    #status {
        background-image: url("../img/preloader-dark.cd8c041a2087.svg");
    }
}

[data-theme="light"] #status {
    background-image: url("../img/preloader.6a7ca121b74a.svg");
}

.content-item {
    margin-bottom: 20px;
}

.content-item p {
    margin-bottom: 10px;
}

p.res-strengths {
    margin-top: -20px;
}

.section-wrapper.section-ac-experience.gray-bg .content-item {
    margin-bottom: 30px;
}

.navbar-nav {
    float: none;
    margin: 0 auto;
    display: block;
    text-align: center;
    border-radius: 0px;
}

.navbar-nav>li {
    display: inline-block;
    float: none;
}

.navbar-default .navbar-nav>li>a {
    color: var(--color-primary-text);
    border-bottom: 1px solid transparent;
    border-top: 2px solid transparent;
}

.navbar-default .navbar-nav>li>a:hover {
    color: var(--color-primary-hover-text);
}

.navbar-default {
    background-color: var(--color-bg-white);
    border-radius: 0px;
    border-color: transparent;
}

.navbar-default .navbar-nav>li>a:focus {
    color: var(--color-primary-hover-text);
    background-color: transparent;
    border-bottom: 1px solid var(--color-primary-hover-text);
}

.selected {
    color: var(--color-primary-hover-text) !important;
    background-color: transparent !important;
    border-bottom: 1px solid var(--color-primary-hover-text) !important;
}

.github-item {
    border: 1px solid var(--color-border-primary);
    border-radius: 3px;
    padding: 10px;
}

.col-md-4 {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 12px;
}

.github-item a {
    color: var(--color-text-primary);
}

.github-item a:hover {
    color: var(--color-primary-hover-text);
}

.v-align-middle {
    vertical-align: middle !important;
}

.see-all {
    margin-top: 15px;
    margin-left: -9px;
}

.repo-language-color {
    border-radius: 50%;
    display: inline-block;
    height: 12px;
    position: relative;
    top: 1px;
    width: 12px;
}

.col-md-12 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--color-border-primary);
    margin: 1.5em 0;
    padding: 0;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 5000;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* The Modal (background) */
#pdfModal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 40px 0 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

#pdfModal[style*="display: block"] {
    display: flex !important;
}

#pdfModal iframe.modal-content {
    width: 100% !important;
    height: calc(100vh - 40px) !important;
    max-width: 100% !important;
    max-height: calc(100vh - 40px) !important;
    margin: 0;
    padding: 0;
    border: none;
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    z-index: 5001;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 768px) {
    .modal-content {
        width: 100%;
    }
    .modal {
        padding-top: 0px;
    }
}

.project-header h2 {
    margin-bottom: 2px;
}

.project-info h2 {
    margin-bottom: 2px;
}

.project-header .col-md-8 {
    margin-bottom: 15px
}

.left-item {
    text-align: right;
}


.web-thumb {
    margin-top: 15px;
}

@media only screen and (max-width: 768px) {
    .web-thumb {
        margin-top: 0px;
    }
}

.portfolio-pdf, .portfolio-img, .portfolio-vid {
    border: 1px solid var(--color-border-primary);
    cursor: pointer;
}

.loading {
    display: none;
}

.software-divider:last-child {
    display: none;
}

#about-project {
    margin-top: 20px;
}

/* Subtle "Back to projects" link above a project's title */
.project-back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
}

.project-back-link:hover,
.project-back-link:focus {
    color: var(--color-primary-text);
    text-decoration: none;
}

.project-back-link i {
    margin-right: 4px;
    font-size: 12px;
}
