/* =========================================================
   RABINDRA KUMAR SAH
   DEVELOPER + DESIGNER PORTFOLIO
========================================================= */

:root {

    /* LIGHT THEME */

    ---bg: #08090c;
    --bg-secondary: #0d0f13;
    --surface: #111318;
    --surface-hover: #171a21;

    --text: #111111;
    --text-soft: #2b2b2b;

    --muted: #6b6b6b;
    --border: #d8d5cd;

    --accent: #7c3aed;
    --accent-dark: #7c3aed;

    --dark-section: #111111;
    --dark-border: #303030;

    --container: 1420px;

    --font-main: "DM Sans", sans-serif;
    --font-display: "Space Grotesk", sans-serif;

    --transition: 0.3s ease;
}


/* =========================================================
   DARK THEME
========================================================= */

body.dark-mode {

    --bg: #0d0f12;
    --surface: #15171b;
    --surface-2: #202328;

    --text: #f4f4f4;
    --text-soft: #dddddd;

    --muted: #a0a0a0;
    --border: #303238;

    --dark-section: #08090b;
    --dark-border: #292b30;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--font-main);

    background: var(--bg);
    color: var(--text);

    overflow-x: hidden;

    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {

    width: min(100% - 40px, var(--container));
    margin-inline: auto;

    width: 100%;
    max-width: var(--container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: color-mix(in srgb,
            var(--bg) 92%,
            transparent);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid transparent;

    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {

    width: 100%;
    max-width: var(--container);

    height: 76px;

    margin: auto;

    padding: 0 30px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: var(--font-display);

    font-size: 20px;

    font-weight: 700;
}

.logo>span:first-child {

    width: 37px;
    height: 37px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--text);

    color: var(--bg);

    font-size: 15px;
}

.logo-name {
    letter-spacing: -0.05em;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links a {

    position: relative;

    font-size: 13px;

    font-weight: 500;

    color: var(--muted);

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   THEME BUTTON
========================================================= */

.theme-toggle {

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--text);

    border-radius: 50%;

    display: grid;

    place-items: center;

    cursor: pointer;

    transition: var(--transition);
}

.theme-toggle:hover {

    background: var(--text);

    color: var(--bg);

    transform: rotate(15deg);
}


/* =========================================================
   DESIGNER SWITCH
========================================================= */

.designer-switch {

    height: 40px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 16px;

    background: var(--text);

    color: var(--bg);

    border-radius: 100px;

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.designer-switch:hover {

    background: var(--accent);

    color: white;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {

    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--text);

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {

    position: fixed;

    top: 76px;

    left: 0;

    width: 100%;

    padding: 30px;

    background: var(--bg);

    border-bottom: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    gap: 20px;

    transform: translateY(-120%);

    opacity: 0;

    transition: 0.4s ease;

    z-index: 999;
}

.mobile-menu.active {

    transform: translateY(0);

    opacity: 1;
}

.mobile-menu a {

    font-family: var(--font-display);

    font-size: 20px;
}

.mobile-designer {

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 100vh;

    padding-top: 130px;

    padding-bottom: 90px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;
}

.hero-bg-text {

    position: absolute;

    right: -100px;

    bottom: -50px;

    font-family: var(--font-display);

    font-size: clamp(160px, 20vw, 320px);

    font-weight: 700;

    color: rgba(127, 127, 127, 0.045);

    pointer-events: none;

    white-space: nowrap;
}

.hero-container {

    width: 100%;

    display: grid;

    grid-template-columns: 1.08fr 0.92fr;

    gap: 80px;

    align-items: center;
}

.eyebrow {

    margin-bottom: 24px;

    color: var(--accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.hero h1 {

    max-width: 800px;

    font-family: var(--font-display);

    font-size: clamp(60px, 6vw, 92px);

    line-height: 0.9;

    letter-spacing: -0.075em;
}

.hero h1 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1.7px var(--text);
}

.hero-description {

    max-width: 580px;

    margin-top: 32px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 32px;
}

.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 19px;

    border: 1px solid var(--text);

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);
}

.btn-dark {

    background: var(--text);

    color: var(--bg);
}

.btn-dark:hover {

    background: var(--accent);

    border-color: var(--accent);

    color: white;

    transform: translateY(-3px);
}

.btn-outline:hover {

    background: var(--text);

    color: var(--bg);
}

.hero-meta {

    display: flex;

    gap: 40px;

    margin-top: 55px;
}

.hero-meta div {

    display: flex;

    flex-direction: column;

    gap: 4px;
}

.hero-meta strong {

    font-family: var(--font-display);

    font-size: 18px;
}

.hero-meta span {

    color: var(--muted);

    font-size: 10px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    width: 100%;

    max-width: 450px;

    margin-left: auto;

    position: relative;
}

.visual-card {

    aspect-ratio: 0.82;

    padding: 24px;

    background: var(--dark-section);

    color: white;

    position: relative;

    overflow: hidden;

    box-shadow: 22px 22px 0 var(--accent);
}

.visual-card::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.16);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.visual-card::after {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.07);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.visual-top,
.visual-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: 0.15em;
}

.visual-center {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;
}

.visual-initial {

    position: relative;

    z-index: 2;

    font-family: var(--font-display);

    font-size: 170px;

    font-weight: 700;

    color: transparent;

    -webkit-text-stroke: 2px white;
}

.circle-text {

    position: absolute;

    font-size: 9px;

    letter-spacing: 0.4em;

    color: rgba(255, 255, 255, 0.55);

    animation: rotateText 18s linear infinite;
}

@keyframes rotateText {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.visual-bottom {

    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 24px;
}

.floating-tag {

    position: absolute;

    padding: 9px 13px;

    background: var(--surface);

    color: var(--text);

    border: 1px solid var(--border);

    font-size: 10px;

    font-weight: 700;

    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.08);
}

.tag-one {

    top: 15%;

    left: -25px;
}

.tag-two {

    right: -25px;

    top: 42%;
}

.tag-three {

    left: -15px;

    bottom: 15%;
}


/* =========================================================
   MARQUEE
========================================================= */

.marquee {

    overflow: hidden;

    padding: 15px 0;

    background: var(--accent);

    color: white;

    transform: rotate(-1deg) scale(1.02);
}

.marquee-track {

    width: max-content;

    display: flex;

    gap: 45px;

    animation: marquee 25s linear infinite;
}

.marquee span {

    white-space: nowrap;

    font-family: var(--font-display);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.12em;
}

@keyframes marquee {

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


/* =========================================================
   SECTION
========================================================= */

.section {

    padding: 135px 0;
}

.section-label {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 65px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.section-label span {
    color: var(--accent);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--surface);
}


/* NEW ABOUT GRID */

.about-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}


/* =========================================================
   ABOUT IMAGE
========================================================= */

.about-image-wrapper {

    position: relative;

    max-width: 420px;

    margin: auto;
}

.about-image-frame {

    position: relative;

    padding: 12px;

    background: var(--bg);

    border: 1px solid var(--border);

    box-shadow: 15px 15px 0 var(--accent);
}

.about-image {

    width: 100%;

    aspect-ratio: 0.9;

    object-fit: cover;

    object-position: center top;

    display: block;

    filter: grayscale(12%);

    transition: 0.5s ease;
}

.about-image-frame:hover .about-image {

    filter: grayscale(0);

    transform: scale(1.015);
}


/* IMAGE DECORATION */

.image-corner {

    position: absolute;

    width: 35px;
    height: 35px;

    border-color: var(--accent);

    pointer-events: none;
}

.image-corner.top-left {

    top: 2px;
    left: 2px;

    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
}

.image-corner.bottom-right {

    right: 2px;
    bottom: 2px;

    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
}

.about-image-label {

    display: flex;

    justify-content: space-between;

    margin-top: 18px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.15em;

    color: var(--muted);
}


/* =========================================================
   ABOUT CONTENT
========================================================= */

.about-content {

    max-width: 650px;
}

.about-content h2 {

    font-family: var(--font-display);

    font-size: clamp(50px, 5.2vw, 75px);

    line-height: 0.92;

    letter-spacing: -0.07em;

    margin-bottom: 35px;
}

.about-content h2 em {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1.5px var(--text);

    font-style: normal;
}

.large-text {

    font-family: var(--font-display);

    font-size: 23px;

    line-height: 1.4;

    margin-bottom: 24px;
}

.about-content p:not(.large-text) {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 18px;
}

.about-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 25px;
}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--text);

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);
}

.text-link:hover {

    color: var(--accent);

    border-color: var(--accent);
}


/* =========================================================
   EXPERIENCE
========================================================= */

.section-label {
    color: #fff;
    font: bold;
    font-size: large;
}

.experience {

    background: var(--bg);
}

.experience-list {

    border-top: 1px solid var(--border);
}

.experience-item {

    display: grid;

    grid-template-columns: 80px 1fr;

    padding: 42px 0;

    border-bottom: 1px solid var(--border);
}

.experience-number {

    color: var(--accent);

    font-family: var(--font-display);

    font-size: 13px;

    font-weight: 700;
}

.experience-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;
}

.experience-heading h3 {

    font-family: var(--font-display);

    font-size: 28px;

    letter-spacing: -0.04em;
}

.experience-heading p {

    margin-top: 6px;

    color: var(--muted);

    font-size: 13px;
}

.experience-heading>span {

    padding: 7px 12px;

    background: var(--surface-2);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.experience-main>p {

    max-width: 750px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

.experience-tags,
.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.experience-tags span,
.project-tags span {

    padding: 7px 10px;

    border: 1px solid var(--border);

    font-size: 9px;

    font-weight: 600;
}


/* =========================================================
   SKILLS
========================================================= */

.skills {

    background: var(--dark-section);

    color: white;
}

.skills .section-label {
    color: #888;
}

.skills-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    margin-bottom: 60px;
}

.skills-header h2,
.projects-header h2 {

    font-family: var(--font-display);

    font-size: clamp(55px, 6.5vw, 85px);

    line-height: 0.9;

    letter-spacing: -0.07em;
}

.skills-header h2 span {

    color: transparent;

    -webkit-text-stroke: 1.5px white;
}

.skills-header p {

    max-width: 350px;

    color: #888;

    line-height: 1.7;

    font-size: 14px;
}

.skills-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--dark-border);

    border-left: 1px solid var(--dark-border);
}

.skill-card {

    min-height: 245px;

    padding: 27px;

    border-right: 1px solid var(--dark-border);

    border-bottom: 1px solid var(--dark-border);

    transition: var(--transition);
}

.skill-card:hover {

    background: #181a1e;

    transform: translateY(-4px);
}

.skill-index {

    display: block;

    margin-bottom: 45px;

    color: #555;

    font-size: 10px;
}

.skill-card i {

    display: block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 29px;
}

.skill-card h3 {

    font-family: var(--font-display);

    font-size: 19px;

    margin-bottom: 9px;
}

.skill-card p {

    color: #888;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects {

    background: var(--surface);
}

.projects-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    margin-bottom: 75px;
}

.projects-header h2 span {

    color: transparent;

    -webkit-text-stroke: 1.5px var(--text);
}

.projects-header p {

    max-width: 360px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

.project-list {

    display: flex;

    flex-direction: column;

    gap: 80px;
}

.project-card {

    padding-top: 22px;

    border-top: 1px solid var(--border);

    transition: transform 0.25s ease;
}

.project-number {

    margin-bottom: 22px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 700;
}

.project-content {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 65px;

    align-items: center;
}

.project-type {

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.project-info h3 {

    margin-bottom: 23px;

    font-family: var(--font-display);

    font-size: clamp(40px, 4.5vw, 65px);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.project-info h3 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1.5px var(--text);
}

.project-info>p:not(.project-type) {

    max-width: 510px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}

.project-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 27px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--text);

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.project-link:hover {

    color: var(--accent);

    border-color: var(--accent);
}

.project-visual {

    min-height: 440px;

    display: grid;

    place-items: center;

    overflow: hidden;

    position: relative;
}

.project-purple {
    background: #ded8ff;
}

.project-orange {
    background: #ffddd0;
}

.project-blue {
    background: #dce6ff;
}

.project-green {
    background: #d9f2e5;
}

.code-window {

    width: 72%;

    background: #111;

    color: white;

    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.12);

    transform: rotate(2deg);

    transition: 0.5s ease;
}

.project-card:hover .code-window {

    transform: rotate(0) scale(1.03);
}

.window-bar {

    display: flex;

    gap: 6px;

    padding: 12px;

    border-bottom: 1px solid #333;
}

.window-bar span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #777;
}

.code-lines {

    padding: 30px 22px;

    font-family: monospace;

    font-size: 11px;

    line-height: 2.4;
}

.code-lines b {

    margin-right: 13px;

    color: #555;
}

.code-lines i {

    color: var(--accent);

    font-style: normal;
}

.gesture-display {

    width: 65%;
    height: 65%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: rgba(255, 255, 255, 0.4);

    border: 2px solid #111;

    transform: rotate(-5deg);

    transition: 0.5s ease;
}

.project-card:hover .gesture-display {

    transform: rotate(0) scale(1.04);
}

.hand-icon {

    margin-bottom: 18px;

    font-size: 75px;
}

.gesture-display span {

    font-size: 9px;

    letter-spacing: 0.2em;
}

.gesture-display strong {

    font-family: var(--font-display);

    font-size: 32px;
}

.flight-card {

    width: 70%;

    padding: 40px 28px;

    background: white;

    color: #111;

    box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.1);

    transform: rotate(4deg);

    transition: 0.5s ease;
}

.project-card:hover .flight-card {

    transform: rotate(0);
}

.flight-card>span {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.flight-route {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 35px 0;
}

.flight-route strong {

    font-family: var(--font-display);

    font-size: 40px;
}

.flight-route i {
    color: var(--accent);
}

.flight-card small {

    color: #777;

    font-size: 8px;

    letter-spacing: 0.15em;
}

.chat-display {

    width: 70%;

    padding: 32px;

    background: white;

    box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.1);

    transform: rotate(-3deg);

    transition: 0.5s ease;
}

.project-card:hover .chat-display {

    transform: rotate(0);
}

.chat-message {

    width: max-content;

    max-width: 80%;

    padding: 11px 15px;

    margin-bottom: 13px;

    background: #eee;

    color: #111;

    font-size: 11px;
}

.chat-message.right {

    margin-left: auto;

    background: #111;

    color: white;
}


/* =========================================================
   CREATIVE SECTION
========================================================= */

.creative-section {

    padding: 135px 0;

    background: var(--accent);

    color: white;

    overflow: hidden;
}

.creative-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.creative-copy h2 {

    max-width: 650px;

    font-family: var(--font-display);

    font-size: clamp(55px, 6.5vw, 85px);

    line-height: 0.9;

    letter-spacing: -0.07em;
}

.creative-copy h2 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1.5px white;
}

.creative-copy>p:not(.eyebrow) {

    max-width: 550px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;

    line-height: 1.8;
}

.creative-button {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-top: 32px;

    padding: 14px 19px;

    background: white;

    color: #111;

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.creative-button:hover {

    transform: translateY(-4px);

    box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.15);
}

.creative-shapes {

    min-height: 450px;

    position: relative;
}

.shape {

    position: absolute;

    border: 2px solid white;
}

.shape-one {

    width: 270px;
    height: 270px;

    right: 20px;
    top: 50px;

    transform: rotate(15deg);
}

.shape-two {

    width: 270px;
    height: 270px;

    right: 100px;
    top: 100px;

    background: #111;

    border: 0;

    transform: rotate(-10deg);
}

.shape-three {

    width: 145px;
    height: 145px;

    right: 180px;
    bottom: 30px;

    border-radius: 50%;

    background: white;

    border: 0;
}

.creative-label {

    position: absolute;

    right: 95px;
    top: 180px;

    z-index: 2;

    font-family: var(--font-display);

    font-size: 23px;

    font-weight: 700;

    line-height: 1;

    text-align: center;

    transform: rotate(-10deg);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    background: var(--bg);
}

.contact-content {

    display: grid;

    grid-template-columns: 1fr 0.75fr;

    gap: 90px;

    align-items: end;
}

.contact-content h2 {

    font-family: var(--font-display);

    font-size: clamp(65px, 8vw, 115px);

    line-height: 0.84;

    letter-spacing: -0.08em;
}

.contact-content h2 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1.5px var(--text);
}

.contact-action>p:first-child {

    max-width: 380px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

.email-button {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    background: var(--text);

    color: var(--bg);

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);
}

.email-button:hover {

    background: var(--accent);

    color: white;

    transform: translateY(-4px);
}

.email-address {

    margin-top: 13px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background: var(--dark-section);

    color: white;

    padding: 32px 0;
}

.footer-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;
}

.footer-logo {

    font-family: var(--font-display);

    font-size: 20px;

    font-weight: 700;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {

    display: flex;

    gap: 25px;
}

.footer-links a,
.footer-container>p {

    color: #777;

    font-size: 10px;
}

.footer-links a:hover {
    color: white;
}


/* =========================================================
   BACK TOP
========================================================= */

.back-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border: 0;

    background: var(--text);

    color: var(--bg);

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);

    z-index: 100;
}

.back-top.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.back-top:hover {

    background: var(--accent);

    color: white;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    :root {
        --container: 1420px;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: grid;
        place-items: center;
    }

    .hero-container {

        grid-template-columns: 1fr;

        gap: 70px;
    }

    .hero-visual {

        margin: auto;
    }

    .about-grid {

        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

    .skills-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .project-content {

        grid-template-columns: 1fr;
    }

    .project-visual {

        min-height: 400px;
    }

    .creative-container {

        grid-template-columns: 1fr;
    }

    .contact-content {

        grid-template-columns: 1fr;

        gap: 55px;
    }
}


/* =========================================================
   LAPTOP / SMALL SCREEN
========================================================= */

@media (max-width: 800px) {

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .designer-switch span {
        display: none;
    }

    .designer-switch {

        width: 40px;
        height: 40px;

        justify-content: center;

        padding: 0;
    }

    .hero {

        padding-top: 115px;

        min-height: auto;
    }

    .hero h1 {

        font-size: clamp(52px, 13vw, 80px);
    }

    .hero-description {

        font-size: 14px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .btn {

        justify-content: center;
    }

    .about-grid {

        grid-template-columns: 1fr;
    }

    .about-image-wrapper {

        width: min(100%, 400px);

        margin-bottom: 25px;
    }

    .about-content h2 {

        font-size: 55px;
    }

    .experience-item {

        grid-template-columns: 50px 1fr;
    }

    .experience-heading {

        flex-direction: column;
    }

    .skills-header,
    .projects-header {

        flex-direction: column;

        align-items: flex-start;
    }

    .creative-shapes {

        min-height: 350px;
    }

    .contact-content h2 {

        font-size: 70px;
    }

    .footer-container {

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {

        flex-direction: column;

        gap: 10px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-container {
        padding: 0 18px;
    }

    .logo-name {
        display: none;
    }

    .hero {

        padding-top: 105px;

        padding-bottom: 70px;
    }

    .hero h1 {

        font-size: 52px;
    }

    .hero h1 span {

        -webkit-text-stroke-width: 1px;
    }

    .hero-meta {

        gap: 20px;

        margin-top: 45px;
    }

    .hero-visual {

        width: 90%;
    }

    .floating-tag {
        display: none;
    }

    .visual-card {

        box-shadow: 12px 12px 0 var(--accent);
    }

    .section {

        padding: 90px 0;
    }

    .section-label {

        margin-bottom: 45px;
    }

    .about-content h2 {

        font-size: 48px;
    }

    .large-text {

        font-size: 20px;
    }

    .skills-grid {

        grid-template-columns: 1fr;
    }

    .skill-card {

        min-height: 210px;
    }

    .project-info h3 {

        font-size: 48px;
    }

    .project-visual {

        min-height: 300px;
    }

    .creative-copy h2 {

        font-size: 52px;
    }

    .creative-shapes {

        transform: scale(0.75);

        transform-origin: center;
    }

    .contact-content h2 {

        font-size: 57px;
    }

    .about-actions {

        flex-direction: column;

        align-items: flex-start;
    }

}