/* Start Global CSS For Whole Page*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

:root {
    --springGreen: #fe424d;
    --bg-0: #010718;
    --color-0: #f5f5f5;
    --bg-1: #121212;
    --color-1: #a8a8a8;
    --toggle-bg: #3498db;
    /* Toggle background color */
    --toggle-ball: #ffffff;
    /* Toggle ball color */
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

*::selection {
    background: var(--springGreen);
    color: #333;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 1.4rem;
}

html::-webkit-scrollbar-track {
    background: #222;
}

html::-webkit-scrollbar-thumb {
    background: var(--springGreen);
}

body {
    background: #101438;
    overflow-x: hidden;
    padding-left: 35rem;
}

section {
    min-height: 100vh;
    padding: 1rem;
}

/* End Global CSS For Whole Page*/

/* Start Button CSS*/
.btn {
    padding: .7rem 3rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: 5rem;
}

.btn i {
    padding: 0 .5rem;
    font-size: 1.8rem;
}

.btn:hover {
    background: var(--springGreen);
    color: #1a1a1a
}

#element {
    color: chocolate;
    font-size: 2rem;
    font-weight: 500;
}

/* End Button CSS*/

/* Start header Navbar Section CSS*/
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 35rem;
    background: #05352d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

header .user img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: .7rem solid var(--springGreen);
    margin-top: 15px;
}

header .user .name {
    font-size: 3.5rem;
    color: #fff;
}

.nickname {
    font-size: 2.5rem;
    color: #fff;
}

header .user .post {
    font-size: 2rem;
    color: #eee;
}

header .navbar {
    width: 100%;
}

header .navbar ul {
    list-style: none;
    padding: 1rem 3rem;
}


header .navbar ul li a {
    display: block;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #05021f;
    color: #fff;
    font-size: 2rem;
    border-radius: 5rem;
}

header .navbar ul li a:hover {
    background: var(--springGreen);
    color: #1a1a1a;
}

#menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: none;
}

/* End header Navbar CSS*/

/* Home Section CSS Start*/
.home {
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 4rem;
    /* background: linear-gradient(to right, #3494e6, #ec6ead); Gradient background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Box shadow */
    border-radius: 10px;
    /* Optional: Add a border-radius for a rounded look */
}

.home h3 {
    font-size: 2.5rem;
    color: #fff;
}

.home h1 {
    font-size: 5rem;
    color: #fff;
}

.home h1 span {
    color: var(--springGreen);
}

.home p {
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
}

.btn {
    background-color: var(--springGreen);
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Add transition for smooth hover effect */
}

.btn:hover {
    background-color: #2ecc71;
    /* Change to a shade of green */
}

.heading {
    text-align: center;
    margin: 0 2rem;
    font-size: 4rem;
    padding: 1rem;
    border-bottom: 0.1rem solid #fff4;
    color: #fff;
    animation: fadeInDown 1.5s ease-in-out;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* End Home Section CSS*/

/*Start About Section CSS*/
.about .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.about .row .info {
    flex: 1 1 40rem;
    padding: 2rem 1rem;
    padding-left: 6rem;
}

.about .row .info h3 {
    font-size: 2rem;
    color: var(--springGreen);
    padding: 1rem 0;
    font-weight: normal;
}

.about .row .info h3 span {
    color: #eee;
    padding: 0 .5rem;
}

.about .row .counter {
    flex: 1 1 48rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.about .row .counter .box {
    width: 20rem;
    background: #180d41;
    text-align: center;
    padding: 2rem;
    margin: 2rem;
}

.about .row .counter .box span {
    font-size: 4rem;
    color: var(--springGreen);
}

.about .row .counter .box h3 {
    font-size: 2rem;
    color: #fff;
}

/* Buttons */


/* End About Section CSS */

/* Start Education Section CSS */
.education .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    padding-left: 3rem;
}

.education .box-container .box {
    width: 27rem;
    margin: 4rem 1rem;
    padding-left: 4rem;
    border-left: .2rem solid #fff;
    position: relative;
}

.education .box-container .box span {
    font-size: 1.3rem;
    background: #222;
    color: #fff;
    border-radius: 5rem;
    padding: .5rem 2.5rem;
}

.education .box-container .box h3 {
    font-size: 2rem;
    color: #fff;
    padding-top: 1.5rem;
}

.education .box-container .box p {
    font-size: 1.4rem;
    color: #eee;
    padding: 1rem 0;
}

.education .box-container .box i {
    position: absolute;
    top: -1.5rem;
    left: -2.5rem;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: var(--springGreen);
}

/* End Education Section CSS */



/* Skills section start here */

.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the skills list */
.skills-list {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Style each skills item */
.skills-item {
    flex: 1 1 calc(35.33% - 20px);
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Style the skill image */
.skills-image {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
    background-size: cover;
    /* box-shadow: 0 4px 8px 0 rgba(236, 7, 7, 0.2), 0 6px 20px 0 rgba(225, 11, 11, 0.19); */
    transition: transform 0.3s ease-in-out;
}

.skills-image:hover {
    transform: scale(1.2);
}

/* Skills section End here */


/* Start Portfolio Section CSS */
.portfolio .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.portfolio .box-container .box {
    height: 20rem;
    width: 26rem;
    border-radius: 1rem;
    margin: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.portfolio .box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.portfolio .box-container .box:hover img {
    transform: scale(1.2);
}



/* End Portfolio Section CSS */

/* Start Contact Section CSS */
.contact .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact .row .content {
    flex: 1 1 30rem;
    padding: 4rem;
    padding-bottom: 0;
}

.contact .row form {
    flex: 1 1 45rem;
    padding: 2rem;
    margin: 2rem;
    margin-bottom: 4rem;
}

.contact .row form .box {
    padding: 1.5rem;
    margin: 1rem 0;
    background: #614c4c33;
    color: #ff0202;
    text-transform: none;
    font-size: 1.7rem;
    width: 100%;
}

.contact .row form .box::placeholder {
    text-transform: capitalize;
}

.contact .row form .message {
    height: 15rem;
    resize: none;
}

.contact .row .content .title {
    text-transform: uppercase;
    color: #fff;
    font-size: 3rem;
    padding-bottom: 2rem;
}

.contact .row .content .info h3 {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
    font-weight: normal;
}

.contact .row .content .info h3.lower {
    text-transform: lowercase;
}

.contact .row .content .info h3 i {
    padding-right: 1rem;
    color: var(--springGreen);
}

/* End Contact Section CSS */

.hr {
    border: 1px solid #eee;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer {
    color: white;
    padding-block: 20px;
}

.container2 {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright-container,
.contactee-container,
.footer-list-container {
    width: 100%;
}

.copyright {
    max-width: max-content;
    margin-inline: auto;
    margin-block-end: 10px;
    font-size: 1.65rem;
    font-weight: normal;
}

.copyright-link,
.contactee-link,
.footer-link {
    display: inline-block;
    transition: 0.25s ease;
    font-weight: 500;
    text-decoration: none;
    color: #dddddd;
    font-size: 1.65rem;
    font-family: 'Nunito', sans-serif;
}

.contactee-list,
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactee-item,
.footer-link {
    margin-right: 10px;
    padding: 10px 12px;
}

.contactee-link:hover {
    color: #e28743;
}

.copyright-link:hover,
.footer-link:hover {
    color: hsl(0, 94%, 49%);
}


/* Add this in your existing CSS file or create a new one */
.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    /* Adjust the margin as needed */
    font-size: 16px;
    /* Adjust the font size as needed */
    color: #333;
    /* Adjust the color as needed */
    transition: color 0.3s ease;
    /* Add color transition effect */
}

.visitor-count i {
    margin-right: 8px;
    /* Adjust the margin as needed */
    font-size: 24px;
    /* Adjust the icon size as needed */
    color: #0366d6;
    /* GitHub icon color */
}

#visitor-count-number {
    margin-left: 5px;
    /* Adjust the margin as needed */
    font-weight: bold;
}

/* Add a pulse animation on hover for a dynamic effect */
.visitor-count:hover {
    color: #0366d6;
    /* Change color on hover */
    transition: color 0.3s ease;
    /* Add color transition effect */
    cursor: pointer;
    /* Change cursor on hover */
}

/* Add a bounce animation for the GitHub icon */
.visitor-count i {
    animation: bounce 0.8s infinite;
    /* Add bounce animation */
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}



/* Scroll For Top CSS */
.top {
    position: fixed;
    bottom: 7.5rem;
    right: 2rem;
    z-index: 100;
    display: none;
}



/* Responsive media queries  */

@media (max-width:1200px) {

    html {
        font-size: 55%;
    }

    .home {
        padding: 1rem 4rem;
    }

}

@media (max-width:991px) {

    header {
        left: -120%;
    }

    #menu {
        display: block;
    }

    header.toggle {
        left: 0%;
    }

    body {
        padding: 0;
    }

}

@media (max-width:768px) {

    html {
        font-size: 50%;
    }

}

@media (max-width:400px) {

    header {
        width: 100vw;
    }

    .heading {
        margin: 0 3rem;
    }

    .about .row .counter .box {
        width: 100%;
    }

    .education .box-container .box {
        width: 100%;
    }

    .portfolio .box-container .box {
        width: 100%;
    }

    .contact .row form {
        margin: 3rem 0;
    }

}
