body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    background: url('day.jpg') no-repeat center center fixed;
    background-size: cover;
    transition: background 0.5s ease-in-out, color 0.5s;
    color: black;
}

.toggle-container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.switch {
    display: inline-block;
    width: 40px;
    height: 20px;
    position: relative;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;

    width: 14px;

    left: 3px;

    bottom: 3px;

    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:checked+.slider:before {
    transform: translateX(20px);

}

.slider.round {
    border-radius: 20px;

}

.slider.round:before {
    border-radius: 50%;
}

.toggle-text {
    margin-left: 10px;
    font-size: 14px;
}

.container {
    text-align: center;
    margin-top: 50px;
    margin: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: background 0.5s, box-shadow 0.5s;
}

input,
button {
    margin: 10px;
    padding: 10px;
    border: 0px solid #ccc;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#qrContainer {
    margin: 20px;
    display: flex;
    border-radius: 5px;
    justify-content: center;
    margin-top: 20px;
}

#qrContainer img {
    padding: 15px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode {
    background: url('night.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

.dark-mode .container {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

.dark-mode input,
.dark-mode button {
    background: #333;
    color: white;
    border: 1px solid white;
}

.press-start-2p-regular {
    font-family: "Press Start 2P", system-ui;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 10px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.5s, box-shadow 0.5s;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

.dark-mode footer {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px -2px 10px rgba(255, 255, 255, 0.2);

}

.dark-mode footer a {
    color: rgb(191, 208, 36);
    text-decoration: none;
}