@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500&family=Roboto:wght@400;500&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Slab',serif;
    text-align: justify;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: hidden;
    position: relative;
    background-color: #212121;
}

.navbar {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 10px;
    left: -100px;
    padding: 0 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
}

.toggle-btn {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.toggle-btn span {
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background: #a242e2;
    transition: 1s;
}

.toggle-btn span:nth-child(2) {
    top: 50%;
    width: 70%;
}

.toggle-btn span:nth-child(3) {
    top: 75%;
    width: 40%;
}

.toggle-btn.active span:nth-child(2) {
    display: none;
}

.toggle-btn.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.toggle-btn.active span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
    width: 100%;
}
.nav-list {
    position: absolute;
    top: 30%;
    right: 10vw;
    opacity: 0;
}

.link {
    position: relative;
    color: #fff;
    text-transform: capitalize;
    font-size: 20px;
    padding: 10px;
    transition: 0.5s;
    letter-spacing: 2px;
    list-style: none;
    font-weight: 600;
    cursor: pointer;
}

.link:hover {
    opacity: 0.8;
    color: blueviolet;
    transform: translateX(-20px);
}
.nav-list.show {
    opacity: 1;
}
.page-container {
    position: relative;
    width: 100%;
    height: 100%;
    transition: 1s;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}
.page-container.active {
    left: -10px;
    transform: rotateY(45deg) scale(0.5);
    overflow: hidden;
}
.page-container .page.active {
    overflow: auto;
}
.overlay {
    position: fixed;
    bottom: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: #212121;
    z-index: 3;
}
.page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background-size: cover;
    background-position: center;
}
.page.active {
    opacity: 1;
    pointer-events: all;
}
.page.home::after, 
.page.contact::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.8);
}

.page.gallery::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
}
.page.home {
    background: url(images/user.jpg) no-repeat center center/cover; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 0 20px;
}
.page.home .title {
    font-size: 4rem;
    font-weight: 500;
    color: #fff;
}
.page.home .para {
    font-size: 2.5rem;
    color: #878383;
    margin-top: 10px;
    font-weight: 500;
    background-image: linear-gradient(to right, #e1dce5, #9b79b1, #e7e0ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shining 4s infinite linear 2s;
}

.page.about {
    background-image: url(https://images.pexels.com/photos/8386687/pexels-photo-8386687.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
    display: flex;
    flex-direction: column;
}

.page.about .info {
    font-size: 1.3rem;
    padding: 1rem 2rem;
    background-color: #212121;
    margin: 30px;
    color: #b9afaf;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8rem;
    letter-spacing: 1px;
    max-width: 800px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.page.about .info span {
    color: #b391e8;
}

#download {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(16, 16, 16);
}
.page.about button {
    border: none;
    outline: none;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.page.about a.resume {
    text-decoration: none;
    color: #f3e7e7;
    border: 2px solid rgb(60, 8, 107);
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    transition: all 1s;
}
.page.about a.resume:before {
    content: "Download";
    font-weight: 500;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(60, 8, 107);
    transform: translateY(-100%);
    transition: all 1s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page.about a.resume:hover:before {
    transform: translateY(0);
}
.page.courses {
    padding-bottom: 50px;
}
.page.courses img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 5px;
    background-color: #fff;
    position: absolute;
    right: -20px;
    top: 32px;
    z-index: 10;
}
.right-container img {
    left: -20px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background: rgb(131, 40, 210) ;
    top: 0;
    left: 50%;
    margin-left: -3px;
    animation: moveline 6s linear forwards;
    z-index: -1;
    
}
.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}
.container:nth-child(1){
    animation-delay: 0s;
}
.container:nth-child(2){
    animation-delay: 1.3s;
}
.container:nth-child(3){
    animation-delay: 2s;
}
.container:nth-child(4){
    animation-delay: 3.3s;
}
.container:nth-child(5){
    animation-delay: 4s;
}
.container:nth-child(6){
    animation-delay: 5s;
}
.text-box {
    padding: 20px 30px;
    background: #fff;
    position: relative;
    border-radius: 10px;
    font-size: 15px;
}
.left-container {
    left: 0;
}
.right-container {
    left: 50%;
}
.text-box h2 {
    font-weight: 600;
    color: #2a0368;
    padding-bottom: 10px;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

.text-box small {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}
.text-box p {
    font-family: 'Roboto',sans-serif;
    font-size: 1.3rem;
}

.left-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgb(131, 40, 210);
    right: -15px;
}
.right-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgb(131, 40, 210);
    left: -15px;
}
.page.skills {
    padding-bottom: 50px;
    background: #022b36;    
}
.skill {
    width: 500px;
    margin: auto;
    margin-top: 50px;
    padding: 20px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    background: #022832;
}

.skill h1 {
    text-align: center;
    font-weight: 500;
    font-size: 2rem;
    color: #90b9cf;
    padding-bottom: 1rem;
}
.skill li {
    margin: 30px 0;
    padding: 10px;
    list-style-type: none;
}
.skill li h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding-bottom: 10px;
    color: #b6d0e0;
}
.bar {
    background: #0f0421;
    display: block;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bar:hover {
   box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); 
}
.bar span {
    height: 20px;
    float: left;
    background: linear-gradient(135deg, rgba(4, 99, 130, 0.8)0%, rgba(16, 168, 198, 0.7)100%);
}
.techdoc {
    width: 30%;
    animation: techdoc 3s;
}
.kbase {
    width: 50%;
    animation: kbase 3s;
}
.processdoc {
    width: 50%;
    animation: kbase 3s;
}
.contentreview {
    width: 50%;
    animation: kbase 3s;
}
.html, .msword {
    width: 80%;
    animation: html 3s;
}
.techsupport {
    width: 60%;
    animation: html 3s;
}
.tableau {
    width: 50%;
    animation: css 3s;
}
.css {
    width: 55%;
    animation: css 3s;
}
.javascript {
    width: 40%;
    animation: javascript 3s;
}


@keyframes html {
    0% {
        width: 0%;
    }
    100% {
        width: 80%;
    }
}
@keyframes css {
    0% {
        width: 0%;
    }
    100% {
        width:55%;
    }
}
@keyframes javascript {
    0% {
        width: 0%;
    }
    100% {
        width: 40%;
    }
}
@keyframes techdoc {
    0% {
        width: 0%;
    }
    100% {
        width: 30%;
    }
}
@keyframes techsupport {
    0% {
        width: 0%;
    }
    100% {
        width: 60%;
    }
}
@keyframes kbase {
    0% {
        width: 0%;
    }
    100% {
        width: 50%;
    }
}
.page.projects {
     background: linear-gradient(45deg,#394044, #07556f);
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;      
}

.card-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 50px;
    padding: 100px 50px;
    margin: auto;
}

.card-container .card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    height: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.6s ease;
}
.card-container .card:hover {
    height: 350px;
}
.card-container .card .imgbx {
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    background: #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s ease;
}
.card-container .card:hover .imgbx {
    top: -100px;
    scale: 0.75;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.card-container .card .imgbx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-container .card .content {
    position: absolute;
    top: 260px;
    width: 100%;
    padding: 0 30px;
    height: 35px;
    overflow: hidden;
    text-align: left;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-container .card:hover .content {
    top: 130px;
    height: 250px;
}
.card-container .card .content h1{
    padding-bottom: 10px;
    font-size: 1.5rem;
}
.card-container .card .content p {
    padding-bottom: 20px;
    font-family: 'Roboto',sans-serif;
    color: #0e0d0d;
    font-weight: 500;
    text-align: justify;
    width: 100%;
}
.card-container .card .content a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 5px 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: font-size 0.3s ease-in-out;
}
.card-container .card .content a:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    font-size: 1.3rem;
}
.page.gallery {
    background-image: url(images/gallary.jpg);
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    overflow: hidden;
}
.page.gallery h1 {
    position: absolute;
    top: 30px;
    font-size: 2rem;
    color: #2d0869;
}
.image-container {
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.7s;
}

.image-container span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
}

.image-container span img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.btn-container {
    position: relative;
    width: 80%;
}

.btn {
    position: absolute;
    bottom: -80px;
    background:#2a0368;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#prev {
    left: 20%;
}

#next {
    right: 20%;
}

.btn:hover {
    filter: brightness(1.5);
}
.page.contact {
    background-image: url(images/contact.jpg);
    position: relative;
}
.page.contact h1{
    position: absolute;
    top: 30px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
}
.wrapper {
    display: inline-flex;
}
.wrapper a {
    text-decoration: none;
    color: rgb(27, 25, 25);
}
.wrapper .icon {
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span {
    height: 60px;
    width: 60px;
    position: relative;
    z-index: 2;
    display: block;
    background: #fff;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.wrapper .icon span i {
    font-size: 25px;
    line-height: 60px;
}
.wrapper .icon:hover span a i {
    color: #fff;
}
.wrapper .icon .tooltip {
    background: #fff;
    position: absolute;
    top: 0px;
    color: #fff;
    font-size: 20px;
    padding: 10px 18px;
    border-radius: 25px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
    top: -70px;
    opacity: 1;
    pointer-events: auto;
}
.wrapper .icon .tooltip::before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #fff;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}

.wrapper .linkedin:hover span,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin .tooltip::before {
    background: #0A66C2;
}
.wrapper .github:hover span,
.wrapper .github:hover .tooltip,
.wrapper .github .tooltip::before {
    background: #333;
}
.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube .tooltip::before {
    background: #CD201F;
}

/* <a href="https://www.vecteezy.com/free-photos" > Free Stock photos by Vecteezy</a > */

@keyframes slide {
    100% {
        left: 100%;
    }
}

@keyframes shining {
    0% {
        opacity: 1;
        text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3),
            0px -4px 10px rgba(29, 28, 25, 0.3);
    }

    25% {
        opacity: 0.45;
        text-shadow: rgba(29, 28, 28, 0.8) 6px 8px 15px;
    }

    50% {
        opacity: 0.5;
        text-shadow: rgba(15, 15, 15, 0.8) 5px 8px 15px;
    }

    75% {
        opacity: 0.75;
        text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3),
            0px -4px 10px rgba(29, 28, 25, 0.3);
    }

    100% {
        opacity: 1;
        text-shadow: rgba(47, 33, 33, 0.8) 8px 5px 15px;
    }
}
@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}
@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
::-webkit-scrollbar {
    width: 10px;
}
.page.courses::-webkit-scrollbar-thumb {
    background: #451b79;
}
.page.skills::-webkit-scrollbar-thumb {
    background: #1d4c82;
}
.page.projects::-webkit-scrollbar-thumb {
    background: #8a3c79;
}
@media screen and (max-width:650px) {
    .page.about .info {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
}
 
@media screen and (max-width:600px) {
    .link {
        font-size: 18px;
        padding: 6px;
        font-weight: 500;    
    }
    .page.home .title {
        font-size: 3rem;
    }
    
    .page.home .para {
    font-size: 2rem;
    }
    /* .timeline {
        margin: 50px auto;
    } */
    .timeline::after {
        left: 31px;
    }
    .container {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box {
        font-size: 13px;
    }
    .text-box small {
        margin-bottom: 10px;
    }
    .right-container {
        left: 0;
    }
    .left-container img, .right-container img {
        left: 10px;
    }
    .left-arrow, .right-arrow {
        border-right: 15px solid #fff;
        border-left: 0;
        left: -15px;
    }
}
@media screen and (max-width:480px) {
    .page.home .title {
        font-size: 2.5rem;
    }
    
    .page.home .para {
        font-size: 1.5rem;
    }
    .page.about .info {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    .skill {
        width: 300px;
    }
    
}
@media (max-width: 1024px) {
    .page.home .title {
        font-size: 3rem;
    }
    .page.home .para {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page.home .title {
        font-size: 2.5rem;
    }
    .page.home .para {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page.home .title {
        font-size: 2rem;
    }
    .page.home .para {
        font-size: 1.2rem;
    }
}