/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    transition: all .2s linear;
    scroll-behavior: smooth;
}

.theme-toggle-btn {
    /* Variables */
    --primary-color: rgb(17, 218, 117);
    --primary-color-accent-1: rgb(6, 148, 77);
    position: absolute;
    right: 30px;
    top: 22px;
    background-color: #666;
    height: 20px;
    width: 50px;
    border-radius: 30px;
    cursor: pointer;
}

.theme-toggle-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.theme-toggle-checkbox {
    display: none;
}

.theme-toggle-checkbox:checked ~ .theme-toggle-btn {
    background-color: var(--primary-color-accent-1);
}

.theme-toggle-checkbox:checked ~ .theme-toggle-btn::after {
    left: 30px;
}

.theme-toggle-checkbox:checked ~ .body {
    --primary-color: rgb(6, 148, 77);
    --secondary-color: #222;
    --tertiary-color: #fff;
    --complementary-color: #fff;
    --primary-color-accent-1: rgb(6, 148, 77);
}

.body {
    /* Variables */
    --primary-color: rgb(17, 218, 117);
    --secondary-color: #fff;
    --tertiary-color: #222;
    --complementary-color: #000;
    --primary-color-accent-1: rgb(6, 148, 77);
    background-color: var(--tertiary-color);
    overflow: hidden;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

header .logo {
    font-size: 2.5rem;
    font-weight: bold;
}

header .logo a {
    text-decoration: none;
    color: var(--primary-color);
}

header .logo span {
    color: var(--secondary-color);
}

.header-desktop-navbar {
    display: flex;
    column-gap: 20px;
    margin-top: 10px;
    padding-right: 70px;
}

.mobile-nav {
    display: none;
    position: relative;
}

.header-desktop-navbar li {
    list-style: none;
    position: relative;
}

.header-desktop-navbar li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all .3s ease-out;
}

.header-desktop-navbar li:hover::after {
    width: 105%;
}

.header-desktop-navbar li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.03rem;
}

header .header-mobile-navbar {
    background: var(--secondary-color);
    background: var(--primary-color);
    position: absolute;
    top: 60px;
    right: -200px;
    z-index: 10;
    border-radius: 5px;
}

header .mobile-nav .hamburger-icon {
    position: absolute;
    top: 0px;
    right: 70px;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

header .mobile-nav #mobile-nav-check:checked ~ .header-mobile-navbar {
    right: 0;
}

header .mobile-nav #mobile-nav-check {
    display: none;
}

header .header-mobile-navbar li {
    list-style-type: none;
}

header .header-mobile-navbar li a {
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--complementary-color);
    display: block;
    padding: 5px 20px 5px 10px;
}

header .header-mobile-navbar li a:hover {
    background: var(--primary-color-accent-1);
}
/* Header Section */

/* Main Section - Hero */

.hero {
    margin-top: 90px;
    display: flex;
    justify-content: space-between;
    column-gap: 40px;
    padding-right: 70px;
} 

.hero .designation {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.hero .heading {
    font-size: 3.5rem;
    color: var(--secondary-color);
}

.hero .heading .author-name {
    display: block;
    color: var(--primary-color);
}

.hero .summary {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 14px;
    max-width: 600px;
}

.hero .buttons {
    margin-top: 50px;
    display: flex;
    column-gap: 30px;
    row-gap: 20px;
    flex-wrap: wrap;
}

.hero .buttons .download-resume-btn,
.hero .contact-me-social-media-icons a {
    cursor: pointer;
}

.hero .download-resume-btn {
    align-self: center;
    padding: 10px 30px;
    border: none;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.02rem;
}

.hero .download-resume-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #000;
}

.hero .contact-me-social-media-icons a {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--secondary-color);
}

.hero .contact-me-social-media-icons a i {
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    padding: 12px 14px;
}

.hero .contact-me-social-media-icons a:hover {
    color: var(--primary-color);
}

.hero .contact-me-social-media-icons a:hover i {
    box-shadow: 0px 0px 3px 0px var(--primary-color);
}

.hero figure {
    position: relative;
    margin: -5px 0px 0 0;
    border-radius: 50%;
    width: fit-content;
    height: fit-content;
}

.hero figure .portfolio-image-background {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 103.2%;
    height: 100%;
    background: transparent;
    box-shadow: 0px 0px 80px -10px var(--primary-color);
    border-radius: 40% 50%;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

.hero .portfolio-image {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

/* Main Section - Hero */

/* Main Section - About */
.about-me-section,
.skills-section,
.certifications-section,
.projects-section,
.contact-section {
    margin-top: 90px;
    position: relative;
}

.about-me-section .about-heading,
.contact-section .contact-heading {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-me-section .about-heading span,
.contact-section .contact-heading span {
    color: var(--secondary-color);
}

.about-me-section .about-me-content,
.contact-section .contact-content {
    margin-top: 10px;
    display: flex;
    column-gap: 20px;
}

.about-me-section .about-me-my-image {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.about-me-section .about-me-content .about-me-content-text {
    color: #000;
}

.about-me-section .about-me-content-text {
    display: flex;
    flex-direction: column;
}

.about-me-section .about-me-content-text article {
    order: 1;
}

.about-me-content .about-me-content-text p {
    margin-top: 15px;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 5px;
}

.about-me-content .about-me-content-text .para-4 {
    display: none;
}

.about-me-section .read-more-checkbox {
    display: none;
}

.about-me-section .read-more-btn,
.about-me-section .read-less-btn {
    appearance: none;
    order: 2;
    padding: 6px 40px;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.02rem;
    cursor: pointer;
    margin-top: 20px;
    width: fit-content;
}

.about-me-section .read-less-btn {
    display: none;
}

.about-me-section .read-more-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #000;
}

.about-me-section .read-more-checkbox:checked ~ article .para-4 {
    display: block;
}

.about-me-section .read-more-checkbox:checked ~ .read-less-btn {
    display: block;
}

.about-me-section .read-more-checkbox:checked ~ .read-more-btn {
    display: none;
}

/* Main Section - About */

/* Main Section - Skills */

.skills-section .skills-heading,
.certifications-section .certifications-heading,
.projects-section .projects-heading {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.skills-section .skills-content,
.certifications-section .certifications-content,
.projects-section .projects-content {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 30px;
    row-gap: 20px;
}

.skills-content .skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
    border: 4px solid var(--primary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 3px 5px;
    transition: all .3s linear;
}

.skills-content .skill:hover {
    scale: 1.03;
}

.skills-content .skill img {
    width: 100%;
    border-radius: 5px;
}

.skills-section .skill .progress-bar {
    width: 200px;
    height: 4px;
    background-color: #666;
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
}

.skills-section .skill .progress-percent {
    margin-top: 5px;
}

.skills-section .skill .progress-bar::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    height: 4px;
    border-radius: 10px;
}

.skill-1 .progress-bar::after,
.skill-7 .progress-bar::after {
    width: 90%;
}

.skill-1 .progress-percent,
.skill-7 .progress-percent {
    margin-left: calc(90% - 5%);
}

.skill-2 .progress-bar::after,
.skill-5 .progress-bar::after,
.skill-10 .progress-bar::after {
    width: 80%;
}

.skill-2 .progress-percent,
.skill-5 .progress-percent,
.skill-10 .progress-percent {
    margin-left: calc(80% - 5%);
}

.skill-3 .progress-bar::after {
    width: 85%;
}

.skill-3 .progress-percent {
    margin-left: calc(85% - 5%);
}

.skill-4 .progress-bar::after {
    width: 95%;
}

.skill-4 .progress-percent {
    margin-left: calc(95% - 5%);
}

.skill-6 .progress-bar::after,
.skill-9 .progress-bar::after {
    width: 75%;
}

.skill-6 .progress-percent,
.skill-9 .progress-percent {
    margin-left: calc(75% - 5%);
}

.skill-8 .progress-bar::after {
    width: 70%;
}

.skill-8 .progress-percent {
    margin-left: calc(70% - 5%);
}

/* Main Section - Skills */

/* Main Section - Certifications */

.certifications-section .certifications-content {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    row-gap: 40px;
    justify-items: center;
}

.certifications-section .certificate {
    color: var(--secondary-color);
    width: fit-content;
    border-radius: 10px;
    cursor: pointer;
    outline: 5px solid transparent;
}

.certifications-section .certificate:hover {
    outline: 4px solid var(--primary-color);
}

.certifications-section .certificate article {
    margin-top: 7px;
    padding: 10px 10px 16px 10px;
}

.certifications-section .certificate img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

.certifications-section .certificate .view-certificate-btn {
    padding: 10px 30px;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.02rem;
    display: block;
    width: fit-content;
    margin-top: 20px;
    text-decoration: none;
}

.certifications-section .view-certificate-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #000;
}

/* Main Section - Certifications */

/* Main Section - Projects */

.projects-section .projects-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 60px;
    row-gap: 60px;
    justify-items: center;
}

.projects-section .project {
    color: var(--secondary-color);
    cursor: pointer;
    border-radius: 10px;
    padding: 7px 12px 20px 10px;
    border: 3px solid transparent;
}

.projects-section .project:hover {
    border: 3px solid var(--primary-color);
    box-shadow: 7px 7px 1px var(--primary-color-accent-1);
}

.projects-section .project:hover .number {
    -webkit-text-stroke: 2px var(--primary-color);
    text-shadow:
        2px 2px 0 var(--primary-color),
        -2px -2px 0 var(--primary-color),
        -2px 2px 0 var(--primary-color),
        2px -2px 0 var(--primary-color),
        2px 0 0 var(--primary-color),
        -2px 0 0 var(--primary-color),
        0 -2px 0 var(--primary-color),
        0 2px 0 var(--primary-color);
}

.projects-section .project:hover .heading {
    color: var(--primary-color);
}

.projects-section .project * {
    margin-bottom: 10px;
}

.projects-section .project .number {
    font-size: 2.5rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--tertiary-color);
    -webkit-text-stroke: 2px var(--secondary-color);
    /* Outline for WebKit browsers */
    text-shadow:
        2px 2px 0 var(--secondary-color),
        -2px -2px 0 var(--secondary-color),
        -2px 2px 0 var(--secondary-color),
        2px -2px 0 var(--secondary-color),
        2px 0 0 var(--secondary-color),
        -2px 0 0 var(--secondary-color),
        0 -2px 0 var(--secondary-color),
        0 2px 0 var(--secondary-color);
    /* Outline for other browsers */
}

.projects-section .project .heading {
    font-size: 2rem;
}

.projects-section .project .tech-stack {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.projects-section .project .buttons {
    margin-bottom: 0;
    margin-top: 20px;
}

.projects-section .project .buttons a {
    font-size: 2.2rem;
    color: var(--complementary-color);
    margin-right: 20px;
    background: var(--secondary-color);
    padding: 3px 11px;
    border-radius: 50%;
}

.projects-section .project .buttons a:first-child {
    padding: 3px 13px;
}

.projects-section .project .buttons a:hover {
    background-color: var(--primary-color);
}

.projects-section .project .buttons a:first-child:hover i {
    transform: rotate(0deg);
}

.projects-section .project .buttons a:first-child i {
    transform: rotate(30deg);
}

/* Main Section - Projects */

/* Main Section - Contact */
.contact-section .contact-content {
    justify-content: space-around;
    column-gap: 100px;
    align-items: center;
}

.contact-section .contact-form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.contact-section .contact-form input, 
.contact-section .contact-form textarea {
    width: 100%;
    border-radius: 5px;
    border: none;
    font-size: 1.1rem;
    padding: 5px 10px 5px 7px;
    margin-top: 6px;
    outline: 3px solid var(--secondary-color);
    resize: none;
} 

.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus { 
    outline: 3px solid var(--primary-color);
}

.contact-section .contact-form .form-field {
    margin-top: 20px;
}

.contact-section .contact-form .form-field:first-child {
    margin-top: 0;
}

.contact-section .contact-form .form-field label {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.contact-section .social-media-icons {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    row-gap: 40px;
}

.contact-section .social-media-icons a {
    font-size: 1.7rem;
    color: var(--secondary-color);
    text-decoration: none;
    width: fit-content;
}

.contact-section .social-media-icons a:hover i {
    background-color: var(--primary-color);
}

.contact-section .social-media-icons i {
    border-radius: 50%;
    padding: 14px 14px;
    color: var(--complementary-color);
    background-color: var(--secondary-color);
    margin-right: 14px; 
    outline: 4px solid var(--primary-color); 
}

.contact-section .buttons input[type="submit"],
.contact-section .buttons input[type="reset"] {
    font-size: 1.1rem;
    margin-bottom: 5px;
    cursor: pointer;
    padding: 10px 0px;
    outline: 3px solid transparent;
}

.contact-section .buttons input[type="submit"]:hover,
.contact-section .buttons input[type="reset"]:hover {
    background-color: var(--primary-color);
}

/* Main Section - Contact */

/* Footer Section */
footer {
    background-color: #000;
    padding: 50px 30px 10px 30px;
    margin-top: 90px;
    text-align: center;
    border-radius: 30px 30px 0 0;
}

.footer-navigation-links p {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.footer-navigation-links ul li {
    list-style: none;
    margin: 20px auto;
    cursor: pointer;
    width: fit-content;}

.footer-navigation-links ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-navigation-links ul li:hover a {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}

footer .social-media-icons {
    display: flex;
    column-gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

footer .social-media-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

footer .social-media-icons a i {
    margin-right: 7px;
}

footer .social-media-icons a:hover {
    color: var(--primary-color);
}

footer .social-media-icons a:hover i {
    color: var(--primary-color);
}

.footer-copyright-message {
    margin-top: 40px;
    color: #fff;
}

.footer-copyright-message span {
    color: var(--primary-color);
}
/* Footer Section */


/* Move to top Button */

.move-to-top-btn {
    --primary-color: rgb(17, 218, 117);
    position: fixed;
    bottom: 13px;
    right: 24px;
    font-size: 24px;
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    padding: 14px 21px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.move-to-top-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Move to top Button */


/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}
/* Utility Classes */


/* Media Queries */

/* Media Query - 1000px */

@media screen and (max-width: 1000px) {
    /* Hero Section */
    .hero .resume-btn {
        order: 2;
    }
    /* Hero Section */
}

/* Media Query - 1000px */

/* Media Query - 900px */

@media screen and (max-width: 900px) {
    /* Header Section */
    header {
        position: static;
    }

    header .header-desktop-navbar {
        display: none;
    }

    header .mobile-nav {
        display: block;
    }

    /* Header Section */

    /* Main Section - Hero Section */

    .hero {
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .hero article {
        order: 2;
        margin-top: 50px;
    }

    /* Main Section - Hero Section */

    /* Main Section - Project Section */
    .projects-section .project {
        border: 3px solid var(--primary-color);
        box-shadow: 7px 7px 1px var(--primary-color-accent-1);
    }

    /* Main Section - Project Section */
}

/* Media Query - 900px */


/* Media Query - 800px */

@media screen and (max-width: 800px) {
    /* Main Section - About Me Section */
    .about-me-section .about-me-content {
        flex-direction: column;
        align-items: center;
    }

    .about-me-section .about-me-my-image {
        width: 100%;
        height: 100%;
    }
    /* Main Section - About Me Section */
    
    /* Main Section - Conact Me Section */
    .contact-section .contact-content {
        flex-direction: column;
        row-gap: 50px;
    }

    .contact-section .contact-form {
        width: 100%;
    }
    /* Main Section - Conact Me Section */

}

/* Media Query - 800px */


/* Media Query - 500px */

@media screen and (max-width: 500px) {
    .theme-toggle-btn {
        right: 12px;
        height: 16px;
        width: 40px;
    }

    .theme-toggle-btn::after {
        width: 16px;
        height: 16px;
    }

    /* Header Section */
    header .logo {
        font-size: 1.5rem;
    }

    header .mobile-nav .hamburger-icon {
        font-size: 1.5rem;
        top: 2px;
        right: 60px;
    }

    header .header-mobile-navbar li a {
        font-size: 1rem;
    }
    /* Header Section */

    /* Main Section - Hero Section */

    .hero {
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .hero article {
        order: 2;
        margin-top: 50px;
    }

    .hero .portfolio-image {
        width: 250px;
        height: 250px;
    }

    .hero .heading {
        font-size: 2.5rem;
    }
    /* Main Section - Hero Section */

    /* Main Section - Certifications Section */
    .certifications-section .certifications-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    /* Main Section - Certifications Section */

    /* Move to top Button */

    .move-to-top-btn {
        font-size: 20px;
        padding: 12px 18px;
    }

    /* Move to top Button */

    /* Utility Classes */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* Utility Classes */
}

/* Media Query - 500px */

/* Media Query - 350px */
@media screen and (max-width: 350px) {
    /* Main Section - Hero Section */
    .hero {
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .hero .portfolio-image {
        width: 200px;
        height: 200px;
    }
    
    .hero .designation {
        font-size: .96rem;
    }

    .hero .heading {
        font-size: 2rem;
    }

    .hero .summary {
        font-size: .95rem;
    }
    /* Main Section - Hero Section */

    /* Headings of All Sections */
    .about-me-section .about-heading,
    .skills-section .skills-heading,
    .projects-section .projects-heading,
    .certifications-section .certifications-heading,
    .contact-section .contact-heading {
        font-size: 2.3rem;
    }
    /* Headings of All Sections */

    /* Main Section - Certifications Section */
    .certifications-section .certifications-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    /* Main Section - Certifications Section */

    /* Main Section - Projects Section */
    .projects-section .projects-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    /* Main Section - Projects Section */
}
/* Media Query - 350px */

/* Media Queries */