/* float */

.grid .img_top {
  position: absolute;
  width: 500px; /* Adjusted width */
  height: auto; /* Maintain aspect ratio */
  right: 25vw;
  top:-360px;
  animation: swing-top 10s ease-in-out infinite;
}



@keyframes swing-top {
  0%, 100% {
    transform: translateX(0px) rotate(0deg); 
  }
  25% {
    transform: translateX(10px) rotate(2deg);
  }
  75% {
    transform: translateX(10px) rotate(-2deg); 
  }
}

/* Hover styles */ 


.grid .img_top:hover {
  filter: brightness(1.2); 
  filter: grayscale(30%) hue-rotate(70deg);
}






body {
  margin: auto;
  min-width: 430px;
  background: #f4f4f4
    url(https://cdn.glitch.global/4dca515e-68d3-41a4-a8f4-f8f5f639c0fa/Wbanner?v=1713396674487)
    repeat;
  background-size: contain;
  width: 100%;
  height: 295px;
}
  



/*.heading-2 {
  line-height: 1;
  background: linear-gradient(90deg, #ea4c89, #c52362);
  background-image: linear-gradient(
    45deg,
    #fb772f,
    #ff7261,
    #ff768e,
    #ff83b5,
    #f495d5,
    #f39cd7,
    #f1a2d9,
    #f0a9db,
    #fca9cb,
    #ffacbb,
    #ffb1ad,
    #ffb8a2 250%
  );
  background-size: contain;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1.125px;
  -webkit-text-stroke-color: hsl(0deg 0% 20% / 50%);
  top: -10px;
  font-family: Roboto;
} */ 

/* INTRO GRID LAYOUT */


.intro_grid {
    grid-template-columns: 1fr 40% 1fr;
    grid-template-rows: repeat(4, auto);
    display: grid;
    padding: 180px 60px 10px 60px;
    margin: auto;
    /* margin-top: 160px; */
    height: 100%;
    position: relative;
}

.header1 p {
  margin: 0;
  font-size: 16px;
  width: 250%;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  font-family: FranklinGothic, Lato, sans-serif;
  letter-spacing: 0.125em;
}

.header1 .line2::before {
  content: "";
  display: block;
  width: 90%;
  height: 1px;
  margin: 0.375rem auto 0.375rem 0;
  background: #ea482c;
}

/** FEATURES SECTION **/

.features {
  background: #ffe19d;
  padding: 1.5rem 30px;
}

.features.two {
  background: white;
  border-top: 1px solid black;
}

.features_grid {
  display: grid;
  grid-template-columns: 1fr 4fr ;
}

.features_preview {
  gap: 15px;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.preview1 {
  width: calc(22% - 30px) !important;
  width: 80%;
  padding: 5px 15px;
  /*background: white;*/
  height: 222px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}



img.preview_img, .preview_img .preview_img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #000;
}

.preview_img{
  position: relative;
}
.preview_img_hover {
  display: none;
}
.preview_img:hover::before,
.preview_img:hover .preview_img_hover {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    z-index: 50;
    margin: auto;
}


.preview_img:hover .preview_img_hover svg,
.preview_img:hover .preview_img_hover img {
    width: 65%;
    height: 65%;
    margin: auto;
    filter: drop-shadow(0px 0px 0.5px black) saturate(1.25) contrast(1.5);
  object-fit: contain;
}


.preview1 h3 {
  line-height: 1.1;
  margin: 4px auto 2px 0;
  color: #411112;
  font-size: 17px;
  width: 110%;
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
    text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0.125px 0.325px 0.325px hsl(212 9% 48% / 1);
}

.preview1 p {
  margin: 2px 0 3px 0;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #58574b;
    word-spacing: -0.1em;
    color: #363636;
   font-family: "Righteous", sans-serif;
   font-weight: 400;
   font-style: normal;
    color: #212529;
    letter-spacing: 0.065em;
    font-weight: 400;
    font-size: 14px;
    width: 112%;
    line-height: 1.125;
}



.border_line {
  background: #ff614b;
  border-bottom: 1px solid #000000;
  z-index: -2;
  display: flex;
  height: 35px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
  align-items: center;
}
.border_line.two {
  background: #f2d6ff;
  border-top: 1px solid #000000;
}

span.btext {
  display: flex;
  height: 1em;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow: hidden;
}
/*8 side nav **/



/** FEATURES NAV **/

.features_nav h3 {
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.F_1 ul li::before {
    content: "";
    background: #c63713;
    width: 20px;
    height: 20px;
    display: inline-flex;
    position: absolute;
    border-radius: 50%;
    margin-left: -26px;
    justify-content: center;
    align-items: center;
  margin-top: 2px;
  content: counters(index, ".", decimal-leading-zero);
  font-size: 10px;
  font-weight: 800;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.F_1 ul li {
  line-height: 2.12;
    font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  counter-increment: index;
  display: block;
      margin-left: -120px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.features_nav ul li::before {
    content: "";
    background: #c63713;
    width: 20px;
    height: 20px;
    display: inline-flex;
    position: absolute;
    border-radius: 50%;
    margin-left: -26px;
    justify-content: center;
    align-items: center;
  margin-top: 2px;
  content: counters(index, ".", decimal-leading-zero);
  font-size: 10px;
  font-weight: 800;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.features_nav ul li {
  line-height: 2.12;
    font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  counter-increment: index;
  display: block;
      margin-left: -12px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.preview_info {
        font-weight: 400;
    font-size: 14px;
    width: 100%;
    line-height: 1.125;
    word-spacing: -0.065em;
    letter-spacing: 0.05em;
    color: #ffe29d;
    letter-spacing: 0.75px;
    font-family: "Righteous", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a.location {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.neighborhood {
  opacity: 0.9;
}

/** MEDIA WIDTH **/

/*@media (min-width: 1050px) {
  .intro_grid {
    padding: 15px 60px;
  }

  img.mainimg {
    width: 198px;
  }
}
*/

@media (max-width: 860px) {
  .preview1 {
    width: calc(26% - 20px) !important;
  }
}

@media (max-width: 735px) {
  .preview1 {
    width: calc(25% - 10px) !important;
    width: calc(26% - 12px) !important;
  }
  
  .curvy_circle.one {
    width: 60px;
}
  
  p.tag-4 {
    font-size: 10px;
}
  
}

@media (max-width: 590px) {
  .features_nav {
    display: none;
  }
  
  h2.main {
    font-size: 70px;
    top: 50px;
}

  .features_grid {
    display: grid;
    grid-template-columns: 2fr;
  }

  img.mainimg {
    width: 207px;
  }
}

@media (max-width: 470px) {
  .preview1 {
    width: calc(40% - 6px) !important;
  }
}


@media (min-width: 1085px) {
  .preview1 {
    width: calc(20% - 45px) !important;
  }
}

/****************************/
/** KEYFRAMES + ANIMATION */

@keyframes float {
  0% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }
  100% {
    transform: translateY(-10%);
    -webkit-transform: translateY(-10%);
  }
}

/** FOUR **/

