/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-image: url(login.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 100rem;
}

.navbar.visible{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    z-index: 1000;
    background-color: rgba(249,252,255,1);
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}


/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    z-index: 1000;
    background-color: rgba(249,252,255,0);
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

/* Logo Styling */

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2rem; 
    z-index: 1;
}

.logo-img {
    width: 80px; 
    height: auto;
}



/* Nav Links Styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}



/* Individual Nav Link Styling */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Login Button Styling */

.acc-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 2rem;
}

.login-btn {
    text-decoration: none;
    background-color: #2563eb;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

.login-btn:hover {
    background-color: #1e50b0;
}

.signup-btn{
    text-decoration: none;
    background-color: #2563eb;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.signup-btn:hover{
    background-color: #1e50b0;
}

/* Content Padding Adjustment */
.content {
    padding-top: 90px;
    max-width: 800px;
    margin: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Dropzone Styling */
.drop-area {
    background-color: #f0f4f8;
    border: 2px dashed #2563eb;
    border-radius: 8px;
    padding: 2rem 2rem 2rem 2rem;
    margin-top: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.drop-area:hover {
    background-color: #e2e8f0;
}

.drop-area p {
    font-size: 1.2rem;
    color: #333;
}

.drop-area span {
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
}

/* Success/Error Message Styling */
.message {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.success {
    color: green;
}

.error {
    color: red;
}

/* Login Form Styling */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full-screen height */
    background-color: #adba8c; /* Light background for the page */
    padding: 20px;
}

.login-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Maximum width for the form */
    text-align: center;
}

.login-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

/* Input Fields Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0.4rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #2563eb;
    outline: none;
}

/* Submit Button Styling */
.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1e50b0;
}

/* Add some spacing below the form */
.form-group:last-child {
    margin-bottom: 0;
}

.submitted_translations{
    margin-top: 5rem;
    text-align: center;
}

/* About Sections */
.about-content section {
    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.about-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1rem;
    color: #555;
}
