* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
}

.container {
    width: 100%;
    height: 100%;
    background: url('resources/qa-bg.jpg') no-repeat center/cover;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.header {
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    font-style: italic;
}

#demo {
    display: none;
    color: rgb(92, 82, 90);
    font-size: 25px;
    font-style: italic;
    margin-top: 80px;
    text-align: center;
    justify-content: center;
}

.generator {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.input-card {
    margin-top: 0px;
    width: 100%;
    height: 400px;
    background: url('resources/qa-bg-small.jpg') no-repeat center/cover;
    padding: 10px;
    text-align: center;
    position: relative;
}

.QR {
    margin-top: 40px;
    margin-bottom: 10px;
}

.input-card input {
    width: 100%;
    padding: 10px;
    margin-top: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 18px;
}

.input-card button {
    margin-top: 18px;
    padding: 10px;
    background: rgb(74, 48, 221);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 138px;
}

.input-card button:hover {
    background: rgb(100, 70, 255);
}

.actions {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 500px;
    height: 500px;
    text-align: center;
}

.qr-box {
    display: flex;
    width: 250px;
    height: 250px;
    background: darkblue;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.btn-hold {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 70px;
}

.actions button {
    display: flex;
    justify-content: space-between;
    width: 110px;
    height: 40px;
    padding: 10px;
    background: rgb(74, 48, 221);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.actions button:hover {
    background: rgb(100, 70, 255);
}

@media (max-width: 768px) {
    .header {
        display: none;
    }

    .actions {
        width: 300px;
        height: 300px;
    }

    .qr-box {
        width: 200px;
        height: 200px;
    }

    .btn-hold {
        gap: 30px;
        margin-top: 80px;
    }
}

@media (max-width: 400px) {
    .actions {
        width: 250px;
        height: 250px;
    }

    .qr-box {
        width: 128px;
        height: 128px;
    }

    .btn-hold {
        margin-top: 100px;
        gap: 20px;
    }
}