/* COLORS */

/* 

COLORS: 
#0C0C0E
#000000
#BB945F
#FFFFFF
#8E8E8E 
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	background-color: #fff;
	color: #000;
	padding: 20px 20px 40px;
}

html {
	background-color: #0c0c0e;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.wrapper {
	overflow: hidden;
	width: 100%;
	position: relative;
}

li {
	list-style-type: none;
}


/* HEADER */

.header {
	max-width: 1440px;
	margin: 0 auto;
	background-color: #0c0c0e;
	height: 90px;
	display: flex;
	align-items: center;
	padding-left: 20px;
	padding-right: 15px;
	gap: 40px;
}

.nav-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.header-ul {
	display: flex;
	gap: 30px;
}

.burger {
	display: none;
	width: 50px;
	height: 50px;
	border: none;
	background-color: #0C0C0E;
	position: relative;
	right: 10px;
	cursor: pointer;
}

.burger span {
	position: absolute;
	width: 45px;
	height: 2px;
	background-color: #fff;
	left: 0;

	transition: transform .5s, opacity .2s, background-color .2s;
}

.burger span:nth-child(1) {
	transform: translateY(10px);
}

.burger span:nth-child(3) {
	transform: translateY(-10px);
}

.header.open .burger span:nth-child(1) {
	transform: translateY(0) rotate(45deg);
}

.header.open .burger span:nth-child(2) {
	opacity: 0;
}

.header.open .burger span:nth-child(3) {
	transform: translateY(0) rotate(-45deg);
}

h1 {
	color: #fff;
	font-family: Forum;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 50px;
	/* 166.667% */
	letter-spacing: 0.6px;
}

h2 {
	color: #0c0c0e;
	font-family: Forum;
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 100% */
	letter-spacing: 2px;
	text-align: center;
	text-transform: capitalize;
	padding-bottom: 20px;
	position: relative;
	margin-bottom: 40px;
}

h2:after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	width: 51px;
	height: 1px;
	background: #0c0c0e;
	display: block;
	margin: 0 auto;
}

.nav-link {
	text-decoration: none;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 50px;
}

.header-btn {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
}

/* WELCOME */

.welcome {
	height: 600px;
	background-image: url(assets/png/welcome.png);
	background-repeat: no-repeat;
	background-size: auto;
	padding-top: 220px;
	padding-left: 0;
}

.border-text {
	display: flex;
	width: 600px;
	height: 220px;
	padding: 35px 40px;
	justify-content: center;
	align-items: center;
	background-color: #0C0C0E;
}

.welcome-text {
	color: #fff;
	text-align: center;
	font-family: Forum;
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: 50px;
	/* 125% */
	letter-spacing: 3px;
	text-transform: uppercase;

	background-color: #0C0C0E;
	;
	width: 520px;
}

/* ABOUT */

.about-text {
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	margin-bottom: 20px;
}

.about-img {
	display: flex;
	justify-content: center;
	gap: 25px;
}

.dots {
	display: flex;
	justify-content: center;
	left: 50%;
	padding-top: 35px;
}

.border-dots {
	cursor: pointer;
	width: 26px;
	height: 26px;
}

.dot {
	width: 16px;
	height: 16px;
	background-color: #000;
	border-radius: 50%;
	cursor: pointer;
	border: none;
	margin: 5px;
}

.dot--fill {
	background-color: #bb945f;
}

/* FAVORITES */

.text-fav {
	color: #000;
	/* text-align: center; */
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	padding-bottom: 40px;
}

.seasons {
	display: flex;
	gap: 90px;
	margin-bottom: 40px;
}

.season {
	color: #000;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

input {
	margin-right: 27px;
}

input[type="radio"] {
	accent-color: #000;
}

input[type="radio"]:checked+.checked-text {
	font-weight: 700;
}

.favorites-4-books {
	max-width: 1400px;
	display: grid;
	grid-template-columns: repeat(auto-fill, 550px);
	justify-items: center;
	justify-content: center;
	gap: 19%;
	grid-row-gap: 40px;
	margin-right: 40px;
}

.book {
	width: 550px;
	height: 555px;
	border: 1px solid #000;
	display: flex;

	position: relative;
}

.book-box {
	display: flex;
	flex-direction: column;
	/* justify-content: space-between; */
	padding: 15px 170px 15px 20px;
	gap: 20px;

	position: relative;
}

.title-books {
	font-family: Forum;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;
	position: relative;
}

.title-books:after {
	content: "";
	position: absolute;
	width: 60px;
	height: 1px;
	display: block;
	background-color: #bb945f;
}

h4 {
	font-family: Inter;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 40px;
	/* 266.667% */
	letter-spacing: 2px;
	text-transform: uppercase;
}

.author {
	font-family: Inter;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: 2px;
	text-transform: capitalize;
}

.book-text {
	font-family: Inter;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 266.667% */
	letter-spacing: 2px;
	text-transform: capitalize;
}

.buy-btn {
	width: 75px;
	height: 30px;
	border-radius: 2px;
	border: 1px solid #0c0c0e;
	background-color: #fff;
	color: #0c0c0e;

	text-align: center;
	font-family: Inter;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1px;

	position: absolute;
	top: 510px;
	cursor: pointer;
}

.buy-btn:hover {
	background-color: #bb945f;
	border: none;
}

.own-btn {
	width: 75px;
	height: 30px;
	border-radius: 2px;
	border: 1px solid #bb945f;
	background-color: #fff;
	color: #bb945f;

	text-align: center;
	font-family: Inter;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1px;

	position: absolute;
	top: 510px;
}

.book img {
	position: absolute;
	z-index: 2;
	top: 255px;
	left: 390px;
}

/* COFFEE SHOP */

.coffee-text {
	color: #000;
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;

	padding-bottom: 40px;
}

.menu {
	display: flex;
	justify-content: space-between;
	/* gap: 480px; */
}

.title-coffee {
	color: #bb945f;
	font-family: Forum;
	font-size: 40px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 100% */
	letter-spacing: 2px;
	text-transform: capitalize;

	margin-bottom: 40px;
}

.menu-ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-row-gap: 40px;
	grid-column-gap: 40px;
	width: 440px;
}

.menu-ul li {
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;

	position: relative;
}

.menu-li:after {
	content: "";
	width: 100px;
	height: 1px;
	background: #bb945f;
	position: absolute;
	top: 50%;
	right: -80%;
}

.menu-price {
	font-family: Forum;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;
	text-align: right;
}

.right {
	text-align: right;
}

/* CONTACTS */

.contacts-block {
	display: flex;
	justify-content: space-between;
}

.title-contacts {
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;
}

.contacts-ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 21px;
}

.contacts-ul li,
.contacts-ul a {
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;
	color: #000;

	list-style-type: none;
}

.contacts-ul a {
	text-decoration: none;
}

.contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
}

.lib-dir {
	display: flex;
}

.director {
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 2px;
	text-transform: capitalize;
	padding-right: 7px;
}

/* LIBRARY CARD */

.find-get-card {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.find-header {
	font-family: Inter;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.6px;
	text-align: center;
	margin-bottom: 30px;
}

.border-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 600px;
	height: 386px;
	border: 3px solid #bb945f;
	background: #fff;

	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	padding: 20px 20px;
}

.background-box {
	width: 560px;
	height: 272px;
	background-color: #bb945f;
	padding: 20px;
}

.box-header {
	font-family: Forum;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 50px;
	/* 166.667% */
	letter-spacing: 0.6px;
	text-transform: capitalize;
	margin-bottom: 20px;
}

.find-box input {
	width: 520px;
	height: 66px;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 25px;
	border: none;
}

input::placeholder {
	color: #8e8e8e;
	font-family: Forum;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 50px;
	/* 166.667% */
	letter-spacing: 0.6px;
	padding-left: 20px;
}

.border-btn {
	width: 245px;
	height: 44px;
	border-radius: 2px;
	border: 1px solid #0c0c0e;
	padding: 10px 40px;
}

.check-btn {
	color: #0c0c0e;
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1px;

	border: none;
	background-color: #fff;
	cursor: pointer;
}

.get-card {
	width: 456px;
	height: 253px;
}

.get-header {
	text-align: right;
	font-family: Forum;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.6px;
	margin-bottom: 35px;
}

.get-text {
	text-align: right;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 200% */
	letter-spacing: 0.4px;
	margin-bottom: 35px;
}

.btns {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
}

.get-btn {
	display: flex;
	width: 75px;
	height: 30px;
	padding: 10px 0px;
	justify-content: center;
	align-items: center;
	background-color: #fff;

	font-family: Inter;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1px;
	cursor: pointer;
}

.get-btn:hover {
	background-color: #bb945f;
	border: none;
}

/* FOOTER */

.footer {
	background-color: #000;
	color: #fff;
}

.footer-info {
	display: grid;
	grid-template-columns: 229px 149px;
	justify-content: space-between;
	/* column-gap: 1022px; */
	row-gap: 10px;
	padding-bottom: 30px;

	font-family: Inter;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	/* 133.333% */

	position: relative;
}

.footer-info p {
	text-align: right;
}

.footer-info a,
.footer-info a:active,
.footer-info a:visited {
	color: #fff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.footer-info:after {
	content: "";
	position: absolute;
	top: 100%;
	width: 100%;
	height: 1px;
	display: block;
	background-color: #fff;
}

.social-media {
	display: flex;
	align-items: center;
	gap: 15px;
}

.footer-rss {
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	/* 100% */
	letter-spacing: 2px;

	display: flex;
	justify-content: space-between;
	margin-top: 44px;
}

.footer-rss a {
	color: #fff;
	text-decoration: none;
}


@media (max-width:1050px) {

	.header {
		gap: 50px;
	}

	.header.open .header-nav {
		transform: translateX(-100%);
		transition: 2s;
	}

	.burger {
		display: block;
	}

	.header-nav {
		position: absolute;
		right: -332px;
		top: 0;
		width: 332px;
		background-color: #0c0c0e;

		transform: translateX(100%);
		transition: 2s;
	}

	.header-ul {
		width: 332px;
		height: 570px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	/* ABOUT */

	.about-img {
		display: none;
	}

	.carousel2 {
		display: block;
		display: flex;
		justify-content: center;
		gap: 25px;
	}


	/* COFFEE SHOP */

	.menu {
		/* flex-wrap: wrap; */
		justify-content: space-between;
		gap: 0px;
	}

	/* CONTACTS */

	.contacts-block {
		flex-wrap: wrap;
		gap: 100px;
	}

}

@media (max-width:768px) {


	/* WELCOME */

	.welcome {
		background-image: url(assets/png/Welcome-768.png);
	}

	/* ABOUT */

	.border-dots {
		display: block;
	}

	.about-img {
		display: none;
	}

	.carousel {
		display: block;
		display: flex;
		justify-content: center;
		position: relative;
	}

	.carousel2 {
		display: none;
	}

	.dots {
		padding-top: 20px;
	}

	.left-btn,
	.right-btn {
		width: 24px;
		height: 24px;
		display: block;
		background-color: #fff;
		cursor: pointer;
		border: 0;
		position: absolute;
	}

	.right-btn {
		top: 50%;
		right: 9%;
	}

	.left-btn {
		top: 50%;
		left: 7%;
	}

	/* COFFEE SHOP */

	/* .coffee-text {
		width: 728px;
		letter-spacing: 2px;
	} */

	.menu {
		flex-wrap: wrap;
		/* justify-content: space-between; */
		gap: 40px;
	}

	.deserts {
		display: flex;
		flex-direction: column;
		margin-left: 270px;
	}

	.right {
		width: 464px;
	}

	/* CONTACTS */
	.contacts-block {
		flex-wrap: wrap;
		gap: 100px;
	}

	/* LIBRARY CARDS */

	.find-get-card {
		justify-content: center;
		flex-wrap: wrap;
		gap: 21px;
	}

	.get-header,
	.get-text {
		text-align: center;
	}

	.btns {
		justify-content: center;
	}

	.get-card {
		width: 600px;
		height: 220px;
	}
}