@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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;
}

body {
    background-image: url(images/bg.png);
    background-color: #0F141C;
    background-position: center center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.scrolltop {
    z-index: 1002;
    position: fixed;
    bottom: 1%;
    right: 4%;
    width: 40px;
    height: 42px;
    opacity: 95%;
    cursor: pointer;
    overflow: hidden;
    background-color: #ff3e3e;
    border-radius: 30px;
    transition: all 0.3s ease;

    box-shadow: 0px 0px 4px 4px rgba(218, 213, 213, 0.14);
}

.scrolltop:hover {
    scale: 1.1;
}

/* .scrolltop img{
    box-shadow: 0px 0px 4px 4px rgba(218, 213, 213, 0.14);
    overflow: hidden;
} */

div {
    -webkit-tap-highlight-color: transparent !important;
}

body:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0f141ce4;
    z-index: -1;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 3% 8%;
}

img {
    width: 100%;
    height: 100%;
}

a {
    transition: transform 0.3s ease;
}

a:active {
    transform: scale(1.1);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85vw;
    height: 100vh;
    background-color: #0F141C;
    transition: filter 0.3s ease;
}

.side_bar {
    width: 20%;
    background-color: #171B22;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.side_bar::-webkit-scrollbar {
    width: 2px;
    background-color: transparent;
}

.side_bar::-webkit-scrollbar-thumb {
    background-color: #00CC97;
}

.profile_img {
    margin-top: 100px;
    width: 70%;
}

.profile_img img {
    width: 100%;
}

.typed_text {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff3e3e;
}

.text {
    min-height: 1em;
    line-height: 1;
    font-size: 1.1rem;
    text-align: center;
}

.profile_det h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.profile_det h2 span {
    font-weight: 400;
}

.social_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.social_icon a {
    color: inherit;
}

.social_icon i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .3s ease;
    background-color: #0F141C;
}

.social_icon i:hover {
    background-color: #ff3e3e;
}

.side_menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

.side_menu li {
    width: 100%;
    border-top: 1px solid rgba(131, 131, 131, 0.5);
    padding: 10px 5%;
    cursor: pointer;
}

.side_menu li a {
    margin-left: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: .3s ease;
}

.side_menu li i {
    transition: .3s ease;
    font-size: 1.2rem;
}

.side_menu li:hover a {
    color: #00CC97;
}

.side_menu li:hover i {
    color: #00CC97;
}

.download_btn {
    width: 230px;
    /* height: 100vw; */
    background-color: #0F141C;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.download_btn i {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff3e3e;
    color: #fff;
    position: absolute;
    top: 10%;
    left: 7%;
    transition: .6s ease;
}

.download_btn a {
    color: #fff;
    font-size: 1rem;
    padding-left: 10%;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .6s ease;
}

.download_btn:hover i {
    left: 80%;
    background-color: #fff;
    color: #FF7590;
}

.download_btn:hover a {
    padding-right: 32%;
}

.bars {
    display: none;
}

/* MAIN SECTION */

main {
    width: 80%;
    height: 100vh;
    background-color: #0F141C;
    overflow-y: scroll;
    position: relative;
}

main::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

main::-webkit-scrollbar-thumb {
    background-color: #00CC97;
}

/* HERO SECTION */
.hero {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10% 2%;
    gap: 2rem;
}

.content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
}

.content h1 {
    font-size: 5rem;
    line-height: 6.5rem;
}

.content h1 span {
    font-weight: 400;
}

.hero_text {
    min-height: 1em;
    line-height: 1;
    font-size: 1.5rem;
    color: #ff3e3e;
}

.content p {
    /* font-size: 1.2rem; */
    font-weight: 300;
    color: rgb(233, 228, 228);
}

.hero_btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

button {
    width: 170px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #00CC97;
    color: #000;
    border: none;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

button:after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 0%;
    background-color: #ff3e3e;
    z-index: -1;
    transition: .6s;
}

.btn2 {
    background-color: #ffdb59;
}

button:hover:after {
    height: 100%;
}

.hero_img {
    width: 40%;
    position: relative;
}

.rotate_elem1 {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 100px;
    height: 100px;
    animation: rotate 3s infinite forwards linear;
}

.rotate_elem2 {
    position: absolute;
    top: 3%;
    left: 3%;
    width: 50px;
    height: 50px;
    animation: rotate 3s infinite forwards linear;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}


.user_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    padding: 0 10px;
}

.user_det {
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background-color: #171B22;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    padding: 4% 2%;
    border-radius: 10px;
    cursor: pointer;

    box-shadow: 0px 0px 4px 4px rgba(218, 213, 213, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user_det h3 {
    font-weight: 400;
    font-size: 1rem;
    padding: 0 10px;
}

.user_det:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 5px 8px rgba(218, 213, 213, 0.2);
}

.user_det:active {
    transform: translateX(-50%) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.clickable {
    display: flex;
    gap: 5px;
    padding: 0 20%;
    cursor: pointer;
}

.clickable p {
    font-size: 0.8rem;
    font-weight: 200;
    color: #00CC97 !important;
    text-decoration: underline;
}

.clickable img {
    width: 15px !important;
    height: 15px !important;
}

.user_imgs {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: -20px;
}

.user_img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
    filter: grayscale(100);
    transition: .3s ease;
}

.user_img:hover {
    cursor: pointer;
    filter: grayscale(0);
}

.user_info p {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 10px;
}

.head_text {
    color: #fff;
    font-weight: 400;
    padding-left: 2%;
}

.slider {
    height: 50px;
    margin: auto;
    width: 90%;
    display: grid;
    place-content: center;
    place-items: center;
    overflow: hidden;
    transform: translateY(30px);
}

.slide-track {
    display: flex;
    align-items: center;
    width: calc (250px* 40);
    animation: scrolls 40s forwards infinite;
    position: relative;
}

.slide {
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 0 30px;
}

@keyframes scrolls {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(calc(-150px * 20));
    }
}

/* Popup styles */

.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
}

.popup {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #171B22;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 4px rgba(218, 213, 213, 0.14);
    z-index: 1001;
    filter: none;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: #ff5c5c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup1 {
    width: 70%;
    max-height: 90%;
    overflow-y: scroll;
}

.popup1::-webkit-scrollbar {
    width: 20px;
    background-color: transparent;
}


.popup1 h2 {
    font-size: 2rem;
    margin: 0 0 10px;
}

.people {
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.clients h2 {
    margin-bottom: 20px;
}

.people_img {
    height: 120px;
    width: 120px;
    border-radius: 10%;
    overflow: hidden;
}

.people_des {
    width: 80%;
}

.people_des h3 {
    margin: -5px 0;
}

.people a {
    text-decoration: underline;
    color: #00CC97;
}

.designation {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: -5px;
    color: rgb(224, 222, 222);
}

.description {
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 300;
}


/* Background blur effect */
/* .blurred {
    filter: blur(5px);
  } */


/*ABOUT SECTION */

.about {
    margin-top: 20px;
    flex-direction: column;
}

.headings {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.headings h1 {
    font-size: 2rem;
    color: #fff;
}

.headings:after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(224, 222, 222);
}

.about p {
    /* font-size: 1.2rem; */
    font-weight: 300;
    color: rgb(224, 222, 222);
}

.about p span {
    color: #fff;
}

.about_info {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 50px;
    color: #fff;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info h2 span {
    color: rgb(224, 222, 222);
    font-weight: 400;
}

.info_det {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info_det h2 {
    font-weight: 300;
}

.info_det span {
    margin: 0 10px;
}

/* EDUCATION & EXPERIENCE SECTION */

.education_experience {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    color: #fff;
}

.education,
.experience {
    width: 50%;
}

.education_cards {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
}

.education_card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding-left: 5%;
}

.education_card p span {
    color: #fff;
}

.education_card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5px;
    height: 100%;
    background-color: #fff;
}

.education_card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -3%;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #ff3e3e;
    z-index: 1;
    border: 2px solid #fff;
}

.education_card h2 {
    font-size: 1.4rem;
    font-weight: 200;
    transition: .3s;
}

.education_card h3 {
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    ;
    transition: .3s;
}

.education_card p {
    color: #cfcfcf;
    font-size: 1rem;
    font-weight: 300;
    transition: .3s;
}

.education_card:hover h2 {
    color: #ff3e3e;
}

.education_card:hover h3 {
    color: #fff;
}

.education_card:hover p {
    color: #fff;
}

/* .experience {
    transform: translateY(-12px);
} */

/* CODING SKILLS SECTION */

.coding_skills {
    flex-direction: column;
    padding: 0% 8%;
}

.skills_contianer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-content: center;
    place-items: center;
    gap: 20px;
    margin-top: 20px;
}

.skills {
    width: 130px;
    height: 130px;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

.skills span {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.skills:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    width: 85%;
    height: 85%;
    border-radius: 100%;
    z-index: -1;
}

/* DESIGN SKILLS SECTION */
.design_skills {
    flex-direction: column;
}

.design_skills_container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.design_skill {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5%;
    border-radius: 50px;
}

.skills_info p {
    font-size: 0.8rem;
}

.design_skill:nth-child(1) {
    border: 1px solid rgb(2, 175, 132);
    background-color: rgba(2, 175, 132, 0.2);
}

.design_skill:nth-child(2) {
    border: 1px solid rgb(49, 168, 255);
    background-color: rgba(49, 169, 255, 0.2);
}

.design_skill:nth-child(3) {
    border: 1px solid rgb(199, 79, 196);
    background-color: rgba(199, 79, 196, 0.2);
}

.design_skill:nth-child(4) {
    border: 1px solid rgb(205, 177, 76);
    background-color: rgba(205, 177, 76, 0.2);
}

.design_skill:nth-child(5) {
    border: 1px solid rgb(222, 47, 91);
    background-color: rgba(222, 47, 91, 0.2);
}

.design_skill:nth-child(6) {
    border: 1px solid rgb(49, 168, 255);
    background-color: rgba(49, 169, 255, 0.2);
}

/* AWARDS SECTION */
.awards {
    flex-direction: column;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 35px 15px;
    width: 100%;
}

.box-item {
    position: relative;
    -webkit-backface-visibility: hidden;
    width: 100%;
    max-width: 100%;

}

.flip-box {
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    transition: all 0.3s ease;
}

.card {
    width: 100%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
}

.card_head {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.card_head h2 {
    font-size: 1.4rem;
    font-weight: 400;
}

.card_bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 20px
}

.card_bottom h1 {
    font-size: 1.2rem;
    font-weight: 400;
}

.card_bottom h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #ff7d61;
}

.flip-box-front,
.flip-box-back {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 300px;
    -ms-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-box-front {
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-front {
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box-back .inner {
    padding: 10px;
}

.flip-box:hover .flip-box-back {
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* .flip-box-front.clicked{
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box-back.clicked{
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(Odeg);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
} */

.flip-box .inner {
    position: absolute;
    left: 0;
    width: 100%;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
    -ms-transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    /* text-align: center; */
}

/* SERVICES SECTION */

.services {
    flex-direction: column;
}

.service_head {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 10px;
    gap: 5px;
}

.service_head h2 {
    font-weight: 400;
}

.service_head p {
    font-weight: 300;
    color: #cfcfcf;
    ;
}

.serviceSwiper {
    width: 100%;
}

.service_slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5%;
    gap: 10px;
    transition: .3s;
}

.service_img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #ff3e3e;
    padding: 10px;
}

.service_slide h2 {
    font-weight: 400;
    transition: .3s;
}

.service_slide p {
    color: #cfcfcf;
    ;
    font-size: 1rem;
    font-weight: 300;
}

.service_slide i {
    font-size: 2rem;
    position: relative;
    transition: .3s;
}

.service_slide i:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 45%;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: rotate(-40deg);
    transition: .3s;
}

.service_slide:hover h2 {
    color: #ff3e3e;
}

.service_slide:hover p {
    color: #fff;
}

.service_slide:hover i {
    transform: rotate(-60deg);
}

.service_slide:hover i:after {
    opacity: 0;
}

.service_img2 {
    background-color: #00CC97;
}

.service_img3 {
    background-color: #6F39FD;
}

.service_img4 {
    background-color: #FF7D61;
}

.service_slide:hover .service_text2 {
    color: #00CC97;
}

.service_slide:hover .service_text3 {
    color: #6F39FD;
}

.service_slide:hover .service_text4 {
    color: #FF7D61;
}

/* PORTFOLIO SECTION */

.portfolio {
    flex-direction: column;
}

.portfolio_cards {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio_card {
    width: 100%;
    cursor: pointer;
    /* position: relative; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 0px 4px 4px rgba(218, 213, 213, 0.14);
    border-radius: 10px;
    padding: 5px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio_card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 8px rgba(218, 213, 213, 0.2);
}

.portfolio_card p {
    margin-bottom: 10px;
}

.portfolio_img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.portfolio_card:hover .hide_portfolio {
    opacity: 1;
    top: 0;
    ;
}

.portfolio_card h2 {
    font-size: 1.2rem;
    font-weight: 400;
}

.portfolio_card p {
    color: #cfcfcf;
    ;
}

.hide_portfolio {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #ff3e3e79;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    transition: .6s;
}

.hide_portfolio img {
    width: 50px;
    height: 50px;
}

.view_btn {
    margin-top: 20px;
}

/* Portfolio */
.popup2,
.popup3,
.popup4,
.popup5,
.popup6,
.popup7 {
    width: 70%;
    max-height: 90%;
    overflow-y: scroll;
}

.popup2::-webkit-scrollbar,
.popup3::-webkit-scrollbar,
.popup4::-webkit-scrollbar,
.popup5::-webkit-scrollbar,
.popup6::-webkit-scrollbar,
.popup7::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.popup2 h1,
.popup3 h1,
.popup4 h1,
.popup5 h1,
.popup6 h1,
.popup7 h1 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.sitelink a {
    color: #00CC97;
    text-decoration: underline;
}

.sitewarn {
    font-weight: 400;
    color: rgb(224, 222, 222);
}

.project {
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.projectleft {
    width: 40%;
}

.projectlink {
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: 400;
}

.projectlink a {
    color: #00CC97;
    text-decoration: underline;
    overflow-wrap: break-word;
}

.projectright {
    width: 60%;
}

.projectright ul {
    padding-left: 5px;
    margin: 10px;
}

.projectright ul li {
    margin-bottom: 5px;
    list-style-type: disc;
    color: #d8d8d8;
}

.projectright ul li span {
    color: #fff;
    font-weight: 500;
}

/* TESTIMONIAL SECTION */
.testimonial {
    flex-direction: column;
}

.testimonial p {
    color: #cfcfcf;
    ;
    margin: 10px 0;
}

.testimonialSwiper {
    width: 100%;
    margin-top: 30px;
}

.testimonial_slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.testimonial_slide:hover p {
    color: #fff;
}

.testimonial_slide:hover h2 {
    color: #ff3e3e
}

.testimonial_slide img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 100%;
    background-color: #ff3e3e;
    padding: 5px;
}

.testimonial_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: -25px;
}

.testimonial_info h2 {
    font-weight: 300;
}

.testimonial_info p {
    color: #cfcfcf;
    ;
}

.popup10,
.popup11,
.popup12 {
    width: 50%;
    max-height: 90%;
    overflow-y: scroll;
}

.popup10::-webkit-scrollbar,
.popup11::-webkit-scrollbar,
.popup12::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.certificate {
    width: 100%;
}

/* BLOGS SECTION */

.blogs {
    flex-direction: column;
}

.blog_box_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.blog_box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blog_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.blog_content p {
    color: #cfcfcf;
    ;
    font-size: 1rem;
}

.blog_content h2 {
    font-size: 1.2rem;
    font-weight: 300;
}

.blog_content button {
    height: 40px;
    font-size: 1.2rem;
}

.blog_content button i {
    margin: 0 10px;
}

.blog_img {
    border-radius: 10px;
    position: relative;
    width: 70%;
    overflow: hidden;
}

.blog_img:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    transition: .3s;
}

.blog_box:hover .blog_img:after {
    opacity: 1;
    top: 0;
}

.blog_date {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 70px;
    height: 70px;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.popup20,
.popup21 {
    width: 70%;
    max-height: 90%;
    overflow-y: scroll;
}

.popup20::-webkit-scrollbar,
.popup21::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.popup20 h2,
.popup21 h2 {
    margin-bottom: 10px;
}

.popup20 p,
.popup21 p {
    margin-top: 10px;
    color: #c2c2c2;
}

/* CONTACT SECTION */

.contact {
    flex-direction: column;
}

.contact_head {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.contact_head h2 {
    font-weight: 300;
}

.contact_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.contact_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.contact_box {
    width: 60%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    background-color: #171822;
    padding: 5px;
    border-radius: 10px;
}

.box_info h2 {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.contact_box i {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    background-color: #6F39FD;
    border-radius: 10px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_box p {
    color: #cfcfcf;
    ;
}

.contact_box h3 {
    font-weight: 300;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.inputs {
    width: 80%;
    /* display: flex;
    flex-direction: column; */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.inputs input {
    margin-top: 20px;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background-color: transparent;
    padding-left: 2%;
    font-size: 1.3rem;
    border-bottom: 3px solid rgba(131, 131, 131, 0.5);
}

.inputs textarea  {
    margin-top: 50px;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background-color: transparent;
    padding-left: 2%;
    font-size: 1.3rem;
    border-bottom: 3px solid rgba(131, 131, 131, 0.5);
}

/* .inputs textarea{
    height: 100px !important;
} */

.inputs input::placeholder,
.inputs textarea::placeholder {
    color: #c2c2c2 !important;
}

.inputs input:active,
.inputs input:focus,
.inputs textarea:active,
.inputs textarea:focus {
    border-bottom: 3px solid #6F39FD;
}

.inputs button {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

.copyright {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.copyright p {
    color: #cfcfcf;
    ;
    /* font-size: 1.3rem; */
}

.copyright p span {
    color: #00CC97;
    margin: 0 5px;
}


/*  SECTION */

@media (max-width: 1200px) {
    .side_bar {
        position: absolute;
        top: 0;
        left: -100%;
        width: 30%;
        z-index: 999;
        opacity: 0;
        transition: .6s;
    }

    .bars {
        display: block;
        position: absolute;
        top: 2%;
        right: 2%;
        border: 1px solid rgba(131, 131, 131, 0.5);
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        z-index: 2;
    }

    .show_side_bar {
        opacity: 1;
        left: 0;
    }

    .container {
        width: 100vw;
    }
}

@media (max-width:1000px) {
    .side_bar {
        width: 35%;
    }

    .hero {
        flex-direction: column;
        padding: 4% 2%;
    }

    .content {
        width: 100%;
    }

    .hero_img {
        margin-top: 70px;
        margin-bottom: 120px;
        width: 80%;
    }

    .user_det {
        width: 350px;
        bottom: -15%;
        /* transition: transform 0.2s ease, background 0.3s ease; */
    }

    .skills_info h1 {
        font-size: 1rem;
    }

    .skills_img {
        height: 30px;
        width: 30px;
    }

    .education_card {
        padding-left: 10%;
    }

    .design_skills_container {
        grid-template-columns: repeat(3, 1fr);
    }

    .popup2,
    .popup3,
    .popup4,
    .popup5,
    .popup6,
    .popup7 {
        width: 85%;
        height: 90%
    }
}

@media (max-width:768px) {
    .side_bar {
        width: 40%;
    }

    main {
        width: 95%;
    }

    section {
        padding: 2% 4%;
    }

    .content {
        gap: 5px;
    }

    .content h1 {
        font-size: 3rem;
    }

    .hero_btns {
        margin-top: 10px;
    }

    .headings h1 {
        font-size: 1.5rem;
    }

    .user_det {
        width: 300px;
        bottom: -25%;
    }

    .education_card:before {
        left: -4%;
    }

    .skills_contianer {
        grid-template-columns: repeat(2, 1fr);
    }

    .design_skills_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio_cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog_box {
        flex-direction: column;
    }

    .skills_contianer {
        grid-template-columns: repeat(2, 1fr);
    }

    .box-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog_img {
        width: 100%;
    }

    .contact_container {
        flex-direction: column;
    }

    .inputs {
        width: 100%;
    }

    .popup {
        padding: 15px 15px;
    }

    .popup1 {
        width: 85%;
    }

    .project {
        flex-direction: column;
    }

    .projectleft {
        width: 100%;
    }

    .projectright {
        width: 100%;
    }

    .popup10,
    .popup11,
    .popup12 {
        width: 85%;
        max-height: 90%;
    }
}

@media (max-width:500px) {
    main {
        width: 95%;
    }

    .scrolltop{
        height: 31px;
        width: 30px;
    }

    .side_bar {
        width: 65%;
        padding-top: 0px;
    }

    .hero {
        padding: 10% 2%;
    }

    .profile_img {
        margin-top: 0px;
    }

    .content h1 {
        text-align: center;
        line-height: 4rem;
    }

    .content p {
        font-size: 0.8rem;
    }

    .hero_btns {
        gap: 10px;
    }

    .hero_img {
        margin-top: 30px;
    }

    .user_det {
        width: 250px;
        bottom: -45%;
    }

    .download_btn {
        width: 230px;
        gap: 5px;
    }

    .download_btn a {
        font-size: 0.8rem;
        padding-left: 15%;
    }

    button {
        width: 100px;
        height: 40px;
        font-size: 0.8rem;
    }

    .people {
        display: block;
    }

    .people_img,
    .people_des {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .people_img {
        width: 100%;
        margin-bottom: 10px;
    }

    .people_img img {
        width: 120px;
        border-radius: 10%;
    }

    .people_des {
        width: 100%;
    }

    .blog_content button {
        font-size: 0.8rem;
    }

    .about_info {
        gap: 20px;
    }

    .about_info h2 {
        font-size: 1rem;
    }

    .education_experience {
        flex-direction: column;
    }

    .education,
    .experience {
        width: 100%;
    }

    .education_card h2 {
        font-size: 1.2rem;
    }

    .education_card h3 {
        font-size: 1.1rem;
    }

    .skills {
        width: 100px;
        height: 100px;
        font-size: 0.6rem;
    }

    .skills_info h1 {
        font-size: 1rem;
    }

    .skills span {
        color: #fff;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .flip-box-front,
    .flip-box-back {
        min-height: 250px;
    }

    .contact_container {
        gap: 0px;
    }

    .contact_box {
        width: 90%;
    }

    .contact_icon {
        max-width: 60px;
        max-height: 60px;
    }

    .contact_box h2 {
        font-size: 1rem;
    }

    .contact_box p {
        font-size: 0.8rem;
    }

    .contact_box i {
        width: 40px;
        height: 40px;
    }

    .inputs input::placeholder,
    .inputs textarea::placeholder {
        font-size: 1rem;
    }

    .inputs input {
        margin-top: 4px;
    }

    .inputs textarea {
        margin-top: 40px;
    }

    .portfolio_cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .copyright p {
        text-align: center;
    }

    .popup {
        padding: 10px 10px;
    }

    .popup1,
    .popup2,
    .popup3,
    .popup4,
    .popup5,
    .popup6,
    .popup7,
    .popup10,
    .popup11,
    .popup12,
    .popup20,
    .popup21 {
        width: 92%;
        max-height: 97%;
    }
}