@font-face {
    font-family: 'Pixel';
    src: url('assets/fonts/pixel.ttf') format('truetype');
}

body {
    font-family: 'Pixel', Arial, sans-serif;
    background-image: url('assets/bg6.gif'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
    padding: 20px;
}

.title {
    font-size: 70px;
    color: yellow;
    text-shadow: 2px 2px 4px black;
}

.input-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

input {
    width: 80px;
    max-width: 100px;
    height: 80px;
    max-height: 100px;
    text-align: center;
    font-size: 40px;
    font-family: 'Pixel', Arial, sans-serif;
    border: 2px solid black;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
}

button {
    margin-top: 40px;
    height: 50px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: red;
    color: white;
    font-size: 20px;
    cursor: pointer;
    font-family: 'Pixel', Arial, sans-serif;
    transition: 0.2s ease;
}

button:hover {
    background-color: darkred;
}

#result {
    margin-top: 20px;
    font-size: 22px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .title {
        font-size: 50px;
    }
    input {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    button {
        font-size: 18px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 40px;
    }
    input {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    button {
        font-size: 16px;
        padding: 6px 12px;
    }
}
