* {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
}

  body {
    background-color: #e2e6e7!important;
    color: #333 !important;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    padding: 50px;
    
  }
  a{
    text-decoration: none;
  }
  .container{
   padding-top: 70px;
  }
.ccontainer{
    padding-top: 130px;   
}
  
h3{
    font-size: 40px;
}

.inline{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.ccolumn h4{
font-size: 25px;
font-weight: bold;
}
.ccolumn p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
  }
  .ccolumn h4, .ccolumn p{
    animation-name: slideInLeft;
    animation-duration: 0.8s;
    animation-delay: 0s;
    animation-timing-function: ease-in;
  }

  .ccolumn .galleryrow{
    animation-name: slideInLeft1;
    animation-duration: 0.8s;
    animation-delay: 0s;
    animation-timing-function: ease-in;
  }
  @keyframes slideInLeft{
    from{
        transform: translateX(-300px) ;
        opacity:0.8;    
    }
    to{
        transform: translateX(0);
    }
  }

  @keyframes slideInLeft1{
    from{
        transform: translateX(300px) ;
        opacity:1;
    }
    to{
        transform: translateX(0);
    }
  }

/* ..............3 column layout............. */
.column1{
    float: left;
    width: 33%;
    padding: 30px;
    box-sizing: border-box;
    margin-top: 25px;


}

.column1 img{
    /* width: 100%; */
    aspect-ratio: 1.58;
    top: 0;
    right: -30px;
    margin-bottom: -40px;
    width: calc(100% + 30px);
    height: calc(100% + 20px);
    z-index: 2;
    object-fit: cover;
 

}
.lazy-image {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}


.image-box {
    /* overflow: visible; */
    position: relative;
    padding: 10px;
    border: 3px solid rgb(93, 92, 92);

  }
  .image-box .loaded{
opacity: 1;
  }
  .image-box i{
    position: absolute;
    color: white;
    font-size: 20px;
    transition: color 1s ease;
}

.image-box button {
    position: absolute;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid white;
    padding: 15px;
    left: 20px;
    bottom: -6px;
    z-index: 10;
    display: flex; /* make button a flex container */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    transition: background-color 0.8s ease, transform 0.8s ease;
}
.image-box button:hover{
  background-color: #f9f6f6;
  z-index: 15;
  cursor: pointer;
  transform: scale(1.05);
}
.image-box button:hover i {
    color: black;
}
.image-modal {
    display: none; /* default hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* dark background */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
.gallery-image-box{
    position: relative;
    padding: 10px;
}
.gallery-image-box i{
    position: absolute;
    color: white;
    font-size: 15px;
    transition: color 1s ease;
}
.gallery-image-box button {
    position: absolute;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid white;
    padding: 10px;
    left: 15px;
    bottom: 23px;
    z-index: 10;
    display: flex; /* make button a flex container */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    transition: background-color 0.8s ease, transform 0.8s ease;
}
.gallery-image-box button:hover{
  background-color: #f9f6f6;
  z-index: 15;
  cursor: pointer;
  transform: scale(1.05);
}
.gallery-image-box button:hover i {
    color: black;
}
.gallery-image-modal {
    display: none; /* default hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* dark background */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  .close-btn:hover {
    color: #fdf9f9;
    z-index: 100; 
  }
.row1::after{
    content: "";
    clear: both;
    display: table;
}
.row1{
    display: flex;
    flex-wrap: wrap;
}


.acolumn1{
    text-decoration: none;
    color: rgb(68, 9, 68);
}
/* .....................3 column layout. end.............. */




    .viewmore {
        display: block;
        margin: 20px auto; /* Centers horizontally */
        text-align: center;
        width: 120px;
        height: 50px;
  
    }
    .viewmore:hover{
        transition:0.5s;
        color:white;
        background-color: rgb(5, 69, 5);
    }
/* ................crafted spaces3 column layout............... */


.ccolumn{
    width:50%;
    float: left;
}

.crow {
    display: flex;
    flex-wrap: wrap;
  }
.crow::after{
    content: "";
    clear: both;
    display: table;
}
.gallerycolumn{
    width: 33.33%;
    float: left;
    padding: 10px;

}
.gallerycolumn img{
    width: 100%;
    aspect-ratio: 1.11;
    object-fit: cover  !important;

}
.galleryrow::after{
    content: "";
    clear: both;
    display: table;
}
.gallerycolumn:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

  .white-container{
    margin: 10px;
    padding: 20px;
    background-color: #f9f6f6;
  }
  .ccontainer{
    padding-top: 130px !important;   
}
/* ......................media query................... */
@media screen and  (min-width:600px) and (max-width: 1100px)
{


    .relatedtags{
        font-size: 20px;
    }
    .relatedtags{
        font-size: 20px;
    }
    .column1 {
        width: 50%;
      }
 
      .ccolumn{
        width: 100%;
      }
    .gallerycolumn{
        width: 50%;
    
    }

}




@media screen and (max-width: 600px)
{
    .container{
        padding-top: 40px; 
       }
    .inline{
        display: flex;
        gap: 20%;
    }

    .relatedtags{
        font-size: 50px;
    }
    .relatedtags{
        font-size: 20px;
    }
    .column1 {
        /* float: left; */
        width: 100%;
        padding: 10px;
    }


.ccolumn{
    width: 100% !important;
}
.gallerycolumn{
    width: 50%;

}

    }

    @media (max-width: 480px) {
       body{
        padding:15px;
       }
       .ccolumn h4{
        font-size: 23px;
       }
    }

