@tailwind base;
@tailwind components;
@tailwind utilities;
@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');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --primary-100: #000;
    --primary-200: #4a9d9c;
    --primary-400: #76c7c0;
    --primary-300: #afffff;
    --accent-100: #FF3D3D;
    --accent-200: #ffe0c8;
    --text-100: #FFFFFF;
    --text-200: #e0e0e0;
    --bg-100: #000;
    --bg-200: #000;
    --bg-300: #354656;


    /* --primary-200: rgb(236 72 153); */
}

* {
    padding: 0;
    margin: 0;
}


body {
    background-color: var(--bg-100);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--text-100);
}

.body {
    display: flex;
}







/* nav section  */

.profile-section {
    display: flex;
    flex-direction: column;
    position: fixed;
    padding-top: 20px;
    margin-left: 20px;
    margin-top: 30px;
    width: 15vw;
    height: 90vh;
}

.profile-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 0;
}

.profile-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 15px 35px;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}


.profile-img img{
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.my-name {
    font-size: 1.5em;
    margin-top: 10px;
    color: var(--primary-300);
}

nav {
    margin-top: 20px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 96%;
}

.menu-section {
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    gap: 10px;

}

.menu-item {
    color: var(--text-200);
    display: flex;
    text-decoration: none;
    font-weight: 400;
    width: calc(15vw - 50px);
    align-items: center;
    text-align: center;
    padding: 5px 20px;
    align-items: center;
    font-size: clamp(0.9rem, 1.1rem, 1.2rem);
    word-spacing: 5px;
    height: 40px;
    border-radius: 15px;
    gap: 10px;
    transition: all 0.6s ease;
}

.menu-section .menu-item:hover {
    color: var(--primary-300);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.61);
    transition: all 0.6s ease;
}

.menu-item-active {
    color: var(--primary-300);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.61);
}

@media screen and (max-width: 1080px) {
    .menu-item {
        font-size: 1rem;
        padding: 5px 15px;
    }
}


@media screen and (max-width: 10px) {
    .menu-item {
        font-size: 1rem;
        padding: 5px 15px;
    }
}





























/* hero section  */

.hero-section {
    margin-left: calc(15vw + 40px);
    margin-top: 30px;
    margin-bottom: 50px;
    width: 78vw;
    height: fit-content;
    backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.61);
    border-radius: 25px;
    text-align: center;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.lower-section .simple-txt:nth-child(1) {
    width: 40% !important;
}

.logout-btn {
    display: flex;
    justify-content: center;
    bottom: 0;
    margin-top: auto;
    margin-bottom: 20px;
    gap: 10px;
    align-items: center;
}

.hero-content {
    width: 65vw;
    margin-left: auto;
    margin-right: auto;
}

.upper-section {
    display: flex;
    align-items: center;


}

.hero-txt {
    text-align: left;
}

.upper-section-btn {
    cursor: pointer;
    margin-left: 70px;
    display: flex;
    margin-top: 15px;
    margin-left: auto;
}

.upper-section-btn button:hover {
    cursor: pointer;
}

.upper-section-btn button {
    background-color: var(--primary-300);
    /* linear-gradient(45deg, var(--primary-100), var(--primary-200)) */
    border: none;
    width: 180px;
    height: 40px;
    border-radius: 20px;


}

.upper-section-btn .arrow {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background-color: var(--primary-300);
    border-radius: 20px;
}

.lower-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media {
    display: flex;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    margin-bottom: 20px;
}
















/* carousel start here  */

.wrapper {
    width: 65vw;
    position: relative;
    margin: auto;
}

.wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    border: 1px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 340px;
    /* Set card width to 340px */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg,
            transparent,
            var(--bg-100),
            var(--bg-100),
            transparent);
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 150px;
    list-style: none;
    cursor: pointer;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}


.showcase-btn {
    display: flex;
}

.showcase-project-btn {
    display: flex;
    width: 120px;
    background-color: var(--accent-100);
    height: 26px;
    border-radius: 13px;
    color: var(--text-200);
    font-size: 12px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-style: italic;
    margin-top: 10px;
}

.circle-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--accent-100);
    margin-top: 10px;
    margin-left: 10px;
}

.card-txt {
    height: 150px;
    width: 70%;
    margin-left: auto;
    right: 0;
    backdrop-filter: blur(5px);
    /* Glass-like effect */
    background-color: #232a308f;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    padding: 10px;
    text-align: left;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1rem;
    margin: 0px 0 5px 0;
    color: var(--primary-200);
}

.carousel .card span {
    color: var(--primary-300);
    font-weight: 500;
    font-size: 0.8rem;
}

@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
}



























/* about section  */

.about-section {
    width: 65vw;
    margin: auto;
}

.about-main-txt {
    display: block;
}

.about-main-txt .sub-heading {
    padding-bottom: 0 !important;
}

.about-info-txt {
    display: flex;
    margin-bottom: 10px;
    justify-content: left;
}

.typed {
    color: var(--primary-300);
    font-style: italic;
}

.main-about-section {
    display: flex;
}

.known-language {
    width: 60%;

}

.known-language .img-bottom-details-1 .simple-txt,
.known-language .img-bottom-details-2 .simple-txt span {
    overflow: visible;
}

.front-end {
    width: 85%;
    height: fit-content;
    padding: 10px 20px;
    text-align: left;
    background-color: var(--primary-300);
    border-radius: 20px;
}

.style {
    width: 85%;
    display: flex;
    align-items: center;
}

.style-content {
    width: 50%;
    height: fit-content;
    padding: 10px 20px;
    text-align: left;
    border: 1px solid var(--primary-300);
    border-radius: 20px;
    margin-right: 40px;
}

.github-link {
    margin-left: auto;
}

.icon3 {
    height: 1.35rem;
    width: 22px;
    background-color: var(--accent-100);
    padding: 5px;
    border-radius: 50%;
    transform: rotate(-40deg);
    margin-left: -12px;
}

.back-end {
    width: 85%;
    height: fit-content;
    padding: 10px 20px;
    text-align: left;
    border: 1px solid var(--primary-300);
    border-radius: 20px;
}

.devops-section {
    display: flex;
    width: 100%;
}

.dev-txt {
    width: 32%;
    padding: 5px;
    text-align: left;
    margin-top: 20px;
}

.devops {
    width: 50%;
    border: 1px solid var(--primary-300);
    border-radius: 20px;
    text-align: left;
    padding: 10px 20px;
}

.about-img {
    width: 40%;
}

.about-section-img {
    display: flex;
    margin-left: 40px;
    margin-right: 40px;
    width: 250px;
    height: 350px;
    object-fit: cover;
    object-position: center;
    background-color: #afffff;
    border-radius: 20px;
    background-size: cover !important;
    background-position: center !important;
}

.img-bottom-details {
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 20px;
    margin-top: 30px;
    position: absolute;
}

@media screen and (max-width:1130px) {
    .img-bottom-details {
        flex-direction: column-reverse;
        margin-left: 40px;
        margin-top: 10px;

        gap: 0;
    }
}

.container {
    width: 66vw;
    margin: 40px auto;
    padding: 20px;
    text-align: left;
    border-radius: 8px;
}

.title {
    padding-bottom: 0 !important;
    text-align: center !important;
    margin-bottom: 0;
}

.intro {
    text-align: center;
    color: var(--text-200);
    margin-bottom: 20px;
    font-weight: 200;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 500;
    font-family: "Work Sans", sans-serif;
    color: var(--primary-300);
    margin-bottom: 10px;
    margin-top: 20px;
}

.section {
    border-left: 1px solid var(--primary-200);
    padding-left: 20px;
}

.subheading-section {
    display: flex;
    align-items: center;
}

.hollowring {
    width: 15px;
    height: 15px;
    margin-bottom: 5px;
    margin-left: -30px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: var(--bg-200);
    border: 2px solid var(--primary-200);
}

.subheading {
    font-size: 1.125em;
    font-weight: 500;
    color: var(--primary-200);
    margin-bottom: 5px;
}


.year,
.institution {
    color: var(--text-200);
    margin-bottom: 5px;
    font-weight: 300;
}

.description {
    color: var(--text-200);
    padding-bottom: 5px;
    font-weight: 300;
}

.section .details {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-200);
}

.section .details li {
    font-weight: 300;
}








































/* skill section start here  */

.skills-section {
    padding: 20px;
    width: 65vw;
    margin: auto;
}

.skills-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.skill {
    width: 45%;
    margin-bottom: 20px;
    position: relative;
}

.skill-name {
    font-weight: bold;
    position: absolute;
    top: -25px;
    left: 0;
}

.skill-bar {
    width: 100%;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    height: 10px;
    width: 0;
    background: var(--primary-400);
    border-radius: 5px;
    text-align: right;
    line-height: 50px;
    color: white;
    padding-right: 10px;
    box-sizing: border-box;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-percent {
    position: absolute;
    top: -25px;
    right: 0px;
    color: var(--text-100);
}

.skills-section .hero-txt {
    width: 35%;
    text-align: left;
}

.skills-section .skill-txt {
    display: flex;
    margin-top: 20px;
    text-align: center;
}























/* service section start here  */



.services-section {
    display: flex;
    flex-direction: column;
    width: 65vw;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    align-items: center;
}

.services-tag {
    display: inline-block;
    background-color: var(--bg-300);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.services-tag::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-100);
    border-radius: 50%;
}

h1 {
    font-size: 48px;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 1200px) {
    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .service-card {
        flex-basis: calc(50% - 20px);
        margin-bottom: 50px;
    }

    .service-title {
        font-size: 1.3rem !important;
    }

    .service-description {
        font-size: 1rem !important;
    }

}

.service-card {
    background-color: var(--bg-200);
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    flex: 1;
    width: 200px;
    min-width: 200px;
}

.service-icon {
    display: flex;
    align-items: center;
    margin: -43px auto 15px auto !important;
    background-color: #0d1f2da4;
    font-size: 24px;
    width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 8px;
    transform: rotate(45deg);
    color: var(--primary-300);
}

.service-icon .icons {
    width: 30px !important;
    display: flex;
    margin: 5px auto;

    height: 30px;
    transform: rotate(-45deg);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-400);
}

.service-description {
    font-size: 0.8rem;
    text-align: left;
    font-weight: 300;
    color: var(--text-200);
}
































/* contact section start here  */


.contact-section {
    width: 65vw;
    height: 500px;
    display: flex;
    justify-content: space-between;
    padding: 20px 10px;
    margin: auto;

}

.left-column {
    flex: 1;
    padding-right: 50px;
}

.contact-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    position: relative;
}

.form-txt {
    font-weight: 300;
    text-align: left;
    margin-top: -60px;
    line-height: 1.3rem;
    font-family: "Work Sans", sans-serif;
}

.contact-tag::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-100);
    border-radius: 50%;
}

.social-links {
    margin-top: 120px;
}

.social-links h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--text-200);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.3rem;
    color: var(--bg-100);
    text-decoration: none;
}

.right-column {
    flex: 1;
    background-color: var(--bg-100);
    height: fit-content;
    border-radius: 10px;
    padding: 30px;
}

.form-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-400);
}

.contact-form .form-input {
    width: 90%;
    padding: 10px;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 20px;
    background-color: transparent;
    letter-spacing: 2px;
    border: none;
    border-bottom: 1px solid var(--text-200);
    color: var(--text-100);
    font-weight: 400;
    font-size: 1rem;
}

.contact-section .sub-heading {
    font-size: 3rem;
}

.contact-form .form-input::placeholder,
.contact-form select::placeholder {
    color: var(--text-200);
}

.submit-btn {
    left: 0;
    width: fit-content !important;
    height: fit-content !important;
    padding: 5px 10px;
    border-radius: 25px;
    background-color: var(--accent-100);
    font-size: 1rem;
}


/* social links in contact section start here  */

.social-links h2 {
    margin-top: -10px;
}


.social-icons {
    display: flex;
    justify-content: center;
    width: fit-content;
    gap: 10px;
    margin: 0 auto;
}

.social-links a {
    display: flex;
    flex-direction: column-reverse;
    background: var(--primary-200);
    color: #222;
    text-decoration: none;
    position: relative;
    width: 40px;
    height: 28px;
    padding-top: 12px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.social-links a.icon:before {
    font-family: "FontAwesome", sans-serif;
    color: #fff;
    font-size: 20px;
    margin-top: -5px;
}

.social-links a.facebook:before {
    content: '\f09a';
}

.social-links a.twitter:before {
    content: '\f099';
}

.social-links a.github:before {
    content: '\f113';
}

.social-links a.dribble:before {
    content: '\f17d';
}

.social-links a.pinterest:before {
    content: '\f0d2';
}

.social-links a span {
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    left: -25px;
    right: -25px;
    padding: 5px 7px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}

.social-links a span:before {
    content: '';
    /*   width: 0;
  height: 0; */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    position: absolute;
    bottom: -5px;
    left: 40px;
}

.social-links a:hover span {
    bottom: 50px;
    visibility: visible;
    opacity: 1;
}


/* Hover through the icons */

.social-links a.facebook:hover {
    background-color: #4183d7;
    color: #bfbfbf;
}

.social-links a.facebook span {
    color: #4183d7;
}

.social-links a.twitter:hover {
    background-color: #19b5fe;
    color: #fff;
}

.social-links a.twitter span {
    color: #19b5fe;
}

a.github:hover {
    background-color: #000;
    color: #fff;
}

.social-links a.github span {
    color: #000;
}

.social-links a.dribble:hover {
    background-color: #f62459;
    color: #fff;
}

.social-links a.dribble span {
    color: #f62459;
}

.social-links a.pinterest:hover {
    background-color: #f22613;
    color: #fff;
}

.social-links a.pinterest span {
    color: #f22613;
}


















/* web projects section start here  */

