html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
	text-decoration: none;
	color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

img {
	max-width: 100%;
}

body {
	min-width: 1200px;
	font-family: 'Muller', sans-serif;
	background: linear-gradient(45deg,#2833c8, #258bc7b5, #1f96d2 70%, #3ed2fb);
	background-size: 400% 400%;
	animation: gradient 10s ease infinite;
}


@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
/*  */
video {
	border-radius: 8px;
}

@font-face {
	font-family: "BadScript";
	src: local('BadScript-Regular'), url(../fonts/BadScript-Regular.woff2) format('woff2'),
	url(../fonts/BadScript-Regular.woff) format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "ComforterBrush";
	src: local('ComforterBrush-Regular'), url(../fonts/ComforterBrush-Regular.woff2) format('woff2'),
	url(../fonts/ComforterBrush-Regular.woff) format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: local('Lora-Regular'), url(../fonts/Lora-Regular.woff2) format('woff2'),
	url(../fonts/Lora-Regular.woff) format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Merriweather";
	src: local('Merriweather-Light'), url(../fonts/Merriweather-Light.woff2) format('woff2'),
	url(../fonts/Merriweather-Light.woff) format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}


:root {
	--clr-main: #a59284;
  	--clr-hover: #ded0c3;
  	--clr-focus: #68492a;
  	--clr-active: #443927;
}

.main_video {
	max-width: 510px;
}
.example_video {
	max-width: 340px;
}

.list-reset {
	margin: 0;
	padding: 0;
	list-style: none;
}

.btn-reset {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
}

.flex {
	display: flex;
}

.container {
	width: 1200px;
	padding: 0 15px;
	margin: 0 auto;
}

.header {
	margin-bottom: 20px;
	padding-top: 20px;
	font-size: 24px;
	color: #443927;
}

.nav__list {
	gap: 30px;
}

.nav-list__item {
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 10px;
}

.nav-list__item-active {
	padding-bottom: 2px;
	border-bottom: 2px black solid;
}


.nav-link {
	font-family: 'Merriweather', sans-serif;
}

.logo__wrapper {
	display: inline-block;
	margin-right: auto;
	position: relative;
}

.header__nav {
	position: relative;
}
.logo__wrapper {
	padding-top: 10px;
}
.logo__wrapper::before {
	content: url(../images/border.png);
	position: absolute;
	left: -45px;
	top: -25px;
}
.header__logo::before {
	content: url(../images/svg1.png);
	position: absolute;
	left: 15px;
	bottom: -15px;
}
.header__logo {
	font-family: 'BadScript', sans-serif;
	font-weight: 900;
	font-size: 50px;
	color: black;
}
.header__logo::after {
	content: url(../images/svg2.png);
	position: absolute;
	left: 40px;
	bottom: -50px;
}

.h1__wrapper {
	width: 100%;
	justify-content: center;
	padding: 40px 0 0;
	margin-bottom: 100px;
}

.h1 {
	font-size: 48px;
	font-family: 'Merriweather', sans-serif;
	color: black;
	position: relative;
}

.meow {
	color: #59402E;
}

.meow::after {
	content: url(../images/svg3.png);
	position: absolute;
	right: 50px;
}

.meow::before {
	content: "л";
	position: absolute;
	top: -80px;
	right: 50px;
	font-family: 'ComforterBrush', sans-serif;
	font-size: 100px;
	color: red;
}

.hero__section {
	width: 100%;
	justify-content: center;
	flex-flow: column nowrap;
	align-items: center;
	gap: 100px;
}

.hero__descr {
	width: 60%;
	padding-top: 290px;
	padding-bottom: 40px;
	text-align: center;
	font-family: 'Lora', sans-serif;
	font-weight: 500;
	font-size: 20px;
	color: black;
}

.hero-descr__wrapper {
	justify-content: center;
}

.hero__img {
	background-image: url(../images/Ellipse\ 1.png);
	background-position: center top;
	background-repeat: no-repeat;
}

.work-list_section {
	padding: 30px 0 0 0;
	margin-bottom: 50px;
}

.works__list {
	flex-flow: row wrap;
	gap: 30px;
}

.list__item {
	flex-basis: 570px;
	padding-top: 25px;
	padding-bottom: 25px;
	padding-left: 30px;
	border-radius: 16px;
	background-color: #fcf4e9;
	outline: 2px black solid;
}

.list__item:last-child {
	flex-basis: 100%;
}

.item__title {
	margin-bottom: 10px;
}

.item__descr {
	color: #59402E;
	font-family: 'Lora', sans-serif;
	max-width: 500px;
}

.item_descr-full {
	max-width: 95%;
}
.item__link {
	font-family: 'Merriweather', sans-serif;
	color: #59402E;
	transition: color .3s ease-in-out;
}
.item__link:hover {
	color: var(--clr-hover);
}

.item__link:focus {
	color: var(--clr-focus);
}

.item__link:active {
	color: var(--clr-active);
}

.nav__link {
	font-family: 'Merriweather', sans-serif;
	color: black;
	transition: color .3s ease-in-out, border-color .3s ease-in-out;
}

a.nav__link:hover {
	color: var(--clr-hover);
	border-color: var(--clr-hover);
}

a.nav__link:focus {
	color: var(--clr-focus);
}

a.nav__link:active {
	color: var(--clr-active);
}

.footer-content-wrapper {
	max-width: 100%;
	justify-content: center;
	padding: 10px 0px;
	background-color: fcf4e9;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

.footer__p {
	max-width: 800px;
	font-family: 'Lora', sans-serif;
	font-size: 32px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: black;
}

.footer__link {
	color: black;
	font-family: 'Lora', sans-serif;
	transition: color .3s ease-in-out;
}

.footer__link:hover {
	color: var(--clr-hover);
}

.footer__link:focus {
	color: var(--clr-focus);
}

.footer__link:active {
	color: var(--clr-active);
}

.section__title {
	color: #59402E;
	font-family: 'Merriweather', sans-serif;
	margin-bottom: 20px;
}

.media-list__item {
	display: inline-block;
	min-width: 340px;
}

.media-content__wrapper {
	max-width: 340px;
	flex-flow: column nowrap;
	align-items: center;
	gap: 10px;
}

.media-content__wrapper-main {
	max-width: 545px;
}

.media-list__item:nth-child(3) {
	margin-bottom: 30px;
}

.media-list__item:not(:nth-child(3)) {
	margin-right: 30px;
}

.media-list__item:last-child {
	margin-bottom: 0px;
}

.media__descr {
	font-family: 'Lora', sans-serif;
	font-weight: 500;
	color: #59402E;
}

.media__descr-link, .section__title-link {
	transition: .3s color ease-in-out;
}
.media__descr-link:hover, .section__title-link:hover {
	color: #5C2400;
}

.section {
	margin-bottom: 50px;
	border-radius: 16px;
	padding: 30px 0 30px 40px;
	background-color: #fcf4e9;
}
