@font-face {
    font-family: 'vazir';
    src: url("../fonts/Vazir-Medium.woff") format('woff'),
        url("../fonts/Vazir-Medium.woff2") format('woff2');
}
@font-face {
    font-family: 'pixel';
    src: url("../fonts/Arapix.woff") format('woff');
}
:root[color-mode="dark"] {
    --bg-dark-color: #181414;
    --color-1: 18, 13, 255;
    --color-2: 221, 74, 255;
    --color-3: 100, 200, 255;
    --color-4: 200, 50, 50;
    --color-5: 100, 100, 50;
    --text-dark: #fefaf0;
    --active-dark: #1f1f1f;
    --bg-dark-second: #2b2b2b;
    --hover-out: #fff6e596;
    --text-gray: #444;
    --arrow-background: #181414;
    --arrow-gr-background: linear-gradient(306deg,rgba(24, 20, 20, 1) 23%, rgba(58, 58, 58, 1) 56%);
}

:root[color-mode="light"] {
    --bg-dark-color: #fefaf0;
    --color-1: 18, 13, 255;
    --color-2: 221, 74, 255;
    --color-3: 100, 200, 255;
    --color-4: 200, 50, 50;
    --color-5: 100, 100, 50;
    --text-dark: #181414;
    --active-dark: #e4e0d6;
    --bg-dark-second: #f0ebdf;
    --hover-out: #1814147c;
    --arrow-background: #E4E0D6;
    --arrow-gr-background: linear-gradient(320deg,rgba(228, 224, 214, 1) 23%, rgba(209, 205, 197, 1) 63%);
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);

    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

body {
    background-color: var(--bg-dark-color);
    font-family: 'vazir';
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.gradiant-bg {
    top: 10px;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
    width: 95%;
    height: 790px;
    background: var(--bg-dark-color);
}

.gradiant-container {
    height: 100%;
    width: 100%;
    filter: blur(60px);

}

.c1 {
    top: 5%;
    left: calc(50% - 50%);
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    background: radial-gradient(circle, rgba(var(--color-1), 0.8) 0%, rgba(var(--color-1), 0) 70%) no-repeat;
    animation: moveInCircle 40s linear infinite;
    transform-origin: calc(50% - 200px);
    margin-top: 100px;
}

.c2 {
    position: absolute;
    top: 1%;
    left: -20%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    transform-origin: calc(50% - 200px);
    animation: moveVertical 20s ease infinite;
    background: radial-gradient(circle at center, rgba(var(--color-2), 0.8) 0%, rgba(var(--color-2), 0) 70%) no-repeat;
}

.c3 {
    opacity: 0.7;
    top: 4%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    transform-origin: calc(50% - 200px);
    animation: moveInCircle 20s linear infinite;
    background: radial-gradient(circle at center, rgba(var(--color-3), 0.8) 0%, rgba(var(--color-3), 0) 70%) no-repeat;
}

.c4 {
    opacity: 0.7;
    top: 2%;
    left: 70%;
    z-index: -1;
    width: 100%;
    height: 100%;
    mix-blend-mode: hard-light;
    border-radius: 50%;
    z-index: -1;
    animation: moveHorizontal 30s ease infinite;
    background: radial-gradient(circle at center, rgba(var(--color-4), 0.8) 0%, rgba(var(--color-4), 0) 70%) no-repeat;
}

.c5 {
    opacity: 0.7;
    top: 6%px;
    left: 20%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    animation: moveHorizontal 30s ease infinite;
    background: radial-gradient(circle at center, rgba(var(--color-5), 0.8) 0%, rgba(var(--color-5), 0) 70%) no-repeat;
}

.interactive {
    top: -50%;
    left: -50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    background: radial-gradient(circle at center, rgba(var(--color-1), 0.8) 0%, rgba(var(--color-1), 0) 70%) no-repeat;
    opacity: 0.7;

}

.welcome {
    left: 50%;
    top: 50%;

    color: var(--text-dark);
    transform: translate(-50%, -50%);
    transition: color 0.5s;

}

.about-me {
    left: 50%;
    top: 60%;
    text-align: center;

    color: var(--text-dark);
    transform: translate(-50%, -50%);
    width: 80%;
    transition: color 0.5s;
}

.name {

    left: 5%;
    top: 50px;
    color: var(--text-dark);
    transition: all 0.5s;
}

.name:hover {
    font-size: larger;
}

.theme-change {
    position: absolute;
    right: 5%;
    top: 50px;
    fill: var(--text-dark);

    transition: all 0.5s;
}

.theme-change:hover {
    cursor: pointer;
}

.about-me-title {
    right: 13%;
    top: 50px;
    color: var(--text-dark);
    transition: all 0.5s;
    text-decoration: none;
}


.about-me-title:hover {
    color: var(--text-dark);
    font-size: larger;
}

.contact-me {
    transform: translate(-50%, -50%);
    text-align: center;
    left: 50%;
    top: 80%;
    color: var(--text-dark);
    transition: all 0.5s;
    font-size: 20px;
}

.contact-me:hover {
    color: var(--text-dark);
    font-size: x-large;

}

.line {
    height: 1px;
    width: 100%;
    background-color: var(--text-dark);

}

.experience-info {
    margin-top: 30px;
    margin-bottom: 30px;
    transition: ease-out 0.2s all;
}

@media screen and (max-width:768px) {
    .name {
        left: 6%;
        top: 52px;
        color: var(--text-dark);
        transition: all 0.5s;
        font-size: small;
    }

    .about-me-title {
        right: 15%;
        top: 52px;
        color: var(--text-dark);
        transition: all 0.5s;
        font-size: small;

    }



    .explain {
        position: absolute;
        visibility: hidden;
    }
}

@media screen and (min-width:768px) {
    .name {
        left: 5%;
        top: 50px;
        color: var(--text-dark);
        transition: all 0.5s;
    }

    .about-me-title {
        right: 10%;
        top: 50px;
        color: var(--text-dark);
        transition: all 0.5s;
    }

    .explain {
        position: static;
        visibility: visible;
    }
}

.mid-section {
    width: 95%;
    margin-top: 900px;
}

.about-me-sec {
    color: var(--text-dark);
}

.about-me-full {
    margin-top: 30px;
}

.my-experiences {
    margin-top: 120px;
    color: var(--text-dark);
}

@-webkit-keyframes stripes {
    100% {
        background-position: 0 -50px;
    }
}

@keyframes stripes {
    100% {
        background-position: 0 -50px;
    }
}


.hovered {
    color: var(--hover-out);
}

.my-skills {
    color: var(--text-dark);
    margin-top: 120px;
    text-align: right;

}

.skills-container {
    text-align: center;
    min-height: 100vh;
    justify-content: center;
}



.filter-list {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    background-color: var(--bg-dark-second);
    padding: 3px;
}

.filter-list button {
    cursor: pointer;
    border-radius: 999px;
    width: 100%;
    border: none;
    background: transparent;
    font-size: small;
    color: var(--text-dark);
    transition: all 0.5s;
    padding: 5px;
}

.filter-list button.active {
    background: var(--active-dark);
}


.all-btn {
    color: var(--text-dark);
    background-color: #2b2b2b;
    border-radius: 999px;
    padding: 8px 12px;
    border: none;
    font-size: small;
    transition: all 0.5s;
}

.all-btn:hover {

    background: #1f1f1f;

}

.filter-area {
    margin-top: 10px;
}


.skills-container .row {
    margin: 0;
}

.language-python {
    border-radius: 10px;
    text-align: left;
    margin-top: 25px;
    font-size: larger;
}

.cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: #c9d1d9;
    position: absolute;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes glow {
    from {
        -webkit-box-shadow: 0px 0px 22px -7px rgba(254, 250, 240, 1);
        -moz-box-shadow: 0px 0px 22px -7px rgba(254, 250, 240, 1);
        box-shadow: 0px 0px 22px -7px rgba(254, 250, 240, 1);
    }

    to {
        -webkit-box-shadow: 0px 0px 25px -7px rgba(254, 250, 240, 1);
        -moz-box-shadow: 0px 0px 25px -7px rgba(254, 250, 240, 1);
        box-shadow: 0px 0px 25px -7px rgba(254, 250, 240, 1);
    }
}

.center-bubble {
    border: 1px solid var(--text-dark);
    border-radius: 50%;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 15px;
    background: transparent;
    position: absolute;
    height: 100px;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 300px;
    animation: glow infinite 2s alternate;

}


.center-bubble:hover .description{
    opacity: 1;
}

.description {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark-second);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bubble{
    border: 1px solid var(--text-dark);
    border-radius: 50%;
    align-items: center;
    padding: 15px;
    background: transparent;
    position: absolute;
    height: 75px;
    width: 75px;
    animation: glow infinite 1s alternate;
    transition: all 0.5s;
}
.top-left {
    left: calc(40% - 37px);
    margin-top: 150px;
}

.top-right {
    left: calc(60% - 37px);
    margin-top: 140px;
}

.bottom-right {
    left: calc(59% - 37px);
    margin-top: 460px;
    height: 65px;
    width: 65px;
}
.bottom-left {
    left: calc(38% - 37px);
    margin-top: 430px;
}

.bubble:hover {
    translate: 0 -20px;
    transition: translate 0.4s ease-out;
}

.bubble:hover .description{
    opacity: 1;
}
@media screen and (max-width:992px) {
    .top-left {
        left: calc(20% - 37px);
        margin-top: 150px;
    }
    
    .top-right {
        left: calc(85% - 37px);
        margin-top: 140px;
    }
    
    .bottom-right {
        left: calc(80% - 37px);
        margin-top: 460px;
        height: 65px;
        width: 65px;
    }

    .bottom-left {
        left: calc(22% - 37px);
        margin-top: 430px;
    }
    
    
}

.bubble img {
    
    height: 100%;
    width: 100%;
}
.center-bubble img {
    height: 100%;
    width: 100%;
}

.skill-bar {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 5px;
    gap: 2px;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ccc; /* unfilled */
    transition: background-color 0.3s ease;
}

.dot.filled {
    background-color: #4caf50; /* or your highlight color */
}

.contain {
    display: none;
}

.contain.active {
    display: block;
}

.tools {
    font-family: 'pixel';
    margin-top: 50px;
}
.tool {
    font-size: 25px;
    text-align: center;
    justify-content: center;
    
}
.tool img{
    height: 85px;
    width: 85px;
    transition: all 0.3s;
}
.tool img:hover {
    height: 105px;
    width: 105px;
}
.row.first .tool:first-child{
   border-left: none;
}
.row.first .tool {
    border-left: solid #2b2b2b 1px;
    padding-bottom:25px;
}

.row.second .tool:first-child{
    border-left: none;
 }
.row.second .tool {
    border-top: solid #2b2b2b 1px;
    border-left: solid #2b2b2b 1px;
    padding-top:25px;
}
.contact-ways {
   
    color: var(--text-dark);
    text-align: center;
    
    margin-top: 25px;
}
.scrollToTopBtn{
    width: 50px;
    height: 50px;
    background: var(--arrow-background);
    background: var(--arrow-gr-background);
    border-radius: 50%;
    border: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    text-align: center;
    justify-content: center;
}
.scrollToTopBtn img {
    margin-top: 20%;
    width: 60%;
    height: 60%
}
