/* ===========================
   HOMEPAGE MEDIA (index.html)
   =========================== */

/* === SAFETY: CONTAINMENT ONLY (NO VISUAL CHANGES) === */


html
{
	box-sizing: border-box;
}

body
{
	overflow-x: hidden;
}


/* ===========================
   320px and below
   =========================== */

@media (max-width: 320px)
{
	#homepage-section-container
	{
		padding: 1.75rem 1.25rem 2.25rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.logo-container
	{
		margin-bottom: 0.75rem;
		display: flex;
		justify-content: center;
	}

	.newlogo
	{
		width: 260px;
		height: auto;
		margin-bottom: -2.5rem;
	}

	.mini-container
	{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.85rem;
	}

	.large-text
	{
		font-size: 1.7rem;
		text-align: center;
		margin-bottom: 1rem;
	}

	.part1
	{
		font-size: 1.1rem;
		line-height: 1.4;
		text-align: center;
		margin-bottom: 1rem;
	}

	.button-container
	{
		margin-top: 0.5rem;
	}

	.btn
	{
		font-size: 0.95rem;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
		font-weight: 400;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 1rem;
		padding: 1.5rem 1.25rem 1rem;
	}

	.problems-grid
	{
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
		width: 100%;
	}

	.problem-card
	{
		width: 100%;
		padding: 1.4rem 1.6rem;
		box-shadow: none;
	}

	.problem-card h3
	{
		font-size: 1.1rem;
		text-align: center;
	}

	.problems-title
	{
		font-size: 1.4rem;
		text-align: center;
		max-width: 20ch;
		overflow-wrap: normal;
	}

	.problems-tagline
	{
		font-size: 1.1rem;
		text-align: center;
		margin: 0.5rem 0 1rem 0;
	}

	.problem-card
	{
		place-self: center center;
	}

	.problem-card p
	{
		font-size: 0.95rem;
	}

	.problem-card p + p
	{
		margin-top: 0.75rem;
	}

	.problem-card span
	{
		display: inline;
	}
}

/* ===========================
   321px–375px
   =========================== */

@media (min-width: 321px) and (max-width: 375px)
{
	#homepage-section-container
	{
		padding: 2.25rem 1.5rem 2.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.newlogo
	{
		width: 280px;
		margin-left: 0;
	}

	.mini-container
	{
		gap: 1rem;
	}

	.large-text
	{
		font-size: 2rem;
		text-align: center;
		margin: 0;
	}

	.part1
	{
		font-size: 1.4rem;
		line-height: 1.45;
		margin: 1rem 0 0;
		text-align: center;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.4rem;
		font-weight: 400;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 1.75rem;
		padding: 1.5rem 1.5rem 1rem;
	}

	.problems-title
	{
		font-size: 1.6rem;
		text-align: center;
		max-width: 20ch;
	}

	.problems-tagline
	{
		font-size: 1.3rem;
		margin-top: 1rem;
		text-align: center;
	}

	.problems-grid
	{
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.4rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.2rem;
		line-height: 1.5;
	}

	.problem-card p + p
	{
		margin-top: 0.75rem;
	}

	.problem-card span
	{
		display: inline;
	}
}

/* ===========================
   376px-425px
   =========================== */

@media (min-width: 376px) and (max-width: 425px)
{
	#homepage-section-container
	{
		padding: 2.25rem 1.5rem 2.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.newlogo
	{
		width: 280px;
		margin-left: 0;
	}

	.mini-container
	{
		gap: 1rem;
	}

	.large-text
	{
		font-size: 2rem;
		text-align: center;
		margin: 0;
	}

	.part1
	{
		font-size: 1.4rem;
		line-height: 1.45;
		margin: 1rem 0 0;
		text-align: center;
		max-width: 25ch;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.1rem;
		font-weight: 400;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 1.75rem;
		padding: 1.5rem 1.5rem 0.5rem;
	}

	.problems-title
	{
		font-size: 1.9rem;
		text-align: center;
		max-width: 20ch;
	}

	.problems-tagline
	{
		font-size: 1.35rem;
		margin-top: 1rem;
		text-align: center;
	}

	.problems-grid
	{
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.45rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.2rem;
		line-height: 1.5;
		margin-top: 1rem;
	}

	.problem-card p + p
	{
		margin-top: 0.75rem;
	}

	.problem-card
	{
		place-self: center center;
	}

	.problem-card span
	{
		display: inline;
	}
}

@media(min-width:426px) and (max-width:768px)
{

	.logo-container
	{
		align-items: center;
		justify-content: flex-start;
	}

	.mini-container
	{
		max-width: 350px;
		align-items: flex-start;
		margin-right: 10rem;
	}


	#homepage-section-container
	{
		padding: 2.25rem 1.5rem 2.75rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-inner
	{
		max-width: none;
	}

	.large-text
	{
		font-size: 2.5rem;
		text-align: left;
		margin: 0;
		padding: 0;
	}

	.part1
	{
		font-size: 1.4rem;
		line-height: 1.45;
		margin: 0.5rem 0 1rem 0;
		max-width: 30ch;
		text-align: left;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.4rem;
		font-weight: 400;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
		margin-left: 5rem;
	}


	.problems-wrapper
	{
		width: 100%;
		padding: 1.5rem 1.5rem 1.5rem;
	}

	.problems-title
	{
		font-size: 2.5rem;
		text-align: center;
	}

	.problems-tagline
	{
		font-size: 1.3rem;
		margin-top: 1rem;
		text-align: center;
		max-width: 80%;
	}

	.problems-grid
	{
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 3fr;
		gap: 1rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.4rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.2rem;
		line-height: 1.5;
		margin-top: 2rem;
	}

	.problem-card p + p
	{
		margin-top: 0.75rem;
	}

	.problem-card
	{
		min-width: 80%;
		max-height: 400px;
		align-items: center;
		justify-content: center;
	}

	.problem-card span
	{
		display: inline;
	}
}


@media(min-width:769px) and (max-width:1024px)
{

	.logo-container
	{
		align-items: center;
		justify-content: flex-start;
	}

	#homepage-section-container
	{
		padding: 3rem 1.75rem 3rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.large-text
	{
		font-size: 3rem;
		text-align: left;
		margin: 0;
		padding: 0;
	}

	.part1
	{
		font-size: 1.4rem;
		line-height: 1.45;
		margin: 0.5rem 0 1rem 0;
		max-width: 30ch;
		text-align: left;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.4rem;
		font-weight: 550;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
		margin-left: 5rem;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 0;
		padding: 11rem 1.5rem 4.5rem;
	}

	.problems-title
	{
		font-size: 2.8rem;
		text-align: center;
		margin-top: -8rem;
		margin-bottom: 2rem;
		font-weight: 500;
	}

	.problems-tagline
	{
		font-size: 1.6rem;
		margin-top: 1rem;
		margin-bottom: 2rem;
		max-width: 50ch;
		text-align: center;
	}

	.problems-grid
	{
		display: grid;
		grid: repeat(3, 1fr);
		gap: 1rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.5rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.4rem;
		line-height: 1.8;
		margin-top: 2rem;
	}

	.problem-card p + p
	{
		margin-top: 2rem;
	}

	.problem-card
	{
		place-items: center center;
	}

	.problem-card span
	{
		display: inline;
	}

	.mini-container
	{
		max-width: 350px;
		align-items: flex-start;
		margin-right: 10rem;
	}


}


/* ===========================
   Large screens
   =========================== */
@media(min-width:1025px) and (max-width:1440px)
{

	.logo-container,
	.newlogo
	{
		margin-right: 45rem;
		margin-left: 0;
	}

	#homepage-section-container
	{
		padding: 3rem 1.75rem 3rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.large-text
	{
		font-size: 3rem;
		text-align: left;
		margin: 0;
	}

	.part1
	{
		font-size: 1.6rem;
		line-height: 1.45;
		margin: 1rem 0 0;
		max-width: 30ch;
		text-align: left;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.6rem;
		font-weight: 450;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 0;
		padding: 11rem 1.5rem 4.5rem;
	}

	.problems-title
	{
		font-size: 3rem;
		text-align: center;
		margin-top: -8rem;
		margin-bottom: 2rem;
		font-weight: 500;
	}

	.problems-tagline
	{
		font-size: 1.8rem;
		margin-top: 1rem;
		margin-bottom: 2rem;
		max-width: 50ch;
		text-align: center;
	}

	.problems-grid
	{
		display: grid;
		grid: repeat(3, 1fr);
		gap: 1rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.7rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.5rem;
		line-height: 1.5;
		margin-top: 2rem;
	}

	.problem-card p + p
	{
		margin-top: 2rem;
	}

	.problem-card
	{
		place-items: center center;
	}

	.problem-card span
	{
		display: inline;
	}

	.mini-container
	{
		max-width: 320px;
		margin-left: 0;
		margin-right: 45rem;
		text-align: left;
	}
}


@media (min-width: 1200px)
{
	.newlogo
	{
		width: clamp(320px, 38vw, 640px);
	}
}

@media(min-width:1441px) and (max-width:2560px)
{

	.logo-container,
	.newlogo
	{
		margin-right: 55rem;
		margin-left: 0;
	}

	#homepage-section-container
	{
		padding: 3rem 1.75rem 3rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
	}

	.large-text
	{
		font-size: 5rem;
		text-align: left;
		margin: 0;
	}

	.part1
	{
		font-size: 2rem;
		line-height: 1.45;
		margin: 1rem 0 0;
		max-width: 30ch;
		text-align: left;
	}

	.button-container
	{
		margin-top: 0.75rem;
	}

	.btn
	{
		font-size: 1.3rem;
		font-weight: 550;
		padding: 0.55rem 1.25rem;
		min-height: 0;
		border-radius: 10%;
		width: 300px;
		margin-left: 0;
	}

	.problems-wrapper
	{
		width: 100%;
		margin-top: 0;
		padding: 11rem 1.5rem 4.5rem;
	}

	.problems-title
	{
		font-size: 4rem;
		text-align: center;
		margin-top: -8rem;
		margin-bottom: 2rem;
		font-weight: 500;
	}

	.problems-tagline
	{
		font-size: 2rem;
		margin-top: 1rem;
		margin-bottom: 2rem;
		max-width: 50ch;
		text-align: center;
	}

	.problems-grid
	{
		display: grid;
		grid: repeat(3, 1fr);
		gap: 3rem;
		width: 100%;
	}

	.problem-card h3
	{
		font-size: 1.8rem;
		text-align: center;
		font-weight: 500;
	}

	.problem-card p
	{
		font-size: 1.7rem;
		line-height: 1.5;
		margin-top: 2rem;
	}

	.problem-card p + p
	{
		margin-top: 2rem;
	}

	.problem-card
	{
		place-items: center center;
	}

	.problem-card span
	{
		display: inline;
	}

	.mini-container
	{
		min-width: 500px;
		margin-left: 0;
		margin-right: 55rem;
		text-align: left;
	}

	.hero-inner
	{
		max-width: none;
		margin: 0 auto;
		padding: 0 1.5rem;
		position: relative;
		z-index: 1;
	}

}