/* ==========================================================================
   1. FONTS & IMPORTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

@font-face {
    font-family: 'PIXY';
    src: url('/Assets/PIXY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. BASE & RESET STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #d8dfe6;
    overflow-x: hidden;
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 70px;
    z-index: 1000;
    background: #c7cfd8;
}

.logo {
    font-family: 'PIXY', sans-serif;
    font-size: 48px;
    color: #151418;
}

.logo-link {
    font-family: 'PIXY', sans-serif;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 80px;
}

.nav-links a {
    font-family: 'PIXY', sans-serif;
    font-size: 28px;
    color: #151418;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #D49963;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #151418;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animated Hamburger X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero {
    padding-top: 60px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #d8dfe6;
}

/* Hero Left Content */
.hero-left {
    position: absolute;
    left: 70px;
    top: 18vh;
    display: flex;
    z-index: 20;
}

.left-line {
    width: 5px;
    height: 470px;
    background: #444;
    margin-right: 35px;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}

.hero-title {
    font-family: 'PIXY', sans-serif;
    font-size: 32px;
    color: #151418;
}

.hero-name {
    margin-top: 12px;
    font-family: 'Poiret One', sans-serif;
    font-size: 48px;
    color: #D49963;
}

.hero-role {
    margin-top: 20px;
    font-family: 'PIXY', sans-serif;
    font-size: 24px;
    color: #151418;
}

.hero-description {
    margin-top: 40px;
    width: 100%;
    max-width: 560px;
    line-height: 1.5;
    font-size: 24px;
    font-family: 'Poiret One', sans-serif;
    color: #151418;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 45px;
    display: flex;
    gap: 25px;
}

.btn {
    width: 180px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'PIXY', sans-serif;
    font-size: 20px;
    color: white;
    box-shadow: 8px 8px rgba(0, 0, 0, .15);
    transition: .25s;
    border-style: none;
}

.btn:hover {
    transform: translateY(-5px);
}

.linkedin {
    background: #8BC8F4;
}

.github {
    background: #D49963;
}

/* Hero Availability Badge */
.availability {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.eyes {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.eyes img {
    width: 100%;
    height: 100%;
    display: block;
}

.status-content {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-family: 'PIXY', sans-serif;
    font-size: 14px;
    color: #8BC8F4;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.availability-text {
    font-family: 'Poiret One', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #6c9abb;
}

/* Hero Right Side */
.hero-right {
    position: absolute;
    right: 0;
    width: 58%;
    height: 100vh;
    overflow: hidden;
}

.profile {
    position: absolute;
    width: 900px;
    top: -60px;
    right: -1;
    z-index: 2;
}

/* Hero Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    cursor: pointer;
}

.scroll-down img {
    width: 70px;
    opacity: .55;
    animation: floatArrow 2s ease-in-out infinite;
    transition: .3s;
}

.scroll-down:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */

.about {
    min-height: 100vh;
    background: #d8dfe6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 90px 80px 40px;
}

/* About Left Column */
.about-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-me {
    width: 520px;
    max-width: 100%;
}

/* Tech Stack */
.tech-stack {
    width: 100%;
    max-width: 320px;
    margin-top: 40px;
    margin-left: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.tech-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    animation-delay: .2s;
}

.tech-icon:nth-child(2) {
    animation-delay: .8s;
}

.tech-icon:nth-child(3) {
    animation-delay: 1.5s;
}

.tech-icon:nth-child(4) {
    animation-delay: 2.2s;
}

.tech-icon:nth-child(5) {
    animation-delay: 1.1s;
}

.tech-icon:nth-child(6) {
    animation-delay: 2.8s;
}

.tech-icon:nth-child(7) {
    animation-delay: 3.4s;
}

.tech-icon img {
    width: 50px;
    height: 50px;
    opacity: .75;
    cursor: pointer;
    transition: transform .3s ease, opacity .3s ease, filter .3s ease;
}

.tech-icon:hover img {
    transform: scale(1.18);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .18));
}

/* About Divider */
.about-divider {
    width: 5px;
    height: 700px;
    background: #444;
    margin-top: 60px;
    flex-shrink: 0;
}

/* About Right Column */
.about-right {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-text {
    width: 95%;
    max-width: 760px;
    font-family: 'Poiret One', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.45;
    color: #151418;
}

.highlight {
    color: #D49963;
    font-weight: bold;
}

/* Quick Facts */
.quick-facts {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 520px;
}

.fact {
    padding: 20px;
    background: rgba(255, 255, 255, .15);
    border-left: 4px solid #D49963;
    box-shadow: 8px 8px rgba(0, 0, 0, .08);
    transition: .25s;
}

.fact:hover {
    transform: translateY(-4px);
}

.fact-title {
    display: block;
    font-family: 'PIXY', sans-serif;
    font-size: 28px;
    color: #777;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.fact-value {
    display: block;
    font-family: 'Poiret One', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #151418;
}

/* Learning Card */
.learning-card {
    margin-top: 45px;
    width: 100%;
    max-width: 520px;
    padding: 20px 24px;
    border-left: 4px solid #8BC8F4;
    background: rgba(255, 255, 255, .12);
    transition: .25s;
    box-shadow: 8px 8px rgba(0, 0, 0, .08);
}

.learning-card:hover {
    transform: translateY(-4px);
}

.learning-title {
    font-family: 'PIXY', sans-serif;
    font-size: 20px;
    color: #151418;
    margin-bottom: 18px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: #45D26A;
    animation: pulse 1.8s infinite;
}

.learning-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.learning-item:last-child {
    margin-bottom: 0;
}

.icon {
    font-size: 22px;
}

.learning-item span:last-child {
    font-family: 'Poiret One', sans-serif;
    font-size: 22px;
    font-weight: bold;
}

/* ==========================================================================
   6. PROJECTS SECTION
   ========================================================================== */


.projects {
    min-height: 100vh;
    background: #d8dfe6;
    padding: 120px 70px 80px;
}

.project-category {
    margin-bottom: 90px;
}

.category-title {
    font-size: 52px;
    font-family: 'Poiret One', sans-serif;
    font-weight: 400;
    margin-bottom: 12px;
}

.light-text {
    color: #7fa7c8;
}

.light-text-2 {
    color: #D49963;
}

.highlight-blue {
    color: #8BC8F4;
    font-family: 'PIXY', sans-serif;
}

.highlight-orange {
    color: #D49963;
    font-family: 'PIXY', sans-serif;
}

.category-subtitle {
    font-family: 'Poiret One', sans-serif;
    font-size: 24px;
    color: #151418;
    margin-bottom: 36px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 40px;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: #8a8a8a;
    box-shadow: 10px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
}

.project-card.blue {
    border-left: 5px solid #8BC8F4;
}

.project-card.orange {
    border-left: 5px solid #D49963;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 14px 14px rgba(0, 0, 0, 0.14);
}

.project-image,
.project-placeholder {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.project-placeholder {
    background: radial-gradient(circle, #9a9a9a 0%, #7f7f7f 100%);
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.project-arrow {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'PIXY', sans-serif;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 1px;
    transform: translateX(16px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card:hover .project-arrow {
    transform: translateX(0);
    opacity: 1;
}

.project-name {
    font-family: 'PIXY', sans-serif;
    font-size: 44px;
    line-height: 1.05;
    color: #d7efff;
    max-width: 90%;
}

.project-card.orange .project-name {
    color: #f0d2b4;
}

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

@media (max-width: 1024px) {
    .projects {
        padding: 110px 40px 70px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 42px;
    }

    .project-name {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .projects {
        padding: 100px 24px 60px;
    }

    .category-title {
        font-size: 34px;
    }

    .category-subtitle {
        font-size: 20px;
    }

    .project-name {
        font-size: 28px;
    }

    .project-arrow {
        font-size: 22px;
    }
}

/* ==========================
        07.CONTACT
========================== */

.contact {
    min-height: 100vh;
    background: #d8dfe6;
    padding: 85px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 20px;
}

.contact-left {
    flex: 1;
    max-width: 720px;
}

.contact-title {
    font-family: 'PIXY', sans-serif;
    font-size: 44px;
    color: #151418;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-message {
    font-family: 'Poiret One', sans-serif;
    font-size: 26px;
    line-height: 1.35;
    color: #D49963;
    font-weight: 600;
    margin-bottom: 24px;
}

.availability-card {
    width: 430px;
    background: rgba(255, 255, 255, .12);
    padding: 30px;
    margin-top: 40px;
    box-shadow: 10px 10px rgba(0, 0, 0, .12);
}

.availability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability-small {
    font-family: 'Poiret One', sans-serif;
    font-size: 28px;
    color: #151418;
}

.availability-heading {
    font-family: 'PIXY', sans-serif;
    font-size: 42px;
    color: #151418;
    margin-top: 8px;
}

.availability-eyes {
    width: 64px;
    height: 64px;
}

.availability-divider {
    width: 100%;
    height: 2px;
    background: rgba(21, 20, 24, .35);
    margin: 22px 0;
}

.availability-list {
    list-style: none;
}

.availability-list li {
    font-family: 'Poiret One', sans-serif;
    font-size: 24px;
    color: #151418;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.contact-grid {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-card {
    padding: 35px;
    text-decoration: none;
    color: #151418;
    box-shadow: 8px 8px rgba(0, 0, 0, .18);
    transition: transform .25s ease,
        box-shadow .25s ease;
}

.contact-card.blue {
    background: #8BC8F4;
}

.contact-card.orange {
    background: #D49963;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 12px 12px rgba(0, 0, 0, .18);
}

.contact-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'PIXY', sans-serif;
    font-size: 24px;
}

.contact-icon {
    font-size: 24px;
}

.contact-card-text {
    font-family: 'Poiret One', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #151418;
    line-height: 1.3;
    word-break: break-word;
}

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

.footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    background: #8BC8F4;
    border-top: 6px solid #D49963;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 24px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-text {
    font-family: 'Poiret One', sans-serif;
    font-size: 28px;
    color: #151418;
}

.footer-name {
    font-family: 'PIXY', sans-serif;
    font-size: 42px;
    color: #151418;
    letter-spacing: 1px;
}

.footer-line {
    width: 460px;
    max-width: 80vw;
    border-top: 3px dashed #151418;
    opacity: .8;
}

/* Desktop: no break before GOUDRU */
.footer-break {
    display: none;
}

/* ==========================
        RESPONSIVE
========================== */

@media (max-width: 1200px) {

    .hero-left {
        left: 40px;
        top: 14vh;
    }

    .left-line {
        margin-right: 25px;
        height: 420px;
    }

    .hero-name {
        font-size: 40px;
    }

    .hero-description {
        font-size: 20px;
        max-width: 480px;
        margin-top: 25px;
    }

    .hero-buttons {
        margin-top: 30px;
    }

    .profile {
        width: 700px;
        top: -40px;
    }

    .about {
        gap: 50px;
        padding: 90px 40px 50px;
    }

    .about-left {
        width: 48%;
    }

    .about-right {
        width: 48%;
    }

    .about-divider {
        height: 600px;
    }

    .about-text {
        font-size: 26px;
    }

    .contact-top {
        flex-direction: column;
    }

    .availability-card {
        width: 100%;
        max-width: 520px;
    }

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

@media (max-width: 850px) {
    .navbar {
        padding: 12px 28px;
    }

    .logo {
        font-size: 36px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #b7c1cd;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 45px;
        transition: right 0.35s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 32px;
    }
}

@media (max-width: 992px) {

    .hero {
        height: 100vh;
        min-height: 550px;
        padding: 90px 40px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .hero-left {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        z-index: 20;
    }

    .left-line {
        height: auto;
        align-self: stretch;
    }

    .hero-right {
        display: none;
    }

    .scroll-down {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }

    .about {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 90px 40px 60px;
        min-height: auto;
    }

    .about-left {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .about-me {
        max-width: 440px;
    }

    .tech-stack {
        margin-left: 0;
        margin-top: 30px;
    }

    .about-divider {
        display: none;
    }

    .about-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .about-text {
        width: 100%;
        font-size: 26px;
        text-align: center;
    }

    .quick-facts {
        width: 100%;
        max-width: 560px;
        margin-top: 35px;
    }

    .learning-card {
        width: 100%;
        max-width: 560px;
        margin-top: 35px;
        text-align: left;
    }
}

@media (max-width: 700px) {

    .hero {
        padding: 90px 20px 40px;
    }

    .left-line {
        width: 4px;
        margin-right: 18px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-name {
        font-size: 30px;
        margin-top: 8px;
    }

    .hero-role {
        font-size: 18px;
        margin-top: 12px;
    }

    .hero-description {
        font-size: 18px;
        margin-top: 20px;
        line-height: 1.45;
    }

    .hero-buttons {
        margin-top: 25px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .btn {
        width: 140px;
        height: 48px;
        font-size: 16px;
    }

    .availability {
        margin-top: 25px;
        gap: 10px;
    }

    .availability-text {
        font-size: 18px;
    }

    .scroll-down img {
        width: 50px;
    }

    .about {
        padding: 80px 20px 50px;
    }

    .about-me {
        max-width: 320px;
    }

    .tech-stack {
        width: 100%;
        gap: 18px;
        margin-top: 24px;
    }

    .tech-icon img {
        width: 42px;
        height: 42px;
    }

    .about-text {
        font-size: 22px;
        line-height: 1.4;
    }

    .quick-facts {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .fact {
        padding: 16px;
    }

    .fact-title {
        font-size: 22px;
    }

    .fact-value {
        font-size: 16px;
    }

    .learning-card {
        margin-top: 28px;
        padding: 18px 20px;
    }

    .contact {
        padding: 70px 24px 0;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-message {
        font-size: 26px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .availability-heading {
        font-size: 32px;
    }

    .footer-name {
        font-size: 40px;
    }

    .footer-text {
        font-size: 24px;
    }

    /* Push GOUDRU to next line on mobile */
    .footer-break {
        display: block;
        width: 100%;
    }
}

/* ==========================================================================
   KEYFRAMES & ANIMATIONS
   ========================================================================== */

@keyframes floatArrow {
    0% {
        transform: translateY(0);
        opacity: .45;
    }

    50% {
        transform: translateY(12px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: .45;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(69, 210, 106, .6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(69, 210, 106, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(69, 210, 106, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

.wave-name {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.wave-name span {
    display: inline-block;
    animation: letterWave 1.8s ease-in-out infinite;
}

/* Stagger each letter */
.wave-name span:nth-child(1) {
    animation-delay: 0s;
}

.wave-name span:nth-child(2) {
    animation-delay: 0.10s;
}

.wave-name span:nth-child(3) {
    animation-delay: 0.15s;
}

.wave-name span:nth-child(4) {
    animation-delay: 0.20s;
}

.wave-name span:nth-child(5) {
    animation-delay: 0.25s;
}

.wave-name span:nth-child(6) {
    animation-delay: 0.30s;
}

.wave-name span:nth-child(7) {
    animation-delay: 0.35s;
}

.wave-name span:nth-child(8) {
    animation-delay: 0.40s;
}

.wave-name span:nth-child(9) {
    animation-delay: 0.45s;
}

.wave-name span:nth-child(10) {
    animation-delay: 0.50s;
}

.wave-name span:nth-child(11) {
    animation-delay: 0.55s;
}

.wave-name span:nth-child(12) {
    animation-delay: 0.60s;
}

.wave-name span:nth-child(13) {
    animation-delay: 0.65s;
}

.wave-name span:nth-child(14) {
    animation-delay: 0.70s;
}

.wave-name span:nth-child(15) {
    animation-delay: 0.75s;
}

.wave-name span:nth-child(16) {
    animation-delay: 0.80s;
}

.wave-name span:nth-child(17) {
    animation-delay: 0.85s;
}

.wave-name span:nth-child(18) {
    animation-delay: 0.90s;
}

.wave-name span:nth-child(19) {
    animation-delay: 0.95s;
}

@keyframes letterWave {

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

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

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(4px);
    }
}

.wave-name {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.wave-name span {
    display: inline-block;
    transform-origin: bottom center;
    animation: cartoonJump 3s infinite;
}

/* Stagger each letter */
.wave-name span:nth-child(1) {
    animation-delay: 0s;
}

.wave-name span:nth-child(2) {
    animation-delay: 0.06s;
}

.wave-name span:nth-child(3) {
    animation-delay: 0.12s;
}

.wave-name span:nth-child(4) {
    animation-delay: 0.18s;
}

.wave-name span:nth-child(5) {
    animation-delay: 0.24s;
}

.wave-name span:nth-child(6) {
    animation-delay: 0.30s;
}

.wave-name span:nth-child(7) {
    animation-delay: 0.36s;
}

.wave-name span:nth-child(8) {
    animation-delay: 0.42s;
}

.wave-name span:nth-child(9) {
    animation-delay: 0.48s;
}

.wave-name span:nth-child(10) {
    animation-delay: 0.54s;
}

.wave-name span:nth-child(11) {
    animation-delay: 0.60s;
}

.wave-name span:nth-child(12) {
    animation-delay: 0.66s;
}

.wave-name span:nth-child(13) {
    animation-delay: 0.72s;
}

.wave-name span:nth-child(14) {
    animation-delay: 0.78s;
}

.wave-name span:nth-child(15) {
    animation-delay: 0.84s;
}

.wave-name span:nth-child(16) {
    animation-delay: 0.90s;
}

.wave-name span:nth-child(17) {
    animation-delay: 0.96s;
}

.wave-name span:nth-child(18) {
    animation-delay: 1.02s;
}

.wave-name span:nth-child(19) {
    animation-delay: 1.08s;
}

@keyframes cartoonJump {

    /* idle */
    0%,
    100% {
        transform: translateY(0) scale(1, 1);
    }

    /* squash before jump */
    10% {
        transform: translateY(2px) scale(1.15, .82);
    }

    /* launch upward */
    25% {
        transform: translateY(-18px) scale(.92, 1.15);
    }

    /* fall back */
    40% {
        transform: translateY(0) scale(1.05, .92);
    }

    /* tiny bounce */
    55% {
        transform: translateY(-6px) scale(.98, 1.03);
    }

    /* settle */
    70% {
        transform: translateY(0) scale(1, 1);
    }
}

