:root {
	--pur: rgb(100, 0, 90);
	--yel: rgb(249, 207, 0);
	--yeli: rgb(250, 230, 170);
	--red: rgb(249, 107, 0);
}

* {
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0;
}

html, body {
	position: relative;
	width: 100%;
	min-height: 100%;
}

body {
	position: relative;
	direction: rtl;
	font-family: 'Rubik', sans-serif;
	background-color: #fff;
	font-size: 120%;
	color: #000;
	text-align: center;
}

@media (max-width: 1280px) {
    body {
	font-size: 100%;
    }
}
    	
.headerCont {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 120px 0 0;
	z-index: -1;
}

.logoSvg {
	width: 40vw;
	min-width: 300px;
}

.gray {
	margin-top: calc(300px + 12vw);
	padding: 70px 10px;
	width: 100%;
	background-color: var(--yel);
	color: var(--pur);
	box-shadow: 0 2px 10px #000;
	overflow-x: hidden;
}

h1 {
	font-size: 250%;
	font-family: 'Secular One', sans-serif;
}

h2, h3 {
	font-family: 'Secular One', sans-serif;
}

.ended {
	font-size: 250%;
	font-family: 'Secular One', sans-serif;
	color: #900;
	padding: 0.5em 1em;
	border: solid #900;
	border-width: 6px 0;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -60%) rotate(-5deg);
}

.content {
	width: 100%;
	max-width: 720px;
	text-align: right;
}

.dCont {
	margin: 3em -1em;
	transform: rotate(-1deg);
	text-align: center;
	background-color: var(--pur);
	color: white;
	padding: 2em;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath fill="%23000" fill-opacity="0.5" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"%3E%3C/path%3E%3C/svg%3E');
}
	
.d1 {
	display: inline-block;
	width: 100%;
	max-width: 25em;
	vertical-align: top;
	text-align: right;
	padding: 1em 2em;
}

.d1 a {
	color: #fff;
}

.d1 a:hover {
	color: var(--yeli);
}
	

.cardCont {
	display: inline-block;
	margin-bottom: 2em;
}

.card {
	display: inline-block;
	background: #fff;
	color: #333;
	box-shadow: 1px 1px 4px #777;
	padding: 2em 1em 1em;
	width: 30vw;
	max-width: 420px;
	vertical-align: top;
	margin-bottom: 1em;
	position: relative;
}

.pr {
	position: absolute;
	top: 1em;
	left: 1em;
	background: red;
	padding: 1em;
	border-radius: 0.5em;
	color: white;
	box-shadow: grey 1px 1px 2px;
	text-decoration: none;
}

.pr:hover {
	box-shadow: grey 0px 0px 2px;
	top: calc(1em + 1px);
	left: calc(1em + 1px);
	
}


.card img {
	width: 128px;
	height: 128px;
	border: 2px solid #333;
	border-radius: 50%;
}

@media (max-width: 1280px) {
	
    .cardCont {
	display: block;
    	width: 100%;
    	max-width: 720px;	
    }
    .card {
    	display: block;
    	width: 100%;
    	max-width: 720px;	
    }
}

.more {
	position: relative;
	width: 100%;
	text-align: right;
	box-shadow: 1px 1px 4px #777;
	padding: 1em;
	margin-top: 0.75em;
}	

.more i.top {
	position: absolute;
	top: 0.2em;
	left: 0;
	padding: 1em;
	color: #777;
	cursor: pointer;
	transform: rotate(45deg);
	transition: transform 0.5s, color 0.3s;
}

.more i.top:hover {
	color: var(--red);
}

.more .moreTxt {
	padding-top: 1em;
	height: 0px;
	overflow: hidden;
	transition: padding-top 0.5s, height 0.5s;
}

.more.off .moreTxt {
	padding-top: 0;
}

.more.off i.top {
	transform: rotate(0deg);
}
.more.off i.top:hover {
	color: var(--pur);
}

form {
	width: 100%;
	max-width: 720px;
	text-align: center;
}

.cInput  {
	width: 100%;
	margin-bottom: 10px;
	padding: 0.5em 0;
	border: solid #000;
	border-width: 0 0 2px;
	background: none;
	color: #000;
	font-size: 100%;	
	outline: none;
}

.cInput2  {
	width: 100%;
	margin-bottom: 10px;
	padding: 1em;
	border: 1px solid #000;	
	background-color: #fff;
	color: #000;
	font-size: 100%;	
}

.outinput {
	display: inline-block;
	width: calc(50% - 0.25em);
	position: relative;
	padding-top: 0;
	transition: padding-top 0.5s;
}

.outinput:nth-child(1) {
	margin-left: 0.5em;
}	

@media (max-width: 720px) {
    .outinput {
	width: 100%;
	max-width: 420px;
    }
    .outinput:nth-child(1) {
	margin-left: 0;
    }
}

.outinput .ininput {
	position: absolute;
	pointer-events: none;
	top: 0.5em;
	right: 0em;
	color: #555;
	font-size: 100%;	
	transition: top 0.5s, right 0.5s, font-size 0.5s, color 0.5s;
}

.outinput[focused=true], .outinput:not([content='']) {
	padding-top: 1em;
}

.outinput[focused=true] .ininput, 
.outinput:not([content='']) .ininput {
	top: 0.25em;
	right: 0;
	font-size: 80%;	
}

.check {
	width: 100%;
	text-align: right;
    	margin-top: 0.5em;
	margin-bottom: 2em;
}

.subbtn {
	font-size: 125%;
	font-family: 'Secular One', sans-serif;
	float:left;
	width: 30%;
	padding: 0.5em;
	color: #fff;
	background: var(--pur);
	border: outset 2px var(--yel);
	opacity: 1;
}

.subbtn:disabled {
	opacity: 0.5;
}


@media (max-width: 720px) {	
    .check {
	max-width: 420px;
    }

    .subbtn{
    	margin-top: 1em;
    	width: 100%;
    }
}

.footer {
	width: 100%;
	padding: 2em 1em;
	max-width: 720px;
	text-align: center;
	font-size: 80%;
	color: #555;
}

.logo {
	width: 95%;
	max-width: 320px;
}
