@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000;
    margin: 0;
    color: #fff;
}

.container {
    background-color: #121212;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 90%;
    width: 400px;
    transition: all 0.3s ease;
}

h1 {
    margin-bottom: 20px;
    font-weight: 500;
    color: #fff;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

input[type="password"],
input[type="text"] {
    width: calc(100% - 100px);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #222;
    color: #fff;
    transition: border-color 0.3s;
}

input[type="password"]:focus,
input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#entropy-result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.3s;
    opacity: 0;
}

#entropy-result.show {
    opacity: 1;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    input[type="password"],
    input[type="text"] {
        width: calc(100% - 80px);
    }

    button {
        padding: 10px;
    }
}
