:root {
  --bg-main: #5d3222;
  --bg-main12312: #b18a7a;
  --bg-white: #ffffff;
  --color-gray: #727272;
  --color-dark: #000;
  --color-gift: #f6ebe7;
  --color-sec: #0d0a07;
  --anImage: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
i {
  vertical-align: middle;
}
a {
  text-decoration: none;
}
img {
  object-fit: cover;
}
body {
  font-family: "DM Sans", sans-serif;
}
.Marcellus {
  font-family: "Marcellus", serif;
}
.Charm {
  font-family: "Charm", cursive;
}

.bg-3 {
  background: #c1a38826;
}
.color-light {
  color: #fff;
}
.color-main {
  color: var(--bg-main);
}
.text-main-2 {
  color: #aa6c59;
}
.color-main-black {
  color: #3b2f2a;
}
.color-dark {
  color: var(--color-dark);
}
.bg-main {
  background: var(--bg-main);
}
.bdg-main {
  border: 1px solid #c27d8c;
}
.color-main-2 {
  color: #e5737a;
}
.bg-main-light {
  background: #f5ebe7;
}

.color-hover:hover {
  color: var(--bg-main) !important;
}
.color-hover-dark:hover {
  color: var(--color-dark) !important;
}
.bg-white-2 {
  background: #ffffffe8;
}

.frame {
  padding-top: 85px;
}
.frame-2 {
  padding-bottom: 85px !important;
}

.fs-7 {
  font-size: 0.85rem;
}
.fs-8 {
  font-size: 0.75rem;
}
.fs-9 {
  font-size: 0.65rem;
}
.fs-10 {
  font-size: 0.55rem;
}
.fs-16px {
  font-size: 16px;
}
.fs-25px {
  font-size: 25px;
}
.fs-46px {
  font-size: 46px;
}
.fs-52px {
  font-size: 52px;
}
.fs-64px {
  font-size: 64px;
  line-height: 1;
}
.fs-68px {
  font-size: 68px;
}
.fs-68px-2 {
  font-size: 68px;
}
.fs-78px {
  font-size: 78px;
  line-height: 1;
}
.fs-84px {
  font-size: 84px;
  line-height: 1;
}
.fs-100px {
  font-size: 100px;
}
.fs-220px {
  font-size: 220px;
  line-height: 1;
}
.fs-220px-f {
  font-size: 220px;
  line-height: 1;
}
.line-height-0 {
  line-height: 0;
}
.icon-bg-48 {
  width: 48px;
  height: 48px;
}
.logo-wb {
  max-width: 230px;
}

.lh-1-1 {
  line-height: 1.1;
}
.h-90vh {
  height: 90vh;
}
.animate {
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.animate.active {
  opacity: 1;
  animation: fadeInUp 1s forwards;
}
.slick-slide .animate.active {
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.slick-slide.slick-active .animate.active {
  opacity: 1;
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.scroll-to-top {
  border: 1px solid var(--bg-main);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(-500px) translateX(-4px);
  background: #fff !important;
  color: var(--bg-main) !important;
  z-index: 99;
  cursor: pointer;
}
/* .scroll-to-top.active {
} */
.scroll-to-top.active {
  transform: translateY(-50%) translateX(-4px);
  opacity: 1;
}
.scroll-to-top:hover {
  background: var(--bg-main) !important;
  color: #fff !important;
}

.ring-to-top:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--bg-main);
  opacity: 0.5;
  animation: ring-circle-anim 1.2s infinite ease-in-out;
  transition: all 0.5s;
  transform-origin: 50% 50%;
}

.ring-to-top:before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  content: "";
  background-color: rgba(var(--bg-main), 0.5);
  border-radius: 50%;
  border: none;
  animation: ring-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all 0.5s;
  transform-origin: 50% 50%;
}

.ring-to-top {
  box-sizing: border-box;
  animation: oscillate-rotation 1s infinite ease-in-out;
  transform-origin: 50% 50%;
  bottom: 100px;
  right: 4px;
  border: 1px solid var(--bg-main);
  background: #fff !important;
  color: var(--bg-main) !important;
  z-index: 99;
  cursor: pointer;
}

@keyframes ring-circle-anim {
  0% {
    transform: rotate(0) scale(1.1) skew(0deg);
    opacity: 0;
  }

  30% {
    transform: rotate(0) scale(1.5) skew(0deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(0) scale(1.7) skew(0deg);
    opacity: 0.1;
  }
}
@keyframes ring-circle-fill-anim {
  0% {
    transform: rotate(0) scale(1) skew(0deg);
    opacity: 0.2;
  }

  50% {
    transform: rotate(0) scale(1.4) skew(0deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(0) scale(1.1) skew(0deg);
    opacity: 0.2;
  }
}

@keyframes oscillate-rotation {
  0% {
    transform: rotate(0) scale(1) skew(0deg);
  }

  10% {
    transform: rotate(-25deg) scale(1) skew(0deg);
  }

  20% {
    transform: rotate(25deg) scale(1) skew(0deg);
  }

  30% {
    transform: rotate(-25deg) scale(1) skew(0deg);
  }

  40% {
    transform: rotate(25deg) scale(1) skew(0deg);
  }

  50% {
    transform: rotate(0) scale(1) skew(0deg);
  }

  100% {
    transform: rotate(0) scale(1) skew(0deg);
  }
}
.filter-image {
  filter: invert(1) grayscale(1);
}
.subtitle-fs {
  font-size: 18px;
}
.subtitle-color {
  color: var(--color-gray);
}

.load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img {
 
  width: 300px;
  height: 100px;
   background: url(../images/logo.png) no-repeat center center;
}
.item{
  position: relative;
}
.square {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 200px;
   background-color: #a4cedb;
  mix-blend-mode: difference;
  z-index: 2;
  animation: moveAcross 2.3s linear infinite ;
}

@keyframes moveAcross {
  0% {
    left: -60px;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  90%{
opacity: 0;
  }
  100% {
    opacity: 0;
    left: 100%;
  }
}
.tile {
  width: 20px;
  height: 20px;
 

  position: absolute;
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
  animation: assemble 1s ease forwards;
}

@keyframes assemble {
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.load.hide {
  pointer-events: none;
  animation: an 1s ease-in-out;
}
@keyframes an {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    --anImage: none;
  }
}
/* end  */
.button-all {
  width: fit-content;
  overflow: hidden;
  min-width: 150px;
  height: 50px;
  display: flex;
  justify-content: center;
  background: var(--bg-main) !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border: 1px solid var(--bg-main);
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(149, 120, 84, 0.636);
  opacity: 0.5;
}

.circle:nth-of-type(2) {
  background: rgba(168, 105, 66, 0.704);
  opacity: 0.5;
  animation-delay: 0.1s;
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}
#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#934343 1px, transparent 1%);
  background-size: 50px 50px;
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}
.button-all:hover {
  background: transparent !important;
  color: var(--bg-main) !important;
}
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../images/noise.gif) repeat;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  user-select: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 50% 50%;
  background-size: auto;
  opacity: 0.02;
  z-index: 999999;
}
.nav-link:hover,
.nav-link.active {
  color: var(--bg-main) !important;
  border-bottom: 2px solid var(--bg-main);
}

section {
  width: 100%;
  height: fit-content;
  overflow: hidden;
}
section .scroll {
  width: 100%;
  display: flex;
}
section .scroll .home-1 {
  padding: 10px 0;
  color: var(--bg-main);
  white-space: nowrap;
  animation: animate 25s linear infinite;
  animation-delay: -2s;
}

.rotate {
  transform: rotate(2deg);
  bottom: 44px;
  width: 120%;
  left: -10px;
}
.rotate-2 {
  transform: rotate(355deg);
  top: 66px;
  width: 120%;
  left: -10px;
}
.bg-opacity {
  background: #00000063;
}

section .scroll .home-2 {
  padding: 10px 0;
  color: var(--bg-main);
  white-space: nowrap;
  animation: animate 40s linear infinite;
  animation-delay: -10s;
}
section .scroll .home-3 {
  padding: 10px 0;
  background-color: #fadbb0;
  color: #fff;
  white-space: nowrap;
  animation: animate 40s linear infinite;
  animation-delay: -1s;
}

section .scroll div img {
  width: 24px;
  height: 24px;
}
section .scroll div span {
  padding: 10px 20px 0;
  font-size: 230px;
  line-height: 1;
  font-family: "Marcellus", serif;
}
@keyframes animate {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
section .scroll.text1 {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.bg-slider {
  background: #f4ece0;
}
.img-main {
  transition: all 1.2s linear;
}
.bg-flower-1::before {
  content: "";
  background: url(../images/bg-flower-1.png) no-repeat center center;
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: opacity(0.5) hue-rotate(34deg);
}
.scroll-container {
  position: absolute;
}
.bg-header.shadow {
  animation: hien 0.3s linear forwards;
}
@keyframes hien {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.slider {
  overflow: hidden;
}
.bg-page {
  background: #ffeee77d;
}
/* -----------------------------------------------------------------about */
.img-about-1,
.img-about-2 {
  height: 450px;
}
.img-about-1 {
  animation: updown 4s ease-in-out infinite alternate;
}
.img-about-2 {
  margin-top: 130px;
  animation: updown 5s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}
@keyframes updown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
.circle-logo-about {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  width: auto;
  height: auto;
}
.circle-about {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 100vmax;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-about {
  position: absolute;
  width: 140px;
  height: 140px;
  background: url(../images/logo.png) no-repeat center center;
  background-size: contain;
  border-radius: 100vmax;
}
.logo-about::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100vmax;
  border: 20px solid var(--bg-main);
  opacity: 0.95;
  z-index: -1;
  transform: scale(1.4);
}
.logo-about:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100vmax;
  background: #fff;
  background-size: cover;

  z-index: -1;
  background-position: center;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(circle, #5d3222c7 60%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(
    circle,
    #5d3222c7 60%,
    rgba(0, 0, 0, 0) 80%
  );
}

.text-about {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-size: 17px;
  animation: textRotation 10s linear infinite;
}

@keyframes textRotation {
  to {
    transform: rotate(360deg);
  }
}

.text-about span {
  position: absolute;
  left: 50%;
  font-size: 1.2em;
  transform-origin: 0 100px;
}
.logo-sub {
  width: 50px;
  height: 40px;
}
/* -----------------------------------------------------------------service */
.service-img {
  position: relative;

  overflow: hidden;
}
.service-img::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: unset;
  transition: all 0.5s ease;
  scale: 1;
  box-shadow: 0px 0 rgba(255, 255, 255, 1%) inset,
    0 0 rgba(255, 255, 255, 1%) inset, -0 0 rgba(255, 255, 255, 1%) inset,
    0 -0 rgba(255, 255, 255, 1%) inset;
  transform: rotate(45deg);
  z-index: 1;
}
.service-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: unset;
  transition: all 0.5s ease;
  scale: 1;
  box-shadow: 0 0 rgba(255, 255, 255, 1%) inset,
    0 0 rgba(255, 255, 255, 1%) inset, -0 0 rgba(255, 255, 255, 1%) inset,
    0 -0 rgba(255, 255, 255, 1%) inset;
  z-index: 1;
}
.service-item:hover .service-img::before,
.service-item:hover .service-img::after {
  -webkit-box-shadow: 55px 55px 0 rgba(255, 111, 0, 0.2) inset,
    0 55px 0 rgba(252, 150, 0, 0.2) inset,
    -55px -55px 0 rgba(212, 90, 18, 0.2) inset,
    0 -55px 0 rgba(255, 213, 0, 0.2) inset;
  scale: 1;
}
.service-item .service-img img {
  transition: all 0.5s ease;
  height: 600px;
}
.service-item:hover .service-img img {
  transform: scale(1.1);
  filter: brightness(0.8);
}
.service-content {
  position: absolute;
  bottom: 0%;
  left: 0;
  text-align: center;
  background: var(--bg-main);
  padding: 1rem 1.5rem;
  transition: all 0.5s ease;
  z-index: 2;
}
.service-item:hover .service-content {
  background: #fff;
  transform: translateY(-10px);
}
.service-item:hover .service-content .name-service {
  color: var(--bg-main);
}

.pointer-event-none {
  pointer-events: none;
}

.service-item::before,
.service-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  animation: ripple 3s ease-out infinite;
  filter: blur(2px);
}

.service-item::after {
  animation-delay: 1.5s;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.4;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
  }
}
.z--1 {
  z-index: -1;
}
.z--2 {
  z-index: -2;
}

/* --------------------------------------------------------------------------------------------- mess */

.bg-img-mess::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.7;
  background-size: cover;
}

.icon-quote {
  font-size: 50px;
}

.title-mess {
  padding: 10px 20px;
  width: fit-content;
  margin: 0 auto;
}
/* --------------------------------------------------------------------------------------------- gallery */
.gallery-item img {
  height: 244px;
}
.gallery-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 30px;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 2;
  pointer-events: none;
}
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgb(0, 0, 0) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
.gallery-item:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  animation: ripple 2s ease-out forwards;
  filter: blur(2px);
  z-index: 2;
}
.gallery-item:hover::before {
  opacity: 1;
}
.gallery-item:hover i {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
/* --------------------------------------------------------------------------------------------- contact */
.img-gift-1 {
  z-index: -3;
}
.bg-gift::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(222deg, rgba(255, 255, 255, 0) 0%, #5d3222 90%);
  background-size: cover;
  z-index: -2;
}
/* -----------------------------------gallery */
.gallery-item-t {
  align-items: center;
  transform: scale(1);
  cursor: pointer;
}
.gallery-item-t:hover,
.gallery-item-t.active {
  background: #fff !important;
  color: var(--bg-main) !important;
  transform: scale(1.05);
}

.page {
  background: var(--bg-main);
  position: relative;
}
.img-services {
  width: 450px;
  max-height: 300px;
}
.icon-footer {
  border: 1px solid #fff;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
}
.icon-footer:hover {
  color: var(--bg-main) !important;
  background: #fff;
}
@media (max-width: 998px) {
  section .scroll div span {
    font-size: 100px;
  }
}
@media (max-width: 920px) {
  .nav-link {
    font-size: 18px;
  }
  .bg-gift {
    background-attachment: scroll;
  }
}
@media (max-width: 786px) {
  /* .fs-46px {
    font-size: 30px;
  } */
   .img-about-1{
    object-position: -300px 0;
   }
  .fs-64px {
    font-size: 40px;
  }
  .fs-78px {
    font-size: 50px;
  }
  .fs-84px {
    font-size: 60px;
  }
  .fs-46px {
    font-size: 40px;
  }
  .gallery-item img {
    height: 200px;
  }
   .img-main{
    margin-bottom: -50px;
  }
    .img-main.nth3{
    object-position: 0 -70px;
  }
}
@media (max-width: 446px) {
  .service-item .service-img img{
    height: 450px;
  }
  .circle-logo-about {
  
    transform: translate(-50%, -106%) scale(.5);
  }
  .img-about-1{
    object-position: -350px 0;
  }
 
  


  .img-mb {
    width: 100%;
  }
  .fs-46px {
    font-size: 32px;
  }
  .page {
    min-height: 150px !important;
  }
  .gallery-item img {
    height: 170px;
  }
  .logo-wb {
    max-width: 190px;
  }
  .logo-wb.active {
    max-width: 150px;
}

  .bg-flower-1::before {
    filter: opacity(0.3) hue-rotate(34deg);
  }
  .item-footer-2 {
    border: none;
  }
  .item-footer-1,
  .item-footer-2,
  .item-footer-3 {
    padding: 1.2rem 0.25rem;
  }
  .gallery-item img {
    height: 170px;
  }
  .bg-gift {
    background-attachment: scroll;
    /* padding: 50px 0; */
  }
  .item-slider img {
    filter: brightness(0.9);
  }
  /* .img-about-2 {
    max-width: 190px;
  } */
  .button-all {
    padding: 0.5rem 1.5rem;
    font-size: 12px;
  }
  .header-btn {
    min-width: auto !important;
  }
  /* .header-btn span{
    display: none;
  } */
  .fs-68px-2 {
    font-size: 38px;
  }
  .list-gallery .item-gallery.little img,
  .list-gallery .item-gallery.large img {
    height: auto;
    max-height: 300px;
  }
  .bg-gift,
  .bg-footer {
    background-attachment: scroll;
  }
  .frame {
    padding-top: 50px;
  }
  .frame-2 {
    padding-bottom: 50px !important;
  }
}
.w-fit {
  width: fit-content;
}
.h-fit {
  height: fit-content;
}
