* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}


body {
    background: #262a2f;
}

.container {
    max-width: 600px;
    padding: 25px 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
}

.container p {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.container input {
    width: 100%;
    height: 50px;
    border: 1px solid red;
    outline: 0;
    padding: 10px;
    margin: 10px 0 20px;
    border-radius: 5px;
}

.container button {
    width: 100%;
    height: 50px;
    background: #262a2f;
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 20px 0;
    font-weight: 500;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .container input,
    .container button {
        width: calc(100% - 20px);
    }
}

#downloadBtn {
    width: 54%;
    /* Set the width according to your preference, leaving some space for margin */
    height: 50px;
    background: #262a2f;
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 20px 1%;
    font-weight: 500;
    display: inline-block;
}

#clearbtn {
    width: 40%;
    /* Set the width according to your preference, leaving some space for margin */
    height: 50px;
    background: red;
    /* Use the specified background color for the Clear button */
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 20px 1%;
    font-weight: 500;
    display: inline-block;
}

#imgBox {
    width: 200px;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

#imgBox img {
    width: 100%;
    padding: 10px;
}

#imgBox.show-img {
    max-height: 300px;
    margin: 10px auto;
    border: 1px solid #d1d1d1;
}

.error {
    animation: shake 0.1s linear 10;
}

@keyframes shake {
    0% {
        transform: translate(0);
    }

    25% {
        transform: translate(-2px);
    }

    50% {
        transform: translate(0);
    }

    75% {
        transform: translate(-2px);
    }

    100% {
        transform: translate(0);
    }
}


.header {
    background-color: #262a2f;
    color: #fff;
    padding: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar img {
    margin-right: 10px;
}

.navbar h1 {
    margin: 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin-right: 15px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
}

/* Boşluklar ekleyelim */
.navbar li:not(:last-child) {
    margin-right: 20px;
}

.navbar a.active {
    font-weight: bold;
    font-size: 18px;
    color: red;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        margin-top: 10px;
    }

    .navbar li {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


.footer {
    background-color: #262a2f;
    color: #fff;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer .col {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.footer-social li {
    margin-right: 10px;
}

.footer-social a {
    text-decoration: none;
    color: #fff;
}

.footer-copyright a {
    color: red;
    text-decoration: none;
}


#qrSize {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#qrSize option {
    font-size: 14px;
}