/*
 Theme Name:   Make2Web
 Theme URI:    https://make2web.com/
 Description:  Fancy Seeing You Here... Source Viewer.
 Author:       Da
 Author URI:   https://i.am.da.in.th/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

* {
  transition: all 0.5s ease;
}

html {
  scroll-padding-top: 9vw;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

@media(max-width:1023px) {
  html {
    scroll-padding-top: 25vw;
  }
}

/* 
#home-section {
  background-image: linear-gradient(307deg, var(--bricks-color-fgzpxb), var(--bricks-color-ywsjcn), var(--bricks-color-xcfhkp), var(--bricks-color-vlpgxv), var(--bricks-color-ywsjcn));
  background-size: 600%;
  background-position: 0 0;
  box-shadow: inset 0 0 5em rgba(0, 0, 0, 0.2);
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-name: gradients;
}

@keyframes gradients {
  0% {
    background-position: 0 0;
  }

  25% {
    background-position: 50% 0;
  }

  50% {
    background-position: 90% 0;
  }

  60% {
    background-position: 60%;
  }

  75% {
    background-position: 40%;
  }

  100% {
    background-position: 0 0;
  }
}
*/

#home-section {
  background: radial-gradient(circle at center bottom, #41aab9, #025C81);
  background-size: 400% 400%;
  animation: breathe 2s ease-in-out infinite alternate;
}

#corporate-section,
#wpfix-section {
  background: radial-gradient(circle at center bottom, var(--bricks-color-ywsjcn), var(--bricks-color-vlpgxv));
  background-size: 400% 400%;
  animation: breathe 2s ease-in-out infinite alternate;
}

@keyframes breathe {
  0% {
    background-size: 100% 100%;
  }

  100% {
    background-size: 200% 200%;
  }
}

#ecommerce-section {
  background: radial-gradient(circle at left top, #FEFEFE, #FAFAE9, #E2F6F6);
  background-size: 800% 800%;
  animation: gradientMove 30s ease-in-out infinite;
}

#real-estate-section {
  background: radial-gradient(circle at right top, #FEFEFE, #E2F6F6, #FAFAE9);
  background-size: 800% 800%;
  animation: gradientMove 30s ease-in-out infinite;
}

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

  25% {
    background-position: 100% 25%;
  }

  50% {
    background-position: 50% 100%;
  }

  75% {
    background-position: 25% 0%;
  }

  100% {
    background-position: 0% 50%;
  }
}

video {
  border-radius: 16px;
}

/* Underline Links */
a:not(.bricks-button) {
  color: var(--bricks-color-ywsjcn);
  background:
    linear-gradient(to right, rgba(65, 170, 185, 1), rgba(100, 200, 200, 1)),
    linear-gradient(to right, rgba(95, 173, 86, 1), rgba(252, 216, 122, 1));
  background-size: 100% 0.1em, 0 0.1em;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
  transition: 400ms;
}
a:not(.bricks-button):hover {
  color: var(--bricks-color-fgzpxb);
  background-size: 0 0.1em, 100% 0.1em;
}

/* Unline */
.brxe-logo,
.brxe-nav-menu a,
.toc-list-item a,
.brxe-posts a,
.brxe-breadcrumbs a,
.brxe-post-navigation a,
.contact-method a,
.btl_autolink_hyperlink a,
.social-footer a,
.header-nav-arrow,
.header-nav-arrow a,
.review-link,
.addtoany_list a {
  color: inherit;
  background: none !important;
}

.brxe-breadcrumbs a {
  color: var(--bricks-color-ejbpjo);
  text-align: center;
  font-size: 14px;
}

.breadcrumb-sample.brxe-breadcrumbs a {
  color: var(--bricks-color-hfdlew);
  text-align: center;
  font-size: 14px;
}

.underline-link {
  background:
    linear-gradient(to right, rgba(65, 170, 185, 1), rgba(100, 200, 200, 1)),
    linear-gradient(to right, rgba(95, 173, 86, 1), rgba(252, 216, 122, 1));
  background-size: 100% 0.1em, 0 0.1em;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
  transition: 400ms;
}

.underline-link:hover,
.underline-link:focus {
  color: var(--bricks-color-fgzpxb);
  background-size: 0 0.1em, 100% 0.1em;
}

/* Text */
.blue-text {
  color: var(--bricks-color-ywsjcn);
}

/* Default yellow mark */
mark {
  margin: 0 -0.4em;
  padding: 0.05em 0.4em;
  border-radius: 0.7em 0.3em;
  background: transparent;
  background-image: linear-gradient(to right,
      rgba(255, 225, 0, 0.1),
      rgba(255, 225, 0, 0.7) 4%,
      rgba(255, 225, 0, 0.3));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* White mark variation */
mark.white {
  background: transparent;
  background-image: linear-gradient(to right,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.7) 4%,
      rgba(255, 255, 255, 0.3));
}

/* #002f36 mark variation */
mark.dark {
  background: transparent;
  background-image: linear-gradient(to right,
      rgba(0, 47, 54, 0.1),
      rgba(0, 47, 54, 0.7) 4%,
      rgba(0, 47, 54, 0.3));
  color: #fff;
}

code {
    background-color: var(--bricks-color-ejbpjo);
    padding: 2px 6px;
    border-radius: 5px;
}

/* gradient text */
.gradient-gray-slide {
  background-image: linear-gradient(99deg, #fcfffa, #d9d9d9, #fcfffa, #d9d9d9, #fcfffa, #d9d9d9);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
}

.gradient-renovate-slide2 {
  background-image: linear-gradient(99deg, #60AD55, #41aab9, #60AD55, #41aab9, #60AD55, #41aab9);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
}

.gradient-ecommerce-slide {
  background-image: linear-gradient(99deg, #E7B05C, #efb759, #E7B05C, #efb759, #E7B05C, #efb759);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
}

.gradient-webdesign-slide {
  background-image: linear-gradient(99deg, #90dbe0, #41aab9, #90dbe0, #41aab9, #90dbe0, #41aab9);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
}

/*
.gradient-gray-slide {
  background-image: linear-gradient(99deg, #fcfffa, rgba(101, 87, 146, 0.2), #fcfffa, rgba(101, 87, 146, 0.2), #fcfffa, rgba(101, 87, 146, 0.2));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
} */

.gradient-greenblue-slide {
  background-image: linear-gradient(99deg, #41aab9, #19535f, #41aab9, #19535f, #41aab9, #19535f);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientAnimation 5s linear infinite;
  animation-direction: alternate;
  background-size: 300% 100%;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0;
  }

  to {
    background-position: 100%;
  }
}

/* Marquee */
.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  height: 55px;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


.semi-navigation {
  overflow-x: scroll;
}

/* line break */
.desktop-br {
  display: block;
}

.desktop-br-tl {
  display: block;
}

.mobile-br {
  display: none;
}


@media screen and (max-width: 1200px) {
  .desktop-br {
    display: block;
  }

  .desktop-br-tl {
    display: block;
  }

  .mobile-br {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .desktop-br {
    display: block;
  }

  .desktop-br-tl {
    display: none;
  }

  .mobile-br {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .desktop-br {
    display: none;
  }

  .desktop-br-tl {
    display: none;
  }

  .mobile-br {
    display: block;
  }
}

/* Nav Menu */
.brxe-nav-menu .bricks-mobile-menu {
  margin-top: 14vh;
}

.brxe-nav-menu svg:not([height]) {
  min-height: 0.6em;
}

.brxe-nav-menu svg:not([width]) {
  min-width: 0.5em;
}

.brxe-nav-menu svg {
  margin-top: 0.2em;
}
.header-glass {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(5px); 
  -webkit-backdrop-filter: blur(5px);   
}
@media (max-width: 991px) {
    .bricks-mobile-menu-wrapper {
        right: -20px !important;
        height: 110vh !important;
        overflow-y: hidden !important;
    }
}
/*Posts*/
.bricks-aspect-ratio-16-9 {
  border-radius: 12px;
}

.brxe-posts img {
  transition: 0.5s;
}

.brxe-posts .repeater-item:hover img {
  scale: 1.05;
  border-radius: 16px;
}

.brxe-breadcrumbs {
  gap: 1px !important;
  padding: 2px 0 !important;
}

/* Full Page Port */
.full-page-portfolio .overlay-wrapper {
  background: linear-gradient(0deg, var(--bricks-color-vlpgxv) 0%, rgba(0, 0, 0, 0) 50%);
}

.full-page-portfolio .overlay-wrapper:hover {
  background: linear-gradient(0deg, var(--bricks-color-vlpgxv) 0%, rgba(0, 0, 0, 0) 60%);
}

/* Post Content Headings */
.brxe-post-content h2,
.policy-content h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.brxe-post-content h3,
.policy-content h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

.brxe-post-content h4,
.policy-content h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.brxe-post-content h5,
.policy-content h5 {
  font-size: 1.0.5em;
  margin-bottom: 0.5em;
}

.brxe-post-content h6,
.policy-content h6 {
  font-size: 0.5em;
  margin-bottom: 0.5em;
}


/* buttons */
.bricks-button:not(.underline-link) {
  transition: 0.5s;
}

.gb-button-wrapper a:hover,
.bricks-button:hover {
  filter: brightness(.9) contrast(1.2);
  transform: scale(0.95);
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.gb-button-wrapper a:focus:not(:active)::after {
  animation: ripple 0.5s ease-out;
}


.wp-block-image img,
.gb-image {
  box-shadow: 0px 15px 40px 5px rgba(0, 0, 0, 0.02);
  -webkit-box-shadow: 0px 15px 40px 5px rgba(0, 0, 0, 0.02);
  -moz-box-shadow: 0px 15px 40px 5px rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}

.wp-block-image :where(figcaption) {
  margin-bottom: 4em;
  margin-top: 1em;
}

/* buttons override */
.brxe-button:not(.underline-link) {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
  transform: translateZ(0);
}

.brxe-button:not(.underline-link)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle,
      rgb(255, 235, 173) 0%,
      rgb(255, 209, 87) 50%,
      rgb(204, 153, 0) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
  pointer-events: none;
  filter: blur(0px);
}

.brxe-button:not(.underline-link):hover::before {
  width: 400px;
  height: 400px;
  filter: blur(1px);
  background: radial-gradient(circle,
      rgb(255, 235, 173) 0%,
      rgb(255, 209, 87) 50%,
      rgb(204, 153, 0) 100%);
}

.brxe-button:not(.underline-link):hover {
  transform: translateY(-5px) scale(1.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.05),
    0 0 15px rgba(255, 215, 0, 0.05) !important;
  color: #002f36 !important;
  border: none;
}

.brxe-button:not(.underline-link):hover svg {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.05)) brightness(0);
}

#add-line-header {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
  transform: translateZ(0);
}

#add-line-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle,
      #4CC764 0%,
      #2EBF55 50%,
      #0AC656 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
  pointer-events: none;
  filter: blur(0px);
}

#add-line-header:hover::before {
  width: 400px;
  height: 400px;
  filter: blur(1px);
  background: radial-gradient(circle,
      #4CC764 0%,
      #2EBF55 50%,
      #0AC656 100%);
}

#add-line-header:hover {
  transform: translateY(-5px) scale(1.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.05),
    0 0 15px rgba(10, 198, 86, 0.3) !important;
  color: #002f36 !important;
  border: none;
}

#add-line-header:hover img {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05)) drop-shadow(0 0 10px rgba(10, 198, 86, 0.4)) invert(1) brightness(5);
}


.count {
  background: #2C747E;
  background: linear-gradient(to top right, #2C747E 0%, #41AAB9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-bw-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: white;
    padding: 0;
}

.logo-bw-carousel-track {
    display: flex;
    width: calc(200px * 40);
    animation: scroll 120s linear infinite;
}

.logo-bw-carousel-item {
    flex: 0 0 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.logo-bw-carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-bw-carousel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.fade-left,
.fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 20 - 400px));
    }
}

.logo-bw-carousel-container:hover .logo-bw-carousel-track {
    animation-play-state: paused;
}

@media (max-width: 1200px) {
    .logo-bw-carousel-item {
        flex: 0 0 160px;
        height: 60px;
        margin: 0 15px;
    }
    
    .logo-bw-carousel-track {
        width: calc(160px * 40 + 30px * 40);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 20 - 300px * 20));
        }
    }
}

@media (max-width: 768px) {
    .logo-bw-carousel-container {
        padding: 0;
    }
    
    .logo-bw-carousel-item {
        flex: 0 0 120px;
        height: 50px;
        margin: 0 10px;
    }
    
    .logo-bw-carousel-track {
        width: calc(120px * 40 + 20px * 40);
    }
    
    .fade-left,
    .fade-right {
        width: 50px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 20 - 200px * 20));
        }
    }
}

@media (max-width: 480px) {
    .logo-bw-carousel-item {
        flex: 0 0 100px;
        height: 40px;
        margin: 0 8px;
    }
    
    .logo-bw-carousel-track {
        width: calc(100px * 40 + 16px * 40);
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 20 - 160px * 20));
        }
    }
}