body {
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family: "Roboto Mono", monospace;
    position: relative;
    width: 100vw;
}

.circle-container {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    background-color: #4CAF50;
    border-radius: 50%;
    position: absolute;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: #4caf5080;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 1;
    /* Ensure ripple is above circles */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* Place overlay above circles and ripple */
}

.overlay-content {
    text-align: center;
}

.overlay-content h1 {
    font-family: "Pacifico";
    font-size: 8rem;
    font-weight: 100;
    margin: 0;
    padding: 0;
    height: 150px;
    color: #0C090D;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

.overlay-content span {
    position: relative;
    font-weight: 400;
    bottom: -20px;
    text-decoration: underline;
    cursor: default;
    font-size: 14px;

}

.linkBtn {
    width: fit-content;
    padding: 10px 20px;
    border: 1px solid #0000004b;
    text-decoration: none;
    color: #0000004b;
    font-size: 12px;
}

.linkBtn:hover {
    border: 1px solid #000;
    box-shadow: 2px 2px 5px 0px #0000009c;
    color: #000;
}

.btnset {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.greetText {
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 14px;
    z-index: 10;
}

#slideButton {
    position: absolute;
    bottom: 50px;
    cursor: pointer;
    z-index: 10;
    font-weight: 100;
    transition: transform 0.5s ease;
    animation: buttonBounce 1s infinite;
}

#slideButton:hover {
    transform: translateY(-5px);
}

@keyframes buttonBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.section {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease;
    position: absolute;
}

#section1 {
    background-color: #F0F0F0;

}


#section2 {
    background-color: #F0F0F0;
    transform: translateY(100%);
    box-sizing: border-box;
    padding: 50px;
}

.sec2-con {
    width: 100%;
    height: 100%;
    display: inline-flex;
}

.profile-container {
    position: relative;
    width: 40%;
    height: 100%;
    /* background-color: #0C090D; */
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.introtext {
    margin-top: 50px;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.introtext h1 {
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    margin: 0;
}

.introtext p {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin: 0;
}

.pctext {
    margin-top: 30px;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pctext h3 {
    width: fit-content;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    margin: 20px 0 0;
}

.addskills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.addskills h3 {
    margin: 0;
    width: fit-content;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
}

.introabout {
    margin-top: 20px !important;
}

.gridsec {
    display: grid;
    grid-template-columns: auto auto;
}

.gridsec1,
.gridsec2 {
    padding: 0 0 0 20px;
    font-size: 12px;
    list-style-type: none;

}

.tbsec {
    width: 100%;
    border-spacing: 0px;
}

.tbsec tbody {
    text-align: start;
    vertical-align: top;
    font-size: 12px;
}

.tbsec td {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #000;
}

.linkbtn {
    width: fit-content;
    padding: 20px;
}

.project-container::-webkit-scrollbar,
.profile-container::-webkit-scrollbar {
    /* width: 0px; Width of the scrollbar */
    display: none;
}

.project-container::-webkit-scrollbar-track,
.profile-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Track color */
}

.project-container::-webkit-scrollbar-thumb,
.profile-container::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Scrollbar color */
    border-radius: 6px;
    /* Rounded corners */
    border: 3px solid #f1f1f1;
    /* Space around scrollbar */
}

.project-container::-webkit-scrollbar-thumb:hover,
.profile-container::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Scrollbar color on hover */
}

.mttext {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.mailtext {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

.copytxt {
    display: none;
}

.mailtext:hover+.copytxt {
    display: inline;
    font-size: 10px;
}


.project-container {
    position: relative;
    width: 60%;
    /* max-height: 100vh; */
    /* background-color: #0C090D; */
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    overflow: auto;
    padding-right: 20px;
}

.prjct-con {
    position: relative;
    width: 100%;
    min-height: fit-content;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prjct-con:hover {
    border: 1px solid #000;
    box-shadow: 2px 2px 8px 0px #0000009c;
}

.prjct-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.prjct-skills h3 {
    margin: 0;
    width: fit-content;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
}

.prjct-img {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    aspect-ratio: 16/9;
}

.prjct1 {
    background-image: url(./images/prjct1.jpg);
}

.prjct2 {
    background-image: url(./images/prjct2.JPG);
}

.prjct3 {
    background-image: url(./images/prjct3.jpg);
}

.prjct4 {
    background-image: url(./images/prjct4.jpg);
}

.prjct5 {
    background-image: url(./images/prjct5.jpg);
}

.prjct6 {
    background-image: url(./images/prjct6.jpg);
}


.prjct-des {
    font-size: 12px;
    padding: 10px 100px 10px 10px;
    line-height: 20px;
}

.prjct-link {
    font-size: 12px;
    padding: 10px;
    margin-top: -40px;

}

.prjct-link a {
    text-decoration: none;
    cursor: pointer;
}

.prjct-link a:hover {
    text-decoration: underline;
    color: #328635;
}

.prjct-link a:hover::after {
    content: '';
    width: 6px;
    height: 6px;
    background-image: url(./images/arrow.svg);
    margin-left: 3px;
    margin-bottom: 1px;
    background-repeat: no-repeat;
    display: inline-block;
}

/* github index css */
.git-sec {
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: scroll;
}

.githeader {
    position: relative;
    top: 0;
    width: 100%;
    min-height: 100px;
    background-color: #F0F0F0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.githeader a {
    font-size: 2rem;
    text-decoration: none;
    color: #0C090D;
    font-weight: 600;
}

.git_main {
    position: relative;
    max-width: 1280px;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0px 20px;
    flex-direction: row;
    margin: auto;
    box-sizing: border-box;
}

.git_sec1 {
    width: 25%;
    position: relative;
}

.gitsidebar {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: normal;
}

.gitprofilepic {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: url(https://avatars.githubusercontent.com/u/151132561?v=4);
    background-size: contain;
}

.name {
    font-size: 1.3rem;
    font-weight: 600;
}

.git_sec2 {
    width: 75%;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.searchbar {
    padding: 10px 0;
    width: 100%;
}

.searchbar input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    box-sizing: border-box;

}

.gitproject {
    position: relative;
    border-bottom: 1px solid #d0d7de;
    padding: 12px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

.gitrepo {
    margin-bottom: 20px;
}

.gitrepo a {
    font-weight: bold;
    font-size: 16px;
    color: #0969da;
    text-decoration: none;
}

.gitrepo a:hover {
    text-decoration: underline;
}

.tech {
    font-size: 14px;
    color: #57606a;
    margin-bottom: 20px;
}

.code-link {
    position: absolute;
    right: 0;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background-color: #328635;
    border-radius: 6px;
}

.code-link:hover {
    text-decoration: none;
    cursor: pointer;
}



@media (max-width: 768px) {
    #section2 {
        height: 100%;
        overflow: auto;

    }

    .overlay-content h1 {
        height: 100px;
        font-size: 5rem;
    }

    .sec2-con {
        display: flex;
        position: relative;
        flex-direction: column;
        gap: 50px;
    }

    .profile-container {
        position: relative;
        width: 100%;
        height: fit-content;
        overflow: visible;
    }

    .project-container {
        width: 100%;
        overflow: visible;
        padding: 0%;
    }

    .btnset {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .prjct-des {
        padding: 10px;
    }

    .git_main {
        max-width: 100%;
        padding: 0px 20px;
        flex-direction: column;
        margin: auto;
    }

    .git_sec1 {
        width: 100%;
        max-width: 250px;
        position: relative;
    }

    .git_sec2 {
        width: 90%;
    }

}

@media (max-width: 520px) {
    .overlay-content h1 {
        height: 70px;
        font-size: 2.5rem;
    }

    .code-link {
        position: relative;
        left: 0;
        max-width: 55px;
    }
}

.triangle {
    --r: 10px;
    /* border radius */

    width: 100px;
    aspect-ratio: 1/cos(30deg);
    --_g: calc(tan(60deg)*var(--r)) top var(--r), #000 98%, #0000 101%;
    -webkit-mask:
        conic-gradient(from 150deg at 50% calc(3*var(--r)/2 - 100%), #000 60deg, #0000 0) 0 0/100% calc(100% - 3*var(--r)/2) no-repeat,
        radial-gradient(var(--r) at 50% calc(100% - 2*var(--r)), #000 98%, #0000 101%),
        radial-gradient(var(--r) at left var(--_g)),
        radial-gradient(var(--r) at right var(--_g));
    clip-path: polygon(50% 100%, 100% 0, 0 0);
    background: linear-gradient(45deg, #78ff7d, #328635);
}