@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: 'Inter'
}

html {
    scroll-behavior: smooth;
}

body {
    background: #1e1e1e !important;
    margin: 0px;
    padding: 0px;
}

.spacing {
    padding: 0px 60px;
}

nav {
    display: flex;
    gap: 1rem;
}

.yovan {
    color: white;
    padding: 0px;
    margin: 10px;
    padding-bottom: 3px;
    padding-top: 3px;
    margin-left: 5px;
    margin: 10px 0px;
    text-decoration: unset;
    font-size: 21px;
    font-weight: 500;
    background: transparent;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

header {
    min-height: 50px;
    display: flex;
    transition: backdrop-filter 0.3s ease;
    padding: 0px;
    justify-content: flex-end;
    z-index: 1;
    backdrop-filter: blur(12px);
    min-height: 50px;
    width: 100%;
    align-items: center;
    position: fixed;
    background: rgba(25, 25, 25, 0.1);
}

img {
    object-fit: cover;
}

.border-50 {
    border-radius: 50%;
}

.img-cont img {
    width: 380px;
    height: 380px;
    object-fit: cover;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    z-index: 1;
    backdrop-filter: blur(10px);
    color: #e7ecfa;
    font-family: 'Inter', Arial, sans-serif;
    /*  position: fixed;
    width: 100%;*/
    bottom: 0px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    /*color: #8055a2;*/
    color: rgb(255, 60, 0);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-logo:hover {
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(65, 150, 255, 0.15);
}

nav {
    transition: backdrop-filter 0.3s ease;
    display: flex;
    /*background-color: rgba(100, 100, 100, 0.2);*/
    padding: 0px;
    justify-content: center;
    z-index: 1;
    padding-right: 180px;
    min-height: 50px;
    width: 100%;
    align-items: center;
}

nav:hover {
    backdrop-filter: blur(10px);
}

nav a {
    z-index: 2;
    transition: border 0.2s ease;
    text-decoration: none;
    color: white;
    padding: 25px;
    padding-bottom: 3px;
    padding-top: 3px;
    margin-left: 5px;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 25px;
    font-size: 17px;
}

nav a:hover {
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(32px);
}

button {
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-family: inherit;
    margin-left: 50px;
    border: none;
    border-radius: 9999px;
    padding: 6px 40px;
    font-size: 32px;
    cursor: pointer;
}

/*button:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: scale(1.2);
}*/

.intro-section-container {
    width: 100%;
    text-align: center;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

h1,
p.intro-p {
    color: #ffffff;
}

p.intro-p {
    color: gray;
    line-height: 23px;
    font-size: 16px;
    font-family: 'Fira Code';
}

.intro-section h1,
h1 .front {
    font-family: 'Fira Code';
}

h1 {
    font-size: 60px;
    font-weight: 600;
    line-height: 57px;
    margin-bottom: 34px;
    color: #ffffff;
}

h1 .front {
    /*color: #8055a2;*/
    color: rgb(251, 213, 60);
}

h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 57px;
    margin-bottom: 43px;
    font-family: 'Fira Code';
}

h3 {
    color: #ffffff;
    font-family: 'Fira Code';
}

ul li {
    color: #ffffff;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.img-cont {
    width: 411px;
    height: 411px;
}

.stack ul {
    column-gap: 15px;
    row-gap: 15px;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0px;
}

/*.stack ul li::after {
    content: ' /';
}
*/
.stack ul li:last-child::after {
    content: unset;
}

.stack ul li {
    display: flex;
    gap: 15px;
    position: relative;
    white-space: nowrap;
    border: 1px solid #808080;
    backdrop-filter: blur(32px);
    border-radius: 25px;
    padding: 25px;
    padding-bottom: 3px;
    padding-top: 3px;
    /*transition: border 0.2s ease;*/
    cursor: default;
    font-size: 24px;
    font-family: 'Fira Code';
}

/*.stack ul li:hover {
    border: 1px solid #FF3C00;
}*/

.bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    /* Very faint white border */
    width: 600px;
    height: 600px;
    left: 60%;
    top: -100px;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.bg-y-text {
    position: absolute;
    top: 15%;
    left: 10%;
    font-size: 44vw;
    font-family: Arial, sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    /* outlined, faint */
    text-stroke: 2px rgba(255, 255, 255, 0.08);
    /* for other browsers */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    transform: rotate(36deg);
}

.bg-circle-2-ps {
    position: relative;
}

.bg-circle-2-ps::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    /* Very faint white border */
    width: 600px;
    height: 600px;
    right: 4px;
    top: -210px;
    z-index: 0;
    pointer-events: none;
}

.bg-circle-2 {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.04);
    width: 400px;
    height: 400px;
    left: 20%;
    top: 300px;
    z-index: 0;
    pointer-events: none;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item:last-child,
.project-single:last-child {
    border-bottom: unset;
}

.accordion-header {
    padding: 1rem 0rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 19px;
    font-weight: 700;
    pointer-events: auto;
}

.accordion-header a {
    font-size: 15px;
    font-weight: 500;
    width: 250px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: auto;
    color: #fff;
    text-decoration: unset;
}

.accordion-header a b {
    margin-left: 7px;
}

.accordion-header a b svg {
    transform: rotate(315deg);
}

/*
.accordion-header:hover span {
    color: #fbd53c;
}*/

.accordion-header span {
    width: 310px;
    display: flex;
    align-items: center;
    font-family: 'Fira Code';
    gap: 12px;
}

.accordion-item.open .accordion-header span svg {
    transform: rotate(270deg);
}

.accordion-header span svg {
    transform: rotate(90deg);
}

.accordion-header p {
    width: 250px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: gray;
}

/*.accordion-header:hover span {
    text-decoration: underline;
}
*/
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s ease;
    padding: 0 1rem;
}

.accordion-content ul li {
    list-style-type: unset;
}

.accordion-content ul {
    margin-top: 0px;
    margin-bottom: 26px;
    gap: 7px;
    display: flex;
    flex-direction: column;
}

.accordion-item.open .accordion-content {
    max-height: 200px;
    padding: 0rem 1rem;
}

.img-and-about {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.img-and-about p {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    text-align: left;
    color: #fbd53c;
    position: relative;
    margin-top: 0px;
}

.img-and-about p span.hex {
    position: absolute;
    left: 0px;
    bottom: 0px;
    font-size: 22px;
    font-weight: 400;
    color: #fbd53c;
    display: flex;
    flex-direction: column;
}

.img-and-about p .hex.gray {
    color: #808080;
    bottom: -30px;
    line-height: 18px;
}

.gray {
    color: gray;
}

.gray.slash {
    color: gray;
    font-weight: 900;
}

.about-proj p {
    color: gray;
}

.about-proj p span {
    color: #fff;
    font-style: italic;
}

.project-single {
    display: flex;
    flex-direction: row;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0px;
}

.right-container img {
    width: 620px;
    border-radius: 20px;
}

footer .yovan p.design-by {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
}

.left-container {
    display: flex;
    flex-direction: column;
    gap: 57px;
}

.project-name,
.project-name a {
    font-weight: 500;
    font-size: 28px;
    margin-top: 8px;
    color: #fff;
    text-decoration: unset;
    font-family: 'Fira Code';
}

.project-name a b svg {
    transform: rotate(315deg);
    position: relative;
    left: -4px;
    top: 2px;
}

.project-name a b img {
    width: 22px;
}

.stack ul.proj-stack li {
    font-size: 20px;
}

.proj-stack {
    width: 50%;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact a img {
    width: 30px;
}

.contacts-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 57px;
}

.contact h2 {
    font-size: 40px;
}

.contact a {
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code';
    height: 32px;
}

.contact a.mobile {
    display: none;
}

.contact a:hover {
    text-decoration: unset;
}

.contact a svg {
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 3px 5px 4px 3px;
}

.contact.desktop svg,
.contact.mobile svg {
    background: white;
    border: unset;
}

span.yellow {
    color: #fbd53c;
    font-family: 'Fira Code';
}

.about span.yellow {
    font-family: 'Inter';
}

.contact-left .contact {
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
    transition: all 0.5s ease-out;
    width: min-content;
    white-space: nowrap;
}

.contact-left,
.contact-right {
    width: 48%;
}

.contact-left .contact:hover {
    text-decoration: unset;
}

.arrow-wrapper {
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
}

.arrow-wrapper svg {
    width: 16px;
    height: 16px;
}

.arrow {
    animation: none;
}

.contact-left .contact:hover .arrow {
    animation: slideOutIn 0.6s ease;
}

.cursor-circle {
    position: fixed;
    top: 50%;
    bottom: 50%;
    left: 50%;
    right: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-circle.shrink {
    transform: translate(-50%, -50%) scale(0.4);
    background: #fbd53c;
    border: 2px solid #fbd53c;
}

@keyframes slideOutIn {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(150%);
        opacity: 0;
    }

    51% {
        transform: translateX(-150%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}



/*color: #c4e709;*/

@media (min-width: 768px) {
    /* nav {
        display: none;
    }*/
}

@media (max-width: 1200px) {
    .img-cont {
        width: 300px;
        height: 300px;
    }

    .img-cont img {
        width: 300px;
        height: 300px;
    }

    .img-and-about p span.hex {
        bottom: -66px;
    }
}


@media (max-width: 1500px) {
    .right-container {
        display: none;
    }

    .proj-stack {
        width: 100%;
    }

    .left-container {
        gap: 9px;
    }

    .project-single {
        padding: 30px 0px;
    }

    .project-name {
        margin-bottom: 14px;
    }

    .stack ul {
        margin-top: 0px;
    }
}

@media (max-width: 1440px) {
    header {
        padding: 0px 60px;
    }
}

@media (min-width: 1440px) {
    .spacing {
        padding: 55px 150px;
    }

    header {
        padding: 0px 150px;
    }

    .footer {
        padding: 40px 150px;
    }

    nav {
        padding-right: 420px;
    }

    .bg-circle {
        display: block;
    }

    .img-and-about p span.hex {
        bottom: -55px;
    }

    .img-and-about p span.hex.gray {
        bottom: -82px;
    }

    .img-and-about p {
        font-size: 36px;
        line-height: 43px;
    }

    .img-and-about p span.hex {
        bottom: -75px;
    }
}

@media (max-width: 991px) {

    .about-me.spacing {
        margin-bottom: 100px;
    }

    .cursor-circle {
        display: none;
    }

    .accordion-header span {
        padding: 5px 0px 15px 0px;
    }

    footer .yovan p.design-by {
        margin-right: 10px;
    }

    .contact a.github,
    .contact a.email,
    .contact a.telegram {
        font-size: 19px;
    }

    .contact a.github img,
    .contact a.email img,
    .contact a.telegram img {
        width: 24px;
    }

    footer .yovan {
        display: flex;
        align-items: center;
        margin-bottom: 0px;
    }

    .accordion-content ul li {
        font-size: 14px;
    }

    .footer {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 66px;
    }

    .img-cont {
        margin-right: 28px;
        float: left;
    }

    .img-and-about {
        display: block;
    }

    .spacing {
        padding: 0px 29px;
    }

    .hamburger {
        display: block;
        color: #fff;
    }

    header .yovan {
        margin: 10px 0px 10px 29px;
    }

    header {
        padding: unset;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 54px;
        /*right: 1rem;*/
        background: #111;
        padding: 0rem;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    nav.active {
        display: flex;
    }

    header {
        justify-content: space-between;
    }

    .footer {
        padding: 40px 29px;
    }

    .stack ul li {
        font-size: 21px;
    }

    .img-and-about p span.hex {
        bottom: -29px;
    }

    .img-and-about p span.hex {
        bottom: -55px;
    }

    h2 {
        margin-bottom: 20px;
        margin-top: 60px;
    }

    .contact {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .contact-left h2 {
        margin-bottom: 28px;
    }

    .contacts-wrap {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        column-gap: 68px;
    }

    .contact a.mobile {
        display: flex;
        width: 100%;
        justify-content: flex-start;
    }

    .contact a {
        flex-direction: row;
    }

    .contact a.desktop {
        display: none;
    }
}

@media (max-width: 768px) {

    .bg-circle-2 {
        width: 200px;
        height: 200px;
    }

    .contacts-wrap {
        gap: 31px;
    }

    .img-cont {
        width: 220px;
        height: 220px;
    }

    .img-cont img {
        width: 220px;
        height: 220px;
    }

    .accordion-header span {
        width: 100%;
        justify-content: center;
    }

    .accordion-header {
        flex-wrap: wrap;
    }

    .accordion-header p {
        text-align: left;
    }

    .intro-section {
        padding: 0px 17px 0px 17px;
    }

    h2 {
        font-size: 38px;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 20px;
        padding: 38px 29px 43px 29px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 44px;
    }

    .accordion-header a,
    .accordion-header p {
        width: 45%;
    }

    .accordion-content ul {
        padding-left: 8px;
    }
}

@media (max-width: 500px) {

    h1 {
        font-size: 56px;
    }

    .accordion-item {
        border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    }

    .img-and-about p {
        font-size: 17px;
        line-height: 28px;
    }

    .intro-section {
        padding: 0px 26px 0px 26px;
    }

    .img-and-about p span.hex {
        font-size: 17px;
    }

    .contacts-wrap {
        column-gap: 44px;
    }

    .accordion-item {
        padding: 1rem 0rem;
    }

    .accordion-header {
        padding: 0rem 0rem;
    }

    .img-and-about p span.hex {
        font-size: 17px;
        right: 0px;
        left: unset;
        text-align: right;
    }

    .img-cont,
    .img-cont img {
        width: 180px;
        height: 180px;
    }

    .img-cont {
        margin-right: 19px;
    }

    .stack ul li,
    .stack ul.proj-stack li {
        font-size: 14px;
    }

    .left-container {
        gap: 0px;
    }

    .stack ul {
        column-gap: 12px;
        row-gap: 12px;
    }

    .spacing {
        padding: 0px 18px;
    }

    .project-single {
        padding: 16px 0px;
    }

    .contact h2 {
        font-size: 34px;
    }
}