/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
background-color: #f0f4f8;
color: #333;
line-height: 1.6;
padding: 20px;
}
/* Header Section */
header {
background: linear-gradient(135deg, #1f5e7f, #33a8c7);
padding: 40px 20px;
text-align: center;
color: white;
border-radius: 8px;
}
header h1 {
font-size: 3em;
margin-bottom: 10px;
color: #fff;
}
header p {
font-size: 1.2em;
}
/* Section Titles */
h2 {
font-size: 2em;
margin-bottom: 10px;
color: #1f5e7f;
border-bottom: 3px solid #1f5e7f;
display: inline-block;
padding-bottom: 5px;
}
h3 {
font-size: 1.5em;
color: #333;
margin-bottom: 8px;
}
/* Section Styling */
section {
background-color: #fff;
padding: 20px;
margin: 30px 0;
border-radius: 8px;
border: 2px solid #dcdcdc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
/* Flexbox layout for the section with text and image */
.section-content {
display: flex;
justify-content: space-between;
align-items: center;
gap: 50px; /*Ensure equal gap between text and image*/
padding: 0 20px;
max-width: 1200px;
margin: 0 auto;
}
/* Text content styling */
.text-content {
flex: 1;
}
#all-ages .text-content {
text-align: left; /* Left-aligned for "For Makers of All Ages" */
}
#adults-professionals .text-content {
text-align: right; /* Right-aligned for "For Adults and Professionals" */
}
/* Image content styling */
.image-content {
flex: 1;
}
.image-content img {
width: 100%;
max-width: 500px;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Reverse layout for "For Adults and Professionals" */
#adults-professionals .section-content {
flex-direction: row-reverse;
}
/* Images */
section img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 20px;
border: 4px solid #1f5e7f;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* List Styles */
ul {
list-style: none;
padding-left: 20px;
}
ul li {
background: url('https://img.icons8.com/small/16/1f5e7f/checkmark.png') no-repeat left;
padding-left: 25px;
margin: 10px 0;
font-size: 1.1em;
color: #555;
}
/* Links */
a {
color: #1f5e7f;
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #33a8c7;
text-decoration: underline;
}
/* Call to Action */
#call-to-action {
background-color: #f2e64a;
text-align: center;
padding: 40px;
border-radius: 8px;
border: 2px solid #dcdcdc;
}
#call-to-action h2 {
color: #333;
}
#call-to-action p {
font-size: 1.2em;
color: #555;
}
#call-to-action ul {
display: inline-block;
text-align: left;
}
#call-to-action ul li {
padding-left: 30px;
background: none;
color: #1f5e7f;
}
/* Footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
border-radius: 8px;
margin-top: 40px;
}
footer p {
margin: 0;
font-size: 0.9em;
}
/* Responsive */
@media (max-width: 768px) {
body {
padding: 10px;
}
header h1 {
font-size: 2em;
}
section {
padding: 15px;
}
.section-content {
flex-direction: column;
text-align: center;
}
#all-ages .text-content,
#adults-professionals .text-content {
text-align: center;
}
.image-content img {
max-width: 100%;
}
}
/* iframe specific styles for compatibility */
html::-webkit-scrollbar{
width:5px;
}
html::-webkit-scrollbar-thumb{
background:rgb(50,50,50);
border-radius:5px;
}
html{
width:100%;
}