:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #1A1A1A;
    --bg-elevated: #262626;
    --text-primary: #E5E5E5;
    --text-secondary: #737373;
    --text-muted: #A3A3A3;
    --accent-primary: #34D399;
    --border-color: #A3A3A3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p, strong, span {
    font-size: 1.3rem;
}

li {
    list-style: none;
}

a {
    display: inline-block;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

a:hover {
    transform: scale(1.1);
    color: #22c55e;
}

.button {
    background-color: var(--bg-elevated);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 2px var(--accent-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 211, 153, 0.5);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

/*header*/
.header {
    background-color: var(--bg-secondary);
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header__name {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.header__tagline {
    font-size: 0.9rem;
}

/*nav*/
.nav__item {
    display: inline-block;
    margin: 0 20px 5px;
}

/*main*/
.header {
    background-color: var(--bg-secondary);
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

/*hero*/
.hero__title {
    margin: 30px 0;
}

.hero__subtitle {
    color: var(--accent-primary);
    margin: 30px 0;
}

.hero__description {
    margin: 30px 0 50px;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    margin: 40px 0 50px;
}

.hero__actions > .button--primary {
    margin: 0 80px 0 0;
}

.hero__stats {
    margin: 40px 0 50px;
}

.stat {
    display: inline-block;
    margin: 0 32px;
}

.stat__number {
    font-size: 2rem ;
    font-weight: bold;
    font-style: italic;
    display: block;
    margin-bottom: 10px;
}

/*about*/
.about {
    margin: 0 0 50px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-elevated);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 2px var(--accent-primary);
}

.about__title {
    margin: 0 0 20px;
}

.about__intro {
    margin: 0 0 15px;
}

.about__text {
    font-size: 1rem;
    margin: 0 0 30px;
}

.quote {
    margin: 0 0 30px;
    padding: 30px;
    border-radius: 8px;
    background: var(--bg-primary);
    border-left: 5px solid var(--accent-primary);
    box-shadow: 3px 3px 5px 2px var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}

.quote__text {
    text-align: left;
    font-style: italic;
    margin: 0 0 10px;
    transition: transform 0.3s ease 0.1s;
}

.quote:hover .quote__text {
    transform: translateX(10px);
}

.quote__author {
    display: block;
    text-align: right;
    font-size: 1rem;
    font-style: italic;
    transition: color 0.3s ease;
}

.quote:hover .quote__author {
    color: var(--accent-primary);
}

.values__title {
    font-size: 2.4rem;
    margin: 0 0 20px;
}

.values__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.values__item {
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    background: var(--bg-primary);
    border-left: 5px solid var(--accent-primary);
    box-shadow: 3px 3px 5px 2px var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}

/*projects*/
.projects__description,
.project__description {
    margin: 30px 0;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.projects__grid {
    margin: 0 0 50px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.project {
    background-color: var(--bg-elevated);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 2px var(--accent-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}

.project__badge {
    display: block;
    padding-left: 10px;
    margin-bottom: 10px;
    background: linear-gradient(to left, var(--bg-secondary), var(--accent-primary));
    border-radius: 8px;
    font-weight: bold;
    text-align: left;
}

.project__subtitle {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.project:hover .project__subtitle {
    color: var(--accent-primary);
}

.project__description {
    transition: transform 0.3s ease 0.1s;
}

.project:hover .project__description {
    transform: translateX(10px);
}

.project__learnings {
    margin: 15px 0 20px;
    padding: 20px;
    border-radius: 8px;
    background: var(--bg-primary);
    border-left: 5px solid var(--accent-primary);
    box-shadow: 3px 3px 5px 2px var(--bg-secondary);
}

.project__learnings > li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: left;
    list-style-type: "→ ";
}

.project__technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 2px var(--bg-secondary);
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tag:nth-child(1) {
    background-color: #F06529;
}

.tag:nth-child(2) {
    background-color: #0000FF;
}

.tag:nth-child(3) {
    background-color: #F0DB4F;
    color: black;
}

.project__links > .project__link:nth-child(1) {
    margin-right: 20px;
}

.project__link {
    text-decoration: underline;
}

/*skills*/
.skills__title {
    margin-bottom: 20px;
}

.skills__subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.skill {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 60px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.skill:hover {
    transform: translateX(10px);
}

.skill__name {
    position: absolute;
    font-size: 1.3rem;
    top: 0;
    left: 0;
    transition: color 0.3s ease;
}

.skill:hover .skill__name {
    color: var(--accent-primary);
}

.skill__percentage {
    position: absolute;
    font-size: 1.3rem;
    top: 0;
    right: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.skill:hover .skill__percentage {
    color: var(--accent-primary);
    transform: scale(1.2);
}

.skill__bar {
    position: absolute;
    background: var(--bg-elevated);
    border-radius: 8px;
    height: 24px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.skill__progress {
    height: 100%;
    border-radius: 8px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.skill__progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.skill__progress--html {
    width: 75%;
    background: #F06529;
}

.skill__progress--css {
    width: 60%;
    background: #2563eb;
}

.skill__progress--js {
    width: 20%;
    background: #F0DB4F;
}

.learning__title {
    font-size: 2.4rem;
    margin: 0 0 20px;
}

.learning__list {
    margin: 0 0 50px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.learning__item {
    font-size: 1.3rem;
    text-align: left;
    text-decoration: none;
    background-color: var(--bg-elevated);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 2px var(--accent-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.learning__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

/*contect*/
.contact__container {
    margin: 0 0 50px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-elevated);
    padding: 30px;
    border-radius: 8px;
}

.contact__description {
    margin: 30px 0;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.contact__methods {
    margin: 40px 0 50px;
}

.contact__method {
    display: inline-block;
    margin: 0 32px;
}

.contact__method-title {
    font-size: 2rem ;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/*footer*/
.footer__container {
    margin-bottom: 30px;
}

.footer__nav {
    margin-bottom: 30px;
}

.footer__link {
    display: inline-block;
    margin: 0 20px 5px 30px;
}

@media (max-width: 767px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p, strong, span {
        font-size: 1rem;
    }

    .header {
        padding: 20px 15px;
    }

    .header__container {
        flex-direction: column;
    }

    .nav__list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .nav__item {
        display: block;
        margin: 0;
    }

    .footer__nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer__link {
        display: block;
        margin: 0;
    }

    .main {
        padding: 20px 15px;
    }

    .hero__actions {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero__actions > .button--primary {
        margin: 0;
    }

    .values__list {
        grid-template-columns: 1fr;
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .learning__list {
        grid-template-columns: 1fr;
    }

    .learning__item:last-child {
        grid-column: span 1;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .header__container {
        flex-direction: column;
        gap: 20px;
    }

    .values__list {
        grid-template-columns: 1fr 1fr;
    }

    .projects__grid {
        grid-template-columns: 1fr 1fr;
    }

    .learning__list {
        grid-template-columns: 1fr 1fr;
    }

    .learning__item:last-child {
        grid-column: span 2;
        width: calc((100% - 20px) / 2);
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .header__container {
        flex-direction: row;
    }

    .projects__grid {
        grid-template-columns: 1fr 1fr;
    }

    .learning__list {
        grid-template-columns: 1fr 1fr;
    }
}




