

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    background: #262a2f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
}

.header {
    width: 100%;
    background: #1f242d;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container {
    width: 90%;
    max-width: 400px;
    margin-top: 5%;
    padding: 25px 35px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(63, 7, 231, 0.2);
}

label {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
}

input {
    width: 100%;
    height: 50px;
    border: 1px solid #494eea;
    outline: 0;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
}

#qrContainer {
    width: 100%;
    max-width: 250px;
    border-radius: 5px;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
}

#qrContainer .img-show {
    border: 1px solid #d1d1d1;
}

#qrContainer img {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px #7e7e7e;
}

.btn {
    width: 100%;
    height: 50px;
    background: rgb(1, 1, 37);
    color: white;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin: 15px 0;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
}

a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

a.download-active {
    max-height: 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 25px;
        border-radius: 8px;
    }

    input {
        height: 45px;
        font-size: 14px;
    }

    .btn {
        height: 45px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px 20px;
    }

    input {
        font-size: 13px;
    }

    .btn {
        font-size: 13px;
    }
}



.navbar {
    display: flex;
    justify-content: space-between; /* Distribute logo and menu items */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c9bcf;
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #6c9bcf;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.toggle-menu {
    display: none; /* Hide toggle button on larger screens */
    font-size: 1.5rem;
    color: #6c9bcf;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #1f242d;
        width: 100%;
        display: none; /* Hidden by default */
        padding: 1rem 0;
    }

    .nav-links.show {
        display: flex; /* Show menu when toggled */
    }

    .toggle-menu {
        display: block; /* Show toggle button on smaller screens */
    }
}