section.main-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 40vh;
	transition:all 0.3s;
	margin: 0 0 4rem 0;
}



section.main-image.homepage {
	display: flex;
	justify-content: flex-end;
}

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.homepage div.image {
	width: 50%;
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;}

section.main-image div.image:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	z-index: 1;
}

section.main-image .info {
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
	width: 100%;
	text-align: left;
	border-radius: 20px;
	line-height: 1.4em;
	max-width: 700px;
	  left: 5%;
	}
	

section.main-image .info h1 {
	font-weight: 600;
	font-size: 4vw;
	line-height: 1em;
	color:var(--third-color);
	margin:0 auto;
}

section.main-image .info h1:after{
	display:none;
}
section.main-image .info p.text {
	margin: 15px 0;
	  transition: all 1.5s 0s;
	  transform: translateY(0);
	 font-size: 1.75em;
	   font-weight: 400;
	   color: var(--third-color);
	   line-height: 1.4em;
}

section.main-image div.image:after {
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

@media screen and (max-width:540px){
	section.main-image .info h1{
		font-size:2.5em;
	}
}
@media screen and (min-width:1024px){
	section.main-image .info h1{
		color:var(--third-color);
		font-size:7vw;
		margin: 0 0 2rem 0;
	}
}

@media screen and (min-width:2030px){
	section.main-image .info h1{
		font-size:6vw;
		margin: 0 0 2rem 0;
	}
}