/* General reset and base styles */
body, h1, h2, h3, p, ul, li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f4f4f4;
}

html, body {
    height: 100%; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    background-color: #f4f4f4; /* Background color of the page */
}

.container {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Align items to stretch to container height */
    justify-content: stretch; /* Elements use full width of their sections */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 60vw; /* Width based on viewport width */
    height: 60vw; /* Height same as width to maintain square shape */
    max-width: 960px;
    max-height: 960px; /* Max dimensions to prevent overly large container */
    overflow: hidden;
}

/* Container styles
.container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    margin: auto;
    overflow: hidden;
    max-width: 960px;
    height: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
} */

/* Section styles */
.left-section, .right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.left-section {
    background: linear-gradient(to bottom right, #C8102E, #880E4F);
    color: white;
    flex: 1;
    text-align: center;
}

.right-section {
    background: #fff;
    flex: 1.5;
    padding: 40px;
}

.logo {
    width: 400px;
    margin-bottom: 20px;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
    }

    .left-section, .right-section {
        width: 100%;
        padding: 20px;
    }

    .left-section {
        order: 2;
    }

    .right-section {
        order: 1;
        padding: 20px;
    }

    .logo {
        width: 120px; /* Smaller logo on smaller screens */
    }
}

/* Very small screens adjustments */
@media (max-width: 480px) {
    .left-section, .right-section {
        padding: 10px;
    }

    h1, p {
        text-align: center;
    }

    .form-group {
        margin-bottom: 15px;
    }
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

input[type="text"], input[type="email"], input[type="password"], button {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* Terms and Conditions style */
.terms {
    font-size: 0.8em;
    color: #666;
}

html, body {
    height: 100%; /* Ensures the full height of the browser window */
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Aligns vertically */
    justify-content: center; /* Aligns horizontally */
    background-color: #f4f4f4; /* Optional: sets a background color */
}

.container {
    display: flex;
    flex-direction: row;
    width: 80%; /* Adjusts width to 80% of the viewport */
    max-width: 960px; /* Ensures container does not exceed this width */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for styling */
    overflow: hidden;
    border-radius: 8px; /* Optional: rounds the corners */
}

.left-section, .right-section {
    flex: 1; /* Ensures both sections take up equal space */
    display: flex;
    align-items: center; /* Vertical alignment */
    justify-content: center; /* Horizontal alignment */
}

.left-section {
    background: linear-gradient(to bottom right, #C8102E, #880E4F);
    color: white;
    text-align: center;
    padding: 20px;
}

.right-section {
    background-color: white;
    padding: 20px;
}