*, *:before, *:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
 
body{
	background: #fff;
	font-family: 'Hammersmith One', sans-serif;
}

input[type="checkbox"]:checked+#label-consent::after{
	background-color: black;
}

#submit-button{
	padding-left: 4%;
	padding-right: 4%;
	background-color: rgb(90,168,50);
    border: 0px;
}

.newsletter-text{
	font-size: 14pt;
	font-family: Trebuchet MS;
    font-weight: 600;
	color: black;
	/* font-weight: 600; */
	margin-top: 44%;
}
 
.button{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.button button{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: inherit;
	background-color: #f66867;
	border: 0;
	padding: 15px 25px;
	color: #fff;
	text-transform: uppercase;
	font-size: 21px;
	letter-spacing: 1px;
	width: 200px;
	overflow: hidden;
	outline: 0;
	transition: all 0.4s;
	visibility: visible;
	opacity: 1;
	font-weight: bold;
	box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.6);
}

.button button:hover{
	cursor: pointer;
	background-color: #2ab1ce;
}

.button button span{
	opacity: 1;
}
.button.clicked button{
	visibility: hidden;
	opacity: 0;
}

.popup{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	overflow-y: auto;
	box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s;
	z-index: 10;
	background-color: #ffffff;
	width: 50%;
	height: 50%;
}

.newsletter-content{
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("https://www.eshopis.cz/user/documents/upload/20106_newsletter_eshopis_bez_pozadi-04.png");
}


.popup {
	background: rgb(255,72,0);
	background: linear-gradient(0deg, rgba(255,72,0,1) 0%, rgba(250,67,36,1) 50%, rgba(254,25,25,1) 100%);
}

.popup .newsletter-content{
	width: 100%;
	max-width: 900px;
	overflow: hidden;
	text-align: center;
	position: relative;
	min-height: 100vh;
}

.popup .newsletter-content .container{
	padding: 100px 20px 140px;
}

#container-newsletter{
	margin-bottom: -60px;
}

.popup .newsletter-content .closebtn{
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 3.1rem;
	letter-spacing: 0.05rem;
	color: #3e4146;
	transition: all 0.4s;
}
.popup .newsletter-content .closebtn:hover{
	cursor: pointer;
	color: #f66867;
}

.popup .newsletter-content .title h1{
	text-align: center;
	color: #f66867;
	text-transform: uppercase;
	font-weight: 900;
	font-size: 2.8rem;
	letter-spacing: 0.05rem;
}
 
.popup .newsletter-content .subscribe h1{
	font-size: 1.5rem;
	color: #3e4146;
	line-height: 130%;
	letter-spacing: 0.07rem;
	margin-bottom: 30px;
}
.popup .newsletter-content .subscribe h1 span{
	color: #f66867;
} 

.popup.open{
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.popup .newsletter-content {
	min-height: inherit;
}
 
@media (min-width: 1px){
	.popup .newsletter-content .container {
		padding: 70px 0px 90px;
		max-width: 650px;
		margin: 0 auto;
	}
	.popup{
			width: calc(100% - 40px);
			height: auto;
			max-width: 900px;
		}
	
}