
/* ============================================
   GLOBAL
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    padding: 0 5px 20px 5px;
}


/* ============================================
   MESH BACKGROUND
   ============================================ */

.mesh-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #b8f1ff;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(82px);
    opacity: 0.68;
    animation: float 13s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(80px, -60px) scale(1.1); }
    50%  { transform: translate(-50px, 80px) scale(0.95); }
    75%  { transform: translate(60px, 50px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* blob colors */
.b1 { background: #ceffc1; }
.b2 { background: #ffcee6; }
.b3 { background: #c2adfc; }


/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    color: white;
    font-family: "am-assab", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 span {
    display: inline-block;
    animation: colorWave 6s ease-in-out infinite;
}

@keyframes colorWave {
    0%, 100% { color: hsl(27, 100%, 65%); }
    50%       { color: hsl(282, 100%, 73%); }
}

h2 {
    font-family: "am-assab", sans-serif;
    font-size: 45px;
}

h3 {
    color: rgb(0, 92, 128);
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-size: 23px;
}

p {
    margin: 15px 8px 29px 8px;
    font-family: "arial-rounded-mt-pro", sans-serif;
    color: white;
    padding: 2px;
    border-radius: 20px;
}


/* ============================================
   HOME PAGE
   ============================================ */

.home-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-page h3 {
    align-self: center;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
}

h1#abby {
    font-size: 58px;
    margin-top: 8px;
    margin-bottom: 0;
    margin-right: 0;
}

h1#montreuil {
    font-size: 38px;
    margin-top: 8px;
    margin-bottom: 0;
}

.unpredictable {
    letter-spacing: 2px;
    font-size: 32px;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}


/* ============================================
   HOME NAV BUTTONS
   ============================================ */

nav {
    align-self: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.nav-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 170px;
    height: 170px;
    align-items: center;
    text-decoration: none;
    object-fit: contain;
}

.nav-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 60px white;
}

#tomato-btn .nav-btn {
    padding: 5px;
    height: 85px;
    width: 70px;
}

#tomato-btn .nav-btn img {
    width: 90px;
    height: 90px;
    border: 3px solid white;
}

.label {
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    text-align: center;
    margin-top: 6px;
}

#home.label    { display: none; }
#aboutme.label { color: rgb(174, 72, 174); }
#mywork.label  { color: rgb(0, 92, 128); }
#ai.label      { color: rgb(232, 118, 25); }


/* ============================================
   TOP NAV BAR (all pages except home)
   ============================================ */

.bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
}

.bar #tomato-btn .nav-btn {
    padding: 0;
    height: 60px;
    width: 60px;
}

.bar #tomato-btn .nav-btn img {
    width: 100%;
    height: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 5px;
    padding: 0;
}

.nav-links a {
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-shadow:
        0 0 2px white,
        0 0 5px white,
        0 0 10px white,
        0 0 40px white;
}

.nav-links #aboutme { color: rgb(174, 72, 174); }
.nav-links #ai      { color: rgb(232, 118, 25); }
.nav-links #mywork  { color: rgb(0, 92, 128); }

.tomato-icon {
    width: 60px;
    height: 60px;
    background-image: url('../img/tomato.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 0 60px white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "am-assab", sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: white;
    border: 3px solid white;
}


/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.header-img {
    width: 300px;
    max-width: 900px;
}


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

.contact {
    border-radius: 15px;
    width: 100%;
    padding: 10px;
    margin-top: 60px;
    background: rgba(82, 157, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 6px 15px rgba(82, 157, 255, 0.4);
}

.contact h3 {
    color: rgb(174, 72, 174);
    margin: 5px;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.contact-links a {
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
}


/* ============================================
   MY WORK PAGE
   ============================================ */

.mywork-page .bar {
    background: rgb(163, 222, 245);
}

.mywork-page p {
    margin-top: 35px;
    background-color: rgba(0, 179, 75, 0.4);
    box-shadow: 0 0 6px 15px rgba(0, 179, 75, 0.4);
}

.mywork-page-title {
    color: rgb(7, 158, 218);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

.gallery {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}


/* ============================================
   ABOUT ME PAGE
   ============================================ */

.aboutme-page .bar {
    background: rgb(246, 192, 246);
}

.aboutme-page p {
    margin-top: 25px;
    background-color: rgba(191, 55, 237, 0.3);
    box-shadow: 0 0 6px 15px rgba(191, 55, 237, 0.3);
}

.aboutme-page-title {
    color: rgb(226, 106, 226);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

#hi {
    margin-left: 30px;
    color: rgb(226, 106, 226);
    font-size: 60px;
    margin-bottom: 30px;
    padding: 0;
}

.hi-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
}

#headshot {
    border: 3px solid rgb(246, 192, 246);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: 20%;
}


/* ============================================
   AI SKILLS PAGE
   ============================================ */

.aiskills-page .bar {
    background: rgb(252, 197, 152);
}

.aiskills-page p {
    margin-top: 40px;
    background-color: rgba(255, 57, 136, 0.35);
    box-shadow: 0 0 6px 15px rgba(255, 57, 136, 0.35);
}

.aiskills-page-title {
    color: rgb(232, 118, 25);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

.aiskills-page h4 {
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-size: 30px;
    color: rgb(232, 118, 25);
    margin-top: 50px;
    margin-bottom: 10px;
}

.ai-work-block {
  background: rgb(255, 255, 255, 0.3);
  box-shadow: 0 0 6px 15px rgb(255, 255, 255, 0.3);
  border-radius: 16px;
  margin: 10px 8px;
}

#ai-works-title {
    margin-top: 0;
    margin-bottom: 5px;
    color: rgb(0, 92, 128);
    font-family: "arial-rounded-mt-pro", sans-serif;
    font-size: 18px;
    background-color: transparent;
    box-shadow: none;
}

#ai-works-description {
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(0, 92, 128);
    background-color: transparent;
    box-shadow: none;
}

.aiwork-img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#doc-link {
    display: block;
    text-align: center;
    font-family: "arial-rounded-mt-pro", sans-serif;
    color: white;
    text-shadow:
        0 0 10px rgb(232, 118, 25),
        0 0 10px rgb(232, 118, 25),
        0 0 20px rgb(232, 118, 25),
        0 0 30px rgb(232, 118, 25);
}


/* ============================================
   DESKTOP  (min-width: 1080px)
   ============================================ */

@media (min-width: 1080px) {

    /* global */
    body {
        padding: 0 60px 40px 60px;
    }

    /* home page */
    h1#abby {
        font-size: clamp(82px, 15vw, 200px);
        margin-right: clamp(0px, 5vw, 100px);
    }

    h1#montreuil {
        font-size: clamp(50px, 10vw, 135px);
    }

    .unpredictable {
        font-size: clamp(32px, 4vw, 50px);
        letter-spacing: 2px;
    }

    .home-page h3 {
        font-size: 32px;
    }

    #tomato-btn .nav-btn img {
        margin-top: clamp(-20px, -3vw, -50px);
        width: clamp(90px, 14vw, 200px);
        height: clamp(90px, 14vw, 200px);
        border: none;
    }

    nav {
        flex-direction: row;
        justify-content: center;
        gap: 115px;
        margin-top: 40px;
    }

    .nav-btn {
        width: 220px;
        height: 220px;
    }

    .label {
        font-size: 20px;
    }

    /* top nav bar */
    .bar {
        padding: 12px 40px;
    }

    .bar #tomato-btn .nav-btn {
        height: 70px;
        width: 70px;
    }

    .nav-links {
        gap: 50px;
    }

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

    .tomato-icon {
        width: 70px;
        height: 70px;
        font-size: 46px;
    }

    /* page header */
    .page-header {
        margin-top: 100px;
    }

    .header-img {
        width: 400px;
    }

    h2 {
        font-size: 65px;
    }

    /* contact footer */
    .contact {
        margin-top: 80px;
        padding: 30px;
    }

    .contact-links {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .contact-links a {
        font-size: 18px;
    }

    /* about me page */
    #hi {
        font-size: 90px;
        margin-left: 60px;
    }

    #headshot {
        width: 260px;
        height: 260px;
        margin-right: 60px;
    }

    .glass-block {
        max-width: 800px;
        margin: 0 auto;
    }

    /* my work page */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* ai skills page */
    .aiwork-img {
        width: 30%;
    }

    #doc-link {
        font-size: 20px;
    }

}