html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
	/*outline: 2px solid blue;*/
	-webkit-box-sizing: border-box; /* Нужно для мобильного WebKit */
	-moz-box-sizing: border-box; /* Нужно для Firefox */
}

/* *[ Index page style ]* */

/* font-family: 'Raleway', sans-serif;
font-family: 'Roboto', sans-serif; */

:root {
	--dark-color: #212121;
	--body-color: #757575;
	--icon-color: #afb1b8;
	--link-color: #2196f3;
	--light-color: #ffffff;
	--footer-bgcolor: #2f303a;
	--bkg-lite-color: #f5f4fa;
	--bkg-card-color: rgba(47, 48, 58, 0.8);
	--box-shadow-dark: rgba(0, 0, 0, 0.15);
}

body {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: normal;
	letter-spacing: 0.03em;
	color: var(--dark-color);
}

a {
	text-decoration: none;
	color: var(--dark-color);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
	transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* img {
	display: block;
	width: 100%;
	height: auto;
	clear: left;
} */

a:hover,
a:focus {
	color: var(--link-color);
	fill: var(--link-color);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
	transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

header {
	border: 1px solid #ececec;
}

.container {
	width: 1200px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

.flex {
	display: flex;
}

.flex-header {
	display: flex;
	align-items: center;
}

.nav {
	margin-top: 32px;
	margin-bottom: 32px;
}

.logo {
	font-family: "Raleway", sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 26px;
	line-height: 1.192;
	letter-spacing: 0.03em;
	left: 215px;
	top: 24px;
	margin-right: 85px;
	display: inline-block;
}

.web {
	color: var(--link-color);
}

.studio {
	color: var(--dark-color);
}

.list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.link-menu {
	display: flex;
	margin-left: 50px;
	padding-top: 32px;
	padding-bottom: 32px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.link-contact {
	display: flex;
	margin-left: 50px;
	padding-top: 32px;
	padding-bottom: 32px;
	flex-direction: row;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.link-contact .link {
	display: flex;
}

.link-item {
	display: flex;
	align-items: center;
	margin-right: 10px;
}

.icon {
	fill: var(--icon-color);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-contact svg {
	width: 16px;
	height: 12px;
	align-items: baseline;
}

.link-contact a {
	color: var(--body-color);
	fill: var(--link-color);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link .svg {
	display: inline;
	vertical-align: middle;
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-contact a:hover,
.link-contact a:focus,
.link-contact svg:hover,
.link-contact svg:focus {
	color: var(--link-color);
	--icon-color: var(--link-color);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.item {
	margin-right: 50px;
	position: relative;
}

.menu-line::after {
	position: absolute;
	content: "";
	top: 45px;
	display: block;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background-color: var(--link-color);
	z-index: 2;
	opacity: 0;
	transform: scaleX(0);
	transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-line.current::after {
	opacity: 1;
	transform: scaleX(1);
}

.menu-line:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

.hero {
	padding-bottom: 200px;
	padding-top: 200px;
	background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/Header_img_opt.png);
	max-width: 1600px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.hero-center {
	text-align: center;
	margin: 0 auto;
}

.hero-high-text {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	letter-spacing: 0.06em;
	color: var(--light-color);
	width: 696px;
	font-weight: 900;
	font-size: 44px;
	line-height: 1.363;
	text-transform: uppercase;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding-bottom: 30px;
}

.btn-hero {
	margin: 0 auto;
	font-weight: bold;
	font-size: 16px;
	line-height: 1.875;
	display: flex;
	align-items: center;
	color: var(--light-color);
	border: none;
	border-radius: 4px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	background: var(--link-color);
	width: 200px;
	padding: 10px;
	justify-content: center;
	align-items: center;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero:hover,
.btn-hero:focus,
.btn-subscribe:hover,
.btn-subscribe:focus {
	background: var(--link-color);
	border-radius: 4px;
	/* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15); */
	box-shadow: 0px 4px 4px var(--dark-color);
	cursor: pointer;
	border: none;
	/*ефект зникання*/
	/* transform: scale(2, 0.5);  */
	/* opacity: 0; */
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero:active,
.btn-subscribe:active {
	border: none;
}

.benefits {
	padding-top: 94px;
	padding-bottom: 94px;
}

.benefits p {
	font-size: 14px;
	line-height: 1.71;
	letter-spacing: 0.03em;
	color: var(--body-color);
}

.benefits h3 {
	font-weight: bold;
	font-size: 14px;
	line-height: 1.143;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var (--dark-color);
}

.benefits-list {
	display: flex;
}

.benefits-item {
	margin: 10px;
	width: calc((100% - 30px * 2) / 4);
}

.rectangle1 {
	border-radius: 4px;
	display: flex;
	flex-wrap: wrap;
	justify-items: center;
	/* width: calc((100%-30px * 3) / 4); */
	background-color: var(--bkg-lite-color);
	padding-left: 100px;
	padding-top: 25px;
	padding-right: 100px;
	padding-bottom: 25px;
}

.img {
	border-style: none;
	display: block; /* для прибирання пропусків пiсля інлайн компонентів */
}

.rectangle1-img {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rectangle1-img .icon {
	fill: var(--icon-color);
	width: 65px;
	height: 70px;
}

.rectangle1-txt {
	display: flex;
	flex-wrap: wrap;
	padding-top: 30px;
}

.we-do {
	font-weight: bold;
	letter-spacing: 0.03em;
	/* padding-top: 94px; */
	padding-bottom: 94px;
}

.we-do-group {
	display: flex;
	padding-left: 15px;
	padding-right: 15px;
}

.we-do-list {
	display: flex;
}

.we-do-item {
	width: calc((100% - 30px * 2) / 3);
}

.we-do-item:nth-child(even) {
	margin-right: 30px;
	margin-left: 30px;
}

.we-do-fig figcaption {
	font-size: 14px;
	line-height: 1.143;
	text-transform: uppercase;
	text-align: center;
	display: block;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
}

figure {
	position: relative;
}

.we-do-cap {
	display: flex;
	padding-bottom: 28px;
	padding-top: 28px;
	justify-content: center;
	background-color: var(--bkg-card-color);
	color: var(--light-color);
	width: 100%;
}

.team {
	background: var(--bkg-lite-color);
	display: flex;
	flex-wrap: nowrap;
	padding-top: 94px;
	padding-bottom: 94px;
}

.team-container {
	flex-wrap: nowrap;
}

.team-list {
	display: flex;
	flex-wrap: wrap;
}

.team-item {
	display: flex;
	margin-left: 10px;
	margin-right: 10px;
}

.we-do-h-text,
.team-h-text,
.clients-h-text {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 1.167;
	color: var(--dark-color);
	text-align: center;
	letter-spacing: 0.03em;
	padding-bottom: 50px;
}

.card {
	width: 270px;
	background: var(--light-color);
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
	border-radius: 0px 0px 4px 4px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.team-card-info {
	display: flex;
	flex-wrap: wrap;
	padding-top: 30px;
	padding-bottom: 30px;
	flex-direction: column;
}

.social-link {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	background-color: transparent;
}

.team-title {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.card h3 {
	text-align: center;
}

.card p {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.875;
	color: var(--body-color);
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.team-card {
	flex-wrap: nowrap;
	padding-right: 10px;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card svg {
	display: flex;
	width: 20px;
	height: 20px;
	justify-content: center;
}

.team-card a:hover,
.team-card a:focus,
.social-link:hover,
.social-link:focus {
	color: var(--link-color);
	--icon-color: var(--light-color);
	background: var(--link-color);
	border-radius: 50%;
	opacity: 1;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
	/* transition: background-color 0.2s ease-in; */
}

.clients {
	letter-spacing: 0.03em;
	padding-top: 94px;
	padding-bottom: 94px;
}

.clients-cont {
	display: inline;
	flex-wrap: nowrap;
}

.clients-list {
	display: flex;
	justify-content: center;
}

.clients-card {
	display: flex;
	flex-direction: row;
	margin-left: 10px;
	margin-right: 10px;
	justify-content: center;
	align-items: center;
}

.link-clients {
	display: flex;
	width: 170px;
	height: 90px;
	border: 1px solid #afb1b8;
	border-radius: 4px;
	vertical-align: middle;
	justify-content: center;
	align-items: center;
	/* transition-duration: 1s;
	transition-property: all; */
	transition: border 1s cubic-bezier(0.4, 0, 0.2, 1);
	/* transition: color 1s cubic-bezier(0.4, 0, 0.2, 1); */
}

.clients-logo svg {
	display: flex;
	justify-content: center;
	/* fill: var(--icon-color); */
}

.link-clients:hover,
.link-clients:focus {
	border: 1px solid var(--link-color);
	color: var(--link-color);
	--icon-color: var(--link-color);
	/* fill: var(--link-color); */
	/* background: var(--link-color); */
	/* background: currentColor; */
	opacity: 1;
	transition-property: all;
	/* transition: background-color 1s cubic-bezier(0.4, 0, 0.2, 1); */
	transition: color 1s cubic-bezier(0.4, 0, 0.2, 1);
	transition: border 1s cubic-bezier(0.4, 0, 0.2, 1);
	transition: --icon-color 1s cubic-bezier(0.4, 0, 0.2, 1);
	transition: fill 1s cubic-bezier(0.4, 0, 0.2, 1);
	/* transition: background-color 1s cubic-bezier(0.4, 0, 0.2, 1);
	transition: background 1s cubic-bezier(0.4, 0, 0.2, 1); */
}

footer {
	left: 1px;
	background: var(--footer-bgcolor);
	color: var(--light-color);
	display: flex;
}

.footer {
	display: flex;
	/* padding: 30px; */
	/* padding-left: 30px;
	padding-right: 30px; */
	/* width: calc(100% / 2); */
}

.foot-list {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	/* width: calc((100% - 30px * 2) / 3); */
	align-items: baseline;
}

.foot-address {
	display: flex;
	flex-wrap: wrap;
	padding-top: 72px;
	padding-bottom: 60px;
	font-size: 14px;
	line-height: 1.71;
	letter-spacing: 0.03em;
	width: 25%;
	align-items: baseline;
}

.foot-social {
	display: flex;
	flex-wrap: wrap;
	text-transform: uppercase;
	padding-top: 72px;
	/* padding-left: 70px; */
	width: 25%;
	align-items: baseline;
}

.social .team-list {
	display: flex;
	align-items: baseline;
	padding-top: 20px;
}

.foot-social-card {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	flex-wrap: nowrap;
	/* padding-top: 20px;
	padding-right: 10px; */
	margin-right: 10px;
	width: 44px;
	height: 44px;
	align-items: baseline;
}

.foot-subscribe {
	display: flex;
	flex-wrap: wrap;
	text-transform: uppercase;
	padding-top: 72px;
	/* padding-left: 93px; */
	width: 50%;
	position: relative;
	align-items: baseline;
}

.studio-down {
	color: var(--light-color);
	display: inline;
}

.address {
	display: flex;
	flex-wrap: wrap;
	display: inline-block;
	padding-top: 20px;
}

address {
	font-style: normal;
}

.down-cont-link {
	color: rgba(255, 255, 255, 0.6);
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.down-cont-link:hover,
.down-cont-link:focus {
	transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-subscribe {
	/* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15); */
	border-radius: 4px;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
}

.inpt-mail {
	margin-top: 20px;
	margin-right: 12px;
	width: 358px;
	height: 50px;
	background: transparent;
	padding: 15px 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-sizing: border-box;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
	border-radius: 4px;
	color: #ffffff;
	overflow: visible;
}

.inpt-mail::placeholder {
	font-size: 16px;
	line-height: 1.25;
	display: flex;
	align-items: center;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.6);
}

.inpt-mail:hover {
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-subscribe {
	color: var(--light-color);
	background-color: var(--link-color);
	font-style: normal;
	font-weight: bold;
	font-size: 16px;
	line-height: 1.875;
	display: inline-block;
	align-items: center;

	letter-spacing: 0.06em;
	border-radius: 4px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	padding-left: 29px;
	/* padding-right: 62px;
	padding-top: 10px;
	padding-bottom: 10px; */
	border: none;
	text-align: left;

	position: relative;
	width: 200px;
	height: 50px;
	margin-left: 12px;
	transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
	color: #ffffff;
}

.foot-pos-button {
	/* position: relative; */
	/* top: 108px; */
	display: flex;
	align-items: baseline;
	padding-top: 20px;
}

/* .btn-subscribe::after {
	content: "";
	display: block;
	margin-right: 16px;
	background-image: url(../images/icon/icon_send.svg);
	background-repeat: no-repeat;
} */

.btn-subscribe > svg {
	position: absolute;
	top: 13px;
	right: 28px;
}

.btn-subscribe:hover {
	cursor: pointer;
	transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* *[ Modal window style ]* */

.backdrop {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: rgba(25, 28, 38, 0.8);
	pointer-events: initial;
	z-index: 100;
	opacity: 1;
	transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-hidden {
	/* visibility: hidden; */
	pointer-events: none;
	opacity: 0;
	transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-hidden .modal {
	transform: translate(-50%, -50%) scale(1.1);
}

.modal {
	width: 528px;
	display: flex;
	flex-direction: column;
	min-width: 528px;
	min-height: 581px;
	height: 80%;
	padding: 40px;
	box-sizing: border-box;
	position: relative;
	top: 50%;
	left: 50%;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	background: var(--light-color);
	transform: translate(-50%, -50%) scale(1);
	transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 101;
}

.btn-close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	padding-top: 9px;
	padding-left: 9px;
	padding-right: 9px;
	padding-bottom: 9px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	/* border: 1px solid var(--dark-color); */
	background-color: var(--light-color);
	color: var(--light-color);
	cursor: pointer;
	z-index: 302;
}

.btn-close-modal > svg {
	transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-close-modal:hover,
.btn-close-modal:focus,
.btn-close-modal:hover > svg,
.btn-close-modal:focus > svg {
	--dark-color: var(--link-color);
	transition: fill 0.2s ease-in;
	fill: var(--link-color);
	cursor: pointer;
}

/* .btn-close-modal > svg {
	display: flex;
	justify-items: center;
	align-content: center;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 5px;
} */

.modal > h2 {
	font-weight: bold;
	font-size: 20px;
	line-height: 1.15;
	text-align: center;
	letter-spacing: 0.03em;
	color: var(--dark-color);
}

form {
	box-shadow: none;
}

.form:first-child {
	position: relative;
	margin-top: 12px;
	background-color: var(--light-color);
}

.form:not(:first-child) {
	position: relative;
	margin-top: 10px;
	background-color: var(--light-color);
}

.form > label {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	line-height: 1.17;
	letter-spacing: 0.01em;
	background-color: var(--light-color);
	color: var(--body-color);
}

.form > svg {
	position: absolute;
	top: 29px;
	left: 15px;
	fill: var(--dark-color);
	transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form > input:focus-within + svg {
	fill: var(--link-color);
}

.form > input {
	margin-top: 4px;
	width: 448px;
	height: 40px;
	border: 1px solid rgba(33, 33, 33, 0.2);
	box-sizing: border-box;
	border-radius: 4px;
	padding-left: 42px;
	transition: outline-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
	background-color: var(--light-color);
}

.form input:hover,
.form input:hover + svg,
.form textarea:hover {
	border-color: var(--link-color);
	fill: var(--link-color);
	--dark-color: var(--link-color);
	transition: outline-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form > input:focus-within + svg,
.form > input:focus {
	outline-color: var(--link-color);
	transition: outline-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
	--dark-color: var(--link-color);
	fill: var(--link-color);
}

/* .input:hover,
svg:hover,
.input:focus,
svg:focus,
.input:active {
	--dark-color: var(--link-color);
} */

.form > textarea {
	resize: none;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 12px 16px;
	width: 448px;
	height: 120px;
	border: 1px solid rgba(33, 33, 33, 0.2);
	border-radius: 4px;
}

.form > textarea::placeholder {
	resize: none;
	font-size: 12px;
	line-height: 1.17;
	letter-spacing: 0.01em;
	color: rgba(117, 117, 117, 0.5);
}

.form > textarea:focus-within {
	outline-color: var(--link-color);
}

.agreement {
	display: flex;
	align-items: baseline;
	justify-content: center;
	margin-top: 10px;
}

.agreement > label {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.71;
	letter-spacing: 0.03em;
	color: var(--body-color);
	margin-left: 7px;
}

.agreement > label:hover {
	cursor: pointer;
}

.agreement-link {
	margin-left: 3px;
	color: var(--link-color);
}

.agreement > label > input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
} /* для накладання кастюмного чекбоксу */

.agreement-icon {
	display: inline-block;
	box-sizing: border-box;
	margin-right: 7px;
	width: 16px;
	height: 15px;
	background-image: url(../images/SVG/uncheckedbox.svg);
	border-radius: 2px;
	background-repeat: no-repeat;
	background-size: contain;
	transition: background-image 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.agreement > label > input:checked + .agreement-icon {
	background: var(--link-color) url(../images/SVG/checkedbox.svg);
	background-size: contain;
	transition: background-image 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.agreement-submit {
	font-weight: bold;
	font-size: 16px;
	line-height: 1.87;
	display: flex;
	align-items: center;
	text-align: center;
	letter-spacing: 0.06em;
	color: var(--light-color);
	padding: 10px 55px;
	background: #188ce8;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.agreement-submit:hover {
	background: var(--link-color);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* *[ Portfolio page style ]* */
.gallery-section {
	display: flex;
	padding-bottom: 94px;
	padding-top: 94px;
}

.gallery {
	display: flex;
	width: 1176px;
	padding-top: 40px;
}

.btn-gal-group {
	display: flex;
	justify-content: center;
}

.btn {
	background: var(--bkg-lite-color);
	border-radius: 4px;
}

.btn:hover,
.btn:focus {
	background-color: var(--link-color);
	/* border: 2px solid var(--link-color); */
	border: none;
	box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.12);
	color: var(--light-color);
	cursor: pointer;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gallery {
	background: var(--bkg-lite-color);
	border-radius: 4px;
	border: none;
	border-color: var(--bkg-lite-color);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.625;
	letter-spacing: 0.03em;
	color: var(--dark-color);
	padding-left: 22px;
	padding-right: 22px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-left: 4px;
	margin-right: 4px;
}

.gallery-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gal-item {
	width: calc((100% - 30px * 2) / 3);
	margin-bottom: 30px;
}

.gal-item:hover {
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
	/* border-radius: 0px 0px 4px 4px; */
}

.card-gallery {
	background: var(--light-color);
	border: 1px solid #eeeeee;
	box-sizing: border-box;
	/* box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.16), 0px 4px 4px rgba(0, 0, 0, 0.06), 0px 1px 1px rgba(0, 0, 0, 0.12); */
	/* border-radius: 0px 0px 4px 4px; */
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #eeeeee;
	box-sizing: border-box;
	position: relative;
}

.gal-card-img {
	position: relative;
}

.gal-card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(33, 150, 243, 0.9);
	transform: translateY(100%);
	opacity: 0;
	transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card-gallery:hover .gal-card-overlay {
	transform: translateX(0);
	opacity: 1;
}

.gal-card-actions {
	position: absolute;
	display: flex;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1) 250ms;
}

.card-gallery:hover .gal-card-actions {
	opacity: 1;
}

.gal-card-text {
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 1.56;
	letter-spacing: 0.03em;
	color: var(--light-color);
	position: absolute;
	display: block;
	left: 24px;
	right: 24px;
	top: 63px;
	bottom: 63px;
	width: 322px;
}

.gal-card-info {
	flex-wrap: wrap;
	padding-left: 20px;
}

.card-gallery h2 {
	font-size: 18px;
	line-height: 2;
	letter-spacing: 0.06em;
	color: var(--dark-color);
}

.card-gallery p {
	display: flex;
	margin-top: 30px;
	margin-bottom: 18px;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.875;
	letter-spacing: 0.03em;
	color: var(--body-color);
}

.gallery-txt {
	display: flex;
	color: var(--light-color);
}
