/* Resetting default margin and padding, setting font and layout properties for the body */
body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', Baskerville, Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Splitting the screen into two halves */
.split {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    flex-direction: column;
}

@media (min-width: 768px) {
    .split {
        flex-direction: row;
    }
}

/* Styling the left and right sections of the split screen */
.left, .right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    box-sizing: border-box;
}

/* Black background for the left side */
.left {
    background-color: black;
    z-index: 1;
}

/* White background and black text for the right side */
.right {
    background-color: white;
    color: black;
    z-index: 1;
}

/* Styling for the logo to position it centered and visible over both halves */
.logo {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    max-width: 150px;
    height: auto;
    padding: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Removing default margin for common elements to maintain consistent spacing */
h1, h2, p, ul, footer {
    margin: 0;
}

/* Removing bullet points from the list and padding */
ul {
    list-style: none;
    padding: 0;
}

/* Styling the footer to be fixed at the bottom of the page */
footer {
    text-align: center;
    padding: 10px;
    background-color: #343a40;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Removing underlines and setting link color to inherit the parent color */
a {
    text-decoration: none;
    color: inherit;
}

/* Styling the contact form to have a distinct light background with padding and rounded corners */
.contact-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}
