/*----------Specification----------*/

body {
	font: 300 18px 'Frank Ruhl Libre', serif;
	color: #000;
	background-color: #414141;
	/*Подключение опции построение элементов справа налево*/
	"font_options": ["gdi"];


}
.block-rtl {
	direction: rtl;
}

.container-rtl {
	direction: rtl;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;	
}
.rtl {
	direction: rtl;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	width: 100%;	
}


h1, h2, h3, h4, h5, h6 {
	letter-spacing: 0.05em;
	font-weight: 300;	
}

h1 {
	font-size: 60px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    text-shadow: 3px 5px rgb(7 21 60 / 80%);
    color: #fff;
}

h2 {
	font-size: 50px;
	text-align: center;
	font-weight: 500;
	color: #fff;
}

h3  {
	font-size: 48px;
	text-align: center;
}

*,*:before, *:after {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

:focus, :active {
	outline: none;
}

a:focus, a:active {
	outline: none;
}

a, a:visited, a:hover {
	text-decoration: none;	
}

ul li {
	list-style: none;
}

a, button, input, textarea {
	transition: all 0.5s ease;
	border: none;
} 

button, button:hover, a {
	outline: none;
}

img, button {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}
.d-none {
	display: none;
}

.d-block {
	display: block;
}

/*----------Styles----------*/

/*-----section-header-----*/

.header {
	background: url(../img/main-bg.jpg) no-repeat center center/ cover;
	padding: 60px 0;
}

.heading {
	background-color: rgb(19 43 103 / 43%);
    padding: 15px 0;
    border-top: 2px solid rgb(13 33 80 / 81%);
    border-bottom: 2px solid rgb(13 33 80 / 81%);
}

/*-----section-main-----*/

.main {
	background-color: #414141;
	padding: 25px 0;

}

/*-----section-question-----*/

.question {
	padding: 15px 0;
	background-color: #fff;
}

/*-----section-answers-----*/

.answers {
	background-color: #414141;
	padding: 25px 0 50px 0;
}

.answer-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 500px;
	margin: 0 auto;
}

.answer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 220px;
}

.answer img {
	height: 35px;
}

.answer-btn {
	display: flex;
	padding: 7px 30px;
	width: 150px;
	border-radius: 20px;
	font-weight: 500;
	font-size: 22px;
	justify-content: center;
	color: #000;
	transition: all 0.5s ease;
}

.yes-btn {
	background-color: #4bdb7b;
}

.no-btn {
	background-color: #ff4040;
}
	
.answer-btn:hover {
	background-color: rgb(186 247 255 / 78%);
}







/*----------Media Queries----------*/

/*1200-1440px*/

@media screen and (max-width: 1440px) {
	
	.container, .container-rtl {
		width: 1140px;
	}

}

/*992-1200px*/

@media screen and (max-width: 1200px) {
	
	.container, .container-rtl {
		width: 930px;
	}	
	
}



/*768-992px*/

@media screen and (max-width: 992px) {

	.container, .container-rtl {
		width: 700px;
	}
	

}



/*576-768px*/

@media screen and (max-width: 768px) {

	.container, .container-rtl {
		width: 530px;
	}

	h1 {
		font-size: 45px;
	}

	h2 {
		font-size: 40px;
	}

	h3 {
		font-size: 38px;
	}

	.answers {
		padding: 50px 0;
	}
}



/*460-576px*/

@media screen and (max-width: 576px) {

	.container, .container-rtl {
		width: 90%;
	}	

	.answer-wrap {
		width: 90%;
	}

	.answer {
		width: 100%;
	}	

	.answer-yes {
		margin-bottom: 50px;
	}

	.no-btn {
		order: 2;
	}

	.answer-btn {
		width: 80%;
		font-size: 35px;
		padding: 15px 30px;
	}

	.answer img {
	    height: 45px;
	}

}


/*320-460px*/

@media screen and (max-width: 460px) {

	.container, .container-rtl {
		width: 90%;
	}	

	.answer-wrap {
		width: 100%;
	}

	.answer img {
	    height: 35px;
	}	
	
}










