@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #2a2b2a;
    --second-bg-color: #414141;
    --text-color: #fff;
    --main-color: #ff8a1d;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

#toast {
    position: fixed;
    top: 40px;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
    z-index: 1000;
    font-size: 3rem;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 35vw;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.btn {
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .3s ease;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn svg#icon {
    margin-right: 0.5rem;
    font-size: 2.5rem;
    height: 25px;
    width: 25px;
    color: var(--bg-color);
}

.btn:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.disabled_btn {
    padding: 1rem 2.8rem;
    background: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--text-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .3s ease;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: none;
}

/* ------------------------- */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 35vw;
}

.about-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.about-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content p {
    font-size: 2rem;
    margin: 2rem 0 3rem;
}

/* ------------------------- */

.education {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    background: var(--bg-color);
    padding-bottom: 5rem;
}

.education h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.education .education-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.education-row .education-column {
    flex: 1 1 40rem;
}

.education-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 2rem;
}

.education-column .education-box {
    border-left: .2rem solid var(--main-color);
}

.education-box .education-content {
    position: relative;
    padding-left: 2rem;
}

.education-box .education-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background: var(--main-color);
    border-radius: 50%;
}

.education-content .content {
    position: relative;
    padding: 1.5rem;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
    background: var(--second-bg-color);
}

.education-content .content .year {
    font-size: 1.8rem;
    color: var(--main-color);
    padding-bottom: .5rem;
}

.education-content .content .year svg {
    padding-right: .5rem;
    padding-top: .5rem;
}

.education-content .content h3 {
    font-size: 2.1rem;
}

.education-content .content p {
    font-size: 1.8rem;
}

/* ------------------------- */

.skills {
    min-height: auto;
    padding-bottom: 7rem;
    background: var(--second-bg-color);
}

.skills h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.skills .skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.skills-row .skills-column {
    flex: 1 1 40rem;
}

.skills-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem;
}

.skills-box .skills-content {
    position: relative;
}

.skills-content .progress {
    padding: 1rem 0;
}

.skills-content .progress h3 {
    font-size: 1.7rem;
    display: flex;
    justify-content: space-between;
}

.skills-content .progress h3 span {
    color: var(--text-color);
}

.skills-content .progress .bar {
    height: 2rem;
    border-radius: 1.5rem;
    background-color: var(--bg-color);
    margin: 1rem 0;
}

.skills-content .progress .bar span {
    display: block;
    height: 100%;
    border-radius: 1.5rem;
    background: var(--main-color);
}

/* ------------------------- */

.skills-column:nth-child(1) .skills-content .progress:nth-child(1) .bar span {
    width: 80%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(2) .bar span {
    width: 80%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(3) .bar span {
    width: 60%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(4) .bar span {
    width: 60%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(5) .bar span {
    width: 60%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(6) .bar span {
    width: 50%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(7) .bar span {
    width: 30%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(8) .bar span {
    width: 10%;
}

.skills-column:nth-child(1) .skills-content .progress:nth-child(9) .bar span {
    width: 10%;
}

/* ------------------------- */

.skills-column:nth-child(2) .skills-content .progress:nth-child(1) .bar span {
    width: 100%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(2) .bar span {
    width: 50%;
}

.skills-column:nth-child(2) .skills-content .progress:nth-child(3) .bar span {
    width: 25%;
}

/* ------------------------- */

.projects {
    margin-bottom: 3rem;
}

.projects h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.projects-container .projects-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
}


.projects-container .projects-box:hover {
    border-color: var(--main-color);
}

.projects-box svg {
    height: 80px;
    width: 80px;
    color: var(--main-color);
}

.projects-box h3 {
    font-size: 2.6rem;
}

.projects-box p {
    font-size: 1.7rem;
    margin: 1rem 0 3rem;
}

/* ------------------------- */

.contact {
    min-height: 60vh;
    align-items: center;
    background: var(--second-bg-color);
}

.contact h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-container .contact-box {
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--second-bg-color);
}


.contact-container .contact-box:hover {
    border-color: var(--main-color);
}

.contact-box svg {
    font-size: 7rem;
    height: 80px;
    width: 80px;
    color: var(--main-color);
}

.contact-box h3 {
    font-size: 2rem;
    margin: 1rem 0 3rem;
}

/* ------------------------- */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--bg-color);
}

.footer-text p {
    font-size: 1.6rem;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a svg {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* ------------------------- */

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }
    section {
        padding: 10rem 3% 2rem;
    }
    .projects {
        padding-bottom: 7rem;
    }
    .contact {
        padding-bottom: 7rem;
    }
    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }
    .navbar.active {
        display: block;
    }
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .home {
        flex-direction: column;
    }
    .home-content h3 {
        font-size: 2.6rem;
    }
    .home-content h1 {
        font-size: 5rem;
    }
    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }
    .about {
        flex-direction: column-reverse;
    }
    .about img {
        width: 70vw;
        margin-top: 4rem;
    }
    #toast {
        font-size: 2.5rem;
    }
}