/*------------------------------------*\
    A Bowl of Happiness
\*------------------------------------*/
.section.intro {
  overflow: hidden;
  position: relative;

  .tag-line {
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

@media only screen and (max-width: 1024px) {
  .section.intro {
    .tag-line {
      padding-top: 160px;
      padding-bottom: 160px;
    }
  }
}

.deco-noodles2 {
  position: absolute;
  width: 387px;
  top: 200px;
  left: 0;
  transform: rotate(-12deg);

  &.visible #mask2 path {
    animation: draw2 0.8s 0.6s ease-out forwards;
  }

  svg {
    width: 100%;
    height: auto;
    fill: black;

    #noodles2 {
      mask: url(http://172-105-115-137.ip.linodeusercontent.com/#mask-wrapper2);
      fill: #fff;
    }

    .path {
      fill: rgba(249, 247, 241, 0.3);
    }

    #mask2 path {
      fill: none;
      stroke: #ffffff;
      stroke-width: 120;
      stroke-dasharray: 1800px;
      stroke-dashoffset: 1800px;
    }
  }
}

.deco-noodles3 {
  position: absolute;
  width: 387px;
  top: 560px;
  right: 0;
  transform: rotate(150deg);

  &.visible #mask3 path {
    animation: draw2 0.64s 0.8s ease-out forwards;
  }

  svg {
    width: 100%;
    height: auto;
    fill: black;

    #noodles3 {
      mask: url(http://172-105-115-137.ip.linodeusercontent.com/#mask-wrapper3);
      fill: #fff;
    }

    .path {
      fill: rgba(249, 247, 241, 0.3);
    }

    #mask3 path {
      fill: none;
      stroke: #ffffff;
      stroke-width: 120;
      stroke-dasharray: 1800px;
      stroke-dashoffset: 1800px;
    }
  }
}

@media only screen and (max-width: 1024px) {
  .deco-noodles2 {
    width: 40vw;
    min-width: 240px;
    top: 40px;
  }

  .deco-noodles3 {
    width: 40vw;
    min-width: 240px;
    top: 400px;
  }
}

@keyframes draw2 {
  0% {
    stroke-dashoffset: 1800px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.section.intro .container {
  position: relative;
}

.float-image {
  position: absolute;
  transition: transform 0.2s ease-out, opacity 0.8s 0.24s ease;
  margin: auto;
  &.image_01 {
    width: 400px;
    transform: rotate(-15deg);
    top: 120px;
    right: 0;
    left: -640px;
  }

  &.image_02 {
    width: 320px;
    transform: rotate(20deg);
    top: 580px;
    right: -800px;
    left: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .float-image {
    &.image_01 {
      width: 40vw;
      min-width: 200px;
      top: 80px;
      left: min(-52vw, -200px);
    }

    &.image_02 {
      width: 28vw;
      min-width: 140px;
      top: 580px;
      right: min(-56vw, -120px);
    }
  }
}

.two-cols {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;

  &.image-col {
    position: relative;
    width: 50%;
    max-width: 480px;
    flex-shrink: 0;
  }

  .heading {
    margin-bottom: 8px;
  }
}

@media only screen and (max-width: 1024px) {
  .two-cols {
    flex-direction: column;
    gap: 40px;
  }

  .col {
    &.image-col {
      width: 100%;
    }
  }
}

/*------------------------------------*\
    News
\*------------------------------------*/
.section.news {
  padding: 200px 0 100px;

  .heading {
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
  }
}

@media only screen and (max-width: 1024px) {
  .section.news {
    padding: 40px 0;
  }
}

/*------------------------------------*\
    Express
\*------------------------------------*/
.section.express {
  overflow: hidden;
  padding: 80px 0;
  background-color: var(--wp--preset--color--yellow);
  color: var(--wp--preset--color--black);

  .container {
    position: relative;
    display: flex;
    justify-content: flex-end;
  }

  .content-area {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;

    opacity: 0;
    transform: translateX(20%);
    transition: all 0.4s 0.4s ease-out;

    &.visible {
      opacity: 1;
      transform: translateX(0);

      .express-logo,
      .express-text {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .button {
      margin-left: auto;
      margin-right: auto;
    }
  }

  .express-logo {
    max-width: 528px;
    width: 100%;
    height: auto;
    margin-bottom: 16px;

    opacity: 0;
    transform: translateX(20px);
    transition: all 0.48s 0.48s ease-out;

    img {
      width: 100%;
      height: auto;
    }
  }

  .express-text {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.48s 0.54s ease-out;
  }

  .button {
    margin-top: 24px;
  }

  .floating-kiosk {
    position: absolute;
    top: 288px;
    left: 0;
    width: 56vw;
    max-width: 800px;
    transform: translateY(8px);
  }
}

.circular {
  position: relative;
}

.circular__img {
  width: 246px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 1024px) {
  .section.express {
    overflow: hidden;
    padding-bottom: 0;
    background-color: var(--wp--preset--color--yellow);
    color: var(--wp--preset--color--black);

    .container {
      display: block;
      padding-bottom: 0;
      margin-bottom: -0px;
      overflow: hidden;
    }

    .content-area {
      width: 100%;
    }

    .express-logo {
      max-width: 528px;
      width: 100%;
      height: auto;
      margin-bottom: 16px;

      img {
        width: 100%;
        height: auto;
      }
    }

    .button {
      margin-top: 24px;
    }

    .floating-kiosk {
      display: flex;
      justify-content: center;
      position: static;
      margin: auto;
      width: 100%;
      picture {
        width: 560px;
      }
    }
  }

  .circular {
    width: 240px;
  }

  .circular__img {
    width: 160px;
  }
}
