body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container, .converter-container {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin-bottom: 2rem;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.rate-display {
    font-size: 4rem;
    font-weight: bold;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#rate {
    color: #2c3e50;
}

#arrow {
    margin-left: 0.5rem;
    font-size: 3rem;
}

p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.converter {
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

label {
    font-weight: bold;
    color: #2c3e50;
}

input[type="number"] {
    width: 70%;
    padding: 0.5rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="number"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 0.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    opacity: 0.8;
}

.twitter {
    background-color: #000000;
}

.facebook {
    background-color: #4267B2;
}

.email {
    background-color: #D44638;
}

@media (max-width: 480px) {
    .container, .converter-container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .rate-display {
        font-size: 3rem;
    }

    #arrow {
        font-size: 2.5rem;
    }
}