/* style.css */
body {
    font-family: Arial, sans-serif;
    background-color: #fff9f0;
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-bottom: 60px; 
}

.calculator {
    width: 300px;
    margin: auto;
    padding: 20px;
    background-color: #f7f2e9;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    width: 300px;
    margin: auto;
    padding: 20px;
    background-color: #f7f2e9;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    text-align: center; 
}

.card i {
    font-size: 24px;
    margin-bottom: 10px;
}

.large-emoji {
    font-size: 12px;
}

.input-field {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #f0ad4e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #ec971f;
}

#result {
    margin-top: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.logo {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.heading {
    color: #555;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ddd;
    font-size: 36px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f7f2e9;
    color: #333;
    font-size: 14px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 30px;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    padding: 20px;
    justify-content: center;
}

@media (max-width: 600px) {
    .calculator {
        width: 90%;
    }

    .card {
        width: 90%;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }

    .input-field, button {
        width: 100%;
    }

    .logo {
        width: 30%;
        max-width: 60px;
    }
}

.language-picker {
    position: fixed; /* Use fixed instead of absolute for a position relative to the viewport */
    top: 10px;
    right: 10px;
    z-index: 1000;
}


#language-select {
    width: auto; /* Adjust this to a specific width or keep it auto and use max-width for flexibility */
    max-width: 200px; /* Example: limit the maximum width */
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

