@import url("https://use.typekit.net/ffr2bit.css");
@import url('https://fonts.cdnfonts.com/css/jocky-starline');
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: clamp(2rem, 8vw + 2rem, 4rem);
    font-family: "basic-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h2 {
    font-size: clamp(1.2rem, 2vw + 0.5rem, 2rem);
}

h3 {
    font-size: clamp(1.4rem, 1.6vw + 0.4rem, 1.4rem);
}

p {
    font-family: "basic-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
}

.full-size-images {
    border-radius: 15px;
    width: 90%;
    margin-left: 5vw;
}

.hero-image {
    margin-top: -7vw;
}

.project-pages h1{
    margin-left: 5vw;
    color: #320006;
    margin-top: 15vw;
}

.project-pages h3 {
    margin-left: 5vw;
     color: #320006;
}

#description-text {
    font-weight: 500;
    margin-top: -2vw;
    margin-bottom: 5vw;
}

.project-pages p {
    margin-left: 5vw;
    margin-right: 5vw;
     color: #320006;
}

.project-pages div {
    padding-top: 2vw;
    padding-bottom: 5vw;
}

.project-pages-background {
    background-color: #F6F5F1;
}

.two-column-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  width: 93%;
}

.three-column-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    width: 93%;
}

.two-row-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 93%;
    row-gap: 4vw;
}

.onerowcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    width: 93%;
    row-gap: 4vw; 
}

.cs-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
   margin-left: 5vw;
   border-top: 1px solid #320006;
   width: 90%;
}

.cs-info-row .info-block h3 {
    font-size: clamp(1.4rem, 1.6vw + 0.4rem, 1.4rem);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
     color: #320006;
}

.cs-info-row .info-block p {
    font-size: 1rem;
    color: #222;
    margin: 0;
    line-height: 1.6;
     color: #320006;
}

#buddi-branding-buttons {
    margin-top: 15vw;
}

.next-project-footer {
    margin-top: 10vw;
}

.project-card {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
}

/* Fade-in overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 20px;
    text-align: center;
    padding: 1rem;
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: rgba(0, 0, 0, 0.68);
}

.project-overlay h3 {
    margin: 0;
}

.project-overlay p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
}

/* Hover interaction */
.project-card:hover .project-overlay {
    opacity: 1;
}

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

body {
    margin: 0;
    font-family: "basic-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    cursor: url("cursor.cur") 16 16, auto;
}

a:hover {
    cursor: url("cursor.cur") 16 16, auto;
}

.aboutme-section {
    background-color: #540029;
    border-radius: 30px;
    padding-bottom: 12vw;
    padding-top: 12vw;
    margin-top: 2vw;
    display: flex;
}

.about-me-header {
    display: flex;
   justify-content:center;
   margin-right: 5vw;
   margin-left: 5vw;
    gap: 10vw;
    align-items: flex-start;
}

.about-photo {
    left: 0vw;
    width: 25vw;
    height: auto;
    border-radius: 15px;
    position: sticky;
}

.about-text {
    margin-top: 0;
    color: white;
}

.about-me-header > div:first-child {
    position: sticky;
    top: 5vw;
}


.about-flexbox {
    display: flex;
    gap: 5vw;
}

.education {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5vw;
}

.education p {
    color: white;
}

.education h3 {
    color: #FF8FBD;
    font-size: 1rem;
}

.education h2 {
        font-family: "Sofia Sans Extra Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        text-transform: uppercase;
}

.about-flexbox {
    display: flex;
}

@media (max-width: 768px) {

    .about-flexbox {
    display: flex;
    gap: 5vw;
    margin-top: -7vw;
}

    .aboutme-section {
        margin-bottom: 5vw;
        margin-top: 5vw;
    }

    .about-me-header {
        display: flex;
        flex-direction: column;
        align-items: center;
         position: static; /* turns off sticky */
        top: auto;  
    }

    .about-photo {
        width: 50vw;
        height: 50vw;
        position: static; /* turns off sticky */
        top: auto;  
    }

      .about-me-header > div:first-child {
        position: static !important;
        top: auto !important;
    }

    .about-text {
        width: 90%;
        margin-left: 0vw;
        text-align: center;
    }


    .header-button {
        display: flex;
    }

    .education {
        display: flex;
        flex-direction: column;
        gap: 5vw;
        margin-bottom: 10vw;
        text-align: center;

    }

    .education h2 {
        font-size: 2.5rem;
        font-family: "Sofia Sans Extra Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        text-transform: uppercase;

    }

    .cs-info-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-left: 5vw;
        border-top: 1px solid #320006;
        width: 90%;
        margin-top: 5vh;
        margin-bottom: 5vh;
}

    #description-text {
        font-weight: 500;
        margin-top: -2vw;
        margin-bottom: 5vw;
        font-size: 1rem;
        width: 90%;
    }

    .two-column-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 100%;
        gap: 2vh;
    }

    .three-column-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 5vh;
        width: 100%;
    }

    .two-row-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    row-gap: 4vw;
    }

    .onerowcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 93%;
    row-gap: 4vw; 
    }
}

nav {
    display: flex;
    align-items: center;
    align-self: flex-start;
    justify-content: space-between;
    font-size: 1rem;
    background-color: #840040;
    margin: 0;
}

nav img {
    width: 15vw;
    margin-left: 5vw;
}

nav div {
    margin-top: 5vh;
}

.nav-item {
    text-decoration: none;
    color: #840040;
    padding: 0 1.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #FF8FBD;
    border-radius: 50px;
    z-index: 1;
    transition: transform 0.60s ease, width 0.60s ease;
}

.nav-item:hover {
    font-weight: 700;
}

.toggle-bar {
    position: relative;
    display: flex;
    gap: 2vw;
    background-color: white;
    border-radius: 50px;
    padding: 0.5vw;
    margin-right: 5vw;
    z-index: 0;
    height: 4vh;
}

.hamburger {
    width: 32px;
    height: auto;
}

.hamMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw;
    height: 100vh;
    background-color: #caf3ff;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    border-top-left-radius: 20px;
}

.hamMenu.open {
    right: 0;
}

.hamMenu-items {
    display: flex;
    margin-top: 50vw;
    flex-direction: column;
    gap: 5vw;
}

.hamburger-btn {
    display: none;
    position: absolute;
    right: 5vw;
    top: 1.7rem;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-btn img {
    width: 7vw;
}

.hamburger-btn.open .open-icon {
    display: none;
}

.hamburger-btn.open .close-icon {
    display: block;
}

.hamMenu a {
    font-size: 1.5rem;
    color: #5A1F2A;
    text-decoration: none;
    justify-content: center;
    display: flex;
}

.hamMenu a:hover {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav {
        align-self: center;
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav img {
        height: 45px;
        width: auto;
        margin-left: -0.5vw;
    }

    .toggle-bar {
        display: none;
    }

    .hamburger-btn {
        display: block;
        margin-top: 3vh;
    }
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "basic-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    text-align: center;
    color: white;
    background-color: #840040;
    height: 40vw;
    border-bottom-left-radius: 5vh;
    border-bottom-right-radius: 5vh;
}

header p {
    margin-top: 10vw;
    font-size: 2rem;
    line-height: 125%;
}

.header-button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #CAF3FF;
    padding: 1vw 2vw;
    border-radius: 50vw;
    font-size: 1rem;
    text-decoration: none;
    color: #000;
    font-family: "basic-sans", sans-serif;
    transition: 0.8s all ease;
}

.header-button button a {
    text-decoration: none;
    color: black;
}

.header-button img {
    height: 2vw;
}

.header-button {
    margin-top: 2vw;
}

.header-button-link:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
    transition: 0.8s all ease;
}

.projectpage-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "basic-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.3vw;
    text-align: center;
    color: white;
    background-color: #840040;
    height: 2vw;
    border-bottom-left-radius: 5vh;
    border-bottom-right-radius: 5vh;
}

.projectpage-headers {
    display: flex;
    justify-content: center;
    margin-top: 5vw;
}

@media (max-width: 768px) {
    header {
        height: 65vw;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    header p {
        margin-top: 6vh;
        font-size: 1.3rem;
        margin-left: 5vw;
        margin-right: 5vw;
        line-height: 125%;
    }

    .header-button {
        margin-top: 5vw;
    }

    .header-button-link {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        background-color: #CAF3FF;
        padding: 2vw 3vw;
        border-radius: 50vw;
        font-size: 1rem;
        text-decoration: none;
        color: #000;
        font-family: "basic-sans", sans-serif;
    }

    .header-button button a {
        text-decoration: none;
        color: black;
    }

    .header-button img {
        height: 3vw;
    }
}

.mainRow2 {
    display: flex;
    margin-top: 2vw;
    gap: 2vw;
    justify-content: center;
    border-radius: 10px; 
    margin-left:2vw;
    margin-right:2vw;
}


section img {
    height: 35vw;
    border-radius: 15px;
}

.hover-effect {
    transition: 0.8s all ease;
}

li {
    font-size: 1rem;
}

.buddi-highlight {
    color: #FF8FBD;
}

.about-me-h1 {
    color: #FF8FBD;
    font-size: 6rem;
    margin: 0 0 1.5rem;
    line-height: 1.1;
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

@media (max-width: 768px) {

.about-me-h1 {
    font-size: 5rem;
    line-height: 1.1;
}
}

@media (max-width: 768px) {

    .mainRow2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 5vw;
        gap: 5vw;
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .projectpage-headers {
        display: flex;
        margin-top: 10vw;
    }

    .projectpage-headers h1 {
        font-size: 4rem;
    }

    .projectpage-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: white;
        background-color: #840040;
        height: 5vw;
        border-bottom-left-radius: 5vh;
        border-bottom-right-radius: 5vh;
    }

    .icons img {
        margin-top: 4vw;
        height: 7vw;
        justify-content: space-between;
        transition: 0.8s all ease;
    }

    .icons {
        display: flex;
        gap: 4vw;
    }
}

/* FOOTER */

.site-footer {
    background-color: #840040;
    color: #ffffff;
    padding: 4rem 3rem;
    padding-top: 6rem;
    margin-top: 2vw;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    margin-top: 3vw;
}

.footer-heading {
    font-size: 6rem;
    margin: 0 0 1.5rem;
    line-height: 1.1;
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.together {
    color: #FF8FBD;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    line-height: 200%;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    font-weight: 700;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 0.25px solid rgba(255, 255, 255, 0.609);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1rem;
    align-items: center;
}

.footer-social a {
    margin-left: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-social a:hover {
    opacity: 0.7;
}

#footer-logo {
    width: 15vw;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.icons img {
    height: 3vw;
    justify-content: space-between;
    transition: 0.8s all ease;
}

.icons img:hover {
    box-shadow: 0 10px 30px #0000005d;
    transform: translateY(-3px);
    transition: 0.8s all ease;
}

.icons a {
    text-decoration: none;
}

footer {
    background-color: #840040;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

footer img {
    height: 7vw;
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    .site-footer {
        padding: 3rem 1.5rem;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .footer-heading {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .header-button {
        display: flex;
        justify-content: center;
    }

    .footer-nav ul {
        text-align: center;
        line-height: 180%;
    }

    .footer-nav li {
        margin-bottom: 0.5rem;
    }

    #footer-logo {
        width: 30vw;
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .footer-social .icons {
        justify-content: center;
        gap: 6vw;
    }

    .footer-social img {
        height: 8vw;
    }

    .footer-nav ul {
        text-align: center;
    }

    section img {
        width: 90vw;
        height: 90vw;
        border-radius: 15px;
        object-fit: cover;
    }
}