body
{
	font-family: "Comfortaa", sans-serif !important;
    position: relative;
	margin: 0px;
	min-height: 100%;
}
html
{
	   height: 100%;
}
nav
{
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
	position: fixed;
	top: 0px;
	right: 0px;
	left: 0px;
	font-size: 25px;
	padding: 30px;
	display: flex;
	transition-duration: 150ms;
	color: white;
}
nav.scrolled {
  background: rgba(0, 0, 0, 0.5);
  transition-duration: 150ms;
}
#left
{
    width: 100%;
	color: green;
	
}
#right
{
	width: 100%;
	text-align: right;
}
main
{
	width: 1800px;
	margin-left: auto;
	margin-right: auto;
}
section
{
	display: flex;
}
article
{
  margin: 2%;
  background-color: white;
  width: 100%;
  border-radius: 25px;
  border: 1px solid gray;
  box-shadow: 5px 5px 10px gray;
}
.comment
{
	width:30%;
}
article img
{
	border-radius: 25px;
	width: 100%;
	display: block;
}
.imagetext
{
	width: 100%;
	margin: 2%;
	font-size: 30px;
}
.bigtext
{
	height: 400px;
	text-align:center;
	font-size: 72px;
	padding: 4%;
}
.mediumtext
{
	text-align:center;
	font-size: 52px;
    margin-top: 50px;
}
article .name
{
	border-radius: 25px 25px 0px 0px;
	background: yellow;
	font-size: 30px;
	text-align: center;
	padding: 20px;
	color: white;
}
article .text
{
	padding: 20px;
}
article .buy
{
	background: green;
	display: block;
	padding: 20px;
	text-align: center;
	border-radius: 0px 0px 25px 25px;
	transition-duration: 150ms;
	color: white;

}
article .lockedbuy
{
	background: darkgray;
	display: block;
	padding: 20px;
	text-align: center;
	border-radius: 0px 0px 25px 25px;
	color: white;
	cursor: not-allowed;
}
section .buy:hover
{
    box-shadow: 1px 0px 30px green;
	background: green;
	display: block;
	padding: 20px;
	text-align: center;
    border-radius: 25px;
	transform: scale(1.05);
    transition-duration: 300ms;
	cursor: pointer;
}
.marked
{
	color: green;
}
#title
{
	background: url("images/background.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	color: white;
}
footer
{
    position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: green;
	text-align: center;
	padding: 10px;
	color: white;
}

button
{
	background: green;
	padding: 20px;
	font-size: 30px;
	font-family: "Comfortaa", sans-serif !important;
	border: none;
	border-radius: 25px;
	color: white;
	    transition-duration: 150ms;
}
button:hover
{
	box-shadow: 1px 0px 30px green;
	transition-duration: 300ms;
    transform: scale(1.05);
}
input
{padding: 10px; border: 3px dotted green;}
label
{
	display: block;
	margin: 2px

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.5); /* przyciemnienie strony */

  display: flex;
  justify-content: center; /* poziom */
  align-items: center;     /* pion */

  z-index: 9999;
}
a
{
	text-decoration: none;
}
#modal {
  width: 700px;

}

#modal {
  animation: fadeIn 0.3s ease;
}
.overlay {
  display: none;
}
.reverse
	{
	flex-direction: row-reverse;
    }
.active {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1900px)
{
	main
{
	width: 95%;
}
.imagetext
{
	font-size: 25px;
}
}
@media (max-width: 1590px)
{
	.imagetext
{
	font-size: 19px;
}
}
@media (max-width: 1250px)
{

.bigtext
{
	font-size: 50px;
}
	main
{
	width: 525px;
}
article
{
    margin: 0%;
	margin-top: 5%;
	margin-bottom: 5%;
}
	section
	{
	flex-direction: column;
    }
	.reverse
	{
	flex-direction: column;
	}
	.imagetext
	{
	margin: 0px;
	}
	
#scrollToBenefits
{
	display: none;
}
.comment
{
	width:100%;
}
}


@media (max-width: 600px)
{
	main
{
	width: 90%;
}
.bigtext
{
	font-size: 45px;
}
	main
{
	width: 90%;
}
article
{
    margin: 0%;
	margin-top: 5%;
	margin-bottom: 5%;
}
	section
	{
	flex-direction: column;
    }
	.imagetext
	{
	margin: 0px;
	}
	
#scrollToBenefits
{
	display: none;
}
}