body{
    background-color: bisque;
}

.wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 85vmin;
	height: 65vmin;
	margin: 2rem auto;
	border: 8px solid;
	border-image: linear-gradient(
			-50deg,
			green,
			#00b300,
			forestgreen,
			green,
			lightgreen,
			#00e600,
			green
		)
		1;
	transition: 0.3s ease-in-out;
	position: relative;
	overflow: hidden;
}
.overlay {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	padding: 1rem 0.75rem;
	background: #186218;
	transition: 0.4s ease-in-out;
	z-index: 1;
}
.overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 5vmin;
	height: 100%;
	padding: 0.5rem 0 0 0.5rem;
	border: 3px solid;
	border-image: linear-gradient(
			to bottom,
			#aea724 5%,
			forestgreen 35% 65%,
			#aea724 95%
		)
		0 0 0 100%;
	transition: 0.3s ease-in-out 0.2s;
	z-index: 1;
}
.image-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 25vmin;
	height: 100%;
	background-image: url("./images/newimages/amerfort2.jpg");
	background-size: cover;
	transition: 0.2s ease-in-out;
}

.inset {
	max-width: 40%;
	margin: 0.25em 1em 1em 0;
	border-radius: 0.25em;
	float: left;
}

.dots {
	position: absolute;
	bottom: 1rem;
	right: 2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 55px;
	height: 4vmin;
	transition: 0.3s ease-in-out 0.3s;
}
.dot {
	width: 14px;
	height: 14px;
	background: yellow;
	border: 1px solid indigo;
	border-radius: 50%;
	transition: 0.3s ease-in-out 0.3s;
}

.text {
	position: absolute;
	top: 0;
	right: 0;
	width: 55vmin;
	height: 100%;
	padding: 3vmin 4vmin;
	background: #fff;
	box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4);
	overflow-y: scroll;
}

.wrap:hover .overlay {
	transform: translateX(-60vmin);
}
.wrap:hover .image-content {
	width: 30vmin;
}
.wrap:hover .overlay-content {
	border: none;
	transition-delay: 0.2s;
	transform: translateX(60vmin);
}
.wrap:hover .dots {
	transform: translateX(1rem);
}
.wrap:hover .dots .dot {
	background: white;
}

/* Animations and timing delays */
.animate {
	animation-duration: 0.7s;
	animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
	animation-fill-mode: backwards;
}
/* Pop In */
.pop {
	animation-name: pop;
}
@keyframes pop {
	0% {
		opacity: 0;
		transform: scale(0.5, 0.5);
	}
	100% {
		opacity: 1;
		transform: scale(1, 1);
	}
}

/* Slide In */
.slide {
	animation-name: slide;
}
@keyframes slide {
	0% {
		opacity: 0;
		transform: translate(4em, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

/* Slide Left */
.slide-left {
	animation-name: slide-left;
}
@keyframes slide-left {
	0% {
		opacity: 0;
		transform: translate(-40px, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

.slide-up {
	animation-name: slide-up;
}
@keyframes slide-up {
	0% {
		opacity: 0;
		transform: translateY(3em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.delay-1 {
	animation-delay: 0.3s;
}
.delay-2 {
	animation-delay: 0.6s;
}
.delay-3 {
	animation-delay: 0.9s;
}
.delay-4 {
	animation-delay: 1.2s;
}
.delay-5 {
	animation-delay: 1.5s;
}
.delay-6 {
	animation-delay: 1.8s;
}
.delay-7 {
	animation-delay: 2.1s;
}
.delay-8 {
	animation-delay: 2.4s;
}





/* new component css */
.ezy__featured4 {
    /* Bootstrap variables */
    --bs-body-color: #28303b;
    --bs-body-bg: rgb(255, 255, 255);
  
    /* Easy Frontend variables */
    --ezy-theme-color: rgb(13, 110, 253);
    --ezy-theme-color-rgb: 13, 110, 253;
    --ezy-item-bg: rgb(246, 246, 246);
    --ezy-item-icon-bg: rgb(255, 255, 255);
    --ezy-item-icon-shodow: 0 4px 34px 0 rgba(163, 190, 241, 0.12);
  
    background-color: var(--bs-body-bg);
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    z-index: 1;
  }
  
  @media (min-width: 768px) {
    .ezy__featured4 {
      padding: 100px 0;
    }
  }
  
  /* Gray Block Style */
  .gray .ezy__featured4,
  .ezy__featured4.gray {
    /* Bootstrap variables */
    --bs-body-bg: rgb(246, 246, 246);
  
    /* Easy Frontend variables */
    --ezy-item-bg: #fff;
    --ezy-item-icon-bg: #f6f6f6;
  }
  
  /* Dark Gray Block Style */
  .dark-gray .ezy__featured4,
  .ezy__featured4.dark-gray {
    /* Bootstrap variables */
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(30, 39, 53);
  
    /* Easy Frontend variables */
    --ezy-item-bg: rgb(11, 23, 39);
    --ezy-item-icon-bg: rgb(30, 39, 53);
    --ezy-item-icon-shodow: 0 7px 34px 0px rgba(0, 0, 0, 1);
  }
  
  /* Dark Block Style */
  .dark .ezy__featured4,
  .ezy__featured4.dark {
    /* Bootstrap variables */
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(11, 23, 39);
  
    /* Easy Frontend variables */
    --ezy-item-bg: rgb(30, 39, 53);
    --ezy-item-icon-bg: rgb(11, 23, 39);
    --ezy-item-icon-shodow: 0 7px 34px 0px rgba(0, 0, 0, 0.25);
  }
  
  .ezy__featured4-heading {
    font-weight: bold;
    font-size: 25px;
    line-height: 25px;
    color: var(--bs-body-color);
  }
  
  @media (min-width: 768px) {
    .ezy__featured4-heading {
      font-size: 45px;
      line-height: 45px;
    }
  }
  
  .ezy__featured4-sub-heading {
    font-size: 18px;
    line-height: 25px;
    color: var(--bs-body-color);
  }
  
  .ezy__featured4-item {
    background-color: var(--ezy-item-bg);
    border-radius: 20px;
  }
  
  [class*="ezy__featured4-shape-"] {
    position: relative;
  }
  
  [class*="ezy__featured4-shape-"]::before {
    content: "";
    background-color: var(--ezy-theme-color);
    border-radius: 20px;
    position: absolute;
    top: -25px;
    bottom: -25px;
    width: 33%;
    z-index: -1;
  }
  
  .ezy__featured4-shape-start::before {
    left: -25px;
  }
  
  .ezy__featured4-shape-end::before {
    right: -25px;
  }
  
  .ezy__featured4-icon {
    width: 74px;
    height: 74px;
    background-color: var(--ezy-item-icon-bg);
    color: var(--ezy-theme-color);
    border-radius: 10px;
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ezy-item-icon-shodow);
    z-index: 1;
  }
  
  .ezy__featured4-title {
    color: var(--bs-body-color);
  }
  
  .ezy__featured4-content {
    color: var(--bs-body-color);
    opacity: 0.7;
  }