section.main-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100vh;
	transition:all 0.3s;
	display: flex;
	justify-content: center;
	align-items: center;
}

section.main-image div.image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
}
section.main-image div.image:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
}
section.main-image .info {
	position: absolute;
	width: fit-content;
	text-align: center;
	bottom: 50%;
	padding: 3rem;
	
	transform: translateY(50%);  
}

section.main-image .info .subtitle p {
font-size: 1.75rem;
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--dark-brown);
}  

section.main-image .info .content p {
	font-size: 1.25em;
	margin: 0.5em;
	color: var(--dark-brown);
}

section.main-image .info .subtitle span {
	margin: 0 1em;
}    
section.main-image .info h1 {
	font-size: 5.5em;
	line-height: 1em;
	color:var(--dark-brown);
	margin:0 auto;
	font-weight: 400;
}

section.main-image .info h1:after{
	display:none;
}
section.main-image .info p.text {
	transition: all 1.5s 0s;
	transform: translateY(0);
	font-size: 1.75em;
	font-weight: 300;
	color: var(--dark-brown);
	margin: 0;
}

section.main-image div.image:after {
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	background:rgba(0,0,0, 0.15);
}

@media screen and (max-width:769px){ 
	section.main-image .info {
		max-width: 80%;
	}
}

@media screen and (max-width:540px){
	section.main-image .info h1{
		font-size:2.25em;
	}
}
