*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}
*::-webkit-scrollbar-thumb {
    background: #acacac;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(253,100,57,0.5);
}
html,
body {
	color: #3f3f3f;
	font: 400 16px/26px Raleway, Arial, Helvetica, sans-serif;
	background-color: #ffcfc0;
	scrollbar-color: #acacac transparent;
    scrollbar-width: thin;
}
img {
	max-width: 100%;
}
ul li,
ol li {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}
a {
	color: inherit;
	text-decoration: none;
}
input:focus {
	border: 1px solid #ec6630 !important;
}
.button {
	display: block;
	border: 0;
	cursor: pointer;
}
.container {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 10px;
}

/* Header */
.header {
	position: relative;
	padding: 10px 0 15px;
}
.hamburger,
.hamburger-open,
.hamburger-close {
	display: none;
}
.hamburger {
	z-index: -1 !important;
}
.header-main-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 300px;
	margin-bottom: 15px;
	box-shadow: none;
}
.header-logo__title {
	align-self: flex-end;
	margin-left: 10px;
	color: #d9541e;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}
.header-logo__title span {
	display: none;
}
.header-logo__img {
	width: 50px;
	transform: rotate(10deg);
}
.header-logo__img[src="img/html-logo.svg"] {
	transform: rotate(-10deg);
}
.header-text {
	text-align: center;
}
.code-item_orange {
	color: #d9541e;
	font-weight: 700;
}
.code-item_red {
	color: #ff0000;
}

/* Sidebar */
.sidebar__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 20px 0 20px 30px;
	font-size: 0;
}
.sidebar__item {
	position: relative;
	margin-right: 40px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: 0.4s;
}
.sidebar__item:last-child {
	margin-right: 0;
}
.sidebar__item_selected {
	position: relative;
	cursor: default;
}
.sidebar__item::after {
	position: absolute;
	content: '';
	top: 28px;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 0;
	background-color: #d9541e;
	border-radius: 10px;
	transition: 0.4s linear;
}
.sidebar__item:hover::after {
	opacity: 1;
}
.sidebar__item_selected::after,
.sidebar__item:hover::after {
	position: absolute;
	content: '';
	top: 28px;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 1;
	background-color: #d9541e;
	border-radius: 10px;
}

/* Main */
.main-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 10px 0 30px;
}
.content {
	width: 78%;
	order: 1;
	padding: 20px;
	border: 2px solid #2b2b2b;
	border-radius: 4px;
	background-color: rgba(233,233,233,0.4);
}
.tutorial {
	width: 20%;
	order: 2;
	padding: 10px 15px;
	border: 2px solid #2b2b2b;
	border-radius: 4px;
	background-color: rgba(233,233,233,0.4);
}
.tutorial__title {
	margin-bottom: 8px;
	font-size: 1.2rem;
}
.tutorial__item {
	margin-bottom: 8px;
	line-height: 20px;
}
.tutorial__link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	cursor: pointer;
	transition: 0.4s;
}
.tutorial__link:hover {
	color: #d9541e;
}
.main-title {
	margin-bottom: 15px;
	font-size: 1.5rem;
	text-align: center;
}
.main-subtitle {
	margin: 30px 0;
	font-size: 1.2rem;
}
.query {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 20px 0;
}
.query__code {
	width: 48%;
}
.query__code li {
	list-style-type: disc;
	list-style-position: inside;
	margin-bottom: 2px;
	color: #d9541e;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: oblique;
	line-height: 1.4;
}
.query__example {
	font-family: Arial, Helvetica, sans-serif;
	width: 42%;
}
.query__example_h1 {
	font-size: 26px;
	font-weight: 700;
}
.query__example p {
	margin-bottom: 8px;
}
.query__example_serif {
	font-family: Lora, "Times New Roman", serif;
}
.query__example_big {
	font-size: 18px;
}
.query__example_bold {
	font-weight: 700;
}
.query__example_color {
	list-style-position: inside;
	padding-left: 5px;
	color: yellow;
	background-color: #1089f4;
}
.query__example_green {
	background-color: #6ad58f;
}
.query__example_green h3 {
	text-align: center;
}
.query__example li {
	list-style-type: disc;
}
.query__example a {
	color: #00e;
	text-decoration: underline;
}
.query__example td,th {
	padding: 2px;
	border: 1px solid #2b2b2b;
	font-family: Arial, Helvetica, sans-serif;
}
.query__example input,
.query__example textarea {
	display: block;
	margin-bottom: 10px;
}
.query__example input[type="checkbox"] {
	display: inline-block;
}
.query__example img[alt="Monkey is on the tree2"] {
	width: 100px;
	height: 120px;
}
.query__example_border {
	border: 2px solid brown;
	border-radius: 10px;
}
.query__example_align {
	border: 1px solid purple;
	text-align: center;
}
.block-align {
	background-color: #1089f4;
}
.block-align__list {
	width: 100px;
	margin: 0 auto;
	color: inherit;
	background-color: gold;
}
.query__example_space {
	margin-bottom: 40px !important;
	padding-left: 25px; 
	border: 2px solid #6ebd89;
	text-align: justify;
}
.query__example .query__example_space:nth-child(2n) {
	margin-bottom: 0 !important;
}
.query__example_list {
	display: inline-block;
	padding-right: 5px;
	list-style-type: none;
}
.example-list_nav {
	margin-right: 5px;
	padding: 2px 5px;
	border-radius: 5px;
	color: #d9541e;
	cursor: pointer;
	transition: all 0.4s;
}
.example-list_nav:first-child {
	color: #ffffff;
	background: #fea472;
	cursor: default;
}
.example-list_nav:last-child {
	margin-right: 0;
}
.example-list_nav:hover {
	color: #ffffff;
	background: #fea472;
}
.query__example_oblique {
	color:#00e;
	font-style: oblique;
	text-decoration: underline;
}
.query__example_flex {
	position: relative;
	display: flex;
	justify-content: space-between;
}
.query__example_flex img {
	width: 20% !important;
}
.query__example_background {
	width: 200px;
	height: 150px;
	border: 1px solid brown;
	background: url(img/house-img.svg) center bottom no-repeat;
	background-size: 100px 75px;
}
.query__example_shadow {
	display: block;
	width: 20% !important;
	margin: 5px auto 10px;
	border-radius: 50%;
	box-shadow: 2px 1px 35px 10px gold;
}
.query__example_gradient {
	border: none;
	border-radius: 16px;
	padding: 10px 20px 10px 20px;
	color: #fde8ff;
	background: linear-gradient(to top, violet, purple);
	cursor: pointer;
}
.query__example_position {
	position: relative;
	min-height: 130px;
	border: 1px solid brown;
}
.sun-img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 120px;
}
.earth-img {
	position: absolute;
	top: 8px;
	left: 10px;
	z-index: 2;
	width: 40px !important;
}
.query__example .query__example_hover {
	color: royalblue;
	text-decoration: none;
	cursor: pointer;
}
.query__example_hover:hover {
	color: purple;
	text-decoration: underline;
}
.query__example .query__example_pseudo {
	position: relative;
	margin-left: 20px;
	color: #d9541e;
	text-decoration: none;
}
.query__example_pseudo::before {
	position: absolute;
	content: "";
	top: 0;
	left: -25px;
	width: 15px;
	height: 15px;
	background: url(img/video.svg) no-repeat;
}
.transition-wrap {
	min-height: 180px;
	width: 250px;
	background: #333 url(img/house-img.svg) center bottom no-repeat;
	background-size: 80px 80px;
}
.query__example_transition {
	display: block;
	width: 20% !important;
	margin: 0 auto;
	padding: 10px 0;
	transition: 1s;
	cursor: pointer;
}
.query__example_transition:hover {
	width: 30% !important;
}
.animation-wrap {
	position: relative;
	width: 250px;
	min-height: 200px;
	border: 1px solid #000;
	background: skyblue;
}
.animation-wrap::before {
	position: absolute;
	content: "";
	bottom: 0;
	left: 15%;
	width: 120px;
	height: 120px;
	background: url(img/house-img.svg) no-repeat;
	z-index: 2;
}
.query__example_animation {
	position: absolute;
	bottom: 0; 
	left: 20%;
	width: 50px !important;
	animation-name: sunRise;
	animation-duration: 15s;
	animation-iteration-count: infinite;
	z-index: 1;
}
@keyframes sunRise {
	0% {
		bottom: 0;
		left: 20%;
	}
	50% {
		bottom: 60%;
		left: 50%;
	}
	100% {
		bottom: 0;
		left: 20%;
	}
}
.query__example_media {
	color: purple;
}
.code {
	margin-bottom: 20px;
	color: #d9541e;
	font-weight: 600;
	line-height: 1.4;
	word-spacing: 5px;
	font-family: Raleway, Arial, Helvetica, sans-serif;
}
.code__sublist {
	margin-bottom: 15px;
	order: 2;
}
.code_circle {
	padding-left: 15px;
	list-style: circle !important;
	list-style-position: inside !important;
}
.code-comment {
	display: block;
	width: 400px;
	margin: 10px 0 5px;
	color: #3f3f3f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: oblique;
	line-height: 20px;
}
.code-comment_grey {
	color: #3f3f3f;
}
.query__img {
	width: 320px;
	height: 80px;
}
.query__example {
	text-align: left;
}
.query__example>.code-comment {
	width: 100%;
}
.code_grey {
	color: #3f3f3f;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
}
.files-table-tab .main-subtitle {
	margin: 15px 0;
}
.files-list {
	padding-left: 20px;
	line-height: 28px;
	transition: 0.3s;
}
.files-list:hover {
	color: #d9541e;
	cursor: pointer;
}
.quiz-site_extra {
	display: none;
}
.files-download,
.files-site,
.files-home,
.files-video,
.quiz-site {
	position: relative;
}
.files-download::before,
.files-site::before,
.files-home::before,
.files-video::before,
.quiz-site::before {
	position: absolute;
	content: "";
	top: 6px;
	left: 1px;
	width: 30px;
	height: 30px;
	background: url(img/download.svg) no-repeat;
}
.files-home::before {
	top: 4px;
	left: -2px;
	width: 18px;
	height: 18px;
	background: url(img/house.svg) no-repeat;
}
.files-site::before {
	background: url(img/example.svg) no-repeat;
}
.quiz-site::before {
	top: 6px;
	width: 14px;
	height: 14px;
	background: url(img/pen.svg) no-repeat;
}
.files-video::before {
	top: 6px;
	left: -1px;
	width: 16px;
	height: 18px;
	background: url(img/video.svg) no-repeat;
}
.files-video_new>a {
	position: relative;
}
.files-video_new>a::after {
	position: absolute;
	content: 'bonus';
	top: -10px;
	right: -37px;
	color: #fb6363;
	font-size: 11px;
	font-weight: 700;
}
.btnup {
	position: -webkit-sticky;
	position: sticky;
	z-index: 5;
	top: 85%;
	left: 1px;
	display: block;
	width: 50px;
	height: 50px;
	margin: 300px 10px 0 auto;
	border: 0;
	border-radius: 50%;
	background-color: rgba(120,120,120,0.1);
	cursor: pointer;
}
.btnup__icon {
	position: absolute;
	top: 18px;
	left: 19px;
	width: 10px;
	height: 10px;
	transform: rotate(-90deg);
}
.btnup__icon path {
	transition: 0.4s;
}
.btnup:hover .btnup__icon path {
	fill: #d9541e;
}
.btnup-smdev {
	display: none;
}
.color-orange {
	color: #d9541e;
}
.prevent-scroll {
	height: 10vh;
	overflow: hidden;
	animation: fadeContent 0.8s linear;
}
@keyframes fadeContent {
	0% {
		height: 100vh;
	}
	99% {
		height: 100vh;
	}
	100% {
		height: 10vh;
	}
}

/* Media queries */
@media (max-width: 997px) {
	html,
	body {
		font: 400 15px/26px Raleway, Arial, Helvetica, sans-serif;
	}
	.hamburger,
	.hamburger-open {
		display: none;
	}
	.content {
		width: 80%;
		padding: 10px;
	}
	.tutorial {
		width: 19%;
		padding: 10px 8px;
	}
	.tutorial__title {
		font-size: 16px;
	}
	.query__code {
		font-size: 14px;
	}
	.code {
		word-spacing: 2px;
	}
	.code-comment {
		width: 300px;
	}
}
@media (max-width: 950px) {
	.hamburger,
	.hamburger-open {
		display: none;
	}
	.query__code {
		width: 100%;
	}
	.content {
		width: 70%;
		padding: 10px 20px;
	}
	.tutorial {
		width: 26%;
		padding: 10px 12px;
	}
	.main-subtitle {
		margin: 20px 0 0;
	}
	.query__code {
		display: flex;
		flex-wrap: wrap;
	}
	.code-comment {
		order: 1;
		width: 100%;
	}
	.code-list {
		order: 2;
	}
	.code {
		order: 3;
		width: 100%;
		margin: 15px 0;
	}
	.query__example {
		width: 90%;
	}
	.query__example ul {
		list-style: inside;
	}
	.query__example_big {
		font-size: 16px;
	}
	.query__example_green {
		width: 150px;
	}
	@media not all and (min-resolution:.001dpcm) { 
		@supports (-webkit-appearance:none) and (stroke-color:transparent) {
			.query__example_flex {
				align-self: flex-start;
				height: 95px;
			}
		}
	}	
}
@media (max-width: 800px) {
	.hamburger,
	.hamburger-open {
		display: none;
	}
	.query__example {
		width: 100%;
	}
	.query__example_green {
		width: 150px;
	}
}
@media (max-width: 700px) {
	.tutorial,
	.hamburger,
	.hamburger-open {
		display: none;
	}
	.quiz-site_extra {
		display: none !important;
	}
	.btnup-smdev {
		display: block;
		top: 86%;
		margin: 0;
		margin-left: auto;
	}
	.content {
		width: 100%;
	}
	.sidebar__list {
		justify-content: center;
		margin: 10px auto;
	}
	.main-title {
		margin: -40px 0 0;
		font-size: 20px;
	}
	.main-subtitle {
		margin: 10px 0;
		font-size: 16px;
	}
	.query {
		margin: 10px 0;
	}
	.query__example_media {
		color: #d9541e;
	}
	.example-list_nav:hover {
		color: #d9541e;
		background: transparent;
	}
	.files-list:hover {
    	border-top-color: #3f3f3f;
		color: #3f3f3f;
	}
}
@media (max-width: 480px) {
	.login-wrap,
	.header-text {
		display: none;
	}
	.header {
		padding-bottom: 0;
	}
	.header-logo {
		position: fixed;
		z-index: 10;
		top: 0;
		left: 0;
		width: 100%;
		height: 61px;
		margin-bottom: 0;
		padding: 10px;
		background-color: #fff;
		box-shadow: 0 6px 16px 0 rgba(0,0,0,0.05);
	}
	.header-logo__img {
		width: 40px !important;
	}
	.hamburger {
		position: absolute;
		display: block;
		top: 25%;
		right: 5%;
		width: 38px;
		height: 38px;
		border: none;
		border-radius: 50%;
		background-color: rgba(217, 84, 30, 0.7);
		z-index: 12;
	}
	.hamburger-open_border {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 65%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: translate(-50%,-50%);
	}
	.hamburger-open_border::before {
		position: absolute;
		content: "";
		top: -8px;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
	}
	.hamburger-open_border::after {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
	}
	.hamburger-close {
		position: absolute;
		display: none;
		z-index: -5;
	}
	.hamburger-close_border {
		position: absolute;
		top: 9px;
		left: 6px;
		width: 100%;
		height: 3px;
		background-color: transparent;
	}
	.hamburger-close_border::before {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 25px;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: rotate(45deg);
	}
	.hamburger-close_border::after {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 25px;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: rotate(-45deg);
	}
	.header-logo__img {
		width: 80px;
		height: 41px;
	}
	.header-logo__title {
		margin-bottom: 5px;
		font-size: 22px;
	}
	.sidebar__list {
		position: fixed;
		top: 55px;
		left: 100%;
		width: 120%;
		height: 100%;
		display: block;
		margin-top: 0;
		padding: 15px 0 0 20px;
		color: #d9541e;
		line-height: 52px;
		text-transform: uppercase;
		background-color: #fff;
		z-index: 10;
	}
	.sidebar__item:hover::after,
	.sidebar__item_selected::after {
		display: none;
	}
	.sidebar-appear {
		animation: openBurger 0.8s forwards;
	}
	.sidebar-disappear {
		animation: closeBurger 0.8s forwards;
	}
	.sidebar__line {
		position: absolute;
		top: 2px;
		left: -20px;
		height: 1px;
		width: 104%;
		background-color: #bcc0c6;
		border: 0;
	}
	.sidebar__item__login,
	.sidebar__item__profile {
		position: relative;
		display: block;
		margin-left: 20px !important;
	}
	.sidebar__item__login {
		margin-left: 0 !important;
	}
	.sidebar__item__login:nth-child(2n-1),
	.sidebar__item__profile:nth-child(2n-1) {
		margin-top: 10px;
	}
	.sidebar__item__profile:last-child{
		margin-top: 0;
	}
	.sidebar__item__profile:last-child button {
		border: none;
		color: #d9541e;
		text-transform: uppercase;
		font: 700 16px/26px Raleway, Arial, Helvetica, sans-serif;
		background: none;
	}
	@keyframes openBurger {
		0% {
			left: 100%;
		}
		100% {
			left: 0;
		}
	}
	@keyframes closeBurger {
		0% {
			left: 0;
		}
		100% {
			left: 100%;
		}
	}
	main {
		padding-bottom: 15px;
	}
	.main-title {
		margin: 0;
	}
	.main-wrap {
		margin-top: 25px;
		padding: 0;
	}
	.content {
		padding: 0 5px;
		border: none;
		background-color: transparent;
	}
	.code-item {
		width: 95%;
	}
	.query__example img {
		width: 120px;
	}
	.css-table-tab .query__example img,
	.query__example_green {
		width: 100px;
	}
	.btnup:hover .btnup__icon path {
		fill: #3f3f3f;
	}
	@media not all and (min-resolution:.001dpcm) { 
		@supports (-webkit-appearance:none) and (stroke-color:transparent) {
			.sidebar__item {
				display: flex;
			}
			.sidebar__item:nth-child(3) {
				display: none;
			}
		} 
	}
}
@media (max-width: 370px) {
	.files-video_new>a::after {
		display: none;
	}
	.container {
		padding: 0 5px;
	}
	.main-title {
		font-size: 17px;
	}
	.query__code {
   		font-size: 13px;
	}
}