* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.header, .content, .footer {
    display: flex;
    width: 100%;
}

.header {
    height: 30%;
    align-items: center;
}

.content {
    height: 50%;
    text-align: center;
}

.footer {
    height: 20%;
    align-items: center;
}

.left-half, .right-half {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 0;
}

.header .left-half, .header .right-half,
.footer .left-half, .footer .right-half {
    flex-direction: column;
    justify-content: center;
}

.header .left-half, .footer .left-half {
    align-items: flex-end;
    padding-right: 4px;
}

.header .right-half, .footer .right-half {
    align-items: flex-start;
    padding-left: 4px;
}

.content .left-half, .content .right-half {
    justify-content: center;
    align-items: center;
    padding: 0 100px;
}

.left-half {
    background-color: teal;
    color: white;
    height: 100%;
}

.right-half {
    background-color: white;
    color: teal;
    height: 100%;
}

.heading {
    font-weight: bold;
    font-size: 3em;
}

.subheading {
    font-size: 1.5em;
    line-height: 1em;
}

.footer-text {
    font-size: 1em;
}

.description {
    font-size: 1.2em;
    line-height: 1.5;
}

.description a {
    color: inherit; /* Use the parent element's color */
    text-decoration: underline; /* Optional: to keep the link distinct */
}

.description a:hover {
    color: #ffcc00; /* Optional: add a hover effect */
}

/* Media Query for Mobile Devices */
@media (max-width: 1080px) {
    .header, .subheader, .footer {
        height: 25vh;
        flex-direction: row;
    }

    .subheader {
        height: 15vh;
        flex-direction: row;
    }

    .content {
        height: 60vh;
        flex-direction: row;
    }

    .footer {
        height: 10vh;
        flex-direction: row;
    }

    .left-half, .right-half {
        width: 50%;
        padding: 10px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header .left-half, 
    .subheader .left-half,
    .footer .left-half {
        justify-content: right;
        align-items: right;
        text-align: right;
    }

    .header .right-half,
    .subheader .right-half,
    .footer .right-half {
        justify-content: left;
        align-items: left;
        text-align: left;
    }

    .heading {
        font-size: 1.5em; /* Reduced font size for mobile */
    }

    .subheading {
        font-size: 0.7em; /* Adjusted font size for mobile */
    }

    .description {
        font-size: 1em;
        padding: 10px;
        text-align: center;
    }

    .footer-text {
        font-size: 0.8em;
    }
}
