/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centers items horizontally in the form */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}

.form-container {
    width: 100%;  
    display: flex;
    flex-direction: column;
    align-items: center;  
    box-sizing: border-box;  /* This ensures that padding doesn't increase the width */
}




.input-field {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}




label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

button,
input[type="submit"] {
    display: block;
    width: 100px;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto 0;
    transition: background-color 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
    background-color: #242424;
}

/* Registration & Login Page Styles */
.registration-form h2,
.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Profile Page Styles */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-photo,
.profile-photo {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.profile-photo {
    width: 80px;
    height: 80px;
    margin-top: -40px; /* To pull it upwards, half of its height for a nice overlap */
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}



/* Responsive media query */
@media screen and (max-width: 480px) {
    form {
        width: calc(100% - 40px); /* Subtracting 40px (20px on each side) from width */
        padding: 40px; /* Added padding */
        margin: 0 auto; /* To keep the form centered */
    }

    .input-field,
    .cover-photo,
    .profile-photo {
        width: 100%;
    }

    .profile-photo {
        margin: 10px 0;
    }
    
}





