/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@font-face {
    font-family: 'ems-font';
    src: url('/wp-content/themes/hello-theme-child/fonts/FiraCode-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: rgb(1 22 39 / 1);
    border: 1px solid #1e2d3d;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'ems-font', sans-serif;
    height: 100%;
}
html {
    background-color: #010c15;
    padding: 30px;
    height: 100%;
}

/* header */
div#menu #menu-main {
    padding: 0 !important;
}
.site-header {
    padding-block-start: 0rem;
    padding-block-end: 0rem;
}
.ems-header-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50px;
    align-items: center;
    border-bottom: 1px solid #1e2d3d;
}
.ems-logo-and-menu {
    display: flex;
    height: 100%;
}
.ems-the-menu ul {
    display: flex;
    flex-direction: row;
    height: 100%;
    padding: 0;
}
.ems-the-menu ul li {
    list-style: none;
    align-items: center;
    justify-content: center;
    display: flex;
}
.ems-the-menu ul li {
    padding: 0 1.5rem;
    border-right: 1px solid #1e2d3d;
}

.ems-header-wrapper .menu-main-container {
    height: 100%;
}

.ems-the-logo {
    align-items: center;
    display: flex;
    max-width: 310px !important;
    min-width: 310px !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid #1e2d3d;
}
.ems-contacts-header {
    border-left: 1px solid #1e2d3d;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}
/* .ems-header-wrapper a {
    color: #607b96;
} */
 .ems-header-wrapper a {
    color: #607b96;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.ems-logo img {
    height: 44px;
    width: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.ems-header-wrapper li:hover {
    background-color: #1e2d3d74;
    cursor: pointer;
}
.ems-header-wrapper li:hover a{
    color: #fff;
}
.current-menu-item {
    position: relative; /* Позволява абсолютно позициониране на дъщерния псевдоелемент */
}

.current-menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0; /* Позиционира псевдоелемента на дъното на .current-menu-item */
    border-bottom: 2px solid #fea55f; /* Създава видимия бордюр */
    width: 100%; /* Гарантира, че псевдоелементът ще бъде с пълна ширина */
}

.current-menu-item a{
    color: #fff;
}


/* home page */
.ems-home-page-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* width: 90%; */
    width: 1200px;
}
.ems-home-page-left {
    width: 50%;
}
.ems-home-page-right {
    width: 50%;
}

@keyframes blink {
    50% { border-color: transparent; }
}
.ems-type-cursor {
    padding-left: 2px;
    white-space: pre;
    border-right: 3px solid #e5e9f0;
    animation: blink 1s step-end infinite;
}
#ems-typed-text {

   
    display: none;
}
.ems-home-page-wrapper {
    display: flex;
    justify-content: center;
    height: 100%;
}
.ems-home-page-left-content h6 {
    color: #e5e9f0;
    font-size: 18px;
    line-height: 1;
    margin: 0;
}
.ems-home-page-left-content h1 {
    color: #e5e9f0;
    font-size: 58px;
    line-height: 1;
    padding-bottom: 1rem;
    padding-top: 1rem;
    margin: 0;
}
.ems-home-page-left-content h2 {
    color: #4d5bce;
    font-size: 32px;
    line-height: 1;
    margin: 0;
    display: flex;
}
span.ems-arrow-type {
    margin-right: 15px;
    color: #4d5bce;
    font-size: 32px;
    line-height: 1;
}
.ems-gradients-top {
    border-radius: 100% 0 0;
    filter: blur(100px);
    height: 400px;
    opacity: .5;
    position: fixed;
    right: 35%;
    rotate: 20deg;
    top: 10%;
    width: 400px;
    background: radial-gradient(circle at 50% 50%, #43d9ad, rgba(76, 0, 255, 0));
}
.ems-gradients-bottom {
    border-radius: 100% 50% 100% 0;
    bottom: 10%;
    height: 500px;
    opacity: .5;
    position: fixed;
    right: 10%;
    width: 500px;
    filter: blur(70px);
    background: radial-gradient(circle at 50% 50%, #4d5bce, rgba(76, 0, 255, 0));
}
.ems-home-page-right-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ems-code-box {
    align-items: center;
    height: 475px;
    width: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ems-home-page {
    height: 100%;
}
.home .ems-code-box pre {
    background: unset !important;
}
.ems-sidebar-tab-content.last a {
    color: #607b96;
}
main#content {
    height: 100%;
}
h1.entry-title {
    display: none;
}
/* main#content {
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
} */
.page-id-154 input {
    background-color: #011221;
    border: 2px solid #1e2d3d;
    border-radius: 7px;
    margin-top: 0.75rem;
}
.page-id-154 textarea {
    background-color: #011221;
    border: 2px solid #1e2d3d;
    border-radius: 7px;
    margin-top: 0.75rem;
}
.page-id-154 label{
    color: #607b96;
    /* margin-bottom: 0.75rem; */
    width: 100%;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    color: #607b96;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    color: white;
    background:unset;
}
/* h1.entry-title {
    display: none;
} */
 .ems-title-pr-container .entry-title {
    color: #607b96;
    font-size: 30px;
}
span.ems-codebox-comment {
    width: 100%;
    color: #607b96;
    padding-left: 0px;
}
.ems-see-more {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}
.ems-see-more span{
    padding: 0;
    margin-bottom: 5px;
}
span.identifier {
    color: #4d5bce;
}
span.variable-name {
    color: #43d9ad;
}
a.string {
    color: #e99287;
    text-decoration-line: underline;
    text-underline-offset: 4px;
}
.ems-code-link {
    margin-top: 10px;
}
/* footer */
.ems-footer-wrapper {
    height: 50px;
    border-top: 1px solid #1e2d3d;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ems-footer {
    padding: 0;
}
.ems-cpr span {
    color: #607b96;
}

/* about page */
.ems-about-page {
    height: 100%;
    overflow: hidden;
}
.ems-pcs-wrapper {
    overflow: scroll;
    height: 100%;
}
.ems-about-wrapper {
    height: 100%;
    display: flex;
}
.ems-sidebar {
    max-width: 310px !important;
    min-width: 310px !important;
    border-right: 1px solid #1e2d3d;
    height: 100%;
}
.ems-after-sidebar {
    width: 100%;
    display: flex;
}
.ems-about-text-section {
    border-right: 1px solid #1e2d3d;
    height: 100%;
    width: 50%;
}
.ems-about-code-showcase {
    width: 50%;
    height: 100%;
}
.ems-inner-topbar {
    border-bottom: 1px solid #1e2d3d;
    max-height: 35px;
    min-height: 35px;
    height: 100%;
}
.ems-tab-title {
    display: flex;
    align-items: center;
    border-right: 1px solid #1e2d3d;
    width: fit-content;
    height: 100%;
}
.ems-tab-title p{
    margin: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    color: #607b96;
}
.ems-tab-title img {
    margin-left: .75rem;
    margin-right: .75rem;
}
span.arrow-down {
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    display: block;
    margin: 0 15px;
}
.ems-sidebar-tab-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}
.ems-sidebar-tab-title p {
    margin: 0;
}
.ems-sidebar-tab-title p {
    color: white;
}
.ems-sidebar-tab-content {
    display: flex;
    flex-direction: column;
    /* margin-left: 15px; */
    color: #607b96;
    padding: 10px 0;
    border-bottom: 1px solid #1e2d3d;
}
.ems-sidebar-tab-content.last {
    border-bottom: unset;
}
.ems-sidebar-tab-content span {
    margin-left: 15px;
}
.ems-sidebar-tab-content span img {
    height: 14px;
    width: 14px;
    margin-right: 10px;
}
/* .ems-inner-topbar.last {
    border-top: 1px solid #1e2d3d;
} */
.ems-disable {
    height: 0;
    padding: 0 !important;
    transition: ease .1s;
    opacity: 0;
}
span.ems-pi {
    cursor: pointer;
}
span.ems-pi.onfocus {
    color: white;
}
.ems-text-section-thetext {
    color: #607b96;
    font-weight: 900;
    font-size: 16px;
    padding: 15px 15px;
    height: 100%;
    overflow:scroll;
        scrollbar-width: thin;
    scrollbar-color: #607b96 rgba(0, 0, 0, 0.1);
    padding-bottom: 50px;
}
.page-id-154 main#content {
    max-width: 100%;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #607b96 rgba(0, 0, 0, 0.1);
     height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.page-id-196 main#content {
    max-width: 100%;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #607b96 rgba(0, 0, 0, 0.1);
    width: 100%
}
.page-id-154 main .ems-sidebar-tab-content a {
    color: #607b96;
    /* text-decoration: none; */
}
.page-id-154 main .ems-sidebar-tab-content {
    border-bottom: none;
    /* text-decoration: none; */
}
.page-id-154 main h1.entry-title {
    color: #607b96;
    display: block;
}
div#wpcf7-f156-p154-o1 input {
    color: white;
}
div#wpcf7-f156-p154-o1 textarea {
    color: white;
}
.ems-text-section-thetext span {
    width: 20px;
    display: inline-flex;
    justify-content: end;
    margin-right: 0px;
}
.ems-pcs {
    /* padding: 15px 15px; */
    padding: 15px 0px 0px 15px;
    color: #607b96;
    display: flex;
    flex-direction: column;
}
.ems-pcs span{
    margin-bottom: 5px;
}
/* scrollbar */
.ems-pcs-wrapper::-webkit-scrollbar {
    width: 5px;
}
.ems-pcs-wrapper::-moz-scrollbar {
    width: 5px;
}
 
.ems-pcs-wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
    margin-top: 2px;
}
 
.ems-pcs-wrapper::-webkit-scrollbar-thumb {
  background-color: #607b96;
  outline: 1px solid #607b96;
}
.ems-pcs-wrapper {
    scrollbar-width: thin;          /* "auto" or "thin" */
    scrollbar-color: #607b96 rgba(0,0,0,0.1);;   /* scroll thumb and track */ 
  }

  span.loading {
    width: 100%;
    justify-content: flex-start;
}

/* projects page */
.ems-projects-page {
    height: 100%;
    overflow: hidden;
}
.ems-projects-wrapper {
    height: 100%;
    display: flex;
}
.ems-the-projects {
    width: 100%;
    height: 100%;
}
/* .ems-projects-container {
    display: flex;
    gap: 30px;
    padding: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
} */
.ems-projects-container {
    display: grid;
    gap: 30px;
    padding: 30px;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
}
.ems-projects-parent-container {
    overflow: scroll;
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: #607b96 rgba(0, 0, 0, 0.1);
}
.ems-project-thumbnail {
    border: 1px solid #1e2d3d;
    /* width: 33.33%; */
    /* width: 30%; */
    width: 100%;
    border-radius: 10px;
    /* min-height: 310px; */
    /* max-height: 345px; */
}
.ems-project-thumbnail img {
    width: 100%;
    height: 200px;
    /* object-fit: cover; */
    object-fit: contain;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #1e2d3d;
    display: none;
}
.ems-project-meta {
    padding: 5px 15px 15px 15px;
}
.ems-project-meta a {
    color: #607b96;
}


.popup-wrapper {
    position: fixed;
    top: 10%; 
    left: 2%;
    width: 96%; 
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* padding: 50px; */
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}

.popup-wrapper.show {
    display: flex;
}

.popup-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* padding: 20px; */
    padding: 0 0px;
    box-sizing: border-box;
    position: relative;
}
.popup-content {
    color: white;
}

.popup-close {
    position: absolute;
    top: -5px;
    right: 10px;
    cursor: pointer;
    font-size: 45px;
    transform: rotate(45deg);
    color: white;
}

.popup-content::-webkit-scrollbar {
    width: 5px;
}
.popup-content::-moz-scrollbar {
    width: 5px;
}
 
.popup-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
    margin-top: 2px;
}
 
.popup-content::-webkit-scrollbar-thumb {
  background-color: #607b96;
  outline: 1px solid #607b96;
}
.popup-content {
    scrollbar-width: thin;          /* "auto" or "thin" */
    scrollbar-color: #607b96 rgba(0,0,0,0.1);;   /* scroll thumb and track */ 
  }


/* code block no background   */
.ems-code-nobkg pre {
  background: none !important;
}
.ems-code-nobkg .shiki.slack-dark {
  padding-bottom: 25px !important;
}
/* .ems-swipe-container span{
    background: radial-gradient(circle at 50% 50%, #43d9ad, rgba(76, 0, 255, 0));
    color: white;
} */
/* .ems-swipe-container span {
    background: #43d9ad;
    color: white;
    box-shadow: 0px 0px 10px 10px #43d9ad;
    border-radius: 10px;
} */
.ems-swipe-container {
    position: relative;
}

.ems-gradient-cont span {
    position: relative;
    color: white;
    /* z-index: 1; */
    /* background: radial-gradient(circle at 50% 50%, #43d9ad, rgba(76, 0, 255, 0)); */
    padding: 10px 20px;
    border-radius: 10px;
}

.ems-gradient-cont span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, #43d9ad, rgba(76, 0, 255, 0));
    /* background: radial-gradient(circle at 50% 50%, #4d5bce, #43d9ad); */
    border-radius: 20px;
    filter: blur(15px);
    z-index: 0;
}
.ems-swipe-container {
    margin: 20px 0px 10px 10px;
}
.ems-swipe-container{
    display: none;
}
.ems-wrapper-mobile#menu {
    display: none;
}
.ems-home-page-content {
    padding: 10px 30px;
}
.ems-project-meta {
    word-break: break-word;
}
input[type=checkbox]:hover:not(:checked) {
    background-color: #0000001a;
    background-image: none;
    box-shadow: 0 0 0 2px #607b968b;
    cursor: pointer;
}
input[type=checkbox]:not(:checked) {
    border-color: #85a5c4;
}

input[type=checkbox] {
    background-color: transparent;
    border: 2px solid;
    border-radius: .15em;
    height: 1.15em;
    margin-top: 1px;
    width: 1.15em;
}





.ems-filter-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
  }
  
  .ems-filter-checkbox:checked {
    background-color: #011627;
    border-color: #85a5c4;
  }
  
  .ems-filter-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }






.ems-filter-item {
    display: flex;
    margin-bottom: 10px;
}
.ems-filter-item label {
    color: #607b96;
    font-size: 16px;
    text-transform: uppercase;
    padding-left: 10px;
}
.ems-project-filter {
    padding: 15px 15px;
}
.ems-main {
    height: 100%;
    overflow: auto;
    color: white;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: #607b96 rgba(0, 0, 0, 0.1);
    
}
/* cv css */
    .line-numbers {
      width: 50px;
      background-color: #252526;
      color: #858585;
      text-align: right;
      padding: 2rem 0.5rem;
      user-select: none;
    }
    .line-numbers span {
      display: block;
      line-height: 1.5;
    }
    .content-wrapper {
      padding: 2rem;
      flex: 1;
      background-color: #1e1e1e;
      box-sizing: border-box;
      width: 100%;
    }
    h1, h2, h3 {
      color: #569cd6;
    }
span.ems-cv-title {
    color: #ce9178;
    font-weight: 700 !important;
}
    .highlight {
    color: #569cd6;
    font-weight: 700 !important
}
.section .highlight {
    color: #ce9178;
    font-weight: 700 !important;
    font-size: 26px;
}
.section .highlight span{
  color:#009000;
}
div#cv-container h1:first-of-type {
    font-size: 66px;
        margin: 5px 0 20px 0px;
}
    .container {
      display: flex;
      gap: 50px;
    }
    .left{
      width: 60%;
    }
    .right {
      width: 40%;
    }
    .section {
      margin-bottom: 2rem;
    }
    .job, .edu, .course {
      margin-bottom: 1rem;
    }
    .title {
      color: #dcdcaa;
    }
    .company, .institution {
      font-weight: bold;
      color: #ce9178;
    }
    .years {
      float: right;
      color: #9cdcfe;
    }
    .skills ul, .technologies ul {
      list-style: none;
      padding: 0;
    }
    button {
      padding: 10px 20px;
      font-size: 16px;
      margin: 1rem 0;
      cursor: pointer;
      background-color: #007acc;
      color: white;
      border: none;
      border-radius: 4px;
    }
.ems-self-info h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 400;
    color: white;
}
.ems-self-info p{
    margin: 0;
}
span.highlight-res {
    color: #ce9178;
}

    /* Най-важното: форсирай цветовете при print и Save as PDF! */
    @media print {
      html, body, .content-wrapper, #cv-container, .line-numbers {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: #1e1e1e !important;
        color: #d4d4d4 !important;
      }
      h1, h2, h3 { color: #569cd6 !important; }
      .highlight { color: #d16969 !important; }
      .company, .institution { color: #ce9178 !important; }
      .years { color: #9cdcfe !important; }
      .title { color: #dcdcaa !important; }
      button { display: none !important; }
    }
/* end of cv css */





@media(min-width:1001px){
    .ems-contacts{
        display: none !important;
    }
}
@media(max-width:1279px){
    .home .ems-code-box {
        height: auto;
        margin-top: 15px;
        width: auto;
        overflow: auto;
        display: block;
    }
    .ems-home-page-right-content {
        display: flex;
        align-items: center;
        justify-content: left;
    }
}
/* mobile */
@media(max-width:1000px){
    main#content {
        height: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 15px 15px;
    }
    .ems-wrapper-mobile#menu {
        display: block;
    }
    html {
        background-color: #010c15;
        padding: 15px;
        height: 100%;
    }
    body {
        height: auto;
    }
    .ems-swipe-container{
        display: block;
    }
    .ems-about-wrapper {
        flex-direction: column;
    }
    .ems-after-sidebar {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .ems-about-text-section {
        width: 100%;
    }
    .ems-about-code-showcase {
        width: 100%;
    }

    /* hamburger */
.hamburger {
    display: inline-block;
    cursor: pointer;
    /* position: fixed; */
    top: 238px;
    left: 20px;
    z-index: 2;
    margin-right: 15px;
  }
  .ems-hamburger-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

  .bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
  }
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 4px);
    transform: rotate(-45deg) translate(-4px, 4px);
  }

  .change .bar2 {opacity: 0;}

  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
  .ems-wrapper-mobile {
    /* position: fixed; */
    position: absolute;
    width: 0;
    /* height: 100%; */
    top: 50px;
    left: 0px;
    /* background-color: #111; */
    overflow-x: hidden;
    transition: 0.5s;
    padding: 15px 0px;
    /* padding-top: 60px; */
    /* padding: 5px 15px; */
    z-index: 99;
  }
  .ems-the-menu{
    display: none;
  }
  .ems-wrapper-mobile {
    background: #010c15;
    border-radius: 10px;
}
.ems-wrapper-mobile ul li {
    list-style: none;
    padding: 10px 0px;
}
.current-menu-item::after{
    display: none;
}
.hamburger-open-w.hamburger-open {
    /* background: rgba(255, 255, 255, 0.2); */
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    backdrop-filter: blur(7.7px);
    -webkit-backdrop-filter: blur(7.7px);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0px;
    z-index: -1;
}
body.no-scroll {
    overflow: hidden;
}
.ems-contacts-header {
    display: none;
}
.ems-logo-and-menu {
    justify-content: space-between;
    width: 100%;
}
.ems-the-logo {
    border-right: none;
    width: 100% !important;
        min-width: unset !important;
}
.ems-sidebar {
    width: 100% !important;
    min-width: 100% !important;
}
.ems-inner-topbar {
    min-height: unset;
    padding: 5px 0px;
}
.ems-tab-title {
    width: 100%;
    border-right: unset;
}
.ems-projects-wrapper {
    flex-direction: column;
}
.ems-project-thumbnail {
    width: 100%;
    /* margin-bottom: 15px; */
}
.ems-projects-container {
    gap: 30px;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    grid-template-columns: repeat(2, 1fr);
}
.ems-home-page-content {
    flex-direction: column;
    width: 100%;
    padding: 15px 15px;
}
.ems-home-page-left {
    width: 100%;
}
.ems-home-page-right {
    width: 100%;
}
.ems-code-link {
    z-index: 1;
    position: relative;
}
.home .ems-code-box {
    height: auto;
    margin-top: 15px;
    width: auto;
    overflow: auto;
    display: block;
}
.home .ems-code-box pre {
    padding: 16px 0 16px 0px !important;
}
}
@media(max-width:500px){
    .ems-project-meta h3 {
        font-size: 18px;
    }
    .ems-project-meta .ems-pr-href {
        font-size: 14px;
    }
    .ems-project-thumbnail {
        width: 100%;
    }
    /* .ems-after-sidebar {
        overflow: scroll;
        height: 100%;
    } */
    .ems-after-sidebar {
        overflow: scroll;
    }
    .ems-projects-container {
        /* overflow: scroll; */
        /* height: 100%; */
        grid-template-columns: repeat(1, 1fr);
    }
    .ems-after-sidebar .ems-inner-topbar {
        display: none;
    }
    body.page-template.page-template-ems-projects-page{
        height: 100% !important;
    }
    
    .ems-sidebar {
        height: unset;
    }
}
p.ems-pr-link {
    background: radial-gradient(circle at 50% 50%, #43d9ad, rgba(76, 0, 255, 0));
    width: max-content;
    padding: 15px 50px 15px 5px;
}
p.ems-pr-link a{
    color: #011627;
}

/* block loader */
  .ems-block-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #011627;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ems-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #607b96;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: ems-spin 1s linear infinite;
  }

  @keyframes ems-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }