@import url(https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Space+Mono:wght@100;200;300;400;500;600;700&display=swap);

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

body {
	background-color: #2b2b2b;
	color: #ffffff;
}

.container {
	width: 100%;
	min-height: 100vh;
	background-color: #2b2b2b;
	max-width: 1540px;
	margin: 0 auto;
}

.need {
	font-family: 'Space Mono', monospace;
	font-family: 'Work Sans', sans-serif;
}

nav {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 50px;
	/* border: 1px solid #fff; */
}

nav .navbar-logo {
	user-select: none;
	cursor: pointer;
}

nav .navbar-links {
	display: flex;
	align-items: center;
	justify-content: center;
}

.navbar-links li {
	list-style: none;
}

.navbar-links li a {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	font-family: 'Work Sans', sans-serif;
	text-decoration: none;
	padding: 12px 20px;
	user-select: none;
}

.navbar-links li i {
	display: none;
}

.navbar-links li .nav-button {
	background-color: #a259ff;
	display: flex;
	align-items: center;
	cursor: pointer;
	justify-content: center;
	padding: 19px 30px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	border-radius: 20px;
	outline: none;
	border: none;
	margin-left: 10px;
	gap: 12px;
}

.navbar-links li .nav-button i {
	display: block;
}

.container header {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

header > img {
	width: 700px;
	object-fit: cover;
}

header .header-acc-content {
	width: 700px;
	display: flex;
	justify-content: start;
	flex-direction: column;
}

header .header-acc-content > h1 {
	font-family: 'Work Sans', sans-serif;
	font-weight: 600;
	font-size: 51px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 20px;
}

header .header-acc-content p {
	width: 460px;
	font-weight: 400;
	font-size: 22px;
	line-height: 160%;
	text-transform: capitalize;
	color: #ffffff;
	margin-bottom: 40px;
	font-family: 'Work Sans', sans-serif;
}

header .header-acc-content .user-acc-section {
	width: 320px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

header .header-acc-content .user-acc-section div {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: left;
	gap: 20px;
	padding: 16px 40px;
	background-color: #3b3b3b;
	border-radius: 20px;
	border: #a259ff 1px solid;
}

header .header-acc-content .user-acc-section div img {
	width: 40px;
	height: 40px;
}

header .header-acc-content .user-acc-section div h2 {
	font-size: 22px;
	font-weight: 600;
	color: #ffffff;
	font-family: 'Work Sans', sans-serif;
}

/* footer section */

footer {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 40px 115px;
	background-color: #3b3b3b;
}

footer .info {
	width: 100%;
	display: flex;
	justify-content: space-between;
	font-family: 'Space Mono', monospace;
	border-bottom: #858584 1px solid;
	padding-bottom: 20px;
}

footer #authority {
	font-size: 12px;
	font-weight: 400;
	color: #cccccc;
	text-decoration: none;
	padding-top: 20px;
	font-family: 'Work Sans', sans-serif;
}

footer .info ul {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

footer .info ul li {
	display: flex;
	align-items: center;
	list-style: none;
}

footer .info h3 {
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 5px;
}

footer .info ul:nth-child(1) {
	width: 320px;
}

footer .info img {
	margin-bottom: 10px;
	user-select: none;
	cursor: pointer;
}

footer .info ul:nth-child(1) p {
	font-size: 16px;
	font-weight: 400;
	color: #cccccc;
	line-height: 140%;
	font-family: 'Work Sans', sans-serif;
}

footer .info ul:nth-child(1) li:nth-child(4) {
	gap: 10px;
}

footer .info ul:nth-child(1) li:nth-child(4) i {
	font-size: 28px;
	color: #cccccc;
	user-select: none;
	cursor: pointer;
}

footer .info ul:nth-child(2) li a {
	font-size: 16px;
	font-weight: 400;
	color: #cccccc;
	font-family: 'Work Sans', sans-serif;
	text-decoration: none;
	cursor: pointer;
}

footer .info .footer-digest {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 420px;
}

footer .info .footer-digest p {
	font-size: 16px;
	font-weight: 400;
	font-family: 'Work Sans', sans-serif;
	color: #cccccc;
	width: 330px;
	line-height: 140%;
}

footer .footer-digest form {
	width: max-content;
	display: flex;
	border-radius: 20px;
	align-items: center;
	background-color: #fff;
}

footer .footer-digest form input {
	padding: 20px;
	border-radius: 20px;
	font-size: 16px;
	font-weight: 400;
	font-family: 'Work Sans', sans-serif;
	outline: none;
	border: none;
}

footer .footer-digest form button {
	font-size: 17px;
	font-weight: 600;
	color: #ffffff;
	padding: 20px 50px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background-color: #a259ff;
	outline: none;
	border: none;
	cursor: pointer;
	user-select: none;
}

/* modal backdrop */

.modal-backdrop{
	display: none;
	width: 100%;
	min-height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop .modal {
	width: 100%;
	max-width: 448px;
	background-color: #2b2b2b;
	display: flex;
	flex-direction: column;
	padding: 50px 30px;
	gap: 40px;
	min-height: 100vh;
	position: relative;
}

.modal img{
	width: 80%;
}

.modal #close-modal{
	font-size: 24px;
	color: #ffffff;
	position: absolute;
	top: 20px;
	right: 20px;
	user-select: none;
	cursor: pointer;
	transition: .5s;
}

#close-modal:hover{
	scale: 1.3;
	color: #f00;
}

.modal .modal-links{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.modal-links li{
	list-style: none;
}

.modal-links li a{
	text-decoration: none;
	color: #ffffff;
	font-family: 'Work Sans', sans-serif;
	font-size: 22px;
}

.modal-links li .modal-button{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #a259ff ;
	gap: 12px;
	padding: 20px;
	border-radius: 20px;
	margin-top: 50px;
}

@media (max-width: 447px) {
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	.container {
		width: 100%;
		max-width: 447px;
		margin: 0;
		padding: 0;
	}

	.container nav {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		padding: 15px 30px;
	}

	nav .navbar-logo {
		width: 180px;
		object-fit: cover;
	}

	nav ul li a {
		display: none;
	}

	nav .navbar-links li .nav-button {
		display: none;
	}
	#bars {
		display: block;
		width: 24px;
		height: 24px;
		color: #ffffff;
	}

	/* header section */

	.container header {
		flex-direction: column;
	}

	header img {
		width: 100%;
		height: 230px;
	}

	header .header-acc-content {
		width: 100%;
		padding: 30px;
	}

	.header-acc-content > h1 {
		font-size: 34px !important;
		font-weight: 600;
	}

	.header-acc-content p {
		width: 100%;
		max-width: 100%;
		font-size: 14px !important;
		font-weight: 400 !important;
		margin-bottom: 30px !important;
	}

	.header-acc-content .user-acc-section {
		width: 100% !important;
	}

	header .header-acc-content .user-acc-section div img{
		width: 32px;
		height: 32px;
	}

	header .header-acc-content .user-acc-section div h2{
		font-size: 18px;
	}

	/* footer section */

	.container footer {
		width: 100%;
		margin: 0;
		flex-direction: column;
		padding: 40px 30px;
	}

	footer .info {
		width: 100%;
		flex-direction: column;
		margin: 0;
		padding: 0;
		gap: 30px;
		border-bottom: #858584 solid 1px;
		padding-bottom: 30px;
	}

	footer .info .footer-digest {
		width: 100%;
	}

	footer .footer-digest form {
		width: 100%;
		gap: 16px;
		flex-direction: column;
		background-color: transparent;
	}

	.footer-digest form button,
	.footer-digest form input {
		width: 100% !important;
		border-radius: 30px !important;
	}

	footer ul {
		width: 100% !important;
	}

	.footer-digest p {
		width: 100% !important;
	}

	footer #authority {
		font-size: 12px;
		font-weight: 400;
		color: #cccccc;
		text-decoration: none;
		padding-top: 20px;
		font-family: 'Work Sans', sans-serif;
	}
}

@media (min-width: 448px) and (max-width: 990px) {
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	.container {
		width: 100%;
		max-width: 992px;
		margin: 0;
		padding: 0;
	}

	.container nav {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		padding: 15px 50px;
	}

	nav .navbar-logo {
		width: 180px;
		object-fit: cover;
	}

	nav ul li a {
		display: none;
	}

	nav .navbar-links li .nav-button {
		display: none;
	}
	nav ul li #bars {
		display: block;
		width: 24px;
		height: 24px;
		color: #ffffff;
	}

	/* header-section */

	.container header {
		flex-direction: row;
		justify-content: space-between;
		gap: 40px;
	}

	header img {
		width: 400px;
		height: 530px;
	}

	header .header-acc-content {
		width: 350px;
		padding: 30px 20px;
		padding-right: 70px !important;
	}

	.header-acc-content > h1 {
		font-size: 34px !important;
		font-weight: 600;
	}

	.header-acc-content p {
		width: 100%;
		max-width: 100%;
		font-size: 12px !important;
		font-weight: 400 !important;
		margin-bottom: 30px !important;
	}

	.header-acc-content .user-acc-section {
		width: 100% !important;
	}

	header .header-acc-content .user-acc-section div img{
		width: 32px;
		height: 32px;
	}

	header .header-acc-content .user-acc-section div h2{
		font-size: 16px;
	}

	/* footer section */

	.container footer {
		width: 100%;
		margin: 0;
		flex-direction: column;
		padding: 40px 72px;
	}

	footer .info {
		width: 100%;
		flex-direction: column;
		margin: 0;
		padding: 0;
		gap: 30px;
		border-bottom: #858584 solid 1px;
		padding-bottom: 30px;
	}

	footer .info .footer-digest {
		width: 100%;
	}

	footer .footer-digest form {
		width: 420px;
		gap: 16px;
		flex-direction: row;
		background-color: #ffffff;
	}

	footer #authority {
		font-size: 12px;
		font-weight: 400;
		color: #cccccc;
		text-decoration: none;
		padding-top: 20px;
		font-family: 'Work Sans', sans-serif;
	}
}
