/* font-family: "heisei-maru-gothic-std",
sans-serif;
font-weight: 400;
font-style: normal;

font-family: "heisei-maru-gothic-std",
sans-serif;
font-weight: 800;
font-style: normal; */

/* -----------------------------
    Global Styles
----------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: white;
}

/* -----------------------------
        Navbar
  ----------------------------- */
.navbar {
    position:absolute;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5vw;
    /* adjust for visibility over video */
    backdrop-filter: blur(6px);
    margin: 0;
    /* important: remove any side margin */
}

.logo {

    height: 60px;
    margin-left: 5cap;
    transform: rotate(30deg);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    /* font-weight: 700; */
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}

.nav-links a:hover {
    background-color: #ffffff;
    color: #0049D1;
}

.cta {
    background-color: #ffffff;
    color: #0049D1;
    padding: 10px 24px;
    font-size: 16px;
    /* font-weight: 700; */
    border-radius: 16px;
}

/* -----------------------------
        Hero Section
  ----------------------------- */
.hero {
    /* padding:40px 60px 100px; */
    background: white;
    /* border: 3px solid red; */
    gap: 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

/* ==================
specifically hero gif
===================== */
.illustration-hero {
    display: flex;
    align-items: flex-start;
    /* aligns the inner .svg-snap to the top */
    justify-content: center;
}

/* Prevent global .illustration rules from overriding it */
@media (min-width: 769px) {
    .illustration-hero {
        align-items: flex-start;
    }
}

/* -----------------------------
        Intro Section
  ----------------------------- */
.intro {
    flex: 1;
    font-size: 36px;
    font-family: Poppins;
    font-weight: 400;
    /* border: 3px solid yellow; */
    width: 582px;
}

.intro p {
    margin: 0 0 10px 0;
}

.subtitle {
    font-size: 36px;
    margin-top: 0px;
    text-align: center;
    font-weight: 400;
}

.name {
    font-size: 80px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
}

.asterisk {
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* -----------------------------
        Illustration
  ----------------------------- */
.illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    /* border: solid yellowgreen; */
    margin-top: 0;
    /* <- add this explicitly */
}

.illustration img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* border: solid green; */
}

/* ------------
gif svgs 
*/


.svg-snap {
    width: 400px;
    height: 400px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

/* Base frame styling */
.svg-snap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    opacity: 0;

    /* preload animation, but don't start it */
    animation-duration: 3s;
    animation-timing-function: steps(1);
    animation-iteration-count: infinite;
    animation-play-state: paused;
}

/* Frame 1 shows by default */
.frame-1 {
    opacity: 1;
}

/* Apply keyframes but pause them until hover */
.frame-1 {
    animation-name: showFrame1;
}

.frame-2 {
    animation-name: showFrame2;
}

.frame-3 {
    animation-name: showFrame3;
}

/* On hover, run the animations */
.svg-snap:hover .frame {
    animation-play-state: running;
}


/* status chips */
.status-chip {
    display: inline-block;
    background-color: #005eff71;
    /* warm yellow */
    color: #ffffff;
    /* dark text for contrast */
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25em 0.75em;
    border-radius: 999px;
    /* fully rounded pill shape */
    letter-spacing: 0.5px;
    user-select: none;
    /* no accidental text highlight */
}

.status-chip.unready {
    font-family: "Arial Black";
    display: inline-block;
    background-color: #ff4800;
    /* warm yellow */
    color: #ffffff;
    /* dark text for contrast */
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25em 0.75em;
    border-radius: 999px;
    /* fully rounded pill shape */
    letter-spacing: 0.5px;
    user-select: none;
    /* no accidental text highlight */
}

/* SPARK project layout  */

.featured-project.SPARK .project-image img {
    margin-top: 5em;
    /* or a % like 80% */
    height: auto;
    /* keeps original proportions */
    /* makes sure nothing is cropped */
    display: block;
    /* removes inline spacing issues */
    max-width: 100%;
    /* responsive safeguard */
    width: 100%;
    object-fit: cover;
}

/* LAMP project layout  */
.status-chip .LAMP {
    font-family: Poppins;
    display: inline-block;
    background-color: #005eff71;
    /* warm yellow */
    color: #ffffff;
    /* dark text for contrast */
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25em 0.75em;
    border-radius: 999px;
    /* fully rounded pill shape */
    letter-spacing: 0.5px;
    user-select: none;
    /* no accidental text highlight */
}

@keyframes showFrame1 {

    0%,
    33.333% {
        opacity: 1;
    }

    33.334%,
    100% {
        opacity: 0;
    }
}

@keyframes showFrame2 {

    0%,
    33.333% {
        opacity: 0;
    }

    33.334%,
    66.666% {
        opacity: 1;
    }

    66.667%,
    100% {
        opacity: 0;
    }
}

@keyframes showFrame3 {

    0%,
    66.666% {
        opacity: 0;
    }

    66.667%,
    100% {
        opacity: 1;
    }
}

/* ~~~~~~~~~~~~~~~
background images.     
~~~~~~~~~~~~~~~~~~ */

/* starting */
.starting-background {
    background-size: contain;
    background-image: url("/assets/starting_blank.png");
    /* background-position: center; */
    background-repeat: no-repeat;
    /* border: solid red; */


    width: 100vw;
    background-position: top center;
    background-size: 100% auto;
    /* shows full-width torn edge */


}

/* middle with repeat bacground */
.pattern-bgrnd {
    background-image: url("../assets/full-blank.png");
    background-repeat: repeat;
    background-color: #f8f8f8;
    min-height: 100vh;
}


/* final */
.penultimate-section {
    background-image: url("../assets/ending_blank.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100vw;
    background-position: bottom center;
    background-size: 100% auto;
}


/* ~~~~~~~~~~~~~
doodle overlays!
~~~~~~~~~~~~~~*/
.doodle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* higher than background but lower than navbar/text */
    pointer-events: none;
    /* allows clicking 'through' the doodles */
}

.doodle-overlay img {
    position: absolute;
    opacity: 0.2;
    /* adjust how subtle/strong your doodles are */
    width: 100px;
    /* or however big */
}

.doodle-overlay img:nth-child(1) {
    top: 20%;
    left: 10%;
}

.doodle-overlay img:nth-child(2) {
    bottom: 15%;
    right: 5%;
}

/* ~~~~~~~~~~
fav projects 
~~~~~~~~~~~*/

/* default projet layout */
.featured-project {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-project.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    max-width: 500px;
    aspect-ratio: 1 / 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-text {
    flex: 1;
    max-width: 500px;
}

.project-role {
    text-transform: lowercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #999999;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: Poppins;
    font-size: 2rem;
    font-weight: 600;
    color: #0049D1;
    margin-bottom: 1rem;
}

.project-description {
    font-family: Poppins;
    font-weight: 200;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
}

.project-link {
    font-weight: bold;
    font-size: 1rem;
    color: #0049D1;
    text-decoration: none;
    position: relative;
}

.project-link::after {
    content: "⌯⌲";
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.project-link:hover::after {
    transform: translateX(4px);
}


/* Pedrito project layout  */

.featured-project.Pedrito {
    font-family: 'Arial', sans-serif;
    font-style: normal;
}

.featured-project.Pedrito .project-title .pedrito {
    font-family: "subway-paris-std", sans-serif;
    color: #000000;
    text-transform: uppercase;
    font-size:100px;
}

.featured-project.Pedrito .project-title .thepanther {
    font-family: "Arial", sans-serif;
    text-transform:uppercase;
    font-weight: 400;
    color: #444;
    display: block;
}
.featured-project.Pedrito.project-role {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    font-style: normal;
}

.featured-project.Pedrito .project-description {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* THE BIGO   */

.featured-project.THEBIGO {
    font-family: 'Doto', sans-serif;
}

.featured-project.THEBIGO .project-title {
    font-family: 'Tiny5', sans-serif;
}

.featured-project.THEBIGO.project-role {
    font-family: 'Pixelify Sans', sans-serif;
    color: #999;
}

.featured-project.THEBIGO .project-description {
    font-family: 'Doto', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 900;

    color: #444;
}

/* PRINCIPLES OF OBJECT ORINETED PROGRAMMING */

.featured-project.OOP .project-image img {
    margin-top: 5em;
    /* or a % like 80% */
    height: auto;
    /* keeps original proportions */
    /* makes sure nothing is cropped */
    display: block;
    /* removes inline spacing issues */
    max-width: 100%;
    /* responsive safeguard */
    width: 100%;
    object-fit: cover;
}

/* Pedrito project layout  */

.featured-project.OOP {
    font-family:"Gaegu", sans-serif;
    font-style: normal;
}

.featured-project.OOP .project-title  {
    font-family: "Gaegu", sans-serif;
    color: #000000;
    text-transform: uppercase;
}

.featured-project.OOP.project-role {
    font-family: 'Gaegu', sans-serif;
    font-weight: 900;
    font-style: normal;
}

.featured-project.OOP .project-description {
    font-family: 'Gaegu', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}


/* ===========
FOOTERSTYLING
=============*/

.footer-daisy {
    width: 100px;
    /* or try 80px */
    height: auto;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.9;
    /* optional: make it more subtle */
}

.minimal-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 5vw;
    color: #444;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.minimal-footer a {
    color: #444;
    text-decoration: none;
    margin-left: 16px;
    display: inline-block;
}

.minimal-footer a:hover {
    text-decoration: underline;
}

.footer-left {
    max-width: 60%;
}

.footer-update {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* ~~~~~~~~~~~~
responsivity!!! -> for mobile and stuf yayay
~~~~~~~~~~~~~ */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro h1 {
        font-size: 48px;
    }

    .nav-links {
        gap: 12px;
    }

    .illustration {
        margin-top: 20px;
    }
}

.illustration {
    margin-top: 20px;
    align-self: center;
}

/* video header stuff */

.video-header {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 80%, white 100%);
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translateY(-40%);
    z-index: -1;
}

.overlay-text p {
    z-index: 1;
    color: rgb(255, 255, 255);
    font-family: Poppins;
    padding-top: 140px;

}

.overlay-text h1 {
    color: rgb(255, 255, 255);
    font-size: 3rem;
    margin: 0;
    font-family: "Poppins";
}

.overlay-text h2 {
    color: rgb(255, 255, 255);
    /* font-size: 3rem; */
    margin: 0;
    font-family: "Poppins";
}

.typewriter {
    display: inline-block;
    border-right: 2px solid #ffffff;
    /* the caret */
    white-space: nowrap;
    /* keep text on one line */
    overflow: hidden;
    /* hide overflow while typing */
}
@keyframes blinkCaret {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: rgb(255, 255, 255);
    }
}

.typewriter {
    animation: blinkCaret 0.75s step-end infinite;
}