html, body {
    font-family: 'Vazirmatn', 'Montserrat', sans-serif;
}

a {
    color: #1de789;
}

a:hover {
    color: #11b368;
    text-decoration: none;
}

hr {
    border-top: 1px solid #fff2;
}

h6 {
    color: #1de789;
    font-weight: 600;
}

.bg-black {
    background-color: #000;
}

.navbar-brand {
    font-family: 'Dancing Script', sans-serif;
}

#main-content::before {
    font-family: 'Anton', sans-serif;
    content: "software \a Developer";
    text-transform: uppercase;
    white-space: pre-wrap;
    color: #ffffff17;
    font-size: 5rem;
    line-height: 6rem;
    font-weight: 900;
    position: absolute;
    letter-spacing: 0.5rem;
    top: 0;
}

#main-content h3 {
    line-height: 5rem;
}

#main-content p {
    text-align: justify;
}

#my-name {
    font-family: 'Dancing Script', sans-serif;
    font-size: 5rem;
    line-height: 5rem;
    font-weight: 700;
}

#my-name::after {
    font-family: 'Montserrat', sans-serif;
    content: ".";
    margin-left: 5px;
    color: #1de789;
    font-size: 7rem;
    line-height: 4rem;
}

.social-link {
    font-size: 2rem;
    color: #fff;
}

.social-link:hover {
    color: #aaa;
}

#recent-projects-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 3rem;
}

#recent-projects-title::after {
    font-family: 'Montserrat', sans-serif;
    content: "+";
    margin-left: 5px;
    color: #1de789;
    font-size: 3rem;
    line-height: 1rem;
}

.portfolio-item {
    border-radius: 0.6rem;
    overflow: hidden;
    border: none;
}

.portfolio-item a {
    color: #fff;
}

.portfolio-item .card-body {
    bottom: 0;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .card-body {
    opacity: 1;
    transition: 1s all ease;
}

.card-title {
    border-left: #11b368 4px solid;
    padding-left: 3px;
    font-weight: 700;
}

.card-img-top {
    border: none;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: rgb(0 0 0);
    background: linear-gradient(0deg, rgb(0 0 0 / 85%) 10%, rgb(0 0 0 / 0%) 100%);
    transition: 500ms all ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.bg-dark-gradient {
    background: linear-gradient(180deg, rgb(0 0 0 / 100%) 30%, rgb(0 0 0 / 0%) 100%);
}

#lets-work-row {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.43)), to(rgba(0, 0, 0, 0.43))), url(/assets/img/lets-work-bg.png);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.43), rgba(0, 0, 0, 0.43)), url(/assets/img/lets-work-bg.png);
    background-position: 0px 0px, -103px 50%;
    background-size: auto, 700px;
    background-repeat: repeat, no-repeat;
}

#work-together p {
    color: #999;
}

#work-together p strong {
    color: #fff;
}

#work-together-title {
    font-weight: 600;
}

.btn-animated {
    color: #fff;
    border-bottom: 1px solid #1de789;
    padding: 8px 5px;
    transition: 300ms all ease;
    font-size: 0.8rem;
}

.btn-animated:hover {
    color: #fff;
    padding: 8px 15px;
    background-color: rgba(17, 179, 104, 0.15);
    transition: 300ms all ease;
}

.btn-animated:focus {
    box-shadow: 0px 0px 0 0.15rem #1de78921;
}

.bg-very-dark {
    background-color: #101010;
}

.bg-med-dark {
    background-color: #232323;
}

html {
  --scrollbarBG: #0a0a0a;
  --thumbBG: #333;
}
body::-webkit-scrollbar {
  width: 12px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 1px;
  border: 1px solid var(--scrollbarBG);
}

.radio-area {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.custom-radio {
    -webkit-appearance: none;
    appearance: none;
}

.custom-radio:checked + label {
    border: 1px solid #1de789;
    color: #1de789
}

.icon-btn label {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
    cursor: pointer;
}

.icon-btn label:hover {
    border: 1px solid #1de789;
    background-color: #1de78908;
}

.icon-btn {
    padding: 6px 8px; /* Some padding */
    font-size: 16px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
    border: none; /* Remove borders */
    margin-left: 3px;
    margin-right: 3px;
}

.icon-primary {
    background-color: DodgerBlue; /* Blue background */
    border: none; /* Remove borders */
    color: white; /* White text */
}

.icon-primary:hover {
    background-color: RoyalBlue;
    color: white;
}

.icon-danger {
    background-color: #dc3545; /* Blue background */
    color: white; /* White text */
}

.icon-danger:hover {
    background-color: darkred;
    color: white;
}

.icon-success {
    background-color: #05c46b; /* Blue background */
    color: white; /* White text */
}

.icon-success:hover {
    background-color: #01a156;
    color: white;
}

.ck-content {
    color: #222;
}

.submit-area {
    display: flex;
    justify-content: center;
}

.submit-area .btn-animated {
    display: flex;
    justify-content: center;
    padding: 8px 25px;
}

.submit-area .btn-animated:hover {
    padding: 8px 45px;
}

.price-area {
    font-size: .8rem;
    text-align: center;
    border: 1px solid #fff7;
    height: 0;
    overflow: hidden;
    transition: 300ms all ease;
}

.price-area.filled {
    height: 2.7rem;
    padding: 0.8rem;
}

#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  transform: translate(-50%, 0);
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

#snackbar.success {
    background-color: #0c8e51;
}

#snackbar.error {
    background-color: #dc3545;
}

.admin-aside {
    width: 280px;
    border-left: 1px solid rgba(180, 180, 180, .5);
}

@media (max-width: 768px) {
    .admin-aside {
        position: fixed;
        z-index: 990;
        width: 100%;
        top: 68px;
        right: 0;
        bottom: 0;
        transition: all 200ms ease;
        transform: translate(100%, 0);
    }

    .admin-aside.show {
        transform: unset;
    }
}

.admin-mobile-head {
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #333d;
}

.fh-100 {
    height: 100vh !important;
}

.divider {
    border-top: 1px solid rgba(255, 255, 255, .5);
}

.admin-aside .nav-link.current {
    color: #fff;
    background-color: #333;
}

.admin-aside-dropdown-item {
    padding: 5px 10px;
    background-color: #7777;
    border-radius: 4px;
    margin-bottom: 3px;
}

.blog .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .meta-top {
    background-color: #ddd;
    border-radius: 5px;
    font-size: 0.85em;
    padding: 5px 10px;
}

.btn-search {
    background-color: #05c46b;
    color: #ffffff;
    height: 100%;
    border-radius: 0 0.3em 0.3em 0 !important;
}

.blog .sidebar-item {
    margin-top: 40px;
}

.blog .sidebar-item:first-child {
    margin-top: 0;
}

.blog .categories ul {
    list-style: none;
    padding: 0;
}

.blog .categories ul span {
    color: #aaa;
    margin-left: 5px;
    font-size: 0.9em;
}

.recent-posts .post-item {
    display: flex;
}

.recent-posts img {
    margin-right: 15px;
    margin-left: 0;
    width: 80px;
    max-height: 50px;
}

.card-img-top {
    max-height: 240px;
    overflow: hidden;
}

.blog-post .card-img-top {
    max-height: 500px;
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
}

pre code {
    direction:ltr;
}

figure table p {
    margin-bottom: 0!important;
}

p code {
    padding: 2px 5px;
    background-color: #e1e1e1;
    border-radius: 3px;
}

