@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
	box-sizing: border-box;
}

:root {
	--color-one: #A6E0E0;
	--color-two: #C3EBEB;
	--color-three: #E39300;
	--color-four: #d37800;
	--color-two-op: #333;
}

body {
	font-family: 'Poppins', sans-serif;
}

.floating-btn {
	color: white;
	background: linear-gradient(to right, var(--color-three), var(--color-four));
	box-shadow: 1px 1px 2px var(--color-two-op);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: bold;
	padding: 1rem 3rem;
	position: fixed;
	font-size: 1.5rem;
	bottom: 15px;
	right: 30px;
	transition: opacity 0.3s ease-in;
	z-index: 9999;
}

.floating-btn.hidden {
	opacity: 0;
}

.floating-btn:focus {
	background: var(--color-two);
	outline: none;
}

.floating-btn:hover {
	background: #333;
}
@media screen and (max-width: 768px){
	.news-container {
		border-radius: 0px!important;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
		overflow: hidden;
		position: fixed;
		right: 0px!important;
		bottom: 0px!important;
		transition: transform 0.3s ease-in;
		transform: translateX(120%);
		width: 100%!important;
		z-index: 9999;
	}
	.news-header {
		background: linear-gradient(to right, var(--color-one), var(--color-two));
		color: white;
		padding: 0!important;
		position: relative;
		text-align: center;
	}
	.floating-btn {
		border-radius: 0px!important; 
		padding: 1rem 1rem!important;
		font-size: 1rem!important;
		bottom: 10px!important;
		right: 10px!important;
	}
}
.news-container {
	border-radius: 6px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	overflow: hidden;
	position: fixed;
	right: 28px;
	bottom: 30px;
	transition: transform 0.3s ease-in;
	transform: translateX(120%);
	width: 240px;
	z-index: 9999;
}

.news-container.show {
	transform: translateX(0);
}

.news-header {
	background: linear-gradient(to right, var(--color-one), var(--color-two));
	color: white;
	padding: 1.5rem 1rem 1rem;
	position: relative;
	text-align: center;
}

.news-header h4 {
	margin: 0;
}

.news-body {
	/*background-color: #fff;
	padding: 1rem;*/
}

.submit-btn {
	color: white;
	background: linear-gradient(to right, var(--color-three), var(--color-four));
	border: none;
	display: block;
	padding: 0.35rem;
	/*border: 1px solid #bababa;
	border-radius: 3px;*/
	margin-top: 0rem;
	width: 100%;
	padding: 0.75rem;
    font-weight: bold;
}

.close-btn {
	background-color: #000;
    padding: 2px 8px;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 99999;
}

.close-btn:focus {
	outline: none;
}