@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.photo img.logo_pic {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.intro {
    padding: 0px !important;
    overflow-x: auto;
}

p.mhomecontent {
    padding-top: 0 !important;
}

.font1 {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.font2{
    font-size:1rem;
    line-height:1.8rem;
}

.btnx1{
     font-size:1.1rem;
     color:#999;
     transition:ease-in-out 0.3s;
     margin-top:30px;
     display:block;
}
    
.btnx1:hover{
     color:#666;
     margin-left:20px;
     text-decoration:none;
}

.wid-8{
    width:80%;
    margin: 0 10%;
}

.box-border {
    border: 4px solid #e2ccda;
    padding: 10%;
    margin-left: 0;
}

.imgx1 {
    position: relative;
    max-width: 460px;
    margin-top: -7%;
    z-index: 2;
}

.social-iconx1 {
    width: 25px;
    height: 25px;
    font-size: 25px;
    vertical-align: middle;
    display: inline-block;
    padding: 10px;
    margin: 5px;
    border-radius: 50px;
    color: #ccc !important;
    border: 2px solid #ccc;
    transition: Ease-in-out 0.3s;
}

.social-iconx1:hover{
border: 2px solid #999;
color: #999 !important;
}


/* button effect */

#draw-border {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.box1{
  border: 0;
  background: #f1f1f1;
  text-transform: uppercase;
  color: #999;
  font-size:2rem;
  position: relative;
  outline: none;
  padding: 10px 20px;
  box-sizing: border-box;
  min-height:250px;
  min-width:100%;
}


.box1::before, button::after {
  box-sizing: inherit;
  position: absolute;
  content: '';
  border: 2px solid transparent;
  width: 0;
  height: 0;
}

.box1::after {
  bottom: 0;
  right: 0;
}

.box1::before {
  top: 0;
  left: 0;
}

.box1:hover::before, button:hover::after {
  width: 100%;
  height: 100%;
}

.box1:hover::before {
  border-top-color: #e2ccda;
  border-right-color: #e2ccda;
  transition: width 0.3s ease-out, height 0.3s ease-out 0.3s;
}

.box1:hover::after {
  border-bottom-color: #e2ccda;
  border-left-color: #e2ccda;
  transition: border-color 0s ease-out 0.6s, width 0.3s ease-out 0.6s, height 0.3s ease-out 1s;
}


.box1:hover{
background: transparent;
color:#666;
}


/* category effect */


.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 100%;
	max-width: 100%;
	max-height: 300px;
	width: 48%;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
       transform:translate(-50%,-50%;)
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


/*---------------*/
/***** Lexi *****/
/*---------------*/

figure.effect-lexi {
	background: -webkit-linear-gradient(-45deg,#fff 100%, #000 0%);
	background: linear-gradient(-45deg, #fff 100%, #000 0%);
}

figure.effect-lexi img {
	margin: -10px 0 0 -10px;
	max-width: none;
	width: -webkit-calc(100% + 10px);
	width: calc(100% + 10px);
	opacity: 0.9;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(10px,10px,0);
	transform: translate3d(10px,10px,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-lexi figcaption::before,
figure.effect-lexi p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-lexi figcaption::before {
	position: absolute;
	right: -100px;
	bottom: -100px;
	width: 300px;
	height: 300px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 900px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transform: scale3d(0.5,0.5,1);
	transform: scale3d(0.5,0.5,1);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

figure.effect-lexi:hover img {
	opacity: 0.6;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


figure.effect-lexi p {
   position: absolute;
   right: 60px;
   bottom: 80px;
   padding: 0 1.5em 1.5em 0;
   width: 140px;
   text-align: right;
   opacity: 0;
   -webkit-transform: translate3d(20px,20px,0);
   transform: translate3d(0px,0px,0);
    color: #eb008b;
    font-weight: bold;
    font-size:.8rem;
}

figure.effect-lexi:hover figcaption::before {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-lexi:hover h2,
figure.effect-lexi:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}