@import "fonts.css";

:root {
	--main-color: #363636;
	--secondary-color: #E71D1D;
}

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: OpenSans-Regular;
	font-size: 16px;
	color: var(--main-color);
}

a {
	color: var(--main-color);
	text-decoration: none;
}

img {
	width: 100%;
}

h1,
h2,
h3 {
	font-family: OpenSans-Bold;
}

.menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	position: fixed;
	top: 20px;
	width: 84%;
	margin: auto;
	background-color: #fff;
	border-radius: 10px;
	left: 50%; 
    transform: translate(-50%);
    z-index: 9;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.1);
    max-width: 1200px;
}
.menu__link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
}
.menu__logo {
	width: 80px;
}
.menu__icon {
	width: 20px;
}
.menu__mobile {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #222222;
	z-index: 10;
	padding: 20px;
}
.menu__mobile__close {
	position: fixed;
	z-index: 10;
	top: 20px;
	right: 20px;
	width: 14px;
	cursor: pointer;
}
.menu__mobile__list {
	list-style: none;
	margin-top: 30px;
	margin-bottom: 30px;
}
.menu__mobile__list li {
	margin-bottom: 20px;
}
.menu__mobile__list a {
	color: #fff;
}
.menu__mobile__list a:hover {
	color: var(--secondary-color);
}
.menu__mobile__rrss {
	display: flex;
	grid-gap: 10px;
	margin-bottom: 20px;
}
.menu__mobile__rrss img {
	width: 24px;
	height: 24px;
}
.menu__list {
	display: none;
	grid-gap: 12px;
	list-style: none;
}
.menu__list a {
	font-size: 12px;
}
.menu__list a.active {
	font-family: OpenSans-Bold;
}
.menu__list a:hover {
	font-family: OpenSans-Bold;
	color: var(--secondary-color);
}

.elf {
	margin-bottom: 60px;
}
.elf__menu {
	display: none;
	justify-content: center;
	grid-gap: 60px;
}
.elf__title {
	text-align: center;
}
.elf__img {
	height: 22px;
	margin-bottom: 6px;
}
.elf__description {
	margin-bottom: 4px;
}
.elf__line {
	width: 150px;
	margin: auto;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--secondary-color);
}

.elf__grid {
	display: flex;
	justify-content: center;
}
.elf__item {
	display: none;
}
.elf__item.active {
	display: block;
}
.elf__item__img {
	width: 240px;
}
.elf__item__info {
	display: flex;
	justify-content: center;
	align-items: baseline;
	margin-bottom: 20px;
}
.elf__item__arrow {
	width: 12px;
	margin-right: 10px;
}
.elf__item__title {
	font-size: 20px;
	font-family: OpenSans-Bold;
	line-height: 36px;
}
.elf__item__title span {
	font-size: 16px;
	font-family: OpenSans-Regular;
}
.elf__btn {
	display: block;
	text-align: center;
	border: 1px solid var(--main-color);
	border-radius: 10px;
	padding: 6px 20px;
	font-size: 14px;
	margin-bottom: 40px;
}

.elf__page {
	display: flex;
	justify-content: center;
}
.elf__page a {
	display: flex;
	font-size: 14px;
}
.elf__page__arrow {
	width: 8px;
	vertical-align: middle;
}
.elf__page__arrow.left {
	margin-right: 4px;
}
.elf__page__arrow.right {
	margin-left: 4px;
}
.elf__page__bullets {
	display: flex;
	align-items: center;
	margin: 0 10px;
}
.elf__page__bullet {
	margin: 0 3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ccc;
}
.elf__page__bullet.active {
	background-color: #000;
}

.design {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../img/design.webp);
}
.design__content {
	padding: 50px 0;
}
.design__item {
	font-size: 16px;
	color: #fff;
	text-align: center;
	margin: auto;
	margin-bottom: 20px;
}
.design__item:last-child {
	margin-bottom: 0;
}

.wrapper {
	max-width: 1200px;
	margin: auto;
}

footer.line {
	border-top: 1px solid #ccc;
}
.footer__logo {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.footer__logo img {
	width: 100px;
}
.footer__links {
	display: flex;
	flex-direction: column;
	text-align: center;
	font-size: 14px;
	margin-bottom: 20px;
}
.footer__links a {
	margin-bottom: 10px;
}
.footer__rrss {
	display: flex;
	justify-content: center;
	grid-gap: 10px;
	margin-bottom: 20px;
}
.footer__rrss img {
	width: 26px;
	height: 26px;
}
.footer__bottom {
	display: flex;
	justify-content: center;
	grid-gap: 20px;
	padding: 10px 20px;
	background-color: #000;
}
.footer__bottom img {
	height: 50px;
	width: auto;
}

@media screen and (min-width: 500px) {
	
	.menu__mobile {
		padding: 40px;
	}
	.menu__mobile .menu__logo {
		width: 100px;
	}
	.menu__mobile__rrss {
		grid-gap: 12px;
	}
	.footer__links {
		flex-direction: row;
		justify-content: center;
		grid-gap: 10px;
	}
	.footer__rrss {
		grid-gap: 10px;
	}

}

@media screen and (min-width: 600px) {

	.menu {
		position: relative;
		padding: 14px 20px;
		top: 20px;
		left: auto;
		transform: none;
	}
	.menu__link {
		width: 24%;
	}
	.menu__link.icon {
		display: none;
	}
	.menu__list {
		display: flex;
    	justify-content: center;
    	width: 76%;
	}
	
	.elf__menu {
		display: flex;
		margin-bottom: 20px;
		grid-gap: 80px;
	}
	.elf__menu .elf__title {
		cursor: pointer;
	}
	.elf .elf__title {
		display: none;
	}
	.elf__title.active .elf__line {
		border-bottom: 3px solid var(--secondary-color);
	}
	.elf__line {
		border-bottom: 2px solid #ccc;
	}
	.elf.second {
		display: none;
	}
	.elf__grid {
	    display: flex;
	    justify-content: center;
	    flex-wrap: wrap;
	    grid-gap: 50px;
	    max-width: 900px;
	    margin: auto;
	}
	.elf__item {
		display: block;
	}
	.elf__btn {
		display: none;
	}
	.elf__page {
		display: none;
	}
	.design {
		padding: 40px 0;
	}
	.design__content {
		display: flex;
    	flex-wrap: wrap;
    	max-width: 1300px;
    	margin: auto;
	}
	.design__item:last-child {
    	margin-bottom: 20px;
	}

}

@media screen and (min-width: 768px) {

	.menu {
    	padding: 20px 30px;
    	top: 26px;
	}
	.menu__logo {
    	width: 90px;
	}
	.menu__list {
		grid-gap: 16px;
	}
	.menu__list a {
    	font-size: 14px;
	}
	.elf__menu {
    	grid-gap: 100px;
    	margin-bottom: 30px;
	}
	.elf__img {
    	height: 26px;
    	margin-bottom: 10px;
	}
	.design__item {
		font-size: 20px;
	}
	.footer__top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 90%;
		max-width: 1200px;
		margin: auto;
		padding: 20px 0;
	}
	.footer__links {
		margin-bottom: 0;
	}
	.footer__rrss {
		margin-bottom: 0;
	}
	.footer__bottom {
		grid-gap: 30px;
	}
	.footer__bottom img {
		height: 55px;
	}

}

@media screen and (min-width: 1000px) {

	.menu__logo {
    	width: 110px;
	}
	.menu__list a {
    	font-size: 15px;
	}
	.elf__description {
    	font-size: 20px;
	}
	.elf__grid {
		grid-gap: 60px;
	}
	.elf__item__img {
    	width: 260px;
	}
	.elf__item__title {
		font-size: 26px;
	}
	.elf__item__title span {
    	font-size: 18px;
	}
	.elf__line {
    	width: 190px;
	}
	.design {
    	padding: 60px 0;
	}
	.design__item {
		font-size: 22px;
	}
	.footer__top {
		padding: 26px 0;
	}
	.footer__links {
		grid-gap: 40px;
		font-size: 16px;
	}

}

@media screen and (min-width: 1200px) {

	.menu {
    	padding: 26px 36px;
    	top: 30px;
	}
	.menu__logo {
    	width: 130px;
	}
	.menu__list {
		width: 67%;
		grid-gap: 28px;
	}
	.menu__list a {
    	font-size: 16px;
	}
	.elf__menu {
		margin-bottom: 60px;
	}
	.elf__grid {
		max-width: 1160px;
		grid-gap: 80px;
	}
	.elf__line {
		width: 230px;
	}
	.elf__description {
		font-size: 24px;
	}
	.elf__item__img {
    	width: 320px;
	}
	.elf__item__title {
		font-size: 30px;
	}
	.elf__item__title span {
		font-size: 20px;
	}
	.elf__img {
		height: 30px;
	}
	.design {
    	padding: 80px 0;
	}
	.design__item {
		font-size: 26px;
	}
	.footer__bottom {
		grid-gap: 40px;
	}
	.footer__bottom img {
		height: 60px;
	}
	.footer__logo img {
    	width: 120px;
	}

}

@media screen and (min-width: 1400px) {

	.footer__top {
		width: 100%;
	}

}