@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap');

/* test */
.extra {
    height: 100vh;
}

@font-face {
    font-family: header;
    src: url(./Vonique\ 92_D.otf);
}

@font-face {
    font-family: body;
    src: url(./Decomart\ FF\ 4F.otf);
}

html {
    cursor: none;
    /* scroll-behavior: smooth; */
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/*scrollbar*/
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

::-webkit-scrollbar-thumb {
    background-color: black;
}

.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: solid 2px;
    transition: transform .3s ease;
    transform-origin: center center;
    pointer-events: none;
    z-index: 100000000000000000000000000000000000000000;
    background-color: #000;
}

.grow,
.grow-small {
    transform: scale(10);
    background: #fff;
    mix-blend-mode: difference;
    border: none;
}

.grow-small {
    transform: scale(3.5);
}

/* pre loader */

.preLoader{
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
}

.bar{
    width: 25vw;
    height: 100vh;
    background-color: rgb(235, 228, 228);
}

.counter{
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 10000000000;
    color: #444447;
    font-size: 20vw;
    font-family: header;
    padding: 0.2em 0.4em;
}

.hideLoader{
    display: none !important;
    position: relative !important;
}

.remove-scrolling { 
    position: fixed;
    height: 100%; 
    overflow: hidden; 
    background-color: #000000;
} 

/* main */

.back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.one {
    height: 100vh;
}

.nav {
    margin: 20px auto;
    border-radius: 10px;
    font-family: header;
    background-color: #ffffff;
    width: 90vw;
    padding: 10px 20px;
    letter-spacing: 1px;
    font-size: 14px;
    font-family: poppins;
}

.nav .tab {
    display: flex;
    justify-content: space-between;
}

.one .close {
    display: none;
}

.nlink {
    background-color: #ffffff;
}

.nlinks {
    font-family: body;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 0;
    margin-right: 15px;
}

.cross {
    background-color: black;
    color: #ffffff;
    font-family: body;
    width: fit-content;
    position: absolute;
    right: 2px;
    top: 10px;
    font-size: 20px;
    padding: 2px 7px;
    border-radius: 10px;
    background-color: rgba(218, 12, 12, 0.779);
}

.nlinks a {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: rgb(0, 0, 0);
    border: solid 1px black;
    padding: 15px 10px;
    border-radius: 15px;
    font-size: 30px;
    width: max-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 180px;
    z-index: 1;
    background-color: black;
}

.nlinks a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transform-origin: left;
    transition: transform 0.5s ease;
    transform: scaleY(1);
}

.nlinks a:hover::before {
    transform-origin: right;
    transition: transform 0.5s ease;
    transform: scaleX(0);
}


.nlinks a:hover {
    color: rgb(255, 255, 255);
}

.nlinks a i {
    transform: rotate(45deg);
    position: relative;
    top: 5px;
    transition: .5s;
    margin-left: 25px;
}

.nlinks a:hover i {
    transform: rotate(0deg);
}

.soci i {
    margin: 0 10px;
}

.two {
    position: relative;
    top: 100px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    background-color: #ffffff;
}

#main {
    overflow: hidden;
    padding: 20px;
    height: 100vh;
    background-image: radial-gradient(rgb(255, 255, 255), rgb(235, 228, 228)70%);
}

.work {
    width: fit-content;
    padding: 5px 20px;
    color: rgb(0, 0, 0);
    background-color: #ffffff;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 20;
    top: 40%;
    left: 50%;
    transform: translate(60%, -80%);
}

.b {
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(0, -20%);
}

.bg {
    height: 500px;
    width: 500px;
    background-image: radial-gradient(rgb(147, 141, 141), rgb(255, 255, 255));
    border-radius: 100%;
}

.cover {
    position: relative;
    padding-top: 5vh;
    margin: auto;
    width: 500px;
    height: 100vh;
    overflow: hidden;
}

.cover img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-45%, -50%) !important;
    width: 700px;
    z-index: 10;
}

.textM {
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0);
    width: 90vw;
    overflow: hidden;
    position: relative;
    top: -62%;
}

.textM h1 {
    line-height: 0;
    font-family: header;
    display: flex;
    position: relative;
    width: 1000px;
    font-size: 80px;
    white-space: nowrap;
    font-weight: 400px;
    letter-spacing: 3px;
}

.text2 h1 {
    /* top: 7px; */
    position: relative;
    color: #00000076;
    z-index: 2;
    animation: anim 22s alternate-reverse infinite;
}

.text3 h1 {
    /* top: -2px; */
    -webkit-text-stroke: 4px rgb(0, 0, 0);
    z-index: 20;
    animation: scrolal 16s alternate-reverse infinite;
}

.text4 h1 {
    /* top: -14px; */
    color: #00000076;
    z-index: 1;
    animation: anim 20s alternate-reverse infinite;
}

@keyframes anim {
    0% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrolal {
    from {
        transform: translateX(50%);
    }

    to {
        transform: translateX(0%);
    }
}


/* content */
/* about */
.about {
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    color: rgb(0, 0, 0);
    padding: 150px 50px 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    overflow: hidden;
    margin: 5% 10% 10%;
}

.about i {
    font-size: 25px;
    transform: rotate(45deg);
    position: relative;
    left: -10px;
}

.about-h1 {
    position: relative;
    top: -40px;
    left: -1000px;
    font-family: header;
    text-align: center;
    font-size: 80px;
    font-weight: 800;
    margin: 0;
    padding: 0;
}

.about p {
    font-family: poppins;
    max-width: 800px;
    font-size: 25px;
    margin: 0;
    padding: 0;
}

.about-p {
    position: relative;
    top: 40px;
    color: white;
}

.about p span {
    font-size: 16px;
}

.about-link {
    display: flex;
    margin-top: 80px;
    gap: 40px;
    flex-wrap: wrap;
}

.about-link a {
    text-decoration: none;
    border: 1px black solid;
    font-size: 30px;
    color: black;
    width: 180px;
    display: flex;
    justify-content: space-between;
    border-radius: 15px;
    padding: 5px 15px;
    font-family: body;
    position: relative;
    z-index: 1;
    background-color: rgb(0, 0, 0);
}

.about-link a i {
    position: relative;
    top: 5px;
    transition: 0.5s;
}

.about-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 15px;
    z-index: -1;
    transform-origin: left;
    transition: transform 0.5s ease;
    transform: scaleY(1);
}

.about-link a:hover::before {
    transform-origin: right;
    transition: transform 0.5s ease;
    transform: scaleX(0);
}


.about-link a:hover {
    color: rgb(255, 255, 255);
}

.about-link a:hover i {
    transform: rotate(0deg);
}

/* skill */

.skill h1 {
    font-size: 5vmax;
    text-align: center;
    position: relative;
    font-family: header;
}

.scroller {
    margin: auto;
    overflow: hidden;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.scroller__inner img {
    width: 60px;
}

.mongoose {
    width: 110px;
    height: 25px;
    position: relative;
    top: 20px;
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}


/* timeline */
* {
    box-sizing: border-box;

}

.timeline {
    width: 100%;
    padding: 50px 0px;
    display: grid;
    place-items: center;
}

.timeHeading {
    font-size: 5vmax;
    text-align: center;
    font-family: header;
    font-weight: 500;
    position: relative;
    margin-bottom: 80px;
}

.timeHeading span {
    font-family: poppins;
}

.timeContainer {
    width: 70%;
    height: auto;
    position: relative;
}

.timeContainer ul {
    list-style: none;
}

.timeContainer ul::after {
    position: absolute;
    transform: translate(50%);
    content: '';
    width: 4px;
    height: 100%;
    border-radius: 10px;
    /* background-color: gray; */
    background-image: linear-gradient(to right, rgb(181, 170, 170), rgb(249, 245, 245));
}

.timeContainer ul li {
    width: 50%;
    height: auto;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 1px 4px 25px rgba(0, 0, 0, 0.381);
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    top:50px;
    z-index: 9000;
    opacity: 0;
    /* transform: scale(0.8); */
}

.timeContainer ul li:nth-child(odd) {
    float: left;
    clear: right;
    transform: translate(-30px);
}

.timeContainer ul li:nth-child(even) {
    float: right;
    clear: left;
    transform: translate(30px);
}

.timeContainer ul li:last-child {
    margin-bottom: 0;
}

.timeContainer ul li .timeTitle {
    display: flex;
    gap: 20px;
    font-family: poppins;
    font-size: 20px;
}

.timeContainer ul li .timeTitle span {
    font-size: 14px;
    font-weight: 400;
    font-family: sans-serif;
}

.timeContainer ul li .timeTitle .timeImgBx {
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background-color: #f0e7e788;
    position: relative;
    top: 25px;
    overflow: hidden;
}

.timeContainer ul li .timeTitle .timeImgBx img {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeContainer ul li p {
    padding: 0;
    margin: 0;
    font-family: poppins;
}

.timeContainer ul li .timeDate {
    position: absolute;
    top: -40px;
    /* left: 20px; */
    width: 135px;
    height: 35px;
    border-radius: 25px;
    display: grid;
    place-items: center;
    font-size: 14px;
    border: 2px outset rgb(193, 188, 188);
    font-family: poppins;
}

.timeContainer ul li:nth-child(odd) .timeDate {
    right: 20px;
}

.timeContainer ul li .timeCircle {
    width: 20px;
    height: 20px;
    background-color: rgb(228, 217, 217);
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.timeContainer ul li .timeCircle::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeContainer ul li:nth-child(odd) .timeCircle {
    right: -34px;
    transform: translate(50%, -50%);
}

.timeContainer ul li:nth-child(even) .timeCircle {
    left: -26px;
    transform: translate(-50%, -50%);
}

/* test */

.project {
    position: relative;
    z-index: 111000;
    background-color: rgb(0, 0, 0);
    width: 100vw;
    border-radius: 50px;
    margin: auto;
    overflow: hidden;
    transform: scale(0.9);
    padding: 0 2%;
}

.project .title {
    font-family: header;
    font-size: 8vmax;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
    left: -200px;
    margin-bottom: 0;
}

.splide{
    padding: 8% 8% 8%;
    opacity: 0;
    transform: scale(0.9);
}

.ptab{
    overflow: hidden;
    border-radius: 10px;
    /* border: 1px solid rgba(255, 255, 255, 0.567); */
    padding: 5%;
}

.pimg{
    position: relative;
    max-width: 800px;
    width: 100%;
    background-color: black;
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.pdesc{
    position: relative;
    background: linear-gradient(135 deg rgba(255, 255, 255, 0.095) , rgba(25, 25, 25, 0.249));
    backdrop-filter: blur(2px);
    transition: 1s;
    padding: 5%;
    font-family: poppins;
    color: white;
    height: 100%;
    top: -30%;
}
.pt{
    font-size: 60px;
    line-height: 0;
}

.pd{
    font-size: 16px;
    padding-bottom: 4%;
    max-width: 600px;
    margin: auto;
}
.pd p{
    max-width: 600px;
}
.plink{
    display: flex;
    gap: 5%;
    margin-top: 30px;
}

.plink a{
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px white solid;
    border-radius: 30px;
}

.plink a i {
    position: relative;
    top: 5px;
    transition: 0.5s;
    transform: rotate(45deg);
    font-size: 10px;
}

.plink a:hover i {
    transform: rotate(0deg);
    top: 0px;
    left: 10px;
    font-size: 18px;
}


/* contact */

.contact {
    margin: 100px 10vw;
    position: relative;
    top: 200px;
}

.conTitle {
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.conCoverImg {
    display: flex;
    position: relative;
    top: 10px;
}

.conTitle .text {
    font-size: 13vmin;
    font-family: body;
}

.conTitle .text i {
    font-size: 5vmin;
    transform: rotate(45deg);
    position: relative;
    left: -2%;
}

.conImg {
    width: 10vmin;
    height: 10vmin;
    overflow: hidden;
    border: 2px solid rgb(2, 2, 2);
    border-radius: 100%;
}

.conImg img {
    width: 100%;
    object-fit: cover;
}

.get {
    width: 120px;
    height: 120px;
    background-color: black;
    border-radius: 100%;
    padding: 5px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    left: 5%;
    transform: translate(-50%);
    color: white;
}

.get p {
    width: fit-content;
    position: relative;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: body;
    font-size: 20px;
    text-align: center;
}

.line {
    height: 2px;
    background-color: rgba(0, 0, 0, 0.742);
    position: relative;
    top: 70px;
}

.message {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.msgImg {
    width: 400px;
    font-family: body;
    font-size: 14px;
}

.msgImgCov {
    margin: auto;
    width: 300px;
    overflow: hidden;
}


.msgImg img {
    width: 100%;
    object-fit: cover;
}

.msgBox {
    font-family: body;
    max-width: 400px;
    margin-top: 120px;
}

form {
    width: 100%;
}

form label {
    font-family: sans-serif;
    font-weight: 100;
    letter-spacing: 1px;
    font-size: 14px;
    margin: 0 5px;
}

input,
textarea {
    font-family: body;
    width: 94%;
    display: block;
    padding: 10px;
    border-radius: 10px;
    border: 2px black solid;
    margin-bottom: 15px;
}

.mailSubmit {
    cursor: none;
    position: relative;
    z-index: 1;
    /* background-color: #000; */
    color: white;
    /* font-size: 20px; */
    font-family: header;
    padding: 15px;
    letter-spacing: 2px;
    border: none;
    border-radius: 20px;
    width: 120px;
    overflow: hidden;
}

.mailSubmit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;

}

.mailSubmit:hover {
    color: #000;
}

.mailSubmit:hover::before {
    transform-origin: right;
    transition: transform 0.5s ease;
    transform: scaleX(0);
}

.mailSubmit p {
    position: relative;
    top: 4px;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    transition: .5s;
}

.mailSubmit p i {
    transform: rotate(45deg);
    position: relative;
    top: 4px;
    transition: .5s;
}

.mailSubmit:hover p {
    letter-spacing: 0px;
}

.mailSubmit:hover i {
    transform: rotate(0deg);
}


/* footer */
.footer {
    width: 80vw;
    max-width: 400px;
    position: relative;
    border-radius: 10px;
    left: 50%;
    transform: translate(-50%);
    padding: 5px 0;
    border: 2px black solid;
    z-index: 2;
    top: 53px;
}

.footer ul {
    margin: 0;
    display: flex;
    list-style: none;
    font-size: 40px;
    justify-content: space-around;
}

.footer ul li i,
.footer ul li p {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.end {
    position: relative;
    top: -10px;
    text-align: center;
    font-family: body;
    z-index: 1;
}


/* responsive */

@media only screen and (max-width: 450px) {
    .cursor {
        display: none;
    }
}

@media only screen and (max-width: 500px) {

    .list,
    .listTitle {
        display: none;
    }

    .timeContainer ul li p , .smallText{
        font-size: 14px !important;
    }

    .timeContainer ul li p , .smallText{
        font-size: 14px !important;
    }

    .mobile {
        display: flex;
    }

    .project {
        height: min-content;
    }

    .text {
        top: -60%
    }

    .text h1 {
        font-size: 70px;
    }

    .text1 h1 {
        top: 14px;
    }

    .text4 h1 {
        top: 14%;
    }

    .cover {
        height: 94vh;
        margin: 15px auto;
        width: 400px;
    }

    .cover img {
        width: 600px;
    }

    .work {
        padding: 5px 15px;
        transform: translate(30%, 0);
    }

    .b {
        width: 90vw;
    }

    .bg {
        position: relative;
        top: 10px;
        left: -17%;
    }

    .about {
        padding: 50px 20px;
        justify-content: start;
    }

    .about h1 {
        top: 0;
        font-size: 60px;
    }

}

@media only screen and (max-width: 800px) {
    .rotCon {
        display: none;
    }

    .intro .first {
        font-size: 13vmax;
    }

    .category {
        display: none;
    }

    .conTitle .text i {
        left: -4%;
    }
}

@media only screen and (max-width: 900px) {
    .intro .second {
        width: 275px;
        margin: auto;
        font-size: 25px;
        font-weight: 600;
        text-align: left;
    }

    .intro .second span {
        font-size: 16px;
        font-weight: 100;
    }

    .intro .second .hide {
        display: block;
    }

    .scroller__inner img {
        width: 50px;
    }

    .mongoose {
        height: 10px;
        position: relative;
        top: 20px;
    }

    .timeline .timeContainer {
        width: 80%;
    }

    .timeline .timeContainer ul::after {
        left: 12px;
        top: 6px;
        transform: translate(0%);
    }

    .timeline .timeContainer ul li {
        width: 100%;
        float: none;
        clear: none;
        margin-bottom: 80px;
    }

    .timeline .timeContainer ul li:nth-child(odd),
    .timeline .timeContainer ul li:nth-child(even) {
        transform: translate(0);
    }

    .timeline .timeContainer ul li:nth-child(odd) .timeDate {
        left: 20px;
    }


    .timeline .timeContainer ul li:nth-child(odd) .timeCircle {
        left: -26px;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 1020px) {
    .msgBox {
        margin-top: 0;
    }

    .about {
        justify-content: start;
    }

    .about h1 {
        top: -10px;
    }
}

@media only screen and (max-width: 1220px) {
    .timeline .timeContainer {
        width: 85%;
    }
}