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

/* Tubb Section Styling */
.tubb {
    background-image: url("http://www.smagicmakers.com/images/PNGs/Headers/section - tubb-quarters");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover; /* Ensures the background image covers the section */
    background-color: #000; /* Fallback color */
    width: 100%;
    min-height: 100vh; /* Matches the section height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

/* Text Section */
.tubb-text {
    flex: 1; /* Occupies one portion of the space */
    color: white;
    font-family: 'Didact Gothic', 'Century Gothic', Verdana, sans-serif, Arial;
    text-align: left;
    padding-left: 40px; /* Adds spacing on the left for separation */
    padding-right: 30px; /* Matches the padding with the logo */
}


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

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

/* Button Styling */
.tubb-text a img {
    max-width: 315px; /* Matches the button size */
    width: 100%; /* Ensures responsiveness */
    height: auto;
    display: inline-block;
    border: none;
    margin-top: 20px;
}

/* Logo Section */
.tubb-logo {
    flex: 1; /* Occupies one portion of the space */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px; /* Adds horizontal padding between the logo and text */
}

.tubb-logo img {
    max-width: 632px; /* Matches the logo's actual size */
    height: auto;
}

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

    .tubb-text {
        text-align: center; /* Centers text on smaller screens */
        padding: 0; /* Removes padding */
    }

    .tubb-logo img {
        max-width: 500px; /* Adjusts logo size */
    }

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

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

@media (max-width: 768px) {
    .tubb-logo img {
        max-width: 400px; /* Further scaling down the logo */
    }

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

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

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

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

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