/*Code design and structure by Tomie Sato 2024*/

html {
  scroll-behavior: smooth;
}

.carousel a {
    color: black;
}

body {
    font-family: "Space Grotesk";
    overflow-x: hidden;
    background-color: #fafafa;
}

h2 {
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 1.5em;
    line-height: 1.15;
}

h4 {
    margin-bottom: 1.5em;
    margin-left: 0.2em;
}

.pink {
    color: #FF7BAC;
}

input.hidden[type="checkbox"] {
    display: none;
}

.logo {
    height: 1em;
    margin: 0.5em 0;
}

nav.navbar {
    width: 100vw;
    background-color: rgba(250, 250, 250, 0);
    backdrop-filter: blur(0.5em);
    position: fixed;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out;
}

.logo .st0 {
    fill: #fff;
}

header.scrolled .logo .st0 {
    fill: #FF7BAC;
}

header.scrolled nav.navbar {
    width: 100vw;
    background-color: rgba(250,250,250,1);
    backdrop-filter: blur(0.5em);
    position: fixed;
    z-index: 1000;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
}

header.scrolled .nav-link_1 a {
    color: #FF931E;
}

header.scrolled .nav-link_2 a {
    color: #7AC943;
}

header.scrolled .nav-link_3 a {
    color: #3FA9F5;
}

header li.cta-button {
    letter-spacing: 0.075em;
    font-size: 0.8em;
}

header.scrolled li.cta-button {
    color: #FF7BAC;
    letter-spacing: 0.075em;
    border: 2px solid #FF7BAC;
    background-color: rgba(255, 123, 172, 0);
    transition: background-color 0.2s ease-out;
}

header.scrolled li.cta-button:hover {
    color: #FF7BAC;
    letter-spacing: 0.075em;
    border: 2px solid #FF7BAC;
    background-color: rgba(255, 123, 172, 0.15);
}

header.scrolled .bar {
    background-color: #000;
}


.nav-links li {
    display: inline;
    margin-left: 2.5em;
    font-size: 0.9em;
    font-weight: 600;
}

.cta-button {
    border-radius: 20em;
    border: 2px solid #fff;
    padding: 0.75em 1.5em;
    font-size: 0.8em;
    letter-spacing: 0.075em;
    transition: background-color 0.2s ease-out;
    display: inline-block;
}

.menu-dropdown ul li.cta-button {
    padding-bottom: 0.75em;
}

li.cta-button {
    font-size: 0.8em;
}

.cta-button.white {
    display: inline-block;
    margin-top: 3em;
    font-size: 0.9em;
    font-weight: 600;
}

.cta-button.white p{
    font-size: 0.9em;
    font-weight: 600;
}

.cta-button.white:hover {
    border-radius: 20em;
    border: 2px solid #fff;
    padding: 0.75em 1.5em;
    font-size: 0.9em;
    letter-spacing: 0.075em;
    background-color: rgba(255,255,255,0.25);
}

.cta-button:hover {
    border-radius: 20em;
    border: 2px solid #fff;
    padding: 0.75em 1.5em;
    font-size: 0.8em;
    letter-spacing: 0.075em;
    background-color: rgba(255,255,255,0.25);
}

.cta-button.pink {
    color: #FF7BAC;
    border: 2px solid #FF7BAC;
    font-weight: 600;
    font-size: 0.8em;
    letter-spacing: 0.075em;
    background-color: rgba(255, 123, 172, 0);
    transition: background-color 0.2s ease-out;
    display: inline-block;
}

.cta-button.pink:hover {
    color: #FF7BAC;
    border: 2px solid #FF7BAC;
    background-color: rgba(255, 123, 172, 0.15);
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 1em;
}

.content-container {
    width: 80%;
    margin: 0 auto;
    padding: 1em;
    position: relative;
}

.container.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
    color: #fff;
}

.menu-dropdown {
    padding: 2em;
    padding-top: 6em;
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100vh;
    width: 100%;
    right: 0;
    transition-timing-function: ease-in-out;
    transition: 0.5s;
    transform: translateX(100%);
}

.menu-dropdown ul li {
    padding-bottom: 2em;
}

.menu-dropdown ul li a:hover {
/*    color: #FF7BAC;*/
}

.dropdown-socials {
    bottom: 0;
}

.dropdown-socials img {
    width: 1.5em;
    margin-right: 0.5em;
}


.home_mission-statement .content-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home_mission-statement .content-container h2 {
    margin: 3em 0;
    font-size: 3em;
    line-height: 1.5;
    font-weight: 300;
}

span.bold-colorful.p-o {
    background-image: linear-gradient(45deg, #FF7BAC, #FF7BAC, #FF931E, #FF931E, #7AC943, #7AC943, #3FA9F5, #3FA9F5);
}
span.bold-colorful.o-g {
    background-image: linear-gradient(45deg, #FF931E, #FF931E, #7AC943, #7AC943, #3FA9F5, #3FA9F5, #FF7BAC, #FF7BAC);
}
span.bold-colorful.g-b {
    background-image: linear-gradient(45deg, #7AC943, #7AC943, #3FA9F5, #3FA9F5, #FF7BAC, #FF7BAC, #FF931E, #FF931E);
}
span.bold-colorful.b-p {
    background-image: linear-gradient(45deg, #3FA9F5, #3FA9F5, #FF7BAC, #FF7BAC, #FF931E, #FF931E, #7AC943, #7AC943);
}

.bold-colorful {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight:600 ;
    background-size: 1000% 1000%;
    animation: color 10s ease-in-out infinite;
}

.brands {
    overflow: hidden;
    padding-top: 2em;
    padding-bottom: 12em;
    white-space: nowrap;
    mix-blend-mode: multiply;
    display: flex;
}

.logos_slide {
    display: flex;
    align-items: center;
    animation: 30s slide infinite linear;
}

.brands img {
    height: 4em;
    margin: 0 3em;
    mix-blend-mode: multiply !important;
    
}

.brands img.scale-down {
    height: 2.5em;
}


@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}



/*HAMBURGER MENU SYMBOL______________________________________*/

/*Style*/
.hamburger {
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.hamburger .bar {
    padding: 0;
    width: 1.7em;
    height: 0.25em;
    background-color: #fff;
    display: block;
    border-radius: 20em;
    position: absolute;
    transition: all 0.4s ease-in-out;
    z-index: 99999;
}

.bar1 {
    top: 0;
}

.bar2 {
    top: 0.65em;
}

.bar3 {
    bottom: 0;
}


/*Animation Hamburger Icon*/
.checkbox1:checked + .navbar > .container > .hamburger1 > .bar1 {
    transform: rotate(45deg);
    transform-origin: 5%;
    width: 2em;
}

.checkbox1:checked + .navbar > .container > .hamburger1 > .bar2 {
    transform: translateX(7em);
    background-color: transparent;
}

.checkbox1:checked + .navbar > .container > .hamburger1 > .bar3 {
    transform: rotate(-45deg);
    transform-origin: 5%;
    width: 2em;
}

/*Animation for Menu Dropdown*/
.checkbox1:checked ~ .menu-dropdown {
    transform: translateX(0);
}

/* Footer----------------------------------------------- */

footer {
    background-color: #212121;
    color: #fff;
    line-height: 2;
    margin-top: 10em;
    padding-top: 3em;
}

footer h3 {
    font-size: 3em;
    font-weight: 600;
    margin-top: 1em;
}

footer a p {
    text-decoration: underline;
}

footer .content-container {
    display: flex;
    align-items: center;
    height: 20em;

}

.footer_copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    background-color: #000;
    font-weight: 500;
    font-size: 0.75em;
    margin-top: 6em;
}


.home_about-me .content-container {
    padding: 5em 0;
}

.home_about-me .content-container .flex {
    display: flex;
    justify-content: space-between;
}

.home_about-me_box-1 {
    width: 50%;
    line-height: 1.5;
}

.home_about-me_desc {
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.home_about-me_box-1 h3 {
    line-height: 1.5;
    font-size: 1.5em;
    color: #FF7BAC;
    font-weight: 600;
}

.home_about-me_box-1 h3 span {
    color: #FF931E;
    font-size: 0.5em;

}

.home_about-me_box-1_img-and-title {
    display: flex;
    width: 100%;
    align-items: center;
}

.home_about-me_box-1_img-and-title_text {
    margin-left: 1.5em;
}

.home_about-me_box-2 {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-start;
}

.home_about-me_box-2 img {
    margin: 0.75em;
}

/*Media Query---------------------------------------------*/
.hover-reveal {
    display: none;
}


@media only screen and (min-width: 601px) {
  nav label {
    display: none;
  }
    nav .nav-links {
        display: block;
    }
}


@media only screen and (max-width: 600px) {
    .menu-dropdown ul {
        font-size: 3em;
        font-weight: 600;
        line-height: 0.01;
        position: relative;
    }
    
    .menu-dropdown ul .cta-button {
        padding: 1em !important;
        border: solid white 0.1em;
        position: absolute;
        left: 0.9em;
    }
    
    nav label {
        display: block !important;
    }
    nav .nav-links {
        display: none;
    }
    
    header.scrolled li.cta-button {
    color: #fff;
    letter-spacing: 0.075em;
    border: solid white 0.1em;
    background-color: rgba(255, 123, 172, 0);
    transition: background-color 0.2s ease-out;
}

header.scrolled li.cta-button:hover {
    color: #fff;
    letter-spacing: 0.075em;
    border: solid white 0.1em;
    background-color: rgba(255, 255, 255, 0.15);
}
    header.scrolled .nav-link_1 a {
    color: #fff;
}

header.scrolled .nav-link_2 a {
    color: #fff;
}

header.scrolled .nav-link_3 a {
    color: #fff;
}
    .menu-dropdown {
        background-color: transparent;
        background-image: linear-gradient(45deg, rgba(255, 123, 172, 0.9), rgba(255, 123, 172, 0.9), rgba(255, 123, 172, 0.9), rgba(255, 147, 30, 0.9), rgba(255, 147, 30, 0.9), rgba(122, 201, 67, 0.9), rgba(122, 201, 67, 0.9), rgba(63, 169, 245, 0.9), rgba(63, 169, 245, 0.9), rgba(63, 169, 245, 0.9));
    background-size: 1000% 1000%;
    animation: color 25s ease-in-out infinite;
        backdrop-filter: blur(0.25em);
    }
    
}

@media (min-width: 1920px) {
      nav label {
    display: none;
  }
    nav .nav-links {
        display: block;
    }
}

@media (min-width: 2112px) {
      nav label {
    display: none;
  }
    nav .nav-links {
        display: block;
    }
}

/*Home--------------------------------------------------*/

.pattern.ae {
    background-image: url(tomiae_bg-pattern-transparent.svg);
    background-position: center;
    background-size: 3em;
    background-repeat: repeat;
    background-position: left center;
    background-attachment: fixed;
}

footer.pattern.ae {
    background-image: url(tomiae_bg-pattern-transparent-5percent.svg);
    background-position: center;
    background-size: 3em;
    background-repeat: repeat;
    background-position: left center;
}

section.hero {
    height: 100%;
    width: 100%;
    /* background-color: #FF7BAC; */
    background-image: linear-gradient(45deg, #FF7BAC, #FF7BAC, #FF7BAC, #FF931E, #FF931E, #7AC943, #7AC943, #3FA9F5, #3FA9F5, #3FA9F5);
    background-size: 1000% 1000%;
    animation: color 25s ease-in-out infinite;
}

#portfolio-page section.hero {
     background-image: linear-gradient
     (45deg,  #FF931E, #FF931E, #FF931E, 
     #7AC943, #7AC943, #3FA9F5, #3FA9F5, 
     #FF7BAC, #FF7BAC, #FF7BAC,) !important;
}

#home section.hero {
    background-image: linear-gradient(45deg, #FF7BAC, #FF7BAC, #FF7BAC, #FF931E, #FF931E, #7AC943, #7AC943, #3FA9F5, #3FA9F5, #3FA9F5);
}



@keyframes color {
    0%{
        background-position:  0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

section.hero .content-container {
    height: 100vh;
    display: flex;
    align-items: center;
}



.hero h1 {
    font-size: 4.5em;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.35em;
}

.hero p {
    color: #fff;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.6;
}


/* Card slider -------------------------------------------------------- */


.content-container .slider-cards {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    width: 100%;
    position: relative;
}

.wrapper svg {
    width: 3em;
    line-height: 3em;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 35%;
}

.wrapper svg:first-child {
    left: -5em;
}

.wrapper svg:last-child {
    right: -5em;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100%/3) - 12px);
    gap: 1em;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}



.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel .card {
    scroll-snap-align: start;
    cursor: pointer;
}

.card .img img {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    background-color: #ddd;
    margin-bottom: 1em;
}

.card h3 {
    font-size: 1.6em;
    line-height: 1.2;
    text-decoration: underline;
    margin-bottom: 0.5em;
}

.card p {
    cursor: default;
}

@media screen and (max-width: 1100px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100%/2) - 9px);
    }

    .wrapperb .carousel {
        grid-auto-columns: calc((100%/2) - 9px);
    }
    .card .img img {
    height: 15em;
    }
}

@media screen and (max-width: 800px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
    
    .wrapper svg:first-child {
        left: -2em;
    }
    
    .wrapper svg:last-child {
        right: -2em;
    }
    .wrapperb .carousel {
        grid-auto-columns: 100%;
    }
    
    .wrapperb svg:first-child {
        left: -2em;
    }
    
    .wrapperb svg:last-child {
        right: -2em;
    }
     .card .img img {
    height: 18em;
    }
}

.page-separator svg {
    width: 1em;
}

.svg-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 7em 0;
}

.line {
    height: 1px;
    width: 31.5%;
    min-width: 30%;
    margin: 0 0.5em;
}

.line.p-o {
    background-image: linear-gradient(45deg, #FF7BAC, #FF931E);
}

.line.o-g {
    background-image: linear-gradient(45deg, #FF931E, #7AC943);
}

.line.g-b {
    background-image: linear-gradient(45deg, #7AC943, #3FA9F5);
}

.line.b-p {
    background-image: linear-gradient(45deg, #3FA9F5, #FF7BAC);
}

.ae_pink {
    fill: #FF7BAC;
}

.ae_orange {
    fill: #FF931E;
}

.ae_green {
    fill: #7AC943;
}

.ae_blue {
    fill: #3FA9F5;
}

.ae_white {
    fill: #fff;
}

.whole_capability_list {
    display: flex;
    justify-content: space-between;
}

.capability_list {
    width: 48%;
}

.top {
    border-top: 0.1em solid black;
}


.capability_list_item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 1.5em 0;
    border-bottom: 0.1em solid black;
}

.capability_list_item h2 {
    margin: 0;
    padding: 0;
}

/* Contact section -------------------------------------------------------------------------- */

  .contact-container {
      display: flex;
      justify-content: space-between;
  }

  .contact-left {
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 1.5em;
      width: 50%;
  }

  .contact-inputs {
      width: 100%;
      height: 4em;
      border: 1px solid #ddd
      outline: none;
      font-weight: 300;
      font-family: 'Space Grotesk';
      color: #666;
      padding-left: 1.2em;
      margin-bottom: 0.5em;
      font-size: 1.5em;
  }

.contact-left textarea {
    height: 10em;
    max-width: 100%;
    padding-top: 1.2em;
    margin-bottom: 1em;
}

.contact-inputs:focus {
    border: 2px solid #FF7BAC;
}

.contact-inputs::placeholder {
    color: #666;
}

.contact-left button {
    color: #FF7BAC;
    border: 2px solid #FF7BAC;
    font-weight: 600;
    /* font-size: 1.2em !important; */
    letter-spacing: 0.075em;
    background-color: rgba(255, 123, 172, 0);
    transition: background-color 0.2s ease-out;
    display: inline-block;
    cursor: pointer;
}

.contact-right {
    margin-left: 3em;
    height: 100%;
    width: 45%;
}

.contact-right .contact-info a p {
    color: #000;
    font-size: 2em;
    text-decoration: underline;
    margin-bottom: 0.7em;
}

.contact-right iframe.map {
    width: 100%;
    height: 24em;
    background-color: #ddd;
}

.html-embed:hover {
    filter: grayscale();
}
.html-embed {
    filter: grayscale();
    margin-top: 2em;
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .contact-right {
        display: none;
    }
}

/*Projects page ----------------------------------------------*/

.project-page section.hero .content-container {
    height: 50vh;
}

.project-page section.project {
    height: 50vh;
    width: 100%;
    background-color: #666; 
}

.project-page section.project_uc {
    background-image: url(5ff6aa30650715db7f3604fd_landscapebookletsopdflat.png);
    background-size: cover;
    background-position: center;
}

.project-page section.project_wp {
    background-image: url(proj_wp.png);
    background-size: cover;
    background-position: center;
}

.project-page section.project_mitm {
    background-image: url(proj_mitm.jpg);
    background-size: cover;
    background-position: 50% 25%;
}

.project-page section.project_rc {
    background-image: url(rc-banner.png);
    background-position: 50% 35%;
    background-size: cover;
}

.project-page section.project_ppc {
    background-image: url(Business_Card_Mockup_full.png);
    background-size: cover;
    background-position: 50% 35%;
}

.project-page section.project_1999hon {
    background-image: url(hon-banner.png);
    background-size: cover;
    background-position: 50% 35%;
}

.project-page nav.navbar {
    width: 100vw;
    background-color: rgba(250, 250, 250, 0);
    /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)); */
    backdrop-filter: blur(0.1em);
    position: fixed;
    z-index: 1000;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease-in-out;
}

.project-page header.scrolled nav.navbar {
    width: 100vw;
    background-color: rgba(250,250,250,1);
    backdrop-filter: blur(0);
    position: fixed;
    z-index: 1000;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
    /* background-image: none; */
}

.spacer {
    height: 10em;
}

.spacer_half {
    height: 5em;
}

#project-desc p.desc {
    width: 60%;
    line-height: 1.6;
    font-size: 1.5em
}

#project-desc .capability_list {
    width: 30%;
}

#project-desc .capability_list h2 {
    font-size: 1.5em;
}

#project-desc .capability_list p {
    font-size: 0.9em;
}

#project-landing img.logo {
    height: 1em;
    width: auto;
} 

#project-landing img.full {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

#project-landing .column-img {
    width: 50%;
    height: 50em;
}

.column-img.image-1 {
    background-image: url(320263235_834752187809584_3102468408873804361_n.jpg);
    background-position: top;
    background-size: cover;
}

.column-img.image-2 {
    background-image: url(320218413_546087950428747_5363951626736259580_n.jpg);
    background-position: center;
    background-size: cover;
}


#project-landing .content-container .portfolio-flex {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
}

/* Portfolio page --------------------------------------*/

#portfolio-page .hero, #contact-page .hero {
    height: 50vh;
}

#portfolio-page .hero .content-container, #contact-page .hero .content-container {
    height: 50vh;
    display: flex;
    align-items: flex-end;
}

#portfolio-page h1, #contact-page h1 {
    font-size: 9em;
    /* margin-top: 5em; */
}

.title-wrapper {
    display: flex;
    height: 100%;
    align-items: flex-end;
    position: relative;
}

.page-title-animation {
    display: flex;
    align-items: center;
    animation: 15s slide infinite linear;
    white-space: nowrap;
    justify-content: center;
    bottom: -1em;
}

.title-icon {
    height: 6em;
    padding-bottom: 3em;
    margin: 0 4em;
}


/* Gallery ----------------------------------- */

.portfolio-container {
    width: 100%;
}

.filter-buttons {
    margin-bottom: 4em;
}

button {
    font-family: "Space Grotesk" !important;
}

.filter-btn {
    font-family: "Space Grotesk" !important;
    border: none;
    padding: 10px 20px;
    margin-right: 0.5em;
    cursor: pointer;
    color: white;
    border-radius: 20em;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.8em;
    font-weight: 400;
}

.filter-btn.btn_pink {
    background-color: transparent;
    color: #FF7BAC;
    border: 1px solid #FF7BAC;
}

.filter-btn.btn_pink:focus {
    background-color: #FF7BAC;
    color: #fff;
    border: 1px solid #FF7BAC;
}

.filter-btn.btn_pink:hover {
    background-color: rgba(255, 123, 172, 0.15);
    color:  #FF7BAC;
    border: 1px solid #FF7BAC;
}

.filter-btn.btn_orange {
    background-color: transparent;
    color: #FF931E;
    border: 1px solid #FF931E;
}

.filter-btn.btn_orange:focus {
    background-color: #FF931E;
    color: #fff;
    border: 1px solid #FF931E;
}

.filter-btn.btn_orange:hover {
    background-color: rgba(255, 147, 30, 0.15);
    color: #FF931E;
    border: 1px solid #FF931E;
}

.filter-btn.btn_green {
    background-color: transparent;
    color: #7AC943;
    border: 1px solid #7AC943;
}

.filter-btn.btn_green:focus {
    background-color: #7AC943;
    color: #fff;
    border: 1px solid #7AC943;
}

.filter-btn.btn_green:hover {
    background-color: rgba(122, 201, 67, 0.15);
    color: #7AC943;
    border: 1px solid #7AC943;
}

.filter-btn.btn_blue {
    background-color: transparent;
    color: #3FA9F5;
    border: 1px solid #3FA9F5;
}

.filter-btn.btn_blue:focus {
    background-color: #3FA9F5;
    color: #fff;
    border: 1px solid #3FA9F5;
}

.filter-btn.btn_blue:hover {
    background-color: rgba(63, 169, 245, 0.15);
    color: #3FA9F5;
    border: 1px solid #3FA9F5;
}

.portfolio-gallery {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3em;
    column-count: 3;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid; */
    column-count:3;
    column-gap:50px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Add animation for fade-in and fade-out */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

.portfolio-item {
    /* display: none; */
    /* opacity: 0;
    transform: scale(0.8); */
    
    display:block;
    position:relative;
    width: 0;
    height: 0;
    overflow: hidden;
    margin-bottom: 2em;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    background-color: #ddd;
}

/* Add animation for show/hide */
.portfolio-item.show {
    /* display: inline-block; */
    width:100%; 
    height:100%; 
    opacity:1;
    animation: fadeIn 0.5s ease forwards;
}

.portfolio-item.hide {
    width:0%; 
    height:0%; 
    opacity:0;
    animation: fadeOut 0.5s ease forwards;
}

.cta-padding {
    padding: 1.5em 2em;
    font-weight: 600;
    letter-spacing: 0.075em;
    font-size: 0.8em;
}

.cta-padding:hover {
    padding: 1.5em 2em;
    font-weight: 600;
    letter-spacing: 0.075em;
    font-size: 0.8em;
}

.box {
    width: 100%;
    height: 200px;
    background-color: grey;
}

.portfolio-item p {
    font-size: 1.6em;
    line-height: 1.2;
    text-decoration: underline;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.portfolio-item a p {
    color: #000;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* Blob ------------------------------------------------------  */

.home-hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    margin: 0;
    width: 100%;
}

.blob {
    width: 25vw;
    height: 25vw;
    background-image: url(tomie-sato.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: relative;
    animation: moveBlob 20s infinite;
    right: 0;
}

@keyframes moveBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) scale(1);
    }
    25% {
        border-radius: 30% 70% 50% 50% / 50% 50% 30% 70%;
        transform: translate(-10px, 10px) scale(1);
    }
    50% {
        border-radius: 70% 30% 60% 40% / 40% 60% 50% 50%;
        transform: translate(10px, -10px) scale(1);
    }
    75% {
        border-radius: 40% 60% 70% 30% / 60% 40% 60% 40%;
        transform: translate(-10px, 10px) scale(1);
    }
}

.ae_home-white {
    position: absolute;
    bottom: -1em;
    left: -1em;
    width: 7em;
    height: 7em;
    fill: rgba(255,255,255,0.9);
    border-radius: 10px;
    animation: float 6s ease infinite, glow 20s ease infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* @keyframes colorChange {
    0%, 100% {
        fill: rgba(255,255,255,0.3);
    }
    50% {
        fill: rgba(255,255,255,0.9);
    }
} */
