:root {
    --black: #303030;
    --beige: #fcf1d9;
    --blue: #4668f7;
    --orange: #ef9d70;
    --green: #adcf77;
    --cyan: #29abe2;
    --yellow: #fcee21;
    --magenta: #ed1e79;
    --travels_font: "tt-travels-next-outline", sans-serif;
    --early-sans_font: "early-sans-variable", sans-serif;
    --ease: cubic-bezier(0.77, 0, 0.175, 1);
    --dur: 380ms;
}

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

html {
    background-color: var(--beige);
    color: var(--black);
    font-size: 100%;
    font-family: var(--travels_font);
    font-kerning: 0.5pt;
    word-spacing: 0.5pt;
    letter-spacing: 0.2pt;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    cursor: url('img/Pointer_White.svg'), auto;
}

.page-wraper {
    margin: 0;
    padding: 0;
}

section {
    margin: 0;
    padding: 0;
    width: 90vw;
    height: 75vh;
    position: absolute;
    align-content: center;
    top: 0.01%;
    left: 2%;
    background-color: var(--beige);
}

h1 {
    font-size: 125px;
    font-weight: 100;
    text-align: center;
    margin: 0;
    padding: 0;
    cursor: url('img/Pointer_Green_Opacity.svg'), auto;
}

h2 {
    font-size: 30px;
    font-weight: 100;
    margin: 5px;
    cursor: url('img/Pointer_Orange_Opacity.svg'), auto;
}

p {
    width: 100%;
    font-family: var(--early-sans_font);
    font-weight: 100;
    font-size: 12pt;
    color: var(--black);
    margin: 0;
    padding: 5px;
    position: relative;
    text-align: left;
    line-height: 14pt;
    cursor: url('img/Pointer_Blue_Opacity.svg'), auto;
}

a {
    text-decoration: none;
    color: var(--black);
}

article {
    width: 90vw;
    height: 60vh;
    margin: 0;
    align-content: center;
}

.blue {
    display: flex;
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--cyan);
    border-radius: 50%;
    z-index: 20;
}

.background-green.sticky, div.background-blue.sticky, div.background-orange.sticky, div.background-empty.sticky  {
    position: sticky;
    margin-top: 50px;
}

@media screen and (max-width: 1200px) {
    h1 {
        font-size:100px;
    }
    h2 {
        font-size: 25px;
    }
    p {
        font-size: 12px;
    }
    nav {
        font-size: 12px;
    }
}

/* ─── ONLY SHOWN ON PHONE (≤ 716px) ──────────────────────────── */
/*phone navigation*/

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

    header {
        border-radius: 0 0 16pt 16pt;
        padding: 0 16px;
    }

    .nav-pill {
        width: 88vw;
        max-width: 300px;
    }

    nav ul li{
       margin-right: 5px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 25px;
    }

    p {
        font-size: 10px;
    }

    img {
        width: 10%;
        height: 50%;
    }
    .projects article {
        flex-direction: column;
    }

    .projects img {
        flex-basis: 52vh;
    }

    div.buble.buble-right {
        display: none;
    }

    div.buble.buble-left {
        width: 50px;
    }

}

/* navigation bar*/
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background-color: var(--beige);
    border-bottom: 0.25pt solid var(--black);
    border-radius: 0 0 20pt 20pt;
    z-index: 100;
}

nav {
    overflow: hidden;
    width: 100%;
    height: 50px;
    top: 0;
    left: 191px;
    right: 285px;
}

li {
    display: inline;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
}

nav ul li {
    font-family: var(--travels_font);
    font-weight: 200;
    font-style: normal;
    font-size: 10pt;
}

nav ul li a {
    text-decoration: none;
}

.dropdown {
  float: left;
}

.dropdown .dropdownbtn {
  font-size: 10pt;
  background-color: inherit;
  font-family: inherit;
}

.dropdown-content {
  display: none;
  position: absolute;

}

.dropdown-content a {
  float: none;
  text-align: left;
}

.buble {
    border: var(--black) solid 0.25pt;
    fill: none;
    border-radius: 20pt;
    height: 100%;
    padding-top: 0;
    padding-right: 55px;
    padding-left: 55px;
}

div.buble.buble-left {
    width: 300px;
}

div.buble.buble-right {
    width: 600px;
}

div.buble.buble-left p, div.buble.buble-right p {
    text-align: center;
    font-family: "tt-travels-next", sans-serif;
    font-weight: 100;
    font-size: 6pt;
    align-items: center;
    margin-top: 15px;
    padding: 0;
}

/* ─── HAMBURGER BUTTON ────────────────────────────────────────── */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 1.5px;
    background: var(--black);
    border-radius: 2px;
    transform-origin: right center;
    transition:
        transform var(--dur) var(--ease),
        opacity   var(--dur) var(--ease),
        width     var(--dur) var(--ease);
}

.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 24px; }

/* Hamburger → X when nav is open */
.nav-open .hamburger span:nth-child(1) {
    transform: rotate(-45deg) translate(1px, 0);
}
.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-open .hamburger span:nth-child(3) {
    transform: rotate(45deg) translate(1px, 0);
}

/* ─── OVERLAY BACKDROP ────────────────────────────────────────── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(48, 48, 48, 0);
    z-index: 150;
    pointer-events: none;
    transition: background var(--dur) var(--ease);
}

.nav-open .nav-overlay {
    background: rgba(48, 48, 48, 0.35);
    pointer-events: auto;
}

/* ─── FULL-SCREEN SLIDE-DOWN MENU ─────────────────────────────── */
.nav-drawer {
    position: fixed;
    inset: 0;
    background-color: var(--beige);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 50px;
    transform: translateY(-100%);
    transition: transform var(--dur) var(--ease);
}

.nav-open .nav-drawer {
    transform: translateY(0);
}

/* close button inside drawer */
.nav-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 4px 8px;
    font-family: Georgia, serif;
}

.nav-close:hover { opacity: 1; }

/* ─── PILL LINKS  (matches your .buble style) ─────────────────── */
.nav-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 48px;
    border: 0.25pt solid var(--black);
    border-radius: 20pt;
    font-family: var(--travels_font);
    font-weight: 200;
    font-size: 10pt;
    letter-spacing: 0.5pt;
    color: var(--black);
    text-decoration: none;
    transition:
        background 0.2s,
        color      0.2s,
        border-color 0.2s;

    /* stagger-in defaults */
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity   300ms var(--ease),
        transform 300ms var(--ease),
        background 0.2s,
        color      0.2s,
        border-color 0.2s;
}

.nav-pill:hover {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: var(--magenta);
}

/* staggered reveal when nav opens */
.nav-open .nav-pill:nth-child(1) { opacity: 1; transform: none; transition-delay:  60ms; }
.nav-open .nav-pill:nth-child(2) { opacity: 1; transform: none; transition-delay: 100ms; }
.nav-open .nav-pill:nth-child(3) { opacity: 1; transform: none; transition-delay: 140ms; }
.nav-open .nav-pill:nth-child(4) { opacity: 1; transform: none; transition-delay: 180ms; }
.nav-open .nav-pill:nth-child(5) { opacity: 1; transform: none; transition-delay: 220ms; }
.nav-open .nav-pill:nth-child(6) { opacity: 1; transform: none; transition-delay: 260ms; }

@media screen and (min-width: 717px) {

    .hamburger  { display: none; }
    .nav-drawer { display: none; }
    .nav-overlay { display: none; }

    header {
        justify-content: space-between;
    }

}
/* end of navigation bar*/

/*landing page*/

/* ─── ANIMATED BACKGROUND BLOBS ───────────────────────────────── */
.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.blob-magenta {
    width: 50px;
    height: 50px;
    background-color: var(--magenta);
    top: 200px;
    left: 80px;
    animation: blob-m 8s cubic-bezier(.17,.67,.83,.67) infinite alternate;
}

.blob-cyan {
    width: 50px;
    height: 50px;
    background-color: var(--cyan);
    top: 400px;
    left: 60vw;
    animation: blob-c 5s ease infinite alternate;
}

.blob-yellow {
    width: 50px;
    height: 50px;
    background-color: var(--yellow);
    border-radius: 50%;
    top: 120px;
    left: 50vw;
    animation: blob-y 10s ease-in infinite alternate;
}

@keyframes blob-m {
    0%   { top: 200px; left: 80px;  border-radius: 50%; }
    50%  { top: 400px; left: 55vw;  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
    100% { top: 120px; left: 70vw;  border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%;
           width: 160px; height: 160px; }
}

@keyframes blob-c {
    0%   { top: 400px; left: 60vw; border-radius: 50%; }
    50%  { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
    100% { top: 120px; left: 8vw;  border-radius: 80% 50% 70% 70% / 90% 90% 50% 60%;
           width: 160px; height: 160px; }
}

@keyframes blob-y {
    0%   { top: 120px; left: 50vw; }
    50%  { top: 300px; left: 20vw; }
    100% { top: 500px; left: 65vw; }
}

/*end of landing page*/

div.background-empty {
    background-color: var(--beige);
    border-radius: 50px;
    width: 99vw;
    height: 90vh;
    margin: 0;
    position: relative;
    cursor: url('img/Pointer_White.svg'), auto;
}

div.background-green {
    background-color: var(--beige);
    border: solid 10px;
    border-radius: 50px;
    border-color: var(--yellow);
    width: 99vw;
    height: 90vh;
    left: 5px;
    top: 50px;
    margin: 0;
    position: relative;
    z-index: 2;
    cursor: url('img/Pointer_Orange.svg'), auto;
}

div.background-blue {
    background-color: var(--beige);
    border: solid 10px;
    border-radius: 50px;
    border-color: var(--cyan);
    width: 99vw;
    height: 90vh;
    left: 5px;
    top: 50px;
    margin: 0;
    position: relative;
    z-index: 2;
    cursor: url('img/Pointer_Green.svg'), auto;
}

div.background-orange {
    background-color: var(--beige);
    border: solid 10px;
    border-radius: 50px;
    border-color: var(--magenta);
    width: 99vw;
    height: 99vh;
    left: 5px;
    top: 50px;
    bottom: 10x;
    margin: 0;
    position: relative;
    z-index: 2;
    cursor: url('img/Pointer_Blue.svg'), auto;
}

section.about {
    top: 20%;
    margin-top: 0;
}

section.statement, section.projects, section.design, section.art, section.contact {
    margin-top: 25px;
    padding: 5px;
    border-radius: 35pt;
    display: flex;
    position: absolute;
}

section.contact p {
    text-align: left;
    margin-left: 10px;
    padding: 0;
}

section.statement p {
    margin-top: 1px;
    margin-left: 21vw;
    width: 47vw;
    font-size: 10pt;
}

article.green_sphere {
    cursor: url('img/Pointer_Green.svg'), auto;
}

article.blue_sphere {
    cursor: url('img/Pointer_Blue.svg'), auto;
}

article.orange_sphere {
    cursor: url('img/Pointer_Orange.svg'), auto;
}

img {
    size: 100vw;
    width: 650px; 
    height: 560px;
    padding: auto;
    margin: 0;
    border: 1pt solid var(--cyan);
    border-radius: 30pt;
    object-fit: cover;
    cursor: url('img/Pointer_White_Opacity.svg'), auto;
}

video {
    width: 650px; 
    height: 560px;
    object-fit: cover;
    border-radius: 30pt;
}

@media screen and (max-width: 1400px) {
    img {
        width: 350px;
    }
    div.scroll-container {
        width: 350px;
    }
}

@media screen and (max-width: 1200px) {
    img {
        width: 250px;
    }
    div.scroll-container {
        width: 250px;
    }
}

/*@media screen and (max-width: 4000px) {
    img {
        height: 800px;
        width: 1000px;
    }
    div.scroll-container {
        width: 1000px;
    }
    div.grid {
        max-height: 800px;
    }
}*/

div.grid {
    max-height: 600px;
    width: 88vw;
    padding: 0;
    margin: 5px;
    flex-direction: column;
    flex-wrap: wrap;
    columns: 2;
    column-gap: 60px;
}

div.scroll-container {
  height: 560px;
  width: 650px;
  background-color: var(--beige);
  overflow: auto;
  white-space: nowrap;
  border-radius: 30pt;
}

div.scroll-container img {
  padding: 0;
}

#projects h1, #design h1, #art h1 {
    padding-top: 105px;
}

@keyframes letter-right {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(5deg);
    }
}

@keyframes letter-left {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(-5deg);
    }
}
section.projects a:hover {
    color: #fff5d6;
    background: var(--cyan);
    border-radius: 30px;
    padding: 5.5px;
}

section.contact a:hover {
    color: #fff5d6;
    background: var(--cyan);
    border-radius: 30px;
    padding: 5.5px;
}

div.buble.buble-right p:hover{
   color: var(--cyan);
}

div.buble.buble-right:hover {
    background: var(--yellow);
    animation: letter-right 1s alternate-reverse;
    cursor: crosshair;
}

div.buble.buble-left:hover {
    background: var(--magenta);
    animation: letter-left 1s alternate-reverse;
    cursor: crosshair;
}

div.buble.buble-left p:hover {
    color: var(--yellow);
}

nav ul li a:hover {
    background: var(--cyan);
    border-radius: 50px;
    padding: 5.5px;
    color: var(--magenta);
    height: 50px;
    margin: 0;
}
