@import url('/Circe/stylesheet.css');

:root {
  --color-black: #333;
  --color-gray: #666;
  --color-red: #ab0a3d;
  --color-red-light: #c41d52;
}

html {
    box-sizing: border-box;
}

*,*::before,*::after {
    box-sizing: inherit;
}

body {
	background: #003a70;
}

body *{
	font-family: "Circe", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	color: #333;
}

main{
	width: calc(100% - 40px);
	max-width: 420px;
	margin: 0 auto;
	position: relative;
	text-align: center;
}

h1{
	font-size: 24px;
	font-weight: bold;
	position: relative;
	display: inline-block;
    color: #fff;
	z-index: 1;
	margin: 30px auto 10px auto;
}

h1:before{
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 10px;
	background: var(--color-red);
	bottom: 6px;
	left: 6px;
	z-index: -1;
}

p{
	font-size: 14px;
	line-height: 16px;
	color: var(--color-gray);
	margin: 10px auto 20px auto;
}

h1 + p{
    color: #fff;
}

.form{
	background: #fff;
	border-radius: 20px;
	box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.1);
	padding: 30px 20px 10px 20px;
}

label{
	display: block;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
}

label i{
	display: inline-block;
	position: relative;
	background-image: url(/star.svg);
	background-size: contain;
	width: 6px;
	height: 6px;
	bottom: 8px;
}

input{
	margin: 5px auto 20px auto;
	padding: 6px 12px;
	font-size: 18px;
	border: 1px solid #B8B8B8;
	border-radius: 5px;
	width: 100%;
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1) inset;
	transition: all 0.3s;
}

select{
	margin: 5px auto 20px auto;
	padding: 6px 12px;
	font-size: 18px;
	border: 1px solid #B8B8B8;
	border-radius: 5px;
	width: 100%;
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1) inset;
	transition: all 0.3s;
}

input:focus, select:focus{
	outline: none;
	border: 1px solid var(--color-gray);
}

input.error{
	border: 1px solid var(--color-red);
}

button{
	width: 100%;
	border-radius: 5px;
	color: #fff;
	background: var(--color-red);
	font-weight: bold;
	font-size: 16px;
	border: none;
	padding: 18px 0;
	transition: all 0.3s;
}

button:hover, button:active{
	background: var(--color-red-light);
	cursor: pointer;
}

a{
	color: var(--color-red);
	font-size: 14px;
	transition: all 0.3s;
}

a:hover, a:active{
	color: var(--color-red-light);
	cursor: pointer;
}

.loader{
	display: block;
	position: fixed;
	top: calc(50vh - 20px);
	left: calc(50% - 100px);
	width: 200px;
	height: 40px;
	background-image: url(/loader.gif);
	background-size: contain;
	background-repeat:no-repeat;
	background-position: center;
}

.success{
	margin-top: 20vh;
	width: 60px;
}

.ad{
	display: none;
	position: relative;
	width: 100%;
}

.ad img{
	width: 100%;
	border-radius: 10px;
}

.ad span{
	color: var(--color-black);
	background: rgba(255,255,255,0.8);
	display: block;
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 3px 5px;
	font-size: 12px;
	border-radius: 5px;
}

@media (max-width: 320px){
	h1{
		font-size: 20px;
	}
	h1:before{
		height: 8px;
		bottom: 4px;
	}
	p br{
		display: none;
	}
	label{
		font-size: 14px;
	}
	input{
		padding: 4px 8px;
		font-size: 16px;
	}
	select{
		padding: 4px 8px;
		font-size: 16px;
	}
	button{
		font-size: 14px;
		padding: 14px 0;
	}
}
