/* OVERRIDE PADDING AT YOP OF PAGE */

body{
	padding-top:0!important;
}

section.main-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 90vh;
	transition:all 0.3s;
}

section.main-image:after {
	content: '';
	  background: url('assets/white-edge.svg') repeat-x;
	  background-size: 1500px 100%;
	  background-position: center center;
	  bottom: -16px;
	  position: absolute;
	  left: 0;
	  width: 100%;
	  height: 50px;
	  z-index: 1;
	  filter: brightness(0.98);
}

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.hero-overlay {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	mix-blend-mode: multiply;
}

section.main-image .info {
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
	width: fit-content;
	text-align: left;
	line-height: 1.4em;
	max-width: 750px;
	left: 5%;
	z-index: 2;
	}
	

section.main-image .info h1 {
	font-weight: 700;
	letter-spacing: -0.05rem;
	font-size: 4em;
	line-height: 1em;
	color:var(--white-color);
	margin:0 auto;
}

@media screen and (max-width: 800px){
	section.main-image .info h1 {
		font-size:3em;
		margin: 0 0 0 0;
	}
}

@media screen and (max-width:600px) {
	section.main-image .info {
		width: 70%;
		max-width: none;
	}
	
	
	section.main-image .info p.text {
		font-size: 1em;
	}
	
}


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: 1em;
	font-weight: 400;
	width: fit-content;
	background:var(--second-color);
	padding: 0.5rem 0.75rem;
	color: var(--white-color);
	border-radius: 0.25rem;
	line-height: 1.4em;
}

section.main-image .info p.text:last-of-type {
	margin-bottom: 0;
}

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


section.main-image.content-page {
	height: 65vh;
}

section.main-image .std-button {
color: var(--white-color);
  width: fit-content;
  height: auto;
  position: relative;
  top: auto;
  left: auto;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #ff871c;
  border-radius: 0.5rem;
  background: rgba(96, 21, 0, 0.7);
  transition: all 0.3s;
  font-weight: 400;
  margin: 2rem 0 0 0;
  display: block;
}

section.main-image .std-button:hover {
	background: #ff871c;
  transition: all 0.3s;
  border: 1.5px solid #ff871c;
}

/* dark styling */

section.main-image .info.dark p.text{
	color:var(--light-font-color);
}






