body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color:  #ffe6eb;

    --1: #c46185;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

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

header {
    color: white;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #372d36;
}
header p {
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 30px;
    color: #fff2f7;
}
header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
header nav a {
    font-family: 'Nunito Sans';
    font-weight: 600;
    text-decoration: none;
    color: white;
    font-size: 16px;
}
header nav a:hover {
    text-decoration: underline;
}
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 30px;
}
.lang-switcher button{
    font-family: 'Nunito Sans';
    font-weight: 700;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 99px;
    background-color:transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}
.lang-switcher button:hover { 
    background-color:#faeff21d;
}
.lang-switcher button.active {
    background-color:#faeff245;
}
main {
    padding: 30px 40px;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #fef1f490, #f9c0cbbd), url("https://media.tenor.com/Y5UJCHBwwr4AAAAj/stars.gif");
}
main div {
    flex: 1;
}
main img {
    flex: 1;
    width: 50%;
    filter: drop-shadow(horizontal-offset vertical-offset blur-radius color);
    filter: drop-shadow(15px -4px 0px #c46185);
}
main h1 {
    text-align: center;
    font-family: 'Momo Trust Display';
    font-size: 54px;
    color: #241a22;
    background: linear-gradient(90deg, #241a22, #241a22, #241a22, #ba6484, #241a22);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    animation: 
    move-gradient 3.7s linear infinite;
}
.heroSub {
    font-family: 'Raleway';
    font-weight: 800;
    font-size: 20px;
    color: #684662;
    display: block;
    margin: 10px auto;
    overflow: hidden;
    white-space: nowrap; 
    width: 34ch;
    border-right: 1.5px solid #7e4c5e;
    animation: 
    typing 2.2s ease-in,
    blink 0.75s step-end infinite;
}
.heroText {
    margin: 20px 30px;
    font-size: 16px;
    font-family: 'Nunito Sans';
    color: #6c4452;
    text-align: center;
    font-weight: 700;
}
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.3s ease-out, transform 1.7s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.heroBtns {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}
.heroVP {
    background: linear-gradient(to left, #c46185,#e888ac);
    color: white;
    border: none;
}
.heroBtns button {
    font-family: 'Nunito Sans';
    font-weight: 600;
    font-size: 18px;
    padding: 15px 25px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.heroDR, .heroCTT {
    background-color: #fff1f4;
    border: 1.5px solid #d44e7f6d;
    color: #712f4a;
}
.heroDR:hover, .heroCTT:hover {
    border: 1.5px solid #9e345b;
    background-color: #fff5f8;
}
.heroBtns button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 10px #d44e7f2a;
}
#stack h2 {
    text-align: center;
    font-family: 'Raleway';
    font-weight: 800;
    font-size: 40px;
    color: #402c35;
    text-shadow: 1px 3px 0px #e198ac;
    margin: 10px 0;
}
#stack {
    padding: 40px 40px 0 40px;
    display: flex;
    gap: 30px;
    background-image: url('./assets/bubble.png');
    background-size: 60%;
    overflow: hidden;
}
#stack div {
    flex: 1;
}
.eyebrow {
    font-family: "Plus Jakarta Sans";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color:#712f4a;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.eyebrow span {
    height: 2.4px;
    width: 20px;
    background-color: #712f4a;
}
.tech-img {
    width: 30%;
    object-fit: contain;
    filter: drop-shadow(horizontal-offset vertical-offset blur-radius color);
    filter: drop-shadow(-15px 4px 0px #c46185);
}
.techs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    margin: 40px 0;
    gap: 20px;
}
.tech {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #e888ac;
    background: linear-gradient(to left, #e698b5, #e7839f);
    border: 2px solid #712f4a3b;
    border-radius: 20px;
    justify-content: center;
    padding: 16px;
    align-items: center;
}
.tech p {
    font-family: 'Nunito Sans';
    color: white;
    font-weight: 700;
    font-size: 14px;
}
.tech svg {
    width: 30px;
    fill: white;
}
.divisor {
    display: block;
    width: 400px;
    margin: 0 auto;
}
.stackText {
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    color:#81445d;
    font-weight: 500;
    text-align: center;
    margin-top: 50px;
}
#projects {
    padding: 40px;
}
#projects h2 {
    text-align: center;
    font-family: 'Raleway';
    font-weight: 800;
    font-size: 40px;
    color: #402c35;
    text-shadow: 1px 3px 0px #e198ac;
    margin: 10px 0;
}
footer {
    background-color: #372d36;
    padding: 40px;
}
footer div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social {
    display: flex;
    gap: 10px;
}
.social a {
    background-color: #755367;
    border-radius: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    transition: background 0.3s ease;
}
.social a:hover {
    background-color: #9a788c;
}
.social a:nth-of-type(1) svg {
    fill: white;
    width: 22px;
}
.social a:nth-of-type(2) svg {
    fill: white;
    width: 16px;
}
.social a:nth-of-type(3) svg {
    fill: white;
    width: 18px;
}
footer hr {
    margin: 24px 0;
    color: #372d36;
    border-color: #372d36;
}
footer p {
    text-align: center;
    color: #6f606e;
    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
footer nav {
    display: flex;
    gap: 15px;
}
footer nav a {
    color: white;
    font-family: 'Nunito Sans';
    text-decoration: none;
    font-weight: 600;
    padding: 10px 4px;
    border-radius: 99px;
    transition: all 0.3s ease;
}
footer nav a:hover {
    background-color: rgba(226, 180, 197, 0.136);
    padding: 10px 16px;
}
.pjGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin: 50px 0 20px;
}
.project {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px #e7b0c3;
    padding: 30px;
}
.project img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin: auto;
}
.project h3 {
    font-family: "Plus Jakarta Sans";
    color:#653349;
    font-size: 26px;
    font-weight: 900;
    margin-top: 10px;
}
.pjDesc {
    font-family: 'Nunito Sans';
    color:#694353;
    font-weight:  600;
    font-size: 16px;
    margin-left: 10px;
}
.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Nunito Sans';
    margin-left: 10px;
}
.tools span {
    background-color: #ffe6eb;
    color: #6d3950;
    font-weight: 600;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 99px;
}
.project h4 {
    font-family: "Plus Jakarta Sans";
    color: #a1456e;
    font-size: 18px;
    margin: 10px 0 0 0;
    
}
.project .features {
    color: #6a4958;
    font-family: 'Nunito Sans';
    margin-left: 10px;
}
.actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.actions button {
    font-family: 'Nunito Sans';
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.actions button:hover {  
    transform: translateY(-3px);
    box-shadow: 0 10px 10px #d29aaf2a;
}
.code {
    background-color: #fff8fa;
    border: 1.5px solid #a145676d;
    color: #531b32;
}
.code:hover {
    border: 1.5px solid #932d52d6;
}
.demo {
    background: linear-gradient(to left, #c46185,#e888ac);
    color: white;
    border: none;
}

@media only screen and (max-width: 768px) {
    header nav {
        display: none;
    }
    header p {
        font-size: 16px;
    }
    header {
        padding: 10px;
    }
    .lang-switcher {
        gap: 5px;
    }
    .lang-switcher button {
        font-size: 12px;
        padding: 8px 10px;
    }
    main {
        padding: 30px 5px;
        flex-direction: column;
        gap: 40px;
    }
    main img {
        display: none;
    }
    main h1 {
        font-size: 24px;
    }
    .heroSub {
        font-size: 14px;
    }
    .heroText {
        margin: 18px 6px;
        font-size: 14px;
    }
    .heroBtns {
        margin-top: 30px;
        gap: 10px;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .heroBtns button {
        font-size: 14px;
        padding: 10px 25px;
        width: 190px;
    }
    #stack h2 {
        font-size: 25px;
    }
    .eyebrow {
        font-size: 12px;
    }
    #stack {
        padding: 40px 20px;
    }
    .tech-img{
        display: none;
    }
    .techs {
        grid-template-columns: 1fr 1fr 1fr;
        margin-top: 20px;
    }
    .tech {
        padding: 12px;
    }
    .tech p {
        text-align: center;
        font-size: 10px;
    }
    .divisor {
        width: 70%;
    }
    .tech svg {
        width: 16px;
    }
    footer div {
        justify-content: center;
    }
    footer nav {
        display: none;
    }
    .pjGrid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    #projects h2 {
        font-size: 25px;
    }
    .project {
        padding: 20px;
    }
}

@keyframes typing {
  0%, 10% { width: 0; }
  70%, 100% { width: 34ch; }
}
@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #9a5e74; }
}
@keyframes move-gradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: -200% center;
  }
}