@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box !important;
    list-style: none !important;
    text-decoration: none !important;
    font-family: "Inter", sans-serif;
}

:root {
    --color-1: #14c5fd;
    --color-2: #ffffff;
    --color-3: #999999;
    --color-4: #565656;

}

p,
h1,
h2,
h3,
h4,
h5,
ul {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: 3px;
    transition: all 3s;
    position: absolute;
    scroll-behavior: smooth;
}

::-webkit-scrollbar-track {
    background-color: rgba(128, 128, 128, 0.6);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-1);
    transition: all 3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-1);
}

body {
    background-color: #000;
    color: var(--color-2);
}

/* //////////////////////////// Utility Class /////////////////////// */

._high-light-text {
    color: var(--color-1);
}

._section-padding-y {
    padding: 3rem 0 4.5rem !important;
}

._section-tag {
    border: 1px solid var(--color-4);
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 300;
    border-radius: 1.6rem;
    width: max-content;
    text-transform: uppercase;
    background-color: #1f1f1f;
    display: flex;
    align-items: center;
    color: var(--color-2);

}

._section-tag i {
    margin-right: 0.5rem;
}
._section-heading {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* //////////////////////////////////////////////////// */

/* vertical navbar for desktop devices*/
._vertical-nav {
    position: fixed;
    top: 20%;
    right: 5%;
}

._vertical-nav-item {
    padding: 2rem 1rem;
    border: 1px solid var(--color-4);
    border-radius: 2.5rem;
    gap: 1rem;
    font-size: 1.2rem;
}

._vertical-nav-item li a {
    color: var(--color-3);
    cursor: pointer;
    transform: all 0.5s;
}

._vertical-nav-item li a:hover {
    color: var(--color-1);
}
.active-link{
    color: var(--color-1) !important;
}

/* vertical navbar ends here */

/* side contact section */
._side-section-contact {
    position: sticky;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--color-4);
    border-right: 1px solid var(--color-4);
    padding: 0rem 0.5rem 1.5rem;
    height: 100dvh;
}
._contact-head p {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-3);

}

._logo {
    font-size: 2rem;
    font-weight: 600;
    font-style: oblique;
}

._my-img {
    background-color: rgba(87, 87, 87, 0.2);
    /* width: min(90%, 400px); */
    width: min(70%, 400px);
    border-radius: 1rem;
    overflow: hidden;
    object-fit:contain;
}

._my-img img {
    width: 100%;
    height: 100%;
}

._side-section-contact-info p:nth-child(1) {
    font-size: 1.2rem;
    font-weight: 600;
}

._side-section-contact-info p:nth-child(2) {
    font-size: 1.2rem;
    font-weight: 600;
}

._contact-media {
    font-size: 1.5rem;
    margin-top: 1rem;

}

._copyright {
    color: var(--color-3);
    margin-top: 1rem;
    font-size: 0.9rem;
}

._social-media {
    gap: 0.6rem;
    padding: 0.7rem;
    margin-top: 1rem;
}

._icon-media {
    border: 2px solid var(--color-4);
    color: var(--color-3);
    transition: all 0.4s;
    padding: 0.7rem 0.9rem;
    border-radius: 50%;
    cursor: pointer;

}

._icon-media:hover {
    border: 2px solid var(--color-1);
    color: var(--color-1);
}

._resume {
    border: 2px solid var(--color-1);
    width: min(500px, 90%);
    text-align: center;
    padding: 0.3rem 1rem;
    margin-top: 0.5rem;
    border-radius: 2rem;
    background-color: var(--color-1);
    color: black;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s;
}

._resume i {
    margin-right: 0.6rem;
    font-size: 1.3rem;
}

._resume:hover {
    border: 2px solid var(--color-1);
    background-color: inherit;
    color: var(--color-1);
}

._gear {
    position: absolute;
    top: 20%;
    left: -1rem;
    color: var(--color-3);
    animation: rotate 5s infinite linear reverse;
    background-color: #1f1f1f;
    border-radius: 50%;
    width: max-content;
    padding: 0.2rem 0.4rem 0.1rem;
    font-size: 1.1rem;
}

/* side contact section ends here */

/* header section starts here ------------------------*/

._nav-pos ._toggler-icon {
    margin-left: auto;

}
/* ._nav-toggler-sm-position{
    position: relative;
    top: 1rem;
    background-color: green;
} */
/* .toggler-pos-sm{
    position: fixed !important;
    top: 0 !important;
} */
._toggler-icon {
    border: 1px solid var(--color-4);
    border-radius: 50%;
    padding: 1rem;
    width: max-content;
}

._toggler-icon i {
    color: var(--color-2);
    width: 100%;
    height: 100%;
}

._nav-layer {
    width: max(25%, 210px);
    padding-top: 1rem;
    padding-left: max(3%, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    animation: nav-aimation 0.4s forwards;
}
._nav-layer::before {
    position: absolute;
    content: "";
    width: 100vw;
    bottom: 0;
    right: 100%;
    height: 100%;
    top: 0;
    z-index: 1500;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

._nav-layer li {
    width: max-content;
}

._nav-layer li a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-2);
}

._nav-layer li a:hover {
    color: var(--color-1);
}

._nav-layer span {
    font-size: 1.1rem;
}

._nav-layer p {
    font-size: 0.9rem;
}

._cancel {
    align-self: flex-end;
    margin-right: 1rem;
    cursor: pointer;
    width: max-content;
}

._cancel i {
    font-size: 1.5rem;
}

@keyframes nav-aimation {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }

}

/* header ends here */

/* hero section starts here */
#hero {
    padding: 1.5rem 0 1rem;
}

._hero-heading h1 {
    font-size: 4.5rem;
    font-weight: 300;

}

._hero-heading p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-3);
    margin-top: 1rem;
}

._animation-hero {
    position: relative;
    border-radius: 50%;
    border: 1px solid var(--color-4);
    padding: 1rem;

}

._animation-hero img {

    animation: rotate 5s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);

    }
}

._arrow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
}

._arrow i {
    font-size: 1.7rem;
}

._achive-item strong {
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-1);
}

._achive-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-3);
}

/* hero (intro) ends here */

/* about section starts here */
._about-content p {
    color: var(--color-3);
    text-align: justify;
}

/* about section ends here */

/* resume section starts here */
._resume-content {

    margin-top: 4rem;
}

._resume-content-item {
    padding: 0 0 3rem 5rem;
    position: relative;
}

._resume-content-item::before {
    content: "";
    width: 1px;
    background-color: var(--color-4);
    height: 100%;
    position: absolute;
    top: 6px;
    left: 0;
    z-index: -1;
    transition: all 0.5s;
}

._resume-content-item::after {
    content: "";
    height: 1px;
    background-color: var(--color-4);
    width: 3rem;
    position: absolute;
    top: 11px;
    left: 0;
    z-index: -1;
    transition: all 0.5s;

}

._corner-dot {
    width: 0.8rem;
    height: 0.8rem;
    border: 1px solid var(--color-4);
    border-radius: 50%;
    position: absolute;
    top: 0.37rem;
    left: -0.35rem;
    /* background-color:#1f1f1f; */
    background-color: var(--color-4);
    transition: all 0.5s;
}

._year {
    margin-bottom: 3rem;
    color: var(--color-3);
    transition: all 0.5s;
}

._work-heading {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.3rem !important;
}

._work-place {
    color: var(--color-3);
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

._resume-content-item:hover ._corner-dot {
    background-color: var(--color-1);
}

._resume-content-item:hover::before {
    background-color: var(--color-1);
}

._resume-content-item:hover::after {
    background-color: var(--color-1);
}

._resume-content-item:hover ._year {
    color: var(--color-1);
}

/* resume section ends here */

/* service section starts here  */
._service-item {
    border: 1px solid var(--color-4);
    border-radius: 1rem;
    padding: 3rem;
    transition: all 0.4s;
    margin: 1rem 0;
}

._service-heading h3 {
    font-size: 1.8rem;
    font-weight: 250;
}

._service-heading i {
    font-size: 1.7rem;
    color: var(--color-1);
    margin-bottom: 1.5rem;
}

._service-pera {
    color: var(--color-3);
    font-size: 0.9rem;
}

._project-highlight {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 450;
    margin-top: 3rem;
}

._service-item:hover {
    border: 1px solid var(--color-1);
}

._project-highlight {
    transition: all 0.4s;
}

._service-item:hover ._project-highlight {
    text-decoration: underline !important;
}

/* service section ends here */

/* skill section starts here */
._skill-wraper {
    width: max-content;
    padding: 0.3rem 0;
    margin-top: 1rem;
}

._skill-wraper:hover {
    transform: translateY(-0.3rem);
    transition: all 0.4s;
}

._skill {
    border: 2px solid var(--color-4);
    padding: 0.5rem 2rem;
    width: 70%;
    border-radius: 0.5rem;
    gap: 0rem;
    transition: all 0.4s;
}

._skill-img {
    width: 50px;
    object-fit: contain;
}

._skill-img img {
    width: 100%;
    height: 100%;
}

._skill span {
    color: var(--color-1);
}

._skill:hover {
    border: 2px solid var(--color-1);
}

/* project section */
.project {
    margin-bottom: 3rem;
}

.project-img-container {
    overflow: hidden;
    border-radius: 1.3rem;
    position: relative;
}

.project-img-container:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 50 !important;
}

.mainimg {
    z-index: 0 !important;
}

.subimg {
    position: absolute;
    width: 30%;
    z-index: 100 !important;
}

.subimg img {
    width: 100%;
}

.position-1 {
    bottom: -0.8rem;
    right: 50%;

}

.position-2 {
    bottom: -0.8rem;
    right: 60%;

}

.position-3 {
    bottom: 0rem;
    right: 40%;
}

.position-4 {
    bottom: 0rem;
    right: 5%;
}

.position-5 {
    bottom: 0rem;
    right: 15%;
}

.position-6 {
    bottom: 0rem;
    right: 26%;
}

.width-15 {
    width: 15%;
}

.preview {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 200 !important;
    background-color: transparent;

}

.preview a {
    color: black;
    font-size: 1rem;
    padding: 0.4rem 1.1rem;
    border-radius: 1.6rem;
    background-color: var(--color-2);
    transition: all 0.4s;
    text-transform: capitalize;
}

.project-heading {
    font-size: 1.5rem;
    transition: all 0.4s;
}

.project:hover .preview a {
    color: var(--color-2);
    background-color: black;

}

.project:hover .project-heading {
    text-decoration: 1px underline !important;
}

/* side nav bar tag setting */
.nav-tag-hoverEffect:hover .nav-tag {
    display: block;
}

.nav-tag {
    z-index: 200 !important;
    position: absolute;
    right: 120%;
    top: 0;
    font-size: 0.9rem;
    background-color: var(--color-4);
    padding: 0.1rem 0.4rem;
    border-radius: 0.3rem;
    padding-right: 1rem;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: all 0.4s;
    display: none;
}

/* contact from */
.contact-from {
    width: 70%;
}

.contact-from p {
    font-size: 0.9rem;
    text-transform: uppercase;

}

.contact-from input,
textarea {
    background-color: transparent;
    outline: none;
    border: none;
    color: var(--color-2);
    padding: 0.3rem 0 0.4rem;
    font-size: 1rem;

}
.contact-from button {
    border: 2px solid var(--color-1);
    width: max-content;
    text-align: center;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    background-color: var(--color-1);
    color: black;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s;
}

.contact-from button:hover {
    border: 2px solid var(--color-2);
    background-color: var(--color-2);
}

/* /////////////////////////// END ////////////////////////////// */