@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Play&display=swap');


@font-face {
    font-family: sans-shaded;
    src: url(fonts/Sans\ Serif\ Shaded.ttf)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-color: #EEF2F7; */
    width: 100%;
    padding: 0 !important;
}

.shadow-nav {
    box-shadow: 0 16px 16px -16px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.navbar-brand img {
    height: 6vh;
}

.navbar {
    background: linear-gradient(45deg, #000000 25%, #ffd500 25%, #ffd500 27%, #000000 27%, #000000 29%, #ffd500 29%, #ffd500 31%, #000000 31%, #000000 33%, #ffd500 33%, #ffd500 100%);
    padding: 0 3%;
}

.navbar-nav {
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 9px;
}

.navbar-nav>li {
    padding-left: 22px;
}



/* Navbar link animation start */

.nav-item a {
    overflow: hidden;
    position: relative;
    display: inline-block;
    color: rgb(0, 0, 128) !important;
    vertical-align: top;
    text-decoration: none;
}

.nav-item a::before,
.nav-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}

.nav-item a::before {
    background-color: rgb(78, 103, 216);
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-item a::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    color: rgb(78, 103, 216);
}

.nav-item a:hover::before,
.nav-item a.active::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    transform: translate3d(0, 0, 0);
}

.nav-item a span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-item a:hover span,
.nav-item a.active span {
    transform: translate3d(-200%, 0, 0);
}

/* Navbar link animation end */




.home-background {
    height: 100vh;
    /* border: 2px solid red; */
}

.home-content {
    padding: 95px 5px 10px 10px;
}

.home-text {
    text-align: center;
    word-spacing: 5px;
    padding-top: 2px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Merriweather Sans', sans-serif;
}

.home-text:before,
.home-text:after {
    content: '';
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    border-radius: 2px 50px 2px 50px;
}

.home-text:before {
    border-top: 10px solid #000000;
}

.home-text:after {
    margin: 0 0 0 20px;
    border-top: 10px solid #000000;
}

#green-line {
    width: 80%;
    margin: 0 auto;
    height: 10px;
    background: linear-gradient(45deg, #000000 25%, #ffd500 25%, #ffd500 27%, #000000 27%, #000000 29%, #ffd500 29%, #ffd500 31%, #000000 31%, #000000 33%, #ffd500 33%, #ffd500 100%);
    border-radius: 2px 50px 2px 50px;
}

.box {
    box-shadow:
        0 2.8px 2.2px rgba(0, 0, 0, 0.034),
        0 6.7px 5.3px rgba(0, 0, 0, 0.048),
        0 12.5px 10px rgba(0, 0, 0, 0.06),
        0 22.3px 17.9px rgba(0, 0, 0, 0.072),
        0 41.8px 33.4px rgba(0, 0, 0, 0.086),
        0 100px 80px rgba(0, 0, 0, 0.12);



    height: 62vh;
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    background-color: #ffffff;
    background-image: url(./pics/coverimg.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    border-radius: 5px;

    border: 1px solid #c1c1c1;
}

.nav-wrapper {
    border-radius: 5px 5px 0 0;
    grid-area: nav-wrapper;
    border-bottom: 1px solid #c1c1c1;
    display: flex;
    justify-content: space-between;
    align-content: center;
    background-color: #eaeaeaea;
}

#navigation a {
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: #0000FF;
}

#navigation a:hover {
    color: #0000ff91;
}

#navigation {
    margin: 0;
    padding: 10px;
}

#navigation li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.dots-wrapper {
    display: flex;
    padding: 10px;
}

#dot-1 {
    background-color: #FC6058;
}

#dot-2 {
    background-color: #FEC02F;
}

#dot-3 {
    background-color: #2ACA3E;
}

.browser-dot {
    background-color: #000000;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin: 5px;

    -webkit-box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
    box-shadow: -1px 1px 3px -1px rgba(0, 0, 0, 0.75);
}

.box-text {
    width: 30vw;
    height: 30vh;
    text-align: left;
    font-family: sans-shaded;
    font-size: 45px;
    font-weight: bold;
    margin-top: 99px;
    margin-left: 100px;
}


.about {
    height: 90vh;
    position: relative;
}

.about-content {
    position: absolute;
    height: 70vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-heading {
    padding: 15px 5px 10px 10px;
}

.about-heading-text {
    text-align: center;
    word-spacing: 5px;
    padding-top: 2px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 25px;
    font-weight: bold;
}

.about-heading-text:before,
.about-heading-text:after {
    content: '';
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    border-radius: 2px 50px 2px 50px;
}

.about-heading-text:before {
    border-top: 10px solid #000000;
}

.about-heading-text:after {
    margin: 0 0 0 20px;
    border-top: 10px solid #000000;
}

#about-heading-greenline {
    width: 80%;
    margin: 0 auto;
    height: 10px;
    background: linear-gradient(45deg, #000000 25%, #ffd500 25%, #ffd500 27%, #000000 27%, #000000 29%, #ffd500 29%, #ffd500 31%, #000000 31%, #000000 33%, #ffd500 33%, #ffd500 100%);
    border-radius: 2px 50px 2px 50px;
}

.about-wrapper {
    display: flex;
    margin-top: 50px;
}

.about-pic {
    margin: 80px 90px;
}

.about-pic>img {
    height: 300px;
    border-radius: 10px;
    box-shadow:
        -50px -50px 0 -40px #ffd500,
        50px 50px 0 -40px #000000;
}

.about-description {
    position: relative;

    color: #000000;
    font-family: 'Play', sans-serif;
    margin-top: 30px;
    margin-left: 40px;
    margin-right: 90px;
    padding: 5%;
    width: auto;
    height: 380px;
    box-shadow: 10px 10px;

    background: #ffd500ad;
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
}

.about-button {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
}

.btn:hover {
    cursor: url(./logos/cursor-link.webp), auto;
}

.btn {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: large;
}



.education {
    height: 90vh;
    position: relative;
}

.education-content {
    position: absolute;
    height: 70vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.education-wrapper {
    position: relative;
    height: 60vh;
    width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 18px;
    font-family: 'Play', sans-serif;
    display: grid;
}

.edu-container {
    display: flex;
    width: auto;
    justify-content: center;
}

.grid-educontainer {
    display: grid;
    margin: 50px;
    height: 400px;
    width: 360px;
}

.grid-eduitem {
    display: grid;
}

.gl {
    height: 200px;
    align-self: center;
    justify-self: center;
}

.left-logo {
    height: 180px;
    width: 182px;
}

.mid-logo {
    height: 180px;
    width: 160px;
}

.right-logo {
    height: 180px;
    width: 157px;
}

.mkci-exception {
    padding-top: 5px;
}

.gt {
    height: 150px;
    text-align: center;
    display: inline;

}

.edu-head {
    font-weight: bold;
    font-size: large;
}

.edu-head a {
    text-decoration: none;
    color: rgb(39, 39, 39);
}

.edu-det {
    margin-top: 10px;
}







.trainings {
    height: 450vh;
    position: relative;
}

.trainings-content {
    position: absolute;
    height: 430vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.trainings-wrapper {
    position: relative;
    height: 420vh;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
}

.courses-container {
    font-family: 'Play', sans-serif;
}

.course-odd {
    background-color: #ffd500ad;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    margin: 50px 20px;
    overflow: hidden;
    max-width: max-content;
    float: left;
}

.course-preview {
    background-color: #000000;
    color: #ffd500;
    padding: 30px;
    width: 300px;
}

.course-preview p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 1px;
}

.course-preview a {
    text-decoration: none;
    color: #ffd500;
}

.course-info {
    padding: 30px;
    position: relative;
    width: 400px;
}

.course-preview>h5 {
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: bold;
}

.course-info>h6 {
    font-weight: bold;
    color: #000000;
    opacity: 1;
    margin-bottom: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-info>p {
    margin-bottom: 0;
}

.course-preview img {
    height: 21px;
    width: 21px;
    float: right;
    opacity: 1;
}

.course-even {
    background-color: #ffd500ad;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    margin: 50px 20px;
    overflow: hidden;
    max-width: max-content;
    float: right;
}




.skills {
    height: 90vh;
    position: relative;
}

.skills-content {
    position: absolute;
    height: 70vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skills-wrapper {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
    display: flex;
    font-family: 'Play', sans-serif;
    justify-content: center;
    align-items: center;
}

.skills-wrapper i {
    float: right;
}

.skills-wrapper img {
    float: right;
}

.skills-wrapper svg {
    float: right;
}

.skills-wrapper .skills-title {
    margin-bottom: 40px;
}



#center {
    margin: 0 70px;
}



.skills-bar-container {
    position: relative;
    width: 380px;
    margin: 10% 0;
    list-style: none;
}

.skills-bar-container li {
    background: #dbdbdb;
    position: relative;
    width: 100%;
    height: 20px;
    margin-bottom: 35px;
    margin-top: 8px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.skills-bar-container label {
    position: relative;
    font-size: 16px;
    font-weight: 300;
}

.skills .skills-wrapper .skills-bar-container {
    padding-left: 0;

}

.progressbar {
    position: absolute;
    width: 0%;
    height: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgb(13, 110, 253);
}

.at-right {
    float: right;
}



#progress-autocad {
    width: 95%;
}

#progress-staadpro {
    width: 90%;
}

#progress-etabs {
    width: 80%;
}

#progress-cae {
    width: 70%;
}


#progress-abap {
    width: 70%;
}

#progress-sql {
    width: 60%;
}

#progress-python {
    width: 75%;
}

#progress-java {
    width: 85%;
}


#progress-html {
    width: 70%;
}

#progress-css {
    width: 50%;
}

#progress-javascript {
    width: 35%;
}

#progress-php {
    width: 30%;
}





.projects {
    height: 160vh;
    position: relative;
}

.projects-content {
    position: absolute;
    height: 140vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.projects-wrapper {
    position: relative;
    height: 130vh;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    margin-top: 50px;
}

.grid2-container {
    columns: 5 200px;
    column-gap: 1.5rem;
    width: 90%;
    margin: 0 auto;
}

.grid2-container div {
    width: 150px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px grey;
    padding: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all .25s ease-in-out;
}


.grid2-container div:hover {
    border-color: #EEF2F7;
    border-width: 10px;
    transition-duration: 300ms;
    box-shadow: none;
}





.grid2-container img {
    width: 100%;
    /* filter: grayscale(100%); */
    border-radius: 5px;
    transition: all .25s ease-in-out;
}

.grid2-container p {
    margin: 5px 0;
    padding: 0;
    text-align: center;
    font-family: 'Play', sans-serif;
    font-style: italic;
}

.grid2-container a {
    text-decoration: none;
    color: inherit;
}

.ms-exception {
    padding: 40px;
}

.civil-exception {
    padding-top: 30px;
    padding-bottom: 15px;
    padding-left: 18px;
    padding-right: 18px;
}

.sap-exception {
    padding-top: 37px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
}

.android-exception {
    padding-bottom: 10px;
    padding-top: 25px;
    padding-left: 10px;
    padding-right: 10px;
}

.cloud-exception {
    padding: 18px;
}

.iot-exception {
    padding: 20px;
}

.java-exception {
    padding-bottom: 30px;
    padding-top: 30px;
    padding-left: 45px;
    padding-right: 45px;
}

.ds-exception {
    padding: 25px 20px 15px 15px;
}




.hobby {
    height: 90vh;
    position: relative;
}

.hobby-content {
    position: absolute;
    height: 70vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hobby-wrapper {
    position: relative;
    height: 60vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
    display: flexbox;
    padding: 80px 200px;
}

/* Interest grid: staggered 3 on top, 2 centered below */
.hobby-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    justify-content: center;
    justify-items: center;
    align-items: start;
    align-content: start;
    column-gap: 40px;
    row-gap: 0;
    width: max-content;
    max-width: 100%;
    margin: 40px auto 0;
    height: auto;
    padding: 0 0 60px;
    position: static;
    top: auto;
    left: auto;
    transform: translateY(90px);
}

.hobby-wrapper .diamond {
    margin: 0;
}

.hobby-wrapper .diamond:nth-child(1) {
    grid-column: 1 / 3;
}

.hobby-wrapper .diamond:nth-child(2) {
    grid-column: 3 / 5;
}

.hobby-wrapper .diamond:nth-child(3) {
    grid-column: 5 / 7;
}

.hobby-wrapper .diamond:nth-child(4) {
    grid-column: 2 / 4;
}

.hobby-wrapper .diamond:nth-child(5) {
    grid-column: 4 / 6;
}

/* Pull second row upward to overlap the first row slightly */
.hobby-wrapper .diamond:nth-child(4),
.hobby-wrapper .diamond:nth-child(5) {
    margin-top: -40px;
}

.diamond {
    position: relative;
    height: 250px;
    width: 250px;
    line-height: 250px;
    text-align: center;
    margin: 0 40px;
    font-family: 'Play', sans-serif;
    font-weight: bolder;
    letter-spacing: 1px;
}

.diamond:before {
    position: absolute;
    content: '';
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    transform: rotateX(45deg) rotateZ(45deg);
    box-shadow: 0px 0px 12px gray;
    border-radius: 3px;
}

.diamond:after {
    position: absolute;
    top: 10px;
    left: 10px;
    content: '';
    height: calc(100% - 22px);
    width: calc(100% - 22px);
    border: 1px solid black;
    border-width: 2px;
    transform: rotateX(45deg) rotateZ(45deg);
    border-radius: 3px;
}

.diamond1 {
    float: left;
}

.diamond1>img {
    height: 150px;
    width: 135px;
    filter: grayscale(100%);
}

.diamond2 {
    float: right;
}

.diamond2>img {
    height: 150px;
    width: 140px;
    filter: grayscale(100%);
}

.interest-small {
    height: 120px !important;
    width: 120px !important;
}

.interest-small-coding {
    height: 90px !important;
    width: 90px !important;
}


.contact {
    height: 100vh;
    position: relative;
}

.contact-content {
    position: absolute;
    height: 80vh;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-wrapper {
    position: relative;
    height: 60vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
    display: flex;
    font-family: 'Play', sans-serif;
}



.contact .contact-content .column {
    width: calc(50% - 30px);
}

.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact .contact-content .left p {
    text-align: justify;
}

.contact .contact-content .left .icons {
    margin: 10px 0;
}

.contact .contact-content .row {
    display: flex;
    height: 65px;
    align-items: center;
}

.contact .contact-content .row .info {
    margin-left: 10px;
    width: fit-content;
}

.contact .contact-content .row i {
    font-size: 25px;
    color: #000080;
    width: fit-content;
}

.contact .contact-content .info .head {
    font-weight: 500;
}

.contact .contact-content .info .sub-title {
    color: #333;
}

.contact .right form .fields {
    display: flex;
}

.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}

.contact .right form .textarea {
    height: 115px;
    width: 100%;
}

.contact .right form .name {
    margin-right: 10px;
}

.contact .right form .email {
    margin-left: 10px;
}

.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    transition: all 0.3s ease;
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    border-color: #b3b3b3;
}

.contact .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}

.contact .right form .button {
    height: 47px;
    width: 170px;
}

.contact .right form .button button {
    width: 100%;
    height: 100%;
    border: 2px solid #000080;
    background: #000080;
    color: #fff;
    outline: none;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .right form .button button:hover {
    color: #000080;
    background: none;
    cursor: url(./logos/cursor-link.webp), auto;
}

.left {
    width: 40vw;
    padding-right: 30px;
}

.right {
    width: 40vw;
    padding-left: 30px;
}

.last-line {
    position: relative;
    margin-top: 32px;
    font-size: xx-large;
    text-align: center;
    z-index: 0;
}

.last-line :hover {
    font-size: x-large;
}

.last-line a {
    text-decoration: none;
    color: inherit;
}



/* Footer starts here */

footer {
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
    /* max-width: 100vw; */
    /* border: 2px solid red; */
}

.counter-container {
    float: left;
}

.dummy-span {
    float: right;
}

.footer-anim a {
    overflow: hidden;
    position: relative;
    display: inline-block;
    color: #ffd500;
    vertical-align: top;
}

.footer-anim a::before,
.footer-anim a::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}

.footer-anim a::before {
    background-color: #ffd500;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.footer-anim a::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
    color: #ffd500;
}

.footer-anim a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.footer-anim a:hover::after {
    transform: translate3d(0, 0, 0);
}

.footer-anim a span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.footer-anim a:hover span {
    transform: translate3d(-200%, 0, 0);
}

/* Footer ends here */












div.home-background {
    min-width: 1200px;
}

div.box {
    min-width: 1000px;
}

div.box-text {
    min-width: 450px;
}

div.home-text {
    min-width: 1200px;
}





div.about-description {
    min-width: 600px;
    min-height: 300px;
}

div.about-heading {
    min-width: 1200px;
}





div.col {
    min-width: 450px;
    max-width: 470px;
}

div.education-wrapper {
    min-width: 1400px;
}





.grid2-container div {
    max-width: 210px;
}

div.grid2-container {
    max-height: 1000px;
}





div.hobby-wrapper {
    min-width: 1200px;
}





div.contact-wrapper {
    min-width: 1200px;
}









#anim {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background: #EEF2F7;
    justify-content: center;
    align-content: center;
    padding-bottom: 150px;
    display: grid;
}


#boxes-anim {
    height: 32px;
    width: 32px;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    margin-top: 32px;
    -webkit-transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
    transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
}

#boxes-anim .box-anim {
    width: 32px;
    height: 32px;
    top: 0px;
    left: 0;
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}



#boxes-anim .box-anim:nth-child(1) {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    -webkit-animation: box1 1s linear infinite;
    animation: box1 1s linear infinite;
}

#boxes-anim .box-anim:nth-child(2) {
    -webkit-transform: translate(0, 100%);
    transform: translate(0, 100%);
    -webkit-animation: box2 1s linear infinite;
    animation: box2 1s linear infinite;
}

#boxes-anim .box-anim:nth-child(3) {
    -webkit-transform: translate(100%, 100%);
    transform: translate(100%, 100%);
    -webkit-animation: box3 1s linear infinite;
    animation: box3 1s linear infinite;
}

#boxes-anim .box-anim:nth-child(4) {
    -webkit-transform: translate(200%, 0);
    transform: translate(200%, 0);
    -webkit-animation: box4 1s linear infinite;
    animation: box4 1s linear infinite;
}



#boxes-anim .box-anim>div {
    background: #5C8DF6;
    --translateZ: 15.5px;
    --rotateY: 0deg;
    --rotateX: 0deg;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #5C8DF6;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    -webkit-transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
    transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
}

#boxes-anim .box-anim>div:nth-child(1) {
    top: 0;
    left: 0;
    background: #5C8DF6;
}

#boxes-anim .box-anim>div:nth-child(2) {
    background: #145af2;
    right: 0;
    --rotateY: 90deg;
}

#boxes-anim .box-anim>div:nth-child(3) {
    background: #447cf5;
    --rotateX: -90deg;
}

#boxes-anim .box-anim>div:nth-child(4) {
    background: #DBE3F4;
    top: 0;
    left: 0;
    --translateZ: -90px;
}





@keyframes box1 {

    0%,
    50% {
        transform: translate(100%, 0);
    }

    100% {
        transform: translate(200%, 0);
    }
}

@keyframes box2 {
    0% {
        transform: translate(0, 100%);
    }

    50% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100%, 0);
    }
}

@keyframes box3 {

    0%,
    50% {
        transform: translate(100%, 100%);
    }

    100% {
        transform: translate(0, 100%);
    }
}

@keyframes box4 {
    0% {
        transform: translate(200%, 0);
    }

    50% {
        transform: translate(200%, 100%);
    }

    100% {
        transform: translate(100%, 100%);
    }
}




/* Go to top button starts here */

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: black;
    border-radius: 50%;
    padding: 19px;
    margin: 0;
    background: radial-gradient(circle at 16px 0px, white, black);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#topBtn:hover {
    cursor: url(./logos/cursor-link.webp), auto;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 20px rgba(255, 213, 0, 0.7);
}

#topBtn:active {
    transform: scale(0.8);
}

#topBtn img {
    width: 28px;
    height: 28px;
}

/* Go to top button ends here */



/* Cursor style starts here */

.cursor {
    cursor: url(./logos/cursor-arrow.webp), auto;
}

a {
    cursor: url(./logos/cursor-link.webp), auto;
}

label {
    cursor: url(./logos/cursor-arrow.webp), auto;
}

button {
    cursor: url(./logos/cursor-link.webp), auto !important;
}

/* Cursor style ends here */








/* Scrollbar style starts here */

.scrollbar {
    /* margin-left: 30px; */
    float: left;
    /* height: 300px; */
    background: #EEF2F7;
    overflow-y: scroll;
    overflow-x: hidden;
    /* margin-bottom: 25px; */
}

/* .force-overflow {
    min-height: 450px;
} */

#style-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #EEF2F7;
}

#style-scroll::-webkit-scrollbar {
    width: 12px;
    background-color: #EEF2F7;
}

#style-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #0000FF;
    min-height: 225px;
}

/* Scrollbar style ends here */



/* ai button design starts */

/* Base Button Styles */
.squishy {
    font-family: 'Merriweather Sans', sans-serif;
    position: relative;
    font-size: 1.5rem;
    padding: 0.5rem 1.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 250ms;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 100px;
}

.squishy i {
    width: 1.75rem;
    height: 1.75rem;
}

/* Tech Squishy */
.squishy-tech {
    background-color: rgb(124 58 237);
    color: white;
    border-radius: 0.5rem;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 2px 0 0 rgb(109 40 217),
        0 4px 0 0 rgb(91 33 182),
        0 6px 0 0 rgb(76 29 149),
        0 8px 0 0 rgb(67 26 131),
        0 8px 16px 0 rgba(147, 51, 234, 0.5);
    overflow: hidden;
}

.squishy-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

.squishy-tech:hover {
    transform: translateY(4px);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 1px 0 0 rgb(109 40 217),
        0 2px 0 0 rgb(91 33 182),
        0 3px 0 0 rgb(76 29 149),
        0 4px 0 0 rgb(67 26 131),
        0 4px 8px 0 rgba(147, 51, 234, 0.5);
}


/* ai button design ends */



/* ai chat window design starts */

/* Chat popup container */
.chat-popup {
    display: none;
    /* Hidden by default */
    font-family: 'Merriweather Sans', sans-serif;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
}

/* Chat header */
.chat-header {
    background-color: rgb(124 58 237);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#closeChatBtn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chat body */
.chat-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 80%;
    justify-content: space-between;
}

.messages {
    overflow-y: scroll;
    height: 250px;
    border-bottom: 1px solid #ccc;
}

/* User & bot message styles */
.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
}

/* User message style */
.user-message {
    background-color: #f0f8ff;
    /* Light blue background for user messages */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Light shadow for questions */
    overflow: auto;
}

/* Bot message style */
.bot-message {
    background-color: #fff8d4;
    /* Light orange background for bot responses */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* Deeper shadow for answers */
    overflow: auto;
}

/* Input container to align input and button */
.input-container {
    display: flex;
    align-items: center;
    width: 100%;
    /* Makes sure it takes up the entire width */
    margin-top: 10px;
}

/* Style for the input field */
#userInput {
    width: calc(100% - 40px);
    /* Takes up most of the space minus the button's width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Style for the send button */
.send-btn {
    background: none;
    border: none;
    color: rgb(124 58 237);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    /* Space between input and button */
}

/* Make send button icon look larger */
.send-btn i {
    font-size: 18px;
}

/* ai chat window design ends */








/* For mobile portrait view starts */

@media screen and (max-device-width: 480px) {

    /* body{
        width: 100%;
    } */
    .box {
        height: 450px;
    }

    .home {
        margin-left: 28%;
        height: 102vh;
        margin-bottom: 20%;
    }


    .about {
        margin-left: 38%;
        height: 102vh;
        margin-bottom: 20%;
    }

    .about-wrapper {
        width: fit-content;
    }

    .about-description {
        width: 680px;
    }




    .education {
        margin-left: 38%;
        height: 120vh;
    }

    .education-wrapper {
        margin-left: 168%;
        height: fit-content;
        margin-top: 25%;
    }


    .trainings {
        margin-left: 38%;
        height: 450vh;
    }

    .trainings-wrapper {
        margin-left: 310%;
    }

    .course-odd {
        float: right;
    }




    .skills {
        margin-left: 38%;
        margin-top: 150%;
        height: 50vh;
    }

    .skills-wrapper {
        margin-left: 162%;
        margin-top: 15%;
    }



    .projects {
        margin-left: 38%;
        height: 230vh;

    }

    .projects-wrapper {
        margin-right: 20%;
    }


    .hobby {
        margin-left: 30%;
        width: 100%;
        text-align: center;
    }

    .hobby-wrapper {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        left: auto;
        transform: none;
        display: grid;
        justify-items: center;
        align-items: center;
    }

    .hobby-content {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        margin: 0 auto;
    }

    .about-heading {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }


    .contact {
        margin-left: 38%;
        height: 115vh;
    }

    .contact-wrapper {
        margin-left: 190%;
    }


    .left {
        width: 85vh;
    }

    .right {
        width: 85vh;
    }

    .last-line {
        margin-top: 25%;
        margin-left: 160%;
        width: max-content;
    }

    footer {
        width: 398vw;
    }

    #anim {
        height: 100%;
    }

}

/* For mobile portrait view ends */

/* skill section new design starts */

.skills {
    padding: 50px 20px;
    text-align: center;
    font-family: 'Play', sans-serif;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
    margin-top: 5%;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 100px;
}

.skill i {
    font-size: 50px;
}

.skill span {
    margin-top: 12%;
}

.blue-color i {
    color: #145af2 !important;
}

.green-color i {
    color: green !important;
}

.saffron-color i {
    color: salmon !important;
}

.skill:hover {
    transform: scale(1.2);
    /* Enlarges and rotates */
}

.skill:hover i {
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8), 0 0 20px rgba(255, 204, 0, 0.6);
    /* Glow effect */
    animation: bounce 0.5s infinite alternate ease-in-out;
}

/* Bounce animation */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* skill section new design ends */

/* Mobile Optimization for updated skill section starts */

@media (max-width: 768px) {
    .grid-container {
        width: 1000px;
        margin-top: 25% !important;
        margin-left: 20%;
    }
}

@media (max-width: 480px) {
    .grid-container {
        width: 1000px;
        margin-top: 25% !important;
        margin-left: 30%;
    }
}

/* Mobile Optimization for updated skill section ends */

/* Target 1920x1080 only */
@media (width: 1920px) and (height: 1080px) {
    .home-content {
        padding: 124px 5px 10px 10px;
    }

    .projects-wrapper {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
