 h1 {
	font-size: 5.25vmin;
	text-align:left;
	color: white;
}
p {
	font-size: max(10pt, 2.5vmin);
	line-height: 1.4;
	color: #0e390e;
	margin-bottom: 1.5rem;
} 

.wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 85vmin;
	height: 20em; 
	margin-left: 10px;
	/* border: 3px solid; */
	/* border-image: linear-gradient(-50deg, #33211D, #4b332d, #4b332d, #33211D, #a27164, #4b332d, #33211D) 1; */
	/* border-color: #1c013c; */
	margin: 2rem auto;
	transition: .3s ease-in-out;
	position: relative;
	overflow: hidden;
	/* margin-left: 20px; */
}
.overlay {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	padding: 1rem .75rem;
	 background: #1c013c; 
	transition: .4s ease-in-out;
	z-index: 1;
	
}
.overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	/* padding: .5rem 0 0 .5rem; */
	/* border: 3px solid;
	border-image: 
    	linear-gradient(
      	to bottom, 
      	#e79434 5%,
      	#d0edf8 35% 65%,
      	#ffc17a 95%
    	) 0 0 0 100%;  */
	transition: .3s ease-in-out .2s;
	/* z-index: 1; */
}
.image-content {
	position: absolute;
	top: 0;
	right: 0;
	/* object-fit: cover; */
	width: 85vmin;
	height: 20em; 
	background-image:  url(../images/home\ theatre.jpg);
	/* background-size: cover; */
	transition: .3s ease-in-out;
	/* border: 1px solid green; */
}

.dots {
	position: absolute;
	bottom: 1rem;
	right: 2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 55px;
	height: 4vmin;
	transition: .3s ease-in-out .3s;
}
.dot {
	width: 14px;
	height: 14px;
	background: #ffc17a;
	border: 1px solid #fedfcef0;
	border-radius: 50%;
	transition: .3s ease-in-out .3s;
}

.dip {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	/* width: 50vmin; */
	height: 100%; 
	padding: 0vmin 2vmin;
	background: #1c013c;
	color: white;
	box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / .4);
	overflow-y: scroll;
}

.wrap:hover .overlay
 {
	transform: translateX(-110vmin);
}
.wrap:hover .image-content {
	width: 8vmin;
}
.wrap:hover .overlay-content {
	border: none;
	transition-delay: .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(.26, .53, .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;
}