/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Kid Section Styling */
.kid {
    background-image: url("http://www.smagicmakers.com/images/PNGs/Headers/section - dim,fade.png");
    background-repeat: no-repeat;
    background-position: center top; /* Aligns the image to the top */
    background-size: contain; /* Ensures the image covers the section */
    background-color: #000; /* Fallback color */
    width: 100%;
    min-height: 100vh; /* Matches original height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Container for Logo and Text */
.kid-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Keeps content within bounds */
}

/* Logo Section */
.kid-logo {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers the logo horizontally */
    align-items: center;
    padding-right: 20px;
}

.kid-logo img {
    max-width: 402px; /* Adjusts the logo size */
    height: auto;
}

/* Text Section */
.kid-text {
    flex: 1;
    color: white;
    font-family: 'Didact Gothic', 'Century Gothic', Verdana, sans-serif, Arial;
    text-align: left;
    padding-left: 20px;
}

/* Heading Styling */
.kid-text h2 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
}

/* Paragraph Styling */
.kid-text p {
    font-size: 36px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Button Styling */
.kid-text a img {
    max-width: 315px;
    width: 100%;
    height: auto;
    display: inline-block;
    border: none;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kid-container {
        flex-direction: column; /* Stack content vertically on smaller screens */
        align-items: center;
    }

    .kid-logo img {
        max-width: 350px; /* Adjust logo size */
    }

    .kid-text h2 {
        font-size: 50px;
    }

    .kid-text p {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .kid-container {
        flex-direction: column;
        align-items: center;
    }

    .kid-logo img {
        max-width: 300px; /* Further scaling down the logo */
    }

    .kid-text h2 {
        font-size: 40px;
    }

    .kid-text p {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .kid-logo img {
        max-width: 250px;
    }

    .kid-text h2 {
        font-size: 32px;
    }

    .kid-text p {
        font-size: 24px;
    }
}
