* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f8fa; /* Twitter light background color */
    color: #15202b; /* Dark text color for light theme */
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.title-container {
    text-align: center;
    margin-bottom: 30px;
}

.title-container > h1 {
    font-size: 2.5rem;
    color: #1da1f2; /* Twitter blue */
}

.login-container, .registration-container {
    width: 400px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px;
    color: #15202b; /* Dark text color for light theme */
}

.login-container h2, .registration-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
}

.form-control {
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group .show-form {
    display: block;
    text-align: center;
    color: #1da1f2; /* Twitter blue */
    cursor: pointer;
}

.form-group .show-form:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: purple; 
    color: #fff;
    border: none;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0d8bf0; /* Darker shade of Twitter blue */
}

.checkbox-inline {
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox-inline label {
    font-weight: normal;
}

/* Dark theme */
.dark-mode {
    background-color: #15202b; /* Twitter dark background color */
    color: #fff; /* Light text color for dark theme */
}

.dark-mode .title-container > h1 {
    color: #1da1f2; /* Twitter blue */
}

.dark-mode .login-container, .dark-mode .registration-container {
    background-color: #15202b; /* Dark background color */
    box-shadow: 0 0 10px rgba(255,255,255,0.1); /* Dark shadow */
    color: #fff; /* Light text color */
}

.dark-mode .login-container h2, .dark-mode .registration-container h2 {
    color: #1da1f2; /* Twitter blue */
}

.dark-mode .form-group .show-form {
    color: #1da1f2; /* Twitter blue */
}

.dark-mode .btn-primary {
    background-color: #1da1f2; /* Twitter blue */
    color: #fff; /* White text */
}

.dark-mode .btn-primary:hover {
    background-color: #0d8bf0; /* Darker shade of Twitter blue */
}

.dark-mode label {
    color: #fff; /* White text */
}

.dark-mode .form-check-label {
    color: #1da1f2; /* Twitter blue */
}

/* Media Query for responsiveness */
@media (max-width: 768px) {
    .login-container, .registration-container {
        width: 100%;
        max-width: 400px;
    }
    .title-container {
        display: none; /* Hide the entire title-container */
    }
}

.logo {
    position: absolute;
    top: 10px; /* Adjust this value to position the logo vertically */
    left: 20px; /* Adjust this value to position the logo horizontally */
    width: 100px; /* Adjust the width of the logo as needed */
    height: auto; /* Maintain aspect ratio */
    z-index: 1000; /* Ensure the logo appears above other content */
}
