#labelforsetting,
#labelforvisualmode,
#switchforvisualmode:checked+#labelforvisualmode {
    background-repeat: no-repeat;
    background-position: center
}

#labelforsetting,
#labelforsound {
    height: 40px;
    background-size: 60%
}

#preloader,
.invertapplied,
.invertsettinglabel {
    filter: invert(1)
}

#preloader,
noscript {
    width: 100%;
    height: 100%
}

body,
noscript {
    background-color: var(--color-dark-mode)
}

.main,
body {
    overflow-x: hidden
}

#backtotopbutton article,
:root {
    font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif
}

.eye,
.image-div,
.logo,
.navbar,
.project-box,
.resume-btn,
footer {
    overflow: hidden
}

.cta,
.github-redirect,
.navbar-tabs-ul a {
    text-decoration: none
}

#GmailLogo,
.sign svg path {
    fill: white
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

::selection {
    background-color: transparent
}

::-moz-selection {
    background: 0 0
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

@font-face {
    font-family: "Thmanyah Serif Display";
    src: url("Thmanyah-Font-Family/thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Thmanyah Sans";
    src: url("Thmanyah-Font-Family/thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Thmanyah Serif Text";
    src: url("Thmanyah-Font-Family/thmanyah typeface/thmanyahseriftext/woff2/thmanyahseriftext-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

:root {
    cursor: default;
    --color-white: #fff;
    --color-black: #000;
    --color-dark-mode: #11111b;
    --color-light-mode: #ece7e1;
    --color-ddd-color: #ddd;
    --color-gray: #c4c4c4;
    --color-purple: #8000ff;
    --color-light-purple: #cf59e6;
    --color-light-blue: #6bc5f8;
    --color-navbarBorder-dark: #e2e2e207;
    --color-shadowDark: rgba(0, 0, 0, 0.137);
    --static-heading-gradient-blue: #b0f3f1;
    --static-heading-gradient-pink: #ffcfdf;
    --tech-stack-box-first-color: #1a1a29;
    --tech-stack-box-second-color: rgba(27, 27, 40, 0);
    --tech-stack-box-border-color: #292929
}

#hello-friend,
.footer-bottom article,
.getintouch-heading article,
.language-speak article,
.navbar-tabs-ul li,
.two-words article {
    font-family: fira code
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: #0a0a10
}

::-webkit-scrollbar-thumb {
    background-color: #8000ff
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background-color: var(--color-light-blue)
}

.cursor-outer {
    width: 35px;
    height: 35px;
    border: 2px solid #fff
}

.cursor-inner,
.cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none
}

.setting-container,
.settingactivate {
    transform-origin: left;
    transition-duration: .5s
}

.cursor-inner.hover {
    width: 25px;
    height: 25px;
    transition: .2s;
    mix-blend-mode: difference
}

.cursor-outer.hover {
    width: 50px;
    height: 50px;
    transition: .2s
}

.activeThistab:before,
.navbar-tabs-ul li:hover:before {
    background-color: var(--color-white);
    height: 10px;
    width: 10px;
    left: -20px
}

.light-mode {
    --color-dark-mode: #ece7e1;
    --color-black: #fff;
    --color-white: #000;
    --color-ddd-color: rgb(31, 31, 31);
    --color-navbarBorder-dark: #d1d6eb;
    --static-heading-gradient-blue: #0f7878;
    --static-heading-gradient-pink: #f09bb9;
    --color-shadowDark: #e2ddd7;
    --tech-stack-box-first-color: #e7e2db;
    --tech-stack-box-second-color: #ece7e100;
    --tech-stack-box-border-color: #dad5cf
}

.setting-container {
    width: 60px;
    height: 50px;
    margin-left: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0
}

#labelforsetting {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background-image: url(src/svg/settings-svgrepo-com.svg);
    transition-duration: .5s;
    cursor: pointer
}

.soundtogglebuttoncontainer,
.visualmodetogglebuttoncontainer {
    align-items: center;
    width: fit-content;
    transition-duration: .3s
}

.settingactivate {
    width: 200px
}

.visualmodetogglebuttoncontainer {
    height: fit-content;
    display: flex;
    justify-content: center;
    transform: translate(-50px) scale(0)
}

.visualmodeshow {
    transition-duration: .3s;
    transform: translate(0) scale(1)
}

#switchforsetting,
#switchforsound,
#switchforvisualmode,
.hamburger,
.mobiletogglemenu {
    display: none
}

#switchforsetting:checked+#labelforsetting {
    transform: rotate(180deg);
    transition-duration: .5s
}

#labelforvisualmode {
    position: relative;
    width: 40px;
    height: 40px;
    background-image: url(src/png/crescent-moon\ \(1\).png);
    background-size: 50%;
    transition-duration: .5s;
    cursor: pointer
}

#switchforvisualmode:checked+#labelforvisualmode {
    transform: rotate(360deg);
    transition-duration: .5s;
    background-image: url(src/png/sun.png);
    background-size: 60%
}

.soundtogglebuttoncontainer {
    height: fit-content;
    display: flex;
    justify-content: center;
    transform: translate(-130px) scale(0)
}

#labelforsound,
#preloader {
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center
}

.soundmodeshow {
    transition-delay: .1s;
    transition-duration: .5s;
    display: inline-block;
    transform: translate(0) scale(1)
}

.logo,
.logo:hover {
    transition-duration: 1s
}

#labelforsound {
    position: relative;
    justify-content: center;
    width: 40px;
    background-image: url(src/svg/Mute_Icon.svg);
    cursor: pointer;
    transition-duration: .5s
}

#switchforsound:checked+#labelforsound {
    transition-duration: .5s;
    background-image: url(src/svg/Speaker_Icon.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center
}

header {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

#preloader {
    background-color: #fff;
    position: fixed;
    z-index: 99999;
    justify-content: center;
    overflow-y: hidden;
    background-image: url(src/svg/Pulse-0.4s-200px.svg);
    background-size: 10%
}

.navbar,
noscript {
    display: flex;
    align-items: center;
    position: fixed
}

#name,
.getintouch-heading article {
    background: -webkit-linear-gradient(135deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    -webkit-text-fill-color: transparent
}

noscript {
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    z-index: 999999
}

.fakenavbar {
    height: 0;
    width: 0%;
    background-color: transparent
}

.navbar {
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    backdrop-filter: blur(10px);
    height: 80px;
    width: 80%;
    padding: 0 20px;
    justify-content: space-between;
    z-index: 999;
    border: 1px solid var(--color-navbarBorder-dark);
    border-radius: 50px
}

.navbar-tabs,
.navbar-tabs-ul {
    height: 100%;
    align-items: center
}

.logo,
.navbar-tabs-ul li {
    position: relative;
    display: flex
}

.navbar-tabs {
    display: flex;
    width: 80%
}

.navbar-tabs-ul {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 80px;
    color: var(--color-white)
}

.navbar-tabs-ul li {
    width: fit-content;
    height: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem
}

.navbar-tabs-ul li:hover:before {
    content: "";
    position: absolute;
    border-radius: 5px;
    z-index: -1
}

.navbar-tabs-ul a {
    color: var(--color-white);
    font-weight: 100
}

.logo {
    width: 10%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.face,
.logo-top {
    width: 100%;
    align-items: center;
    display: flex
}

.hey {
    color: #fff;
    position: absolute;
    font-size: 2.5rem;
    font-weight: 300;
    background-color: #20222e;
    padding: 5px 10px;
    border-radius: 20px;
    left: 120px;
    bottom: 80px;
    opacity: 0
}

#hello-friend,
#work,
.about-info p,
.activeThistab,
.language-speak article {
    color: var(--color-white)
}

.blob,
.eye,
.pupil {
    border-radius: 50%
}

.popup {
    animation: 3s linear pop-up
}

@keyframes pop-up {
    from {
        bottom: -50px;
        left: 50px;
        opacity: 1
    }

    to {
        opacity: 0
    }
}

.logo-top {
    height: 100%;
    justify-content: center;
    transform-origin: bottom;
    position: relative
}

.activeThistab:before,
.face {
    content: "";
    position: absolute
}

.logo-top img {
    height: 100%;
    z-index: 2
}

.face {
    height: 74%;
    bottom: 0;
    justify-content: center;
    gap: 5px;
    z-index: 1;
    padding-left: 1px
}

.eye {
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff
}

.left-eye {
    box-shadow: -1px -2px 2px rgba(0, 0, 0, .589) inset
}

.right-eye {
    box-shadow: 1px 3px 2px rgba(0, 0, 0, .589) inset
}

.pupil {
    width: 3.5px;
    height: 3.5px;
    background: #241010
}

.logo:hover {
    transform: translateY(200px)
}

.activeThistab:before {
    border-radius: 50%;
    z-index: -1
}

.dp::after,
.dp::before {
    height: 300px;
    z-index: -2;
    content: ""
}

.main {
    width: 100%;
    height: fit-content;
    position: relative
}

.blob {
    position: absolute;
    right: -15%;
    top: 0;
    background-color: var(--color-light-purple);
    width: 600px;
    height: 100vh;
    filter: blur(300px);
    opacity: .3;
    animation: 1s linear infinite alternate-reverse breath
}

@keyframes breath {
    from {
        opacity: .3
    }

    to {
        opacity: .5
    }
}

.landing-page-container {
    width: 100%;
    height: calc(100vh - 115px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center
}

#home {
    scroll-margin-top: 115px
}

.text-content {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
    align-items: flex-start;
    justify-content: center
}

#hello-friend {
    font-size: 3.5rem;
    font-weight: 600;
    width: fit-content;
    display: flex;
    align-items: flex-end
}

#name,
#work {
    font-size: 8rem;
    width: fit-content
}

#name,
#work,
.letsTalkBtn-text {
    display: flex;
    font-weight: 700
}

@-webkit-keyframes vibrate-1 {

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

    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px)
    }

    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px)
    }

    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px)
    }

    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px)
    }
}

@keyframes vibrate-1 {

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

    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px)
    }

    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px)
    }

    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px)
    }

    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px)
    }
}

#name {
    align-items: flex-start;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient
}

@keyframes gradient {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

#work {
    align-items: flex-start;
    flex-wrap: wrap
}

#info-para,
.about-info p {
    font-weight: 400;
    font-size: 2rem
}

#work div {
    display: flex;
    margin: 0 12px 0 0
}

.jello:hover {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: #03e6ff;
    -webkit-animation: .9s both jello-vertical;
    animation: .9s both jello-vertical
}

#backtotopbutton,
.dp::after,
.dp::before,
.letsTalkBtn {
    background-color: transparent
}

@-webkit-keyframes jello-vertical {

    0%,
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1)
    }

    30% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1)
    }

    40% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1)
    }

    50% {
        -webkit-transform: scale3d(.85, 1.15, 1);
        transform: scale3d(.85, 1.15, 1)
    }

    65% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1)
    }

    75% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1)
    }
}

@keyframes jello-vertical {

    0%,
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1)
    }

    30% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1)
    }

    40% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1)
    }

    50% {
        -webkit-transform: scale3d(.85, 1.15, 1);
        transform: scale3d(.85, 1.15, 1)
    }

    65% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1)
    }

    75% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1)
    }
}

#info-para {
    width: 75%;
    padding-top: 30px;
    color: var(--color-ddd-color);
    line-height: 20px
}

.contact-btn-div {
    width: 100%;
    padding-top: 50px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.letsTalkBtn {
    position: relative;
    border: none;
    width: 180px;
    height: 40px;
    border-radius: 0;
    cursor: pointer;
    transition: .3s
}

.letsTalkBtn-text {
    width: 100%;
    height: 100%;
    background-color: rgba(230, 230, 230, .466);
    border: none;
    border-radius: 7px;
    backdrop-filter: blur(5px);
    color: #000;
    align-items: center;
    justify-content: center;
    letter-spacing: .8px
}

.cta:hover span,
.text,
.tooltip {
    color: #fff
}

.resume-btn,
.sign {
    align-items: center;
    transition-duration: .3s;
    display: flex
}

.letsTalkBtn-BG {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(150deg, #71cbff, #8000ff);
    z-index: -1;
    left: 6px;
    top: 6px;
    border-radius: 7px;
    pointer-events: none;
    transition: .3s
}

.letsTalkBtn:hover {
    transform: translateY(-2px) translateX(-2px)
}

.letsTalkBtn:hover .letsTalkBtn-BG {
    transform: translateY(2px) translateX(2px)
}

.letsTalkBtn:active {
    transform: translateY(7px) translateX(7px)
}

.letsTalkBtn:active .letsTalkBtn-BG {
    transform: translateY(-7px) translateX(-7px)
}

.resume-btn {
    margin-top: 25px;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .199);
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    position: relative
}

.projects-heading-article,
.projectsHeadingP,
.section-heading-article,
.sectionHeadingP,
.skills-heading-article,
.skillsHeadingP {
    background-image: -webkit-gradient(linear, left top, right top, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-image: -webkit-linear-gradient(left, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink))
}

.dp::after,
.dp::before,
.text {
    position: absolute
}

.sign {
    width: 100%;
    justify-content: center
}

.sign svg {
    width: 17px
}

.text {
    right: 0;
    width: 0%;
    opacity: 0;
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
    transition-duration: .3s
}

.resume-btn:hover {
    width: 175px;
    border-radius: 40px;
    transition-duration: .3s
}

.resume-btn:hover .sign {
    width: 30%;
    transition-duration: .3s;
    padding-left: 20px
}

.resume-btn:hover .text {
    opacity: 1;
    width: 70%;
    transition-duration: .3s;
    padding-right: 18px
}

.dp,
.dp::after,
.dp::before,
.dp:hover::after,
.dp:hover::before {
    transition-duration: .5s
}

.resume-btn:active {
    transform: translate(2px, 2px)
}

.about-section-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 200px
}

.about-section,
.contact-section-div,
.projects-section-div,
.skills-section {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.projects-heading,
.section-heading,
.skills-heading {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px
}

.dp img,
.dp::after,
.dp::before {
    width: 300px
}

.projects-heading-article,
.section-heading-article,
.skills-heading-article {
    font-size: 3rem;
    font-family: fira code;
    font-weight: 500;
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.projectsHeadingP,
.sectionHeadingP,
.skillsHeadingP {
    width: 300px;
    height: 1px;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink))
}

.site-preview-section-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 160px
}

.site-preview-section {
    width: 60%;
    max-width: 1160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.site-preview-content {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 32px
}

.site-preview-copy {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.site-preview-title {
    width: fit-content;
    font-size: 6rem;
    line-height: 1.08;
    font-weight: 900;
    padding-bottom: .08em;
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.site-preview-text {
    max-width: 850px;
    font-size: 2.2rem;
    line-height: 1.5;
    color: var(--color-white)
}

.site-preview-video-shell {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--tech-stack-box-border-color);
    border-radius: 30px;
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    box-shadow: 0 0 70px rgba(128, 0, 255, .16);
    overflow: hidden
}

.site-preview-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 22px;
    background-color: #11111b;
    overflow: hidden
}

.site-preview-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.index-arabic-mode .site-preview-section {
    direction: rtl
}

.index-arabic-mode .site-preview-heading {
    flex-direction: row-reverse
}

.index-arabic-mode .site-preview-copy {
    max-width: 980px;
    align-items: flex-end;
    text-align: right
}

body.index-arabic-mode .site-preview-copy {
    direction: rtl;
    margin-left: auto;
    margin-right: 0
}

body.index-arabic-mode .site-preview-title[data-i18n] {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    font-family: "Thmanyah Serif Text", "Thmanyah Sans", Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.42;
    padding-bottom: .22em;
    overflow: visible
}

body.index-arabic-mode .site-preview-text[data-i18n] {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
    margin-left: auto;
    margin-right: 0;
    font-family: "Thmanyah Serif Text", "Thmanyah Sans", Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7
}

.info-dp-section {
    width: 100%;
    display: flex;
    margin-top: 30px
}

.about-info {
    width: 60%;
    display: flex;
    flex-direction: column
}

.about-info p {
    line-height: 25px
}

.dp {
    width: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative
}

.dp::before {
    box-shadow: 2px 2px 0 inset #8000ff, -2px -2px 0 inset transparent
}

.dp::after {
    box-shadow: 2px 2px 0 inset transparent, -2px -2px 0 inset #8000ff
}

.dp:hover::after {
    transform: translate(20px, 20px)
}

.dp:hover::before {
    transform: translate(-20px, -20px)
}

.skills-section-container {
    padding-top: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.language-speak,
.tech-stack-wrapper {
    width: 100%;
    display: flex;
    align-items: center
}

.language-speak {
    height: 50px;
    justify-content: center
}

.language-speak article {
    font-size: 2rem;
    font-weight: 600
}

.frontend-dev-section {
    width: 100%;
    margin-top: 50px
}

.frontend-dev-heading {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 900;
    height: 100px;
    letter-spacing: 5px;
    background-image: -webkit-gradient(linear, left top, right top, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-image: -webkit-linear-gradient(left, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.project-box,
.tech-stack-box {
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color))
}

.tech-stack-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px
}

.tech-stack-box,
.tooltip {
    align-items: center;
    display: flex
}

.tech-stack-box {
    width: 160px;
    height: 160px;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    position: relative
}

.tech-stack-box img {
    width: 80%
}

.tech-stack-box:hover .tooltip {
    opacity: 1;
    transition-duration: .3s
}

.tooltip {
    position: absolute;
    top: -20px;
    opacity: 0;
    background: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    border: 1px solid var(--tech-stack-box-border-color);
    padding: 5px 10px;
    border-radius: 5px;
    justify-content: center;
    transition-duration: .2s;
    pointer-events: none;
    letter-spacing: .5px;
    font-size: 1.6rem;
    backdrop-filter: blur(5px);
    font-weight: 500
}

.cta,
.cta span,
.cta svg,
.project-box,
footer {
    position: relative
}

.projects-section-container {
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.contact-section-container {
    width: 100%;
    padding: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center
}

.contact-section-card {
    width: 100%;
    margin-top: 50px;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    position: relative
}

.contact-section-title {
    width: fit-content;
    font-size: 4rem;
    font-weight: 900;
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.contact-section-form {
    width: 100%
}

.project-boxes-div {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 50px
}

.cta:hover:before,
.project-box-wrapper {
    width: 100%
}

.project-box {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition-duration: .3s;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color)
}

.info-div {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 0 40px
}

.faviconforProject {
    width: 30px;
    border-radius: 50%
}

.faviconforProjectAquaregia {
    width: 20px
}

.image-div {
    width: 50%;
    height: 100%;
    padding-top: 70px;
    padding-left: 10px
}

.image-div img {
    height: 100%;
    border-top-left-radius: 30px
}

.ProjectHeading {
    color: var(--color-white);
    font-size: 3.4rem;
    font-weight: 700
}

.ProjectDescription {
    color: gray;
    font-size: 1.7rem;
    font-weight: 400
}

.project-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px
}

.github-redirect {
    width: 50px
}

.github-redirect img {
    width: 45px;
    height: auto;
    transition: .3s;
    filter: brightness(2)
}

.github-redirect:hover img {
    filter: brightness(4)
}

.cta {
    padding: 12px 18px;
    transition: .2s;
    border: none;
    background: 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.cta::before {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #2b2f4e;
    width: 45px;
    height: 45px;
    transition: .3s
}

.cta span {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--color-light-blue)
}

.cta svg {
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--color-light-blue);
    stroke-width: 2;
    transform: translateX(-5px);
    transition: .3s
}

.cta:hover svg {
    stroke: white;
    transform: translateX(0)
}

.cta:active {
    transform: scale(.95)
}

#backtotopbutton {
    position: fixed;
    right: 10px;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    width: 3rem;
    height: 15rem;
    z-index: 101;
    text-align: center;
    transition: .4s;
    display: none
}

#backtotopbutton article {
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 400;
    writing-mode: vertical-rl;
    mix-blend-mode: difference
}

#backtotopbutton:hover {
    transform: translate(0, -20px);
    text-decoration: line-through var(--color-white)
}

footer {
    width: 100%;
    height: fit-content;
    border-top: 1px solid var(--tech-stack-box-border-color)
}

.footer-background {
    width: 100%;
    height: 100vh;
    background-color: #0b0b0b;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1
}

.footer-blob {
    width: 100%;
    height: 200px;
    background-color: var(--color-light-purple);
    border-radius: 50%;
    filter: blur(100px);
    opacity: .7
}

.footer-foreground {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(10px)
}

.footercontainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end
}

.two-words {
    color: #b3b3b3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px
}

.getintouch-heading,
.logos {
    height: 80px;
    width: 100%;
    display: flex
}

.two-words article {
    font-size: 3rem
}

.social-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%
}

.social-media-container a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid #e2dede;
    position: relative;
    box-shadow: 0 0 0 #8000ff inset;
    transition-duration: .3s
}

.getintouch-heading {
    align-items: center;
    justify-content: center
}

.getintouch-heading article {
    font-size: 2rem;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: 700
}

.fa-copyright,
.footer-bottom article {
    font-size: 1.5rem;
    color: #b0b0b0;
    text-align: center
}

.footer-bottom article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.35
}

.footer-line {
    display: block
}

.footer-break {
    display: none
}

.footer-beta-notice {
    display: block;
    margin: 0;
    color: var(--color-ddd-color);
    font-size: 1.35rem;
    opacity: .78
}

.logos {
    gap: 30px;
    justify-content: center;
    align-items: center
}

.SocialHandle {
    fill: white;
    width: 60%
}

#GmailLogo {
    height: 70%
}

.social-media-container a:hover {
    box-shadow: 0 0 50px 100px #8000ff inset;
    transition-duration: 1s;
    border: none
}

.social-media-container a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 50%;
    transform: scale(0);
    background-color: transparent;
    transition-duration: .3s;
    z-index: -1
}

.social-media-container a:hover::before {
    transform: scale(1);
    transition-duration: .3s
}

.footer-avatar-container {
    width: 220px;
    margin-top: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.footer-avatar-img {
    width: 100%;
    z-index: 2
}

.footer-avatar-face {
    position: absolute;
    width: 100%;
    height: 97%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-left: 5px
}

.footer-avatar-eye {
    width: 50px;
    height: 50px;
    background-color: #dfd2d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-pupil {
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    border: 5px solid #413333;
    filter: blur(.6px)
}

.footer-right-eye {
    box-shadow: 15px 15px 5px rgba(0, 0, 0, .233) inset, 10px 10px 5px rgba(41, 33, 33, .644) inset;
    position: relative
}

.footer-left-eye {
    box-shadow: -10px -15px 5px rgba(0, 0, 0, .349) inset;
    position: relative
}

.footer-avatar-eye::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(214, 214, 214, .726);
    z-index: 2;
    filter: blur(.2px);
    left: 15px;
    transform: rotate(45deg)
}

.footer-bottom {
    background-color: #0b0b0b;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    height: auto;
    padding: 12px 16px;
    z-index: 3
}

.light-mode .footer-background,
.light-mode .footer-bottom {
    background-color: var(--color-light-mode)
}

.light-mode .footer-foreground {
    backdrop-filter: blur(10px)
}

.light-mode .two-words,
.light-mode .two-words article,
.light-mode .footer-bottom article {
    color: var(--color-ddd-color)
}

.light-mode .social-media-container a {
    border-color: var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color))
}

.light-mode .SocialHandle,
.light-mode #GmailLogo {
    fill: var(--color-white)
}

.light-mode .social-media-container a:hover {
    box-shadow: 0 0 50px 100px var(--color-purple) inset;
    border: none
}

.light-mode .social-media-container a:hover .SocialHandle,
.light-mode .social-media-container a:hover #GmailLogo {
    fill: #fff
}

.tonechange {
    color: #000
}

@media screen and (max-width:1920px) {
    html {
        font-size: 60%
    }
}

@media screen and (max-width:1400px) {
    html {
        font-size: 60%
    }
}

@media screen and (max-width:1200px) {
    html {
        font-size: 60%
    }

    .projects-section-div,
    .contact-section-div,
    .skills-section,
    .text-content {
        width: 80%
    }

    .about-section {
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }
}

@media screen and (max-width:1150px) {
    html {
        font-size: 60%
    }
}

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

    #hamburger-button,
    .hamburger {
        background-color: transparent
    }

    .mobile-navbar-tabs-ul a,
    .mobiletogglemenu {
        text-decoration: none
    }

    .activeThismobiletab,
    .mobile-navbar-tabs-ul a {
        color: var(--color-white)
    }

    html {
        font-size: 55%
    }

    .blob,
    .cursor-inner,
    .cursor-outer,
    .navbar-tabs-ul {
        display: none
    }

    .stopscrolling {
        overflow: hidden
    }

    .hamburger {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 115px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        z-index: 9998
    }

    .activeThismobiletab:before,
    .burger-bar,
    .hamburger-animation1,
    .hamburger-animation2,
    .hamburger-animation3 {
        background-color: var(--color-white)
    }

    .hamburgerbase {
        width: 80%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 20px
    }

    #hamburger-button {
        font-size: 3rem;
        font-weight: 800;
        width: 4.5rem;
        height: 3.5rem;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between
    }

    #burger-bar1,
    #burger-bar2,
    #burger-bar3 {
        height: 3px;
        border-radius: 0;
        transition-duration: .3s
    }

    #burger-bar1,
    #burger-bar3 {
        width: 60%
    }

    #burger-bar2 {
        width: 100%
    }

    .hamburger-animation1 {
        transform: rotate(45deg) scaleX(1.7);
        transition-duration: .3s;
        transform-origin: left
    }

    .hamburger-animation2 {
        transform: scaleX(0)
    }

    .hamburger-animation3 {
        transform: rotateZ(-45deg) scaleX(1.7);
        transform-origin: left;
        transition-duration: .3s
    }

    .mobiletogglemenu {
        background-color: transparent;
        z-index: 9990;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        list-style: none;
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        transform: translate(1000px);
        transition-duration: 1s
    }

    .show-toggle-menu {
        transform: translate(0);
        transition-duration: .6s
    }

    .mobile-navbar-tabs-ul {
        background-color: var(--color-dark-mode);
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 70px;
        box-shadow: 0 0 30px rgba(0, 0, 0, .176)
    }

    .mobile-navbar-tabs-li {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 600;
        position: relative;
        cursor: pointer;
        font-family: fira code;
        height: 30px;
        width: fit-content
    }

    .about-info,
    .dp,
    .info-dp-section {
        width: 100%;
        display: flex
    }

    .info-dp-section {
        flex-direction: column;
        margin-top: 30px;
        gap: 30px
    }

    .about-info {
        flex-direction: column
    }

    .dp {
        align-items: center;
        justify-content: center
    }

    .activeThismobiletab:before {
        content: "";
        position: absolute;
        height: 10px;
        width: 10px;
        left: -20px;
        border-radius: 50%
    }

    .projects-section-div,
    .site-preview-section,
    .contact-section-div {
        width: 80%
    }

    .project-box {
        flex-direction: column;
        height: 800px
    }

    .image-div,
    .info-div {
        width: 100%;
        height: 50%
    }

    .image-div {
        padding: 0 0 0 80px
    }
}

@media screen and (max-width:768px) {
    html {
        font-size: 50%
    }

    .text-content {
        padding-left: 0;
        width: 80%
    }

    #hello-friend {
        height: 100px;
        font-size: 3.5rem
    }

    #name,
    #work {
        font-size: 5.5rem
    }

    #info-para,
    .language-name {
        width: 100%
    }

    .contact-btn-div {
        height: 140px;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px
    }

    .setting-container {
        margin-left: 0
    }

    .dp::after,
    .dp::before {
        display: none
    }

    .logo {
        width: 18%
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }

    .projects-section-div,
    .site-preview-section,
    .contact-section-div {
        width: 80%
    }

    .site-preview-section-container {
        padding-top: 130px
    }

    .site-preview-title {
        font-size: 5rem
    }

    .project-boxes-div {
        padding: 40px 0
    }

    .contact-section-card {
        padding: 30px
    }
}

@media screen and (max-width:500px) {
    html {
        font-size: 45%
    }

    .hamburgerbase,
    .navbar {
        height: 70px
    }

    #hamburger {
        margin-right: 20px;
        height: 115px;
        align-items: flex-end
    }

    #hello-friend,
    .two-words article {
        font-size: 2.5rem
    }

    .hey {
        left: 70px
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }

    .landing-page-container {
        min-height: calc(100svh - 115px);
        height: auto;
        padding-top: 18px;
        align-items: flex-start
    }

    .text-content {
        height: auto;
        justify-content: flex-start
    }

    #hello-friend {
        height: auto;
        margin-bottom: 8px;
        align-items: center
    }

    #name,
    #work {
        line-height: 1.05
    }

    #name {
        font-size: 6.4rem;
        margin-bottom: 10px
    }

    #info-para {
        padding-top: 22px;
        line-height: 18px
    }

    .contact-btn-div {
        height: auto;
        padding-top: 24px;
        gap: 16px
    }

    .site-preview-section-container {
        padding-top: 100px
    }

    .site-preview-section {
        width: 88%
    }

    .site-preview-content {
        margin-top: 32px;
        gap: 22px
    }

    .site-preview-title {
        font-size: 4.2rem
    }

    .site-preview-text {
        font-size: 2rem;
        line-height: 1.45
    }

    .site-preview-video-shell {
        padding: 8px;
        border-radius: 24px
    }

    .site-preview-frame {
        border-radius: 18px
    }

    .project-box {
        height: 550px
    }

    .info-div {
        height: 60%
    }

    .image-div {
        height: 40%;
        padding-left: 50px
    }

    .image-div img {
        border-top-left-radius: 10px
    }

    .tech-stack-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .tech-stack-box {
        width: 100%;
        height: calc(76vw/2)
    }
}

@media screen and (max-width:430px) {
    html {
        font-size: 45%
    }

    .about-section,
    .contact-section-div,
    .projects-section-div,
    .site-preview-section,
    .skills-section {
        width: 80%
    }

    .site-preview-section {
        width: 90%
    }

    .info-div {
        padding: 0 30px
    }

    .two-words article {
        font-size: 2.2rem
    }
}

@media screen and (max-width:375px) {
    html {
        font-size: 42%
    }

    .dp img {
        width: 200px
    }

    .two-words {
        height: 50px
    }

    .two-words article {
        font-size: 2rem
    }

    .footer-bottom article {
        font-size: 1.3rem
    }

    .logos {
        gap: 20px
    }
}

@media screen and (max-width:300px) {
    html {
        font-size: 42%
    }

    .language-name article {
        text-align: center
    }

    .two-words {
        align-items: flex-end;
        height: 50px
    }

    .two-words article {
        font-size: 1.5rem
    }

    .footer-bottom article {
        font-size: 1rem
    }

    .social-media-container a {
        width: 50px;
        height: 50px
    }

    .logos {
        gap: 20px
    }
}


@media only screen and (min-width: 769px) and (max-width: 1300px) and (max-height: 730px){
    .landing-page-container {
        height: fit-content;
        margin-top: 100px;  
    }
}

/* Blog section styles */
.blog-section-container {
    width: 100%;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-section {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.blog-cards-div {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 50px
}

.blog-card-wrapper {
    width: 100%
}

.blog-card {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition-duration: .3s;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    overflow: hidden;
    cursor: pointer
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 0 60px rgba(128, 0, 255, .16)
}

.blog-card:hover .blog-image-div img,
.blog-card:focus-within .blog-image-div img {
    transform: scale(1.035);
    filter: brightness(1.08)
}

.blog-card:hover .blog-card-heading,
.blog-card:focus-within .blog-card-heading {
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.blog-image-div {
    width: 50%;
    min-height: 400px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-image-div img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform .3s, filter .3s
}

.blog-image-div button {
    width: 100%;
    height: 100%;
    min-height: 320px;
    padding: 0;
    border: 0;
    background: 0 0;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden
}

.blog-image-div button:hover img {
    transform: scale(1.03);
    filter: brightness(1.08)
}

.blog-info-div {
    width: 50%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 40px
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: fira code;
    font-size: 1.4rem;
    color: var(--color-ddd-color)
}

.blog-category {
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid #8000ff;
    background: rgba(128, 0, 255, .15);
    color: #cf59e6
}

.blog-date,
.blog-reading-time {
    color: var(--color-ddd-color)
}

.blog-card-heading {
    color: var(--color-white);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15
}

.blog-card-description {
    color: gray;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.6
}

.blog-card-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px
}

.blog-view-all-div {
    width: 100%;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px)
}

.blog-modal-overlay.active {
    display: flex
}

.blog-modal-card {
    width: min(700px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    box-shadow: 0 0 70px rgba(128, 0, 255, .16)
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 1;
    border: 0;
    background: 0 0;
    color: var(--color-ddd-color);
    font-size: 2rem;
    cursor: pointer;
    transition: .3s
}

.blog-modal-close:hover {
    color: var(--color-light-blue)
}

.blog-modal-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px
}

.blog-modal-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px
}

.blog-modal-title {
    width: fit-content;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15;
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.blog-modal-description {
    color: gray;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.6
}

.blog-post-section-container {
    width: 100%;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-post-section {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-post-body {
    max-width: 700px;
    margin: auto;
    color: var(--color-white);
    line-height: 1.8;
    font-size: 1.8rem
}

.blog-post-body h2 {
    width: fit-content;
    margin: 50px 0 24px;
    font-size: 3rem;
    font-weight: 700;
    background-image: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient;
    -webkit-text-fill-color: transparent
}

.blog-post-body p {
    color: var(--color-ddd-color);
    margin-bottom: 30px
}

.blog-post-body code {
    font-family: fira code;
    background: rgba(128, 0, 255, .1);
    padding: 2px 8px;
    border-radius: 6px;
    color: #6bc5f8
}

.blog-post-cover {
    width: 100%;
    margin-top: 40px;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    object-fit: cover
}

.languagetogglebuttoncontainer {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    transform: translate(-205px) scale(0);
    transition-duration: .3s
}

.languagemodeshow {
    transition-delay: .15s;
    transition-duration: .5s;
    transform: translate(0) scale(1)
}

#switchforlanguage {
    display: none
}

#labelforlanguage {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(207, 89, 230, .75);
    background: linear-gradient(135deg, rgba(107, 197, 248, .22), rgba(128, 0, 255, .25));
    box-shadow: 0 0 18px rgba(128, 0, 255, .28);
    cursor: pointer;
    overflow: hidden;
    transition-duration: .3s
}

#labelforlanguage span {
    position: absolute;
    font-family: fira code;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-white);
    transition-duration: .3s
}

#labelforlanguage .lang-option-en {
    opacity: 1;
    transform: translateY(0) scale(1)
}

#labelforlanguage .lang-option-ar {
    opacity: 0;
    transform: translateY(18px) scale(.7);
    font-family: "Thmanyah Serif Display", "Thmanyah Sans", Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.7rem
}

#switchforlanguage:checked+#labelforlanguage .lang-option-en {
    opacity: 0;
    transform: translateY(-18px) scale(.7)
}

#switchforlanguage:checked+#labelforlanguage .lang-option-ar {
    opacity: 1;
    transform: translateY(0) scale(1)
}

.blog-article-page .blog-post-body {
    max-width: 820px;
    width: 100%;
    font-size: 2rem;
    line-height: 1.85
}

.blog-article-page .blog-post-body h2 {
    margin-top: 76px;
    margin-bottom: 26px;
    line-height: 1.2
}

.blog-article-content .essay-preview h2,
.blog-article-content .essay-more > h2 {
    width: 100%;
    border-top: 1px solid rgba(221, 221, 221, .16);
    padding-top: 48px
}

.light-mode .blog-article-content .essay-preview h2,
.light-mode .blog-article-content .essay-more > h2 {
    border-top-color: rgba(0, 0, 0, .14)
}

.blog-article-page .blog-post-body p {
    margin-bottom: 24px
}

.blog-article-content[hidden] {
    display: none
}

.blog-article-page.blog-article-arabic-mode {
    direction: rtl
}

.blog-article-page.blog-article-arabic-mode .text-content,
.blog-article-page.blog-article-arabic-mode .blog-post-body,
.blog-article-page.blog-article-arabic-mode .blog-post-body h2,
.blog-article-page.blog-article-arabic-mode .blog-post-body p,
.blog-article-page.blog-article-arabic-mode .blog-meta {
    direction: rtl;
    text-align: right
}

.blog-article-page.blog-article-arabic-mode #name,
.blog-article-page.blog-article-arabic-mode .blog-post-body h2 {
    font-family: "Thmanyah Serif Display", "Thmanyah Sans", Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.35;
    padding-bottom: .16em
}

.blog-article-page.blog-article-arabic-mode .blog-post-body,
.blog-article-page.blog-article-arabic-mode .blog-card-description,
.blog-article-page.blog-article-arabic-mode .blog-meta {
    font-family: "Thmanyah Serif Text", "Thmanyah Sans", Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif
}

.essay-more {
    overflow: hidden;
    transition: max-height .65s ease, opacity .45s ease
}

.essay-more[hidden] {
    display: none
}

.essay-more:not([hidden]) {
    animation: essayReveal .55s ease
}

.essay-fade {
    height: 120px;
    margin-top: -70px;
    pointer-events: none;
    position: relative;
    background: linear-gradient(to bottom, rgba(17, 17, 27, 0), var(--color-dark-mode) 76%)
}

.light-mode .essay-fade {
    background: linear-gradient(to bottom, rgba(236, 231, 225, 0), var(--color-dark-mode) 76%)
}

.blog-expand-actions,
.references-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 34px 0 20px
}

.blog-expand-button,
.references-toggle {
    width: 220px;
    height: 44px
}

.blog-article-page .blog-expand-button .letsTalkBtn-text,
.blog-article-page .references-toggle .letsTalkBtn-text {
    margin: 0;
    color: #000;
    background-color: rgba(230, 230, 230, .466)
}

.blog-source-quote,
.blog-pull-quote {
    position: relative;
    margin: 42px 0;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    transition: transform .3s, box-shadow .3s, border-color .3s
}

.blog-source-quote:hover,
.blog-pull-quote:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 197, 248, .45);
    box-shadow: 0 0 45px rgba(128, 0, 255, .12)
}

.blog-source-quote p,
.blog-pull-quote p {
    margin: 0;
    color: var(--color-white)
}

.blog-source-quote p {
    font-style: italic
}

.blog-source-quote cite {
    display: block;
    margin-top: 16px;
    font-family: fira code;
    font-size: 1.3rem;
    color: var(--color-light-blue);
    font-style: normal
}

.blog-pull-quote {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-image: none;
    text-align: inherit
}

.blog-pull-quote:hover {
    transform: none;
    box-shadow: none
}

.blog-pull-quote p {
    font-size: inherit;
    line-height: inherit;
    font-weight: 800;
    color: var(--color-ddd-color);
    background-image: none;
    -webkit-text-fill-color: currentColor;
    animation: none;
    margin-bottom: 0
}

.blog-article-link,
.ref-link {
    color: var(--color-light-blue);
    text-decoration: underline;
    text-decoration-color: rgba(107, 197, 248, .45);
    text-underline-offset: 4px;
    transition: color .3s, text-decoration-color .3s
}

.blog-article-link:hover,
.ref-link:hover,
.blog-article-link:focus-visible,
.ref-link:focus-visible {
    color: var(--color-light-purple);
    text-decoration-color: var(--color-light-purple)
}

.ref-link {
    font-size: .78em;
    font-family: fira code;
    margin-inline-start: 2px
}

.blog-references {
    margin-top: 80px;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid var(--tech-stack-box-border-color);
    background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    box-shadow: 0 0 60px rgba(128, 0, 255, .1)
}

.blog-references h2 {
    margin-top: 0
}

.blog-references-intro {
    color: var(--color-ddd-color);
    font-size: 1.6rem
}

.blog-references ol {
    margin: 24px 0 0;
    padding-inline-start: 24px
}

.blog-references li {
    margin-bottom: 16px;
    color: var(--color-ddd-color);
    line-height: 1.65
}

.blog-references a {
    color: var(--color-light-blue);
    text-decoration: underline;
    text-underline-offset: 4px
}

.references-list.collapsed .reference-extra {
    display: none
}

.references-list:not(.collapsed) .reference-extra {
    animation: essayReveal .35s ease
}

@keyframes essayReveal {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media screen and (max-width:768px) {
    .blog-article-page .blog-post-body {
        font-size: 1.85rem
    }

}

@media screen and (max-width:500px) {
    .blog-source-quote,
    .blog-references {
        padding: 24px;
        border-radius: 24px
    }

    .blog-article-page .blog-post-body {
        font-size: 1.75rem;
        line-height: 1.8
    }
}

@media screen and (max-width:998px) {
    .blog-section,
    .blog-post-section {
        width: 80%
    }

    .blog-card {
        flex-direction: column;
        min-height: auto
    }

    .blog-image-div,
    .blog-info-div {
        width: 100%;
        min-height: auto
    }

    .blog-image-div {
        min-height: 360px
    }
}

@media screen and (max-width:768px) {
    .blog-section,
    .blog-post-section {
        width: 80%
    }

    .blog-cards-div {
        padding: 40px 0
    }

    .blog-card-heading,
    .blog-modal-title {
        font-size: 3rem
    }

    .blog-modal-card {
        padding: 30px
    }
}

@media screen and (max-width:500px) {
    .blog-section,
    .blog-post-section {
        width: 88%
    }

    .blog-section-container,
    .blog-post-section-container {
        padding: 100px 0
    }

    .blog-image-div {
        min-height: 260px;
        padding: 20px
    }

    .blog-image-div img,
    .blog-image-div button {
        min-height: 220px
    }

    .blog-info-div {
        padding: 30px
    }

    .blog-meta {
        font-size: 1.25rem
    }

    .blog-card-heading,
    .blog-modal-title {
        font-size: 2.6rem
    }

    .blog-modal-overlay {
        padding: 18px
    }

    .blog-modal-card {
        padding: 24px
    }
}
