* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    font-family: IRANSans;
}

@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSans/IRANSansWeb_Light.woff') format('woff');
}

:root {
    --bg-color: #eee;
    --text-color: #605c5c;
    --main-color: #b663c5;
    --second-color: #e6c4ec;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
}

.section-title {
    /* min-height: 100vh; */
    padding: 7rem 0% 2rem;
    /* top, right & left, bottom */
}

/************************ Header ****************************/
.header {
    border-bottom: 1px solid rgba(12, 12, 12, 0.04);
}

.navbar {
    background-color: var(--main-color);
}

.navbar .navbar-toggler {
    color: var(--bg-color);
}

.nav-link {
    color: black;
    font-weight: 600;
    transition: all 0.5s;
}

.nav-link:hover {
    color: var(--bg-color);
}

.navbar-nav .nav-item .active {
    color: var(--bg-color);
}

/************************* Welcome Section ******************************/
.welcome {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.welcome h2 {
    font-weight: bold;
    text-align: center;
}

.shine {
    background: #222 -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff)) 0 0 no-repeat;
    background-size: 150px;
    color: rgba(255, 255, 255, 0.3);
    -webkit-background-clip: text;
    /* background-clip: text; */
    animation-name: shine;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    text-shadow: 0 0px 0px rgba(166, 46, 128, 0.5);
}

@keyframes shine {

    0%,
    10% {
        background-position: -1000px;
    }

    20% {
        background-position: top left;
    }

    90% {
        background-position: top right;
    }

    100% {
        background-position: 1000px;
    }
}

/************************** About Me *********************************/
.title h2 {
    position: relative;
    font-size: 2.1rem;
    padding-right: 4rem;
    margin: 2rem 4rem;
    font-weight: bold;
    width: auto;
    white-space: nowrap;
    color: black;
}

.title h2:before {
    width: 6rem;
    height: 0.4rem;
    border-radius: 0.5rem;
    background-color: var(--second-color);
    position: absolute;
    display: block;
    right: -4.1rem;
    top: 1rem;
    content: "";

}

.title h2:after {
    width: 2rem;
    height: 0.4rem;
    border-radius: 0.5rem;
    background-color: var(--main-color);
    position: absolute;
    display: block;
    right: 1.7rem;
    top: 1rem;
    content: "";
}

.title .about-me,
.title .skills-text,
.title .sample-text {
    font-size: 2.2rem;
}

.right-about .img-me {
    border: 3px solid #636e72;
}

.left-about .text-me,
.skills-me {
    color: var(--text-color);
    margin-right: 2rem;
}

/************************** Skills *********************************/
.skills {
    margin: auto;
    padding-top: 50px;
    max-width: 970px;
    align-items: stretch;
}

.skills .items {
    margin-bottom: 2rem;
}

.skills .items .items-content {
    background: var(--second-color);
    font-weight: 600;
    font-family: sans-serif, serif;
    text-align: center;
    border-radius: 50px;
    padding: 10px 25px;
    height: 100%;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    transition: 0.2s ease-out;
}

.skills .items .items-content:hover {
    box-shadow: 0 5px 11px 0 rgb(0 0 0 / 25%), 0 4px 15px 0 rgb(0 0 0 / 30%);
}

.skills .items .items-content .link-items {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
}

.skills .items .link-items .img-items {
    width: 2.5rem;
    margin-left: 0.5rem;
    max-height: 2.5rem;
}

/****************************** Skills pages ***********************************/
.html-title {
    margin: 3rem auto;
    font-weight: bold;
}

.breadcrumbs {
    margin: auto;
    justify-content: center;
}

.breadcrumbs nav {
    background: var(--second-color);
    margin: 1rem 2rem;
    padding: 2rem 3rem;
    border-radius: 1.5rem;
}

.breadcrumbs nav .breadcrumb-nav-link {
    text-decoration: none;
    font-size: 1rem;
    color: black;
    padding: 0 0.75rem;
}

.breadcrumbs nav .breadcrumb-nav-link:hover {
    font-weight: bold;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\2022';
    float: right !important;
    position: relative;
    padding-left: 0.5rem;
    font-size: 2rem;
    bottom: 0.5rem;
    font-weight: 900;
    color: black;
}

.breadcrumbs nav :nth-last-child(-n + 2) {
    cursor: default;
}

.breadcrumbs nav :nth-last-child(-n + 2):hover {
    font-weight: normal;
}

.header-skill h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
}

.description-skill p {
    text-align: justify;
    margin-top: 1.5rem;
    line-height: 2rem;
}

/****************************** Work Samples ***********************************/
.box {
    transition: transform 0.3s;
}

.box:hover {
    transform: translateY(-10px);
}

.box h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 30px 0;
    color: black;
}

.box p {
    font-size: 0.8rem;
    text-align: justify;
    color: #636e72;
    line-height: 2rem;
}

.box a {
    background-color: var(--second-color);
    color: black;
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 5px 20px;
    display: block;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    transition: 0.2s ease-out;
}

.box a:hover {
    box-shadow: 0 5px 11px 0 rgb(0 0 0 / 25%), 0 4px 15px 0 rgb(0 0 0 / 30%);
}

/****************************** Favorites **************************************/
.ul-text {
    line-height: 2.5rem !important;
}

/********************************* Footer *************************************/
.footer {
    background-color: var(--second-color);
}

.footer .footer-row1 {
    justify-content: space-between;
    text-align: center;
    padding: 2rem 1rem;
}

.footer .footer-icon a {
    text-decoration: none;
    display: inline-flex;
    padding: 0.6rem;
    background: var(--main-color);
    border-radius: 0.8rem;
    transition: 0.5s ease;
}

.footer .footer-icon a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer .footer-icon a i {
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer .footer-text .banner {
    font-weight: 700;
    text-align: right;
    text-shadow: 0 0 1rem #636e72;
    font-size: 1rem;
}

.footer .contact-me {
    display: flex;
    text-align: center;
    justify-content: center;
}

.footer .contact-me i {
    margin-left: 0.4rem;
    font-size: 1rem;
    transition: 0.5s ease;
}

.footer .contact-me i:hover {
    text-shadow: 0 0 1rem #111010;
    animation: Shake 0.5s linear infinite;
}

@keyframes Shake {
    0% {
        transform: rotate(5deg);
    }

    25% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

.footer .contact-me .phone-me {
    font-size: 0.8rem;
    font-weight: 600;
}

.footer .footer-row2 {
    justify-content: center;
    text-align: center;
}

.footer .copyAndright {
    font-size: 0.7rem;
    padding: 0.3rem;
}

/***************************** Responsive ************************************/
@media (max-width: 575.98px) {}

@media (max-width: 767.98px) {
    .header-logo {
        height: 2rem !important;
    }

    .section-title {
        padding: 3rem 0% 2rem;
    }

    .title .about-me,
    .title .skills-text,
    .title .sample-text {
        font-size: 1.7rem;
    }

    .breadcrumbs nav {
        margin: 0.5rem 1rem;
        padding: 1.5rem 1rem;
    }

    .breadcrumbs nav .breadcrumb-nav-link {
        font-size: 0.7rem;
        padding: 0 0.5rem;
    }

    .html-title {
        margin: 2rem auto;
        font-weight: bold;
        font-size: 1.7rem;
    }

    .header-skill h2 {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .description-skill p {
        text-align: justify;
        margin-top: 1.5rem;
        line-height: 2rem;
        font-size: 0.8rem;
    }

    .footer .footer-row1 {
        padding: 2rem 3rem;
    }

    .footer .footer-icon a {
        padding: 0.5rem;
    }

    .footer .footer-icon a i {
        font-size: 0.9rem;
    }

    .footer .footer-text .banner {
        font-weight: 600;
        font-size: 0.8rem;
    }

    .footer .contact-me .phone-me {
        font-size: 0.6rem;
    }

    .footer .copyAndright {
        display: flex;
        text-align: center;
        font-size: 0.6rem;
    }
}

@media (max-width: 991.98px) {
    ul li a {
        text-align: center;
    }

    .nav-item:hover {
        background-color: var(--second-color);
    }

    ul li {
        padding: 0.5rem 0%;
    }

    .header-logo {
        height: 3.5rem;
    }

    .skills .items .items-content .link-items {
        font-size: 0.8rem;
        font-weight: 800;
    }

    .skills .items .link-items .img-items {
        width: 2rem;
        max-height: 2rem;
    }
}

@media (max-width: 1199.98px) {}