@use "../abstract" as *;

.newsletter-area {
	margin-bottom: -93px;
}
.newsletter-wrapper {
	background: var(--clr-theme-1);
	padding: 53px 60px 17px;
	border-radius: 10px;
	position: relative;
	z-index: 2;
	@media #{$xs,$sm} {
		padding: 53px 30px 17px;
	}
	@media #{$xxs} {
		padding: 53px 20px 17px;
	}
}
.newsletter-text {
	p {
		font-size: 16px;
		font-weight: 700;
		color: #84a99c;
		text-transform: uppercase;
		margin-bottom: 0;
	}
	h2 {
		font-size: 50px;
		color: var(--clr-common-white);
		text-transform: uppercase;
		margin-bottom: 0;
		@media #{$xl} {
			font-size: 46px;
		}
		@media #{$lg} {
			font-size: 38px;
		}
		@media #{$md} {
			font-size: 48px;
		}
		@media #{$sm} {
			font-size: 38px;
		}
		@media #{$xs} {
			font-size: 38px;
		}
		@media #{$xxs} {
			font-size: 28px;
		}
	}
	margin-bottom: 30px;
}
.newsletter-input-wrapper {
	input {
		width: 100%;
		height: 60px;
		border: 2px solid var(--clr-common-white);
		background: var(--clr-common-white);
		border-radius: 30px;
		padding: 0 50px;
		outline: none;
		padding-right: 200px;
		@media #{$xxs} {
			padding-right: 20px;
		}
		&::placeholder {
			color: #aeaeae;
		}
	}
	position: relative;
	button {
		position: absolute;
		right: 5px;
		height: 50px;
		top: 5px;
		background: var(--clr-theme-2);
		border-color: var(--clr-theme-2);
		@media #{$xxs} {
			position: static;
			margin-top: 15px;
		}
	}
	&:before {
		position: absolute;
		content: "\f2b6";
		font-family: "Font Awesome 5 Pro";
		font-weight: 700;
		color: var(--clr-theme-1);
		left: 30px;
		top: 16px;
	}
}
.newsletter-form {
	margin-bottom: 30px;
}

// newsletter-4 style
.style-4 {
	&.newsletter-wrapper {
		background: var(--clr-theme-1);
		padding: 53px 60px 21px;
		border-radius: 10px;
		position: relative;
		z-index: 2;
		@media #{$xs,$sm} {
			padding: 53px 30px 17px;
		}
		@media #{$xxs} {
			padding: 53px 20px 17px;
		}
	}
}
.style-4 {
	&.newsletter-area {
		margin-top: -95px;
		margin-bottom: 0;
	}
	.newsletter-input-wrapper input {
		width: 100%;
		height: 60px;
		border: 2px solid var(--clr-common-white);
		background: var(--clr-common-white);
		border-radius: 6px;
		padding: 0 50px;
		outline: none;
		padding-right: 200px;
		@media #{$xxs} {
			padding-right: 20px;
		}
	}
	.newsletter-input-wrapper button {
		position: absolute;
		right: 5px;
		height: 50px;
		top: 5px;
		background: var(--clr-theme-2);
		border-color: var(--clr-theme-2);
		border-radius: 6px;
		@media #{$xxs} {
			position: static;
			margin-top: 15px;
		}
		&:hover{
			background: var(--clr-theme-1);
			border-color: var(--clr-theme-1);
			color: var(--clr-common-white);
		}
	}
}
.newsletter-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	border-radius: 10px;
	overflow: hidden;
	&:before {
		background-image: -moz-linear-gradient(0deg, rgb(11, 61, 44) 0%, rgba(11, 61, 44, 0) 100%);
		background-image: -webkit-linear-gradient(0deg, rgb(11, 61, 44) 0%, rgba(11, 61, 44, 0) 100%);
		background-image: -ms-linear-gradient(0deg, rgb(11, 61, 44) 0%, rgba(11, 61, 44, 0) 100%);
		background-image: linear-gradient(0deg, rgb(11, 61, 44) 0%, rgba(11, 61, 44, 0) 100%);
		position: absolute;
		content: "";
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
	}
	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
