/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


div a{
    text-decoration: none;
  }

:root {
    --primary-color: #f6f8fd;
    --secondary-color: #CC202B;
    --color-text: #505050;             ;
    --color-text-2: #40A2D8;
    --navbar-color: #ffffff;
    --navbar-color-text: #000000;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    animation: slideDown 1s ease-out;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: var(--navbar-color); /* Transparent by default */
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: #fff; /* White background on scroll */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Optional shadow */
}

header .nav-links {
    display: flex;
    gap: 30px;
}

header .nav-links a {
    text-decoration: none;
    font-size: 20px;
    color: #484848; /* Default link color for transparent header */
    transition: color 0.3s ease;
}

header .nav-links a:hover {
    color: var(--secondary-color)
}

.nav-links a.active {
    color: var(--secondary-color); /* warna untuk link aktif */
}

header.scrolled .nav-links a {
    color: #333; /* Dark link color for white background */
}

header .logo {
    height: 60px;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--navbar-color);
    cursor: pointer;
}


/* Landing Image Section */
.image-container {
    width: 100%;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Company Info Section - Positioned on top of the image */
.company-info {
    position: absolute;
    top: 54%;
    left: 34%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: var(--navbar-color);
    z-index: 1;
    padding: 50px;
}

.company-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.company-info h4 {
    max-width: 800px;
    margin-bottom: 30px;
    color: var(--navbar-color);
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
}

.company-stats {
    display: flex;
    justify-content: start;
    gap: 10px;
    margin-top: 20px;
}

.company-stats div {
    text-align: left;
}

.company-stats div h3, .company-stats div h2 {
    display: inline-block;
    margin-right: 10px; /* Space between h3 and h2 */
}

.company-stats div h3 {
    font-size: 2.5rem;
    color: var(--navbar-color);
}

.company-stats div h2 {
    font-size: 1rem;
    color: var(--navbar-color);
}

.company-stats div p {
    color: var(--navbar-color);
    font-size: 1rem;
}

/* Learn More Button */
.learn-more-btn1 {
    margin-top: 20px;
}

.learn-more-btn1 a {
    color: var(--navbar-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--navbar-color);
}

.learn-more-btn1 a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .image-container {
        height: 115vh;
    }

    .image-container img {
        width: 100%;
        height: 115vh;
        object-fit: cover;
    }

    .company-info {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
        width: 90%; /* Adjusted for mobile */
    }

    .company-info h1 {
        font-size: 1.8rem; /* Further reduced for smaller screens */
    }

    .company-info h4 {
        font-size: 0.9rem; /* Further reduced for smaller screens */
    }

    .company-stats {
        flex-direction: row; /* Change to horizontal layout on mobile */
        flex-wrap: wrap; /* Allow wrapping if needed */
        gap: 15px; /* Adjust spacing */
    }

    .company-stats div {
        flex: 1 1 100%; /* Each div takes full width */
        text-align: left; /* Center-align text for better readability */
    }

    .company-stats div h3 {
        font-size: 1.5rem; /* Adjusted for mobile */
    }

    .company-stats div h2 {
        font-size: 0.9rem; /* Adjusted for mobile */
    }

    .company-stats div p {
        font-size: 0.9rem; /* Adjusted for mobile */
    }

    .learn-more-btn1 a {
        font-size: 0.9rem; /* Further reduced for smaller screens */
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 115vh;
    }

    .image-container img {
        width: 100%;
        height: 115vh;
        object-fit: cover;
    }
    .company-info {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        width: 95%; /* Adjusted for very small screens */
    }

    .company-info h1 {
        font-size: 2rem; /* Further reduced for very small screens */
    }

    .company-info h4 {
        font-size: 0.8rem; /* Further reduced for very small screens */
    }

    .company-stats {
        justify-content: left;
        flex-direction: row; /* Ensure horizontal layout on very small screens */
        gap: 5px; /* Reduce spacing */
    }

    .company-stats div {
        flex: 1 1 100%; /* Each div takes full width */
    }

    .company-stats div h3 {
        font-size: 2rem; /* Further reduced for very small screens */
    }

    .company-stats div h2 {
        font-size: 0.9rem; /* Further reduced for very small screens */
    }

    .company-stats div p {
        font-size: 0.9rem; /* Further reduced for very small screens */
    }

    .learn-more-btn1 a {
        font-size: 1rem; /* Further reduced for very small screens */
    }
}

/* Product Slide */
.Product {
    padding: 50px;
    text-align: center;
    background-color: #f9f9f9;
}

.Product h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.Product p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--color-text);
}

/* Slider container styles */
.slider {
    display: grid; /* Use Grid layout */
    grid-template-columns: repeat(3, 1fr); /* Three columns per row */
    gap: 20px; /* Add space between items */
    justify-items: center; /* Center-align items horizontally */
    align-items: center; /* Center-align items vertically */
}

/* Slide styles */
.slide {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure the slide fits within the grid cell */
    max-width: 370px; /* Optional: limit the maximum width of slides */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

.slide img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 5px;
}

.product-info {
    padding: 15px;
    background: #ffffff;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 10px;
}

.learn-now-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.learn-now-btn button {
    background-color: var(--color-text);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slide:hover .learn-now-btn {
    opacity: 1;
}

.learn-now-btn button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider {
        grid-template-columns: repeat(2, 1fr); /* Two columns per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .slider {
        grid-template-columns: 1fr; /* One column per row on very small screens */
    }
}


/* Why Choose Section */
.why-choose {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.why-choose h2 {
    font-size: 20px;
    margin-bottom: 50px;
    color: var(--navbar-color-text);
}

.why-choose span {
    font-size: 45px;
    margin-bottom: 50px;
    color: red;
}

.features {
    display: flex;
    justify-content: center;
    gap: 150px; /* Adjust gap for proper spacing */
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    max-width: 140px;
}

.feature-item img {
    width: 95px;
    height: 80px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px; /* Larger text for features */
    color: #333;
    font-weight: bold;
}

@media (max-width: 768px) {
    .features {
        gap: 50px; /* Reduce gap for smaller screens */
        padding: 0 20px; /* Add padding to prevent overflow */
    }

    .feature-item {
        max-width: 120px; /* Reduce max-width for smaller screens */
    }

    .feature-item img {
        width: 80px; /* Reduce image size for smaller screens */
        height: 70px; /* Reduce image size for smaller screens */
    }

    .feature-item p {
        font-size: 14px; /* Reduce font size for smaller screens */
    }
}

@media (max-width: 480px) {
    .features {
        gap: 30px; /* Further reduce gap for very small screens */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center-align items */
    }

    .feature-item {
        max-width: 100%; /* Full width for very small screens */
    }

    .feature-item img {
        width: 80px; /* Further reduce image size for very small screens */
        height: 70px; /* Further reduce image size for very small screens */
    }

    .feature-item p {
        font-size: 12px; /* Further reduce font size for very small screens */
    }
}


/* Galeri */
/* Updated Header Section */
.galeri-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh; /* Full viewport height */
    background-image: url('img/header section 1 rev.png'); /* Background image */
    background-size: cover;
    background-position: center;
    color: white; /* White text for contrast */
    text-align: center;
    padding-top: 60px;
}

/* Dark overlay for better text readability */
.galeri-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Transparent black overlay */
    z-index: 1; /* Overlay below text */
}

.galeri-header h1 {
    font-weight: 700;
    position: relative;
    font-size: 3.5rem;
    z-index: 2; /* Above the overlay */
    margin-bottom: 5px;
}

.galeri-header p {
    position: relative;
    font-size: 1.2rem;
    z-index: 2; /* Above the overlay */
    line-height: 1.6;
    max-width: 800px;
}

.event-section {
    margin: 60px auto; /* Sesuaikan jarak atas dan bawah */
    width: 80%; /* Sedikit lebih kecil untuk kesan fokus */
    text-align: left; /* Judul tetap di kiri */
    padding: 20px; /* Memberikan ruang di dalam elemen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan untuk memberi kedalaman */
}

.event-section h2 {
    font-size: 1.8rem; /* Sedikit lebih kecil dari sebelumnya */
    color: var(--navbar-color-text); /* Warna teks lebih gelap */
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary-color); /* Warna garis merah */
    padding-left: 10px; /* Spasi antara garis dan teks */
}

.event-section img {
    display: block; /* Memastikan gambar tampil sebagai block-level element */
    margin: 0 auto 60px; /* Tengah secara horizontal, dengan margin bawah 50px */
    width: 100%; /* Memastikan gambar responsif */
    max-width: 1000px; /* Batas lebar maksimum */
    height: auto; /* Mempertahankan proporsi gambar */
    border-radius: 5px; /* Opsional: Sudut melengkung */
    box-shadow: 0 4px 8px var(--color-text)(0, 0, 0, 0.15); /* Bayangan lebih tegas */
}

/* Media Query untuk Responsivitas */
@media screen and (max-width: 768px) {
    .galeri-header {
        padding: 80px 10px; /* Kurangi padding untuk layar kecil */
        height: 60vh;
    }

    .galeri-header h1 {
        padding-top: 80px;
        font-size: 2rem; /* Ukuran lebih kecil untuk layar mobile */
    }

    .galeri-header p {
        font-size: 0.9rem; /* Sesuaikan ukuran teks */
    }

    .event-section {
        width: 95%; /* Lebar lebih kecil untuk layar mobile */
        padding: 10px; /* Kurangi padding */
    }

    .event-section h2 {
        font-size: 1.3rem; /* Sesuaikan ukuran teks */
    }
}

@media screen and (max-width: 480px) {
    .galeri-header h1 {
        font-size: 2.5rem; /* Ukuran lebih kecil untuk layar sangat kecil */
    }

    .galeri-header p {
        font-size: 0.8rem; /* Sesuaikan ukuran teks */
        text-align: center;
    }

    .event-section h2 {
        font-size: 1.2rem; /* Sesuaikan ukuran teks */
    }
}






/* Carrer */
/* Updated Header Section */
.career-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh; /* Full viewport height */
    background-image: url('img/header section 2 rev.png'); /* Background image */
    background-size: cover;
    background-position: center;
    color: white; /* White text for contrast */
    text-align: center;
    padding-top: 60px;
}

/* Dark overlay for better text readability */
.career-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Transparent black overlay */
    z-index: 1; /* Overlay below text */
}

.career-header h1 {
    font-weight: 700;
    position: relative;
    font-size: 3.5rem;
    z-index: 2; /* Above the overlay */
    margin-bottom: 5px;
}

.career-header p {
    position: relative;
    font-size: 1.2rem;
    z-index: 2; /* Above the overlay */
    line-height: 1.6;
    max-width: 800px;
}


.container-career {
    max-width: 1000px;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.container-career h1 {
    color: var(--secondary-color);
    font-size: 28px;
}

.container-career h2 {
    color: var(--secondary-color);
    margin-top: 20px;
    font-size: 14px;
}

.subtitle {
    font-size: 20px;
    color: var(--color-text);
    margin-top: 5px;
}

.job-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.job-info i {
    margin-right: 10px;
}

.location, .experience {
    font-size: 14px;
    color: var(--color-text);
}

.job-description {
    margin-top: 10px;
}

.job-description h3 {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.job-description ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

.job-description ul li{
    margin-bottom: 10px;
}

.qualifications {
    margin-top: 30px;
}

.qualifications h3 {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.qualifications ul {
    list-style-type: disc;
    margin-left: 20px;
}

.qualifications ul li {
    margin-bottom: 10px;
}


/* Apply Button */
.apply-button {
    display: block;
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #a60000;
}

@media screen and (max-width: 768px) {
    .career-header {
        padding: 80px 10px; /* Kurangi padding untuk layar kecil */
        height: 60vh;
    }

    .career-header h1 {
        padding-top: 80px;
        font-size: 2rem; /* Ukuran lebih kecil untuk layar mobile */
    }

    .career-header p {
        font-size: 0.9rem; /* Sesuaikan ukuran teks */
    }
}

@media screen and (max-width: 480px) {
    .career-header h1 {
        font-size: 2.5rem; /* Ukuran lebih kecil untuk layar sangat kecil */
    }

    .career-header p {
        font-size: 0.8rem; /* Sesuaikan ukuran teks */
    }
}




/* About */
/* Header Section */
.about-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh; /* Full viewport height */
    background-image: url('img/header section 3 rev.png'); /* Background image */
    background-size: cover;
    background-position: center;
    color: var(--navbar-color); /* White text for contrast */
    text-align: center;
    padding-top: 60px;
}

/* Dark overlay for better text readability */
.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Transparent black overlay */
    z-index: 1; /* Overlay below text */
}

.about-header h1 {
    font-weight: 700;
    position: relative;
    font-size: 3.5rem;
    z-index: 2; /* Above the overlay */
    margin-bottom: 5px;
}

.about-header p {
    position: relative;
    font-size: 1.2rem;
    z-index: 2; /* Above the overlay */
    line-height: 1.6;
    max-width: 800px;
}

.container-about {
    max-width: 1000px;
    margin: 50px auto;
    background-color: var(--navbar-color);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: justify;
}

.container-about h1 {
    color: var(--secondary-color);
    font-size: 28px;
}

.subtitle-about {
    font-size: 16px;
    color: var(--color-text);
    margin-top: 20px;
}

.distributor-section {
    text-align: center;
    margin-top: 50px;
}

.distributor-section h2 {
    font-size: 28px;
    color: var(--secondary-color);
}

.distributor-section img {
    margin-top: 15px;
    width: 250px; /* Adjust width as necessary */
}

/* Visi and Misi Section */
.visi-misi-section {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 20px;
    gap: 60px;
}

.visi, .misi {
    background-color: var(--navbar-color); /* Background color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 32%; /* Each box takes 45% of the width */
    text-align: left;
}

.visi h2, .misi h2 {
    text-align: center;
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.visi ul, .misi ul {
    text-align: justify;
    list-style-type: disc;
    padding: 15px;
    font-size: 16px;
    color: var(--color-text);
}

.visi ul li, .misi ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.kebijakan-mutu {
    max-width: 1000px;
    margin: 50px auto;
    background-color: var(--navbar-color);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: justify;
}

.kebijakan-mutu h1 {
    color: var(--secondary-color);
    font-size: 28px;
}

.kebijakan-mutu p {
    font-size: 16px;
    color: var(--color-text);
    margin-top: 20px;
}

.kebijakan-mutu ul {
    text-align: justify;
    list-style-type: disc;
    padding: 15px;
    font-size: 16px;
    color: var(--color-text);
}

.kebijakan-mutu ul li {
    text-align: justify;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .visi-misi-section {
        flex-direction: column;
        align-items: center;
    }

    .visi, .misi {
        width: 80%; /* Full width for mobile screens */
        margin-bottom: 20px;
    }
}


@media screen and (max-width: 768px) {
    .about-header {
        padding: 80px 10px; /* Kurangi padding untuk layar kecil */
        height: 60vh;
    }

    .about-header h1 {
        padding-top: 80px;
        font-size: 2rem; /* Ukuran lebih kecil untuk layar mobile */
    }

    .about-header p {
        font-size: 0.9rem; /* Sesuaikan ukuran teks */
    }
}

@media screen and (max-width: 480px) {
    .about-header h1 {
        font-size: 2.5rem; /* Ukuran lebih kecil untuk layar sangat kecil */
    }

    .about-header p {
        font-size: 0.8rem; /* Sesuaikan ukuran teks */
    }

}














/* Footer Section */
.footer-section {
    background-color: var(--navbar-color);
    border-top: 3px solid var(--navbar-color);
    margin-top: 40px;
    padding: 80px 0px;
    color: var(--color-text);
    font-size: 14px;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    color: var(--color-text);
    text-align: left;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.footer-left p {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: justify;
}

.footer-contact {
    display: block;
    margin-top: 5px;
}

.footer-contact i {
    color: var(--color-text);
    margin-right: 10px;
}

.footer-center h5,
.footer-right h5 {
    color: var(--navbar-color-text);
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 25px;
}

.footer-center .social-links {
    display: flex;
    gap: 15px;
}

.footer-center .social-links a {
    font-size: 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-center .social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 30px;
    font-size: 13px;
    color: var(--color-text);
}



@media (max-width: 768px) {
    header {
        padding: 25px 20px;
    }

    header .logo {
        height: 50px;
    }

    header .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 10px;
        width: 150px;
        padding: 10px;
        border-radius: 5px;
    }

    header .nav-links.active {
        background-color: var(--secondary-color);
        display: flex;
    }

    header .nav-links a {
        color: #fff;
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    header.scrolled .nav-links a {
        color: var(--navbar-color); /* Dark link color for white background */
        background-color: var(--secondary-color);
    }

    header .btn {
        display: none;
    }

    .menu-toggle {
        color: var(--secondary-color);
        display: block;
    }



    .carousel {
        width: 100%;
    }

    .card {
        height: 250px;
    }

    .card .content h1 {
        font-size: 20px;
    }

    .card .content button {
        padding: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    .card .content h1 {
        font-size: 18px;
    }
}




#login {
    background: var(--navbar-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 5);
    width: 420px;
    text-align: center;
    position: relative; /* Position the login box absolutely */
    top: 50%;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
}

#login h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    outline: none;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: var(--color-text);
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: var(--navbar-color);
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--secondary-color);
    color: var(--navbar-color);
}

td {
    padding: 8px 10px;
    text-align: left;
    font-size: bold;
    color: var(--secondary-color);
}



@media (max-width: 480px) {
    #login {
        width: 60%; /* Make the login box take up 95% of the screen width */
        padding: 10px; /* Further reduce padding for very small screens */
        left: 50%; /* Center the login box */
        transform: translateX(-50%); /* Center horizontally */
    }

    #login h2 {
        font-size: 1.3em; /* Further reduce font size for very small screens */
    }

    input[type="text"], input[type="password"] {
        padding: 8px; /* Further reduce padding for very small screens */
        font-size: 0.8em; /* Further reduce font size for very small screens */
    }

    input[type="submit"] {
        padding: 8px; /* Further reduce padding for very small screens */
        font-size: 0.8em; /* Further reduce font size for very small screens */
    }

    td {
        padding: 4px 6px; /* Further reduce padding for very small screens */
        font-size: 0.8em; /* Further reduce font size for very small screens */
    }
}


.formimg img{
    width: 200px;
    height: auto;
    padding: 20px;
}

.editimage {
    width: 400px;
    height: auto;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: var(--navbar-color);
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--secondary-color);
    color: var(--navbar-color);
}

