:root {
	--pink: hsl(322, 100%, 66%);
	--light-pink: hsl(321, 100%, 78%);
	--light-red: hsl(0, 100%, 63%);
	--very-dark-cyan: hsl(192, 100%, 9%);
	--very-pale-blue: hsl(207, 100%, 98%);
	--poppins-font: 'Poppins', sans-serif;
	--open-sans-font: 'Open Sans', sans-serif;
}

body {
	font-size: 0.938rem;
	font-family: var(--open-sans-font);
	margin: 2rem 0 0 0; /* Not margin-top because there´re default margins I want to set to 0 */
}

h1,
h2,
h3,
h4 {
	font-family: var(--poppins-font);
	font-weight: 700;
}

img {
	width: 100%;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 1.5rem 10rem 1.5rem;
}
header img {
	width: 9rem;
}
header a {
	text-decoration: none;
	color: var(--pink);
	border: 1px solid var(--pink);
	border-radius: 2rem;
	padding: 0.4rem 1.5rem;
	text-transform: capitalize;
	-webkit-box-shadow: 0px 0px 6px -2px var(--pink);
	box-shadow: 0px 0px 6px -2px var(--pink);
}
header a:hover {
	cursor: pointer;
}

.build-community-section {
	text-align: center;
	margin: 0 2.5rem 10rem 2.5rem;
}
.build-community-section h1 {
	font-size: 2.18rem;
	text-transform: capitalize;
}
.build-community-section p {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 2rem;
	margin-bottom: 5.2rem;
}
.build-community-section a {
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--very-pale-blue);
	background-color: var(--pink);
	border: 1px solid transparent;
	border-radius: 2rem;
	padding: 1.1rem 0.5rem;
	text-transform: capitalize;
	-webkit-box-shadow: 0px 0px 9px -2px var(--pink);
	box-shadow: 0px 0px 9px -2px var(--pink);
}
.build-community-section a:hover {
	cursor: pointer;
	background-color: var(--light-pink);
	-webkit-box-shadow: 0px 0px 9px -2px var(--light-pink);
	box-shadow: 0px 0px 9px -2px var(--light-pink);
	transition: background-color 0.3s ease-in, box-shadow 0.3s ease-in;
}

.screen-mockups-img {
	display: flex;
	width: 85%;
	margin: 0 auto 10rem auto;
}

.stats-section {
	display: flex;
	flex-direction: column;
	height: 87vh;
	align-items: center;
	justify-content: space-between;
	margin: 0 2.5rem;
}
.stats-section div {
	display: flex;
	flex-direction: column;
	width: 15rem;
}
.stats-section div img {
	width: 2.75rem;
}
.stats-section div span {
	font-size: 5.5rem;
	font-weight: 700;
}
.stats-section div p {
	font-size: 1.3rem;
	font-weight: 600;
	text-transform: capitalize;
	text-align: center;
	opacity: 40%;
}

.info-section {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.bg-section-top-desktop-1 {
	display: none;
}
.info-section div {
	padding: 0 2.5rem;
}
.info-section div img {
	width: 85%;
	padding: 5.2rem 0;
}
.info-section div h3 {
	text-transform: capitalize;
	font-size: 1.8rem;
	font-weight: 700;
}
.info-section div p {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 2rem;
	padding-bottom: 6rem;
}
.info-1 {
	background-color: #f6fbff;
}
.bg-section-bottom-desktop-1 {
	display: none;
}
.info-2 {
	padding-top: 5.2rem !important;
}
.bg-section-top-desktop-2 {
	display: none;
}
.info-3 {
	background-color: #f6fbff;
}
.bg-section-bottom-desktop-2 {
	display: none;
}

.ready-to-build-section {
	text-align: center;
	margin: 5.2rem 2.5rem 20rem 2.5rem;
}
.ready-to-build-section h2 {
	font-size: 2.18rem;
	text-transform: capitalize;
	line-height: 3rem;
	margin-bottom: 5.2rem;
}
.ready-to-build-section a {
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--very-pale-blue);
	background-color: var(--pink);
	border: 1px solid transparent;
	border-radius: 2rem;
	padding: 1.1rem 0.5rem;
	text-transform: capitalize;
	-webkit-box-shadow: 0px 0px 9px -2px var(--pink);
	box-shadow: 0px 0px 9px -2px var(--pink);
}
.ready-to-build-section a:hover {
	cursor: pointer;
	background-color: var(--light-pink);
	-webkit-box-shadow: 0px 0px 9px -2px var(--light-pink);
	box-shadow: 0px 0px 9px -2px var(--light-pink);
	transition: background-color 0.3s ease-in, box-shadow 0.3s ease-in;
}

.bg-footer-top-desktop {
	display: none;
}
.footer-container {
	margin-top: -1rem;
	padding: 0 2.5rem;
	padding-top: 6rem;
	background-color: var(--very-dark-cyan);
	color: var(--very-pale-blue);
}

.newsletter {
	display: flex;
	flex-direction: column;
	margin-bottom: 9rem;
}
.newsletter h2 {
	margin-top: 0;
	font-size: 1.8rem;
	font-weight: lighter;
	text-transform: uppercase;
}
.newsletter p {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 2rem;
	margin-bottom: 2.65rem;
}
.input-box {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.5rem;
}
.newsletter input {
	height: 3rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
	margin-bottom: 0.5rem;
	padding: 0.5rem 1rem;
	font-family: var(--open-sans-font);
	font-size: 1.5rem;
}
.newsletter input:focus-visible {
	outline: none;
}
.newsletter button {
	width: 50%;
	height: 4.4rem;
	font-size: 1.4rem;
	font-weight: 600;
	font-family: var(--open-sans-font);
	color: var(--very-pale-blue);
	background-color: var(--pink);
	border: 1px solid transparent;
	border-radius: 0.5rem;
	text-transform: capitalize;
	align-self: flex-end;
}
.newsletter button:hover {
	cursor: pointer;
	background-color: var(--light-pink);
	-webkit-box-shadow: 0px 0px 9px -2px var(--light-pink);
	box-shadow: 0px 0px 9px -2px var(--light-pink);
	transition: background-color 0.3s ease-in, box-shadow 0.3s ease-in;
}

.footer-info {
	margin-bottom: 3rem;
}
.footer-info img {
	width: 60%;
	filter: grayscale(1) invert(1) brightness(1.5);
}
.footer-info p {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 2rem;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	margin-bottom: 3rem;
}
.footer-contact div {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.footer-contact img {
	width: 1.75rem;
	height: 1.55rem;
	margin-right: 1.6rem;
}
.footer-contact p {
	font-size: 1.25rem;
	font-weight: lighter;
	margin: 1rem 0;
}

.footer-social-media {
	display: flex;
	margin-bottom: 2rem;
	width: 35%;
	justify-content: space-between;
}
.footer-social-media svg {
	width: 3rem;
	height: 3rem;
	/* cursor: pointer; */ /* uncomment if you want the SVG container to be cursor: pointer on hover */
}
.facebook-icon:hover {
	fill: #1876f2;
	transition: fill 0.3s ease-in;
	cursor: pointer;
}
.instagram-icon:hover {
	fill: #bb2ba2;
	transition: fill 0.3s ease-in;
	cursor: pointer;
}
.twitter-icon:hover {
	fill: #1da1f2;
	transition: fill 0.3s ease-in;
	cursor: pointer;
}

.attribution {
	font-size: 11px;
	text-align: center;
	padding-bottom: 1rem;
	margin: 0;
}
.attribution a {
	color: hsl(228, 45%, 44%);
}

/* The Challenge Provide a Breakpoint at 375px for mobile
I prefer 768 and below for mobile-tablet and above for desktop
I can add more precise breakpoints but this is just a practice */
/* @media screen and (min-width: 768px) {
	
} */
@media screen and (min-width: 768px) {
	body {
		margin: 4rem 0 0 0; /* Not margin-top because there´re default margins I want to set to 0 */
	}

	header {
		margin: 0 4.5rem 10rem 4.5rem;
	}
	header img {
		width: 13rem;
	}

	.build-community-section h1 {
		font-size: 2.55rem;
	}
	.build-community-section p {
		width: 85%;
		font-size: 1.2rem;
		margin: 0 auto 3.5rem auto;
		text-align: center;
	}
	.build-community-section a {
		padding: 1.2rem 5rem;
	}

	.screen-mockups-img {
		width: 80%;
	}

	.stats-section {
		flex-direction: row;
		height: auto;
		justify-content: space-evenly;
		margin-bottom: 2.5rem;
	}

	.info-section {
		text-align: left;
	}
	.bg-section-top-mobile-1 {
		display: none;
	}
	.bg-section-top-desktop-1 {
		display: flex;
	}
	.info-section div {
		padding: 6rem 0;
	}
	.info-section div div {
		width: 50%;
	}
	.info-section div img {
		width: 40%;
		padding: 0;
	}
	.info-section div h3 {
		font-size: 2.25rem;
	}
	.info-section div p {
		font-size: 1.15rem;
		line-height: 1.75rem;
		padding: 0;
	}
	.info-1 {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-around;
		padding: 0 3rem !important;
	}
	.bg-section-bottom-mobile-1 {
		display: none;
	}
	.bg-section-bottom-desktop-1 {
		display: flex;
	}
	.info-2 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
		padding: 0 3rem !important;
	}
	.bg-section-top-mobile-2 {
		display: none;
	}
	.bg-section-top-desktop-2 {
		display: flex;
	}
	.info-3 {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-around;
		padding: 0 3rem !important;
	}
	.bg-section-bottom-mobile-2 {
		display: none;
	}
	.bg-section-bottom-desktop-2 {
		display: flex;
	}

	.ready-to-build-section {
		margin: 9rem 0rem;
	}
	.ready-to-build-section h2 {
		font-size: 2.1rem;
		line-height: 1rem;
		margin-bottom: 5rem;
	}
	.ready-to-build-section a {
		padding: 1.2rem 5rem;
	}

	.bg-footer-top-mobile {
		display: none;
	}
	.bg-footer-top-desktop {
		display: flex;
	}

	.footer-container {
		margin-top: -0.25rem;
		padding: 0 4.5rem;
	}

	.newsletter-and-contact-container {
		display: flex;
		flex-direction: row-reverse;
		align-items: flex-start;
		justify-content: space-between;
		padding-top: 6rem;
	}
	.newsletter {
		margin-bottom: 0rem;
		width: 45%;
	}
	.info-and-contact {
		width: 40%;
	}
	.newsletter h2 {
		margin-bottom: 0.5rem;
	}
	.newsletter p {
		width: 100%;
		font-size: 1rem;
	}
	.newsletter form {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.input-box {
		margin-bottom: 0;
	}
	.newsletter input {
		width: 77%;
		height: 2rem;
	}
	.newsletter button {
		width: 60%;
		height: 3rem;
		align-self: flex-start;
		font-size: 1rem;
	}

	.footer-info {
		margin-bottom: 1rem;
	}
	.footer-info img {
		width: 75%;
		margin-bottom: 0.5rem;
	}
	.footer-info p {
		width: 100%;
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.footer-contact img {
		width: 1.5rem;
		height: 1.35rem;
		margin-right: 1.2rem;
	}
	.footer-contact p {
		font-size: 1rem;
	}

	.footer-social-media {
		width: 25%;
	}
}

@media screen and (min-width: 1024px) {
	.build-community-section p {
		width: 45%;
	}

	.newsletter p {
		width: 70%;
	}
	.newsletter input {
		width: 82%;
	}

	.footer-info img {
		width: 50%;
	}
	.footer-info p {
		width: 70%;
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.footer-social-media {
		width: 20%;
	}
}
