* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
		"Helvetica Neue", sans-serif;
}

body {
	background-color: hsl(36, 100%, 99%);
	margin: 5.55rem 10.3rem;
	transition: 200ms ease-in-out;
}

p {
	color: hsl(233, 8%, 79%);
}

/*Start of head + navbar*/
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3.5rem;
}

.logo {
	width: 65px;
	height: 40px;
}

header nav {
	width: 27.5rem;
}

header ul {
	display: flex;
	justify-content: space-between;
	list-style-type: none;
}

header a {
	text-decoration: none;
	color: hsl(236, 13%, 42%);
	font-weight: 500;
	transition: 200ms ease-in-out;
}

header a:hover {
	color: hsl(5, 85%, 63%);
	transition: 200ms ease-in-out;
	cursor: pointer;
}

label {
	display: none;
}

.mobile-background {
	display: flex;
	position: fixed;
	left: 0;
	bottom: 0;
	height: 100%;
	background-color: hsl(236deg 22.19% 18.16% / 58%);
}

.mobile {
	display: flex;
	flex-direction: column;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #fff;
	width: 68.5%;
	height: 100vh;
	justify-content: center;
	padding-left: 1.5rem;
	gap: 2rem;
}

.mobile-list {
	font-size: large;
	color: hsl(240, 100%, 5%);
}

.mobile-icon {
	right: 1rem;
	top: 2rem;
	position: fixed;
}

/*Start of main content*/
.top {
	display: flex;
	gap: 1.88rem;
}

main {
	width: 127%;
}

main img {
	width: 100%;
}

.web-description {
	display: flex;
	justify-content: space-between;
	margin-top: 1.9rem;
}

.web-description h1 {
	font-weight: 800;
	font-size: 3.5rem;
	line-height: 3.5rem;
}

.web-info {
	width: 105%;
	height: 11.4rem;
	line-height: 1.5rem;
	font-size: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.web-info p {
	color: hsl(236, 13%, 42%);
}

.web-info button {
	background-color: hsl(5, 85%, 63%);
	color: hsl(36, 100%, 99%);
	border: none;
	width: 53%;
	height: 3rem;
	font-weight: 600;
	letter-spacing: 5px;
	transition: 150ms ease-in-out;
}

.web-info button:hover {
	background-color: hsl(240, 100%, 5%);
	transition: 150ms ease-in-out;
	cursor: pointer;
}

/* Start of "Aside" styling */
aside {
	background-color: hsl(240, 100%, 5%);
	padding: 1.75rem 1.5rem;
	display: grid;
	grid-template-rows: 10% 1fr 1fr 1fr;
}

.side-article {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.side-container h2 {
	color: hsl(35, 77%, 62%);
	font-size: 2.5rem;
	margin-bottom: 1.4rem;
}

.side-title {
	color: hsl(36, 100%, 99%);
	font-weight: 700;
	font-size: 1.2rem;
	transition: 100ms ease-in-out;
	padding: 0.8rem 0;

	&:hover {
		color: hsl(35, 77%, 62%);
		transition: 100ms ease-in-out;
		cursor: pointer;
	}
}

.side-container p {
	line-height: 1.6rem;

	&:last-child {
		font-size: 15px;
	}
}

hr {
	margin-top: 2rem;
	border-color: hsl(236, 13%, 42%);
}

/*Start of last line of articles*/
.end {
	margin-top: 6rem;
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 2rem;
}

.end-article {
	display: flex;
	gap: 1.5rem;
	width: 21.43rem;
}

.end-article img {
	width: 6.2rem;
}

.end-article div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.enumeration {
	font-size: 2rem;
	font-weight: bold;
}

.end-title {
	color: hsl(240, 100%, 5%);
	font-weight: 900;
	transition: 100ms ease-in-out;

	&:hover {
		color: hsl(5, 85%, 63%);
		transition: 100ms ease-in-out;
		cursor: pointer;
	}
}

.copy {
	color: hsl(236, 13%, 42%);
	font-size: 15px;
	font-weight: 500;
}

@media screen and (max-width: 1024px) {
	body {
		margin: 4.6rem 3.5rem;
		transition: 300ms ease-in-out;
	}
}

@media screen and (max-width: 770px) {
	body {
		margin: 2rem 1rem;
		transition: 300ms ease-in-out;
	}
}

@media screen and (max-width: 450px) {
	.logo {
		width: 45px;
		height: 30px;
	}

	ul,
	nav {
		display: none;
	}

	label {
		display: block;
	}

	main {
		width: fit-content;
	}

	.web-description,
	.top,
	.end {
		flex-direction: column;
	}

	.web-description h1 {
		font-size: 2.5rem;
		line-height: 2.5rem;
		font-weight: 900;
	}
}
