@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;    
	font-size: 100%;
}

* {
	box-sizing: border-box;
	outline: none;
	font-family: inherit;
	user-select: none;
}

img {
	display: block;
}

:root {
	--color00: #f8f8f8;
	--color01: #333;
	--color02: #6d97a7;
	--color03: #eee;
}

body {
	background: #fff url("../img/bg_pattern.jpg") 0/5% repeat fixed;
	font-family: "Ubuntu", "sans-serif";
	color: #333;  
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 22px;
}

h1, h2 {
	font-weight: 700;
}

hr {
	width: 80%;
	border: 1px solid var(--color03);
}

p, li {
	font-size: 18px;
	line-height: 1.2;
}

li {
	list-style-position: inside;
}

li:not(:last-child) {
	margin-bottom: 5px;
}

.hide {
	display: none;
}

.header {
	display: flex;
	position: fixed;
	justify-content: space-between;
	width: 100%;
	height: 90px;
	background-color: var(--color00);
	padding: 10px 10%;
	box-shadow: 0 -20px 20px 30px #6d97a733;
}

.logo img {
	height: 100%;
	width: auto;	
}

.main {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.container-test {
    display: block;
    padding: 140px 10% 60px 10%;
    width: 100%;
    background-color: var(--color00);
}

.test-title {
	display: flex;
	flex-flow: column;
	align-items: center;
	margin-bottom: 30px;
}

.line-shadow {
	display: block;
	width: 65%;
	margin-top: 15px;
}

.grid-1 {
	display: grid;
	grid-template-columns: 1fr;
	grid-row-gap: 15px;
	width: 100%;
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 35px;
	width: 100%;
}

.grid-2 img {
	width: 100%;
}

.text-blocks {
	display: flex;
	justify-content: center;
	flex-flow: column;
}

.text-blocks>:not(:last-child) {
	margin-bottom: 30px;
}

.text-blocks h2 {
	margin-bottom: 10px;
}

.btn-div {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.btn {
	color: var(--color00);
	background-color: var(--color02);
	height: 60px;
	width: 200px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.btn:not(:last-child) {
	margin-right: 50px;
}

.btn:hover {
	background-color: var(--color01);
}



.block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 20px;
}

.block:not(:first-child) {
	min-height: 120px;
	border-bottom: 2px solid var(--color03);
}

.question {
	display: flex;
	align-items: center;
	width:100%;    
	font-size: 20px;
}

.answers {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	font-size: 14px;
}

.answers>span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-transform: uppercase;
}

.radio-img {
    background: transparent url('../img/radio-unchecked.png') 0 0/45px 45px no-repeat;
    height: 45px;
    width: 45px;
    cursor: pointer;
}

.radio-img:hover {
    background: transparent url('../img/radio-hover.png') 0 0/45px 45px no-repeat;
}

.radio-error {
    background: transparent url('../img/radio-error.png') 0 0/45px 45px no-repeat;
    height: 45px;
    width: 45px;
    cursor: pointer;
}

.answers input:checked +.radio-img {
    background: transparent url('../img/radio-checked.png') 0 0/45px 45px no-repeat;
}

.prog {
    font-size: 30px;
    font-weight: 700;
    color: var(--color02);
    text-align: right;
    margin-top: 20px;
    -webkit-text-stroke: medium;
}

.footer{	
	width: 100%;
	color: var(--color00);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 20px;
    width: 100%;
    padding: 60px 10%;
    background-color: var(--color02);
}

.footer-logo img {
    height: 150px;
    max-height: 100%;
    width: auto;
}

.footer-links, .footer-social {
    display: grid;
    grid-row-gap: 10px;
    grid-template-rows: min-content min-content;
}

.footer-links div {
	display: grid;
	grid-row-gap: 5px;
	grid-template-columns: min-content;
}

.footer-links a {
    font-size: inherit;
    color: var(--color00);
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
	color: var(--color01);
}

.footer-social div {
	display: grid;
	grid-template-columns: repeat(4, min-content);
	grid-column-gap: 10px;
}

.fa {
	display: inline-flex !important;
    justify-content: center;
    align-items: center;
    color: var(--color02);
    background-color: var(--color00);
    padding: 15px;
    font-size: 12px;
    width: 30px;
    line-height: 0 !important;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    height: 30px;    
}

.fa:hover {
	background-color: var(--color01);
}

.footer-bot {
	width: 100%;
	min-height: 20px;
	padding: 5px 10%;
	font-size: 12px;
	background-color: var(--color01);
	text-align: right;
}

.footer-bot p {
	font-size: 12px;
}

