@font-face {
    font-family: 'Hagrid';
    src: url('hagrid_font/Hagrid-Regular-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Root Variables */
:root {
    --bg-color: #e5e5e3;
    /* Very light grainy grey feel */
    --text-color: #1a1a1a;
    --accent-color: #f7b731;
    /* Vibrant warm yellow */
    --polaroid-bg: #fdfdfd;
    --polaroid-border: #d2d2d2;
    --nav-glass-bg: rgba(255, 255, 255, 0.5);
    --nav-glass-border: rgba(255, 255, 255, 0.4);
    --section-gap: clamp(16rem, 22vh, 24rem);
}

body.dark-mode {
    --bg-color: #151515;
    /* Dark background */
    --text-color: #f2f2f2;
    --nav-glass-bg: rgba(30, 30, 30, 0.5);
    --nav-glass-border: rgba(255, 255, 255, 0.05);
    /* Keeping accent color same (yellow) so it pops! */
    /* Polaroid frame keeps its original light color */
}


/* Subtle SVG Noise Grain Texture applied to body */
body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    opacity: 0.25;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 10;
    animation: static-noise 0.2s steps(4) infinite;
    transform-origin: center;
    scale: 1.5; /* Increased scale to cover corners during rotation */
}

/* Custom cursor removed as per request */

@keyframes static-noise {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

/* Base Styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Space Mono', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-transform: none;
}

::selection {
    background-color: var(--accent-color);
    color: white;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 1rem;
    margin: 1rem 5rem;
    z-index: 1000;
    background-color: var(--nav-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--nav-glass-border);
    border-radius: 100px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.5rem 0.75rem 1.75rem;
    font-weight: 700;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 120px;
    z-index: 20;
}

.logo img {
    display: block;
    height: 46px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    margin-left: 0.5rem;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Hamburger animation when active */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo-dark {
    display: none !important;
}

body.dark-mode .logo-light {
    display: none !important;
}

body.dark-mode .logo-dark {
    display: block !important;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    z-index: 20;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

body.homepage nav a {
    font-family: 'Hagrid', sans-serif !important;
    font-weight: 400;
    font-size: 1.05rem; /* Slightly larger for Hagrid */
    text-transform: none;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--accent-color);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
    transition: color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--accent-color);
}

.theme-toggle svg {
    pointer-events: none;
}

.moon-icon {
    display: none;
    fill: #fdf5d3;
    /* Soft yellowish color for moon */
    color: #fdf5d3;
}

body.dark-mode .sun-icon {
    display: none;
}

body.dark-mode .moon-icon {
    display: block;
}

/* Main Content Wrapper */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 20;
    /* Keeps content above noise */
}

.footer-copyright {
    margin-top: 5rem;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.5;
    letter-spacing: 1px;
    font-family: 'Space Mono', monospace;
    text-transform: none;
}

/* Hero Section */
.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(5rem, 8vw, 10rem);
    max-width: 1400px;
    min-height: 85vh; /* Pushes Works section off initial view */
    margin-top: 5rem;
}

/* Polaroid Flip Card */
.polaroid-wrapper {
    perspective: 1200px;
}

.polaroid-flipcard {
    position: relative;
    width: clamp(294px, 22vw, 420px);
    height: clamp(432px, 32vw, 617px);
    transform-style: preserve-3d;
    transform: rotate(-3deg);
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.polaroid-wrapper:hover .polaroid-flipcard {
    transform: rotate(0deg) rotateY(180deg);
}

.polaroid-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* .polaroid-front sits at default rotation — no transform needed */

.polaroid-back {
    transform: rotateY(180deg);
}

.polaroid {
    background: var(--polaroid-bg);
    padding: clamp(12px, 1vw, 20px) clamp(12px, 1vw, 20px) clamp(70px, 5.5vw, 100px) clamp(12px, 1vw, 20px);
    border: 1px solid var(--polaroid-border);
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.12), 0px 2px 5px rgba(0, 0, 0, 0.06);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.image-crop {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px inset rgba(0, 0, 0, 0.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Typography Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap to move buttons closer to top */
    max-width: 450px;
    transform: translateX(-1rem);
}

.info-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.8rem 0;
    letter-spacing: 1.5px;
}

body.homepage .hero-heading {
    font-family: 'Hagrid', sans-serif !important;
    font-weight: 400;
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    margin: 0 0 1rem 0;
    white-space: nowrap;
    text-transform: none; /* Hagrid looks better in mixed case as per your ref */
    color: #1a1a1a;
}

.info-block p {
    margin: 0;
    font-size: clamp(1.05rem, 1.4vw, 1.4rem);
    line-height: 1.7;
    letter-spacing: 0.5px;
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif; /* Added Helvetica World */
    color: #1a1a1a;
    text-transform: none; /* Changed to mixed case */
}

.highlight-orange {
    color: inherit;
}

body.dark-mode .hero-heading,
body.dark-mode .info-block p {
    color: #ffffff;
}

body.dark-mode .highlight-orange {
    color: inherit;
}

/* Buttons */
.buttons-row {
    display: flex;
    gap: 1rem;
    margin-top: 0rem; /* Moved bit more to top */
}

.btn {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    text-transform: none; /* Changed to mixed case */
}

.btn:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-primary {
    font-family: 'Hagrid', sans-serif !important; /* Resume button font */
}

.btn-icon {
    padding: 0.4rem 0.6rem;
}

/* Work Section */
.work-section {
    width: 100%;
    max-width: 1100px;
    margin-top: var(--section-gap);
    /* Space between hero and work */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section {
    width: 100%;
    max-width: 1100px;
    margin-top: 15rem; /* Increased further down as requested */
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.about-card {
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
}

.about-media {
    width: 100%;
    min-height: 720px;
    border: none;
    background: transparent;
}

.section-title {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    font-weight: 700;
}

body.homepage .work-section .section-title {
    font-family: 'Hagrid', sans-serif !important;
    font-weight: 400;
    text-transform: none;
}

body.homepage .about-section .section-title {
    font-family: 'Hagrid', sans-serif !important;
    font-weight: 400;
    text-transform: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: stretch;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: #111;
    cursor: pointer;
    aspect-ratio: 1592 / 1034;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    /* remove old border/padding */
    border: none;
    padding: 0;
    display: block;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Image fills entire card */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    margin: 0;
    border-radius: 16px;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.07);
    filter: brightness(0.45);
}

.project-img-branding {
    object-fit: contain;
    transform: none;
    background: #111;
}

.project-card-branding:hover .project-img-branding {
    transform: none;
}

/* Placeholder fills entire card like an image */
.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    opacity: 0.4;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 16px;
    transition: filter 0.4s ease;
}

.project-card:hover .project-img-placeholder {
    filter: brightness(0.45);
}

body.dark-mode .project-img-placeholder {
    background: rgba(255, 255, 255, 0.05);
}

/* Hover overlay with text */
.project-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.75rem 1.75rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    border-radius: 16px;
}

.project-card:hover .project-info {
    opacity: 1;
    transform: translateY(0);
}

.project-info h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.15rem;
    letter-spacing: 0.4px;
    font-weight: 700;
    color: #fff;
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif;
}

.project-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif;
}

/* Footer Section */
.footer-text {
    margin-top: 7rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #8c8c8c;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(8px);
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 300;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dinely-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 250;
    padding: 1.25rem;
}

.dinely-modal.show {
    display: flex;
}

.dinely-modal-card {
    width: min(560px, 100%);
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--nav-glass-border);
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.dinely-modal-card h3 {
    margin: 0 0 0.6rem 0;
    font-family: 'Hagrid', sans-serif !important;
    font-size: 1.35rem;
    font-weight: 400;
}

.dinely-modal-card p {
    margin: 0 0 1rem 0;
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif;
    line-height: 1.7;
}

/* Responsiveness */
@media (max-width: 900px) {
    header {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        top: 1rem !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0.75rem 1rem !important;
        z-index: 10001 !important;
    }

    .logo {
        min-width: 100px;
    }

    .logo img {
        height: 38px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .polaroid-flipcard {
        width: 220px !important;
        height: 320px !important;
    }

    .polaroid {
        padding: 10px 10px 50px 10px !important;
    }

    .hero-container {
        gap: 2rem;
        flex-direction: column;
        text-align: center;
        margin-top: 6rem; /* Move polaroid down on phone */
        align-items: center; /* Center flex items horizontally */
    }

    .info-section {
        align-items: center !important;
        text-align: center !important;
        transform: none !important; /* Remove desktop offset */
        max-width: 100% !important;
    }

    .info-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-heading {
        white-space: normal !important;
        text-align: center !important;
    }

    .info-block p {
        text-align: center !important;
    }

    .buttons-row {
        justify-content: center !important;
    }

    /* Floating Navbar Rectangle */
    #main-nav {
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        width: auto;
        min-width: 160px;
        background-color: var(--nav-glass-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid var(--nav-glass-border);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transform-origin: top right;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1000;
    }

    #main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    #main-nav a {
        font-family: 'Hagrid', sans-serif !important;
        font-size: 1rem;
        color: var(--text-color) !important;
        text-transform: none;
        letter-spacing: 0.5px;
    }

    .theme-toggle {
        margin-right: 0.5rem; /* Closer to hamburger icon */
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem; /* Larger gap for larger icons */
    }

    .project-card {
        /* Make "rectangle icons" more prominent/bigger */
    }

    .about-section {
        margin-top: 8rem !important; /* Reduced massive gap between works and about */
    }

    .contact-section {
        margin-top: 2rem !important; /* Reduced space after flipbook */
        padding-top: 1rem !important;
    }

    .contact-heading {
        margin-bottom: 2rem !important;
        font-size: clamp(2rem, 10vw, 3rem) !important; /* Slightly smaller for phone */
    }
    
    #butterfly-wrapper {
        left: -2rem; 
        top: 4rem;
        transform: scale(0.6);
    }
}

/* === Interactive Flipbook Styles === */
#flipbook-scroll-area {
    margin-top: 0; /* Resetting negative margin so the 15rem jump applies accurately */
    height: 180vh; /* This dictates how long the scroll animation lasts */
    position: relative;
    width: 100%;
}

#flipbook-sticky-wrapper {
    position: sticky;
    top: 4.5rem; /* Slightly closer to header */
    height: calc(100vh - 4.5rem);
    display: flex;
    flex-direction: column; /* Stack heading and book vertically */
    align-items: stretch; /* Allows children to define their own alignment safely */
    justify-content: flex-start; /* Keep them tightly glued to the top */
    gap: 0;
    overflow: visible;
    padding-top: 0.5rem; /* Reduced from 2rem */
}

#book-viewport {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 480px; /* Reduced from 600px to remove height slack */
    display: flex;
    align-items: flex-start; /* Attaches the book to the top closest to the title */
    justify-content: center;
    padding-top: 4rem; /* Increased padding to give the book more breathing room below the title */
    padding-left: 2rem; /* Decreased from 5rem to 2rem as requested */
}

#book-shift {
    position: relative;
    width: 0; /* Spine position */
    height: 100%; /* Stretch vertically */
    /* Remove transition to prevent fighting the scroll-driven transform */
}

#book {
    position: relative;
    width: 320px; /* Adjust based on your image aspect ratio */
    height: 450px;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.book-page {
    position: absolute;
    top: 0; /* Align to parent top */
    width: 320px;
    height: 450px;
    background: transparent; /* Remove white background */
    box-shadow: none; /* Removed heavy shadow to keep it clean */
    transform-origin: left center;
}

#page-right {
    left: 0;
    z-index: 1;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}

#book-cover {
    left: 0;
    z-index: 2;
    transform-style: preserve-3d;
    /* Remove transition to prevent fighting the scroll-driven transform */
    border-radius: 0 10px 10px 0;
}

.page-side {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.side-front {
    z-index: 2;
    border-radius: 0 10px 10px 0;
}

.side-back {
    transform: rotateY(180deg);
    z-index: 1;
    border-radius: 10px 0 0 10px;
    background: transparent;
}

.book-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply; /* Makes white background of PNGs transparent */
}

/* Page Curviness/Shadow Effect on Open */
#book-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
    pointer-events: none;
    backface-visibility: hidden;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #book, .book-page {
        width: 260px;
        height: 360px;
    }
}

/* === Contact Section Styles === */
.contact-section {
    width: 100%;
    margin-top: clamp(3rem, 5vh, 5rem); /* Reduced distance */
    padding: 4rem 1rem 8rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-heading {
    font-family: 'Hagrid', sans-serif !important;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 400;
    margin: 0 0 4rem 0;
    letter-spacing: -1px;
    color: var(--accent-color);
}

.contact-email {
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif;
    font-size: 0.95rem;
    color: #a0a0a0;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--accent-color);
}

.contact-socials {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0; /* Removed bottom margin since nothing sits beneath it anymore */
}

.contact-socials a {
    font-family: 'Helvetica World', 'Helvetica', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-socials a:hover {
    color: var(--accent-color);
}

body:not(.dark-mode) .contact-email,
body:not(.dark-mode) .contact-socials a {
    color: #555;
}

/* === Casual Butterfly Animation === */
#butterfly-wrapper {
    position: fixed;
    top: 2rem; /* Start near logo */
    left: 5rem;
    z-index: 15;
    pointer-events: none;
    animation: flyAcross 30s linear infinite; /* Non-stop casual flying! */
}

#casual-butterfly {
    width: 800px; /* Increased size as requested */
    height: auto;
}

@keyframes flyAcross {
    0%   { transform: translate(0vw, 0vh) rotate(15deg); }
    12%  { transform: translate(15vw, 20vh) rotate(-10deg); }
    25%  { transform: translate(30vw, -5vh) rotate(20deg); }
    38%  { transform: translate(50vw, 30vh) rotate(-15deg); }
    50%  { transform: translate(80vw, 50vh) rotate(10deg); } /* Stays more visible on the right */
    50.01%{ transform: translate(80vw, 70vh) scaleX(-1) rotate(15deg); } /* Flips to face left */
    62%  { transform: translate(60vw, 50vh) scaleX(-1) rotate(-10deg); }
    75%  { transform: translate(35vw, 65vh) scaleX(-1) rotate(20deg); }
    88%  { transform: translate(10vw, 40vh) scaleX(-1) rotate(-15deg); }
    100% { transform: translate(0vw, 0vh) scaleX(-1) rotate(10deg); } /* Loops back */
}
