html {
	font-size: 1.1rem;
}

body {
	font-family: 'Quicksand', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Faustina', serif;
}

h2 {
	text-align: center;
	color: #E63946 !important;
}

h3 {
	color: #1D3557 !important;
}

p {
	line-height: 1.7;
}

.section:nth-child(odd) {
	background-color: #f3faf1;
}

.section:nth-child(even) {
	background-color: #ebf3f3;
}

/* =============================================== */
/* Navbar */
.navbar {
	background-color: #1D3557;
}

.navbar a {
	color: white;
}

.navbar a:hover {
	color: #8caedf
}

/* =============================================== */
/* Hero */
#hero {
	padding: 6rem 0;
	background: url('/img/bg-hero.webp') no-repeat center center;
	background-size: cover;
}

#hero h1 {
	font-family: "Tangerine", cursive;
	font-size: 5rem;
}

.hero-contents {
	color: white;
}

.hero-contents p {
	color: #F1FAEE;
}

/* =============================================== */
/* About Text */
/*
#about-text {
	background-color: white;
}

.big {
  display: inline-block;
  animation: imessage-big 3s ease-in-out;
}

@keyframes imessage-big {
  0%   { font-size: 1rem; }
  10%  { font-size: 1.5rem; }
  20%  { font-size: 1.5rem; }
  30%  { font-size: 1.5rem; }
  40%  { font-size: 1rem; }
  45%  { font-size: 1.05rem; }
  50%  { font-size: 1rem; }
  100% { font-size: 1rem; }
}


#about-text {
	max-width: 700px;
	padding: 0;
}

#about-text #text-container {
	padding: 10px;
	margin: auto;
	display: flex;
	flex-direction: column;
}

#about-text .blue-text,
#about-text .red-text,
#about-text .gray-text {
	padding: 10px;
	border-radius: 15px;
	width: fit-content;
	margin-bottom: 5px;
	max-width: 500px;
}

#about-text .blue-text {
	color: white;
	background-color: #4d89fb;
	align-self: flex-end;
}

#about-text .red-text {
	color: white;
	background-color: #fb4d4d;
	align-self: flex-end;
}

#about-text .gray-text {
	background-color: #e7e7e9;
}
*/

/* Input bar */
.input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #f5f5f7;
}

.input-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
}

.input-bar button {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: #4d89fb;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.input-bar button:hover {
  background-color: #3c6fd1;
}

/* =============================================== */
/* About */
#about p,
#about li {
	text-align: center;
	font-size: 1.25rem;
}

.struggles-list {
	text-align: center;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	margin-bottom: 30px;
}

.struggle {
	background-color: #E63946;
	color: white;
	border-radius: 15px;
	width: fit-content;
	padding: 3px 12px;
	margin: 3px auto;
	font-size: 1.1rem !important;
}

#about .blue-box {
	color: #1d3557;
	background-color: #afcbf1;
	padding: 10px 20px;
	border-radius: 25px;
}

#about .down-arrow {
	display: block;
	margin: auto;
	text-align: center;
	max-width: 100px;
}

/* =============================================== */
/* At Your Pace */
.color-boy {
	font-weight: 600;
	color: rgb(44, 75, 212);
}

.color-girl {
	font-weight: 600;
	color: rgb(216, 47, 75);
}


/* =============================================== */
/* Reading Services */
.rates-container {
	display: flex;
	gap: 24px;
	margin-bottom: 20px;
}
.rates {
	background-color: #c9e9c1;
	border-radius: 25px;
	padding: 15px;
	min-width: 200px;
}
.rates img {
	max-width: 100px;
	padding: 10px;
}
.rates p {
	font-weight: 600;
	margin: 0;
	line-height: 24px;
}
.rates small {
	font-size: 0.75rem;
	opacity: 0.7;
}

@media (max-width: 480px) {
	.rates-container {
		flex-direction: column;
	}

}

.reading-container {
	background-color: #c9e9c1;
	border-radius: 25px;
	padding: 12px;
	margin-bottom: 12px;
}

.reading-container h4 {
	color: #0b575a;
	font-size: 1.2rem;
	font-style: italic;
}

.reading-container p {
	margin-bottom: 0px;
	font-weight: 600;
}

#reading-services .cta {
	margin: 20px auto;
	text-align: center;
	font-size: 1.4rem;
}

#reading-services .cta .btn {
	padding: 8px 30px;
	border-radius: 25px;
	background-color: #1d3557;
	border: none;
}

#reading-services .cta .btn:hover {
	background-color: #31517e;
}

/* =============================================== */
/* Contact */
.social-icons {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 24px 0;
}

.social-icons a img {
	max-height: 50px;
}

/* =============================================== */
/* Footer */
footer {
	background-color: #1D3557;
	padding: 1rem 0;
	text-align: center;
	font-size: 0.9rem;
	color: #e0edff;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	display: inline;
}

.footer-links li+li::before {
	content: " | ";
	padding: 0 0.5rem;
}

.footer-links a {
	text-decoration: none;
	color: #9abef1;
}

.footer-links a:hover {
	color: #5ba0ff;
}