/* Global Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    color: #333;
}

.header {
    background-color: #ffcd00;
    color: #e30613;
    padding: 20px 0;
    text-align: center;
    font-family: 'Lego', sans-serif;
}

.lego-logo h1 {
    font-size: 2.5em;
    margin: 0;
}

.intro {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Tabs Container */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.tab-button {
    background-color: #e30613;
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    cursor: pointer;
    font-family: 'Lego', sans-serif;
    border-radius: 8px;
}

.tab-button:hover {
    background-color: #d1a100;
}

/* Conversion Blocks */
.converter-container {
    display: flex;
    justify-content: center;
    padding: 40px;
    flex-wrap: wrap;
}

.converter-block {
    background-color: #ff6f61;
    color: white;
    padding: 20px;
    margin: 10px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.converter-block:hover {
    transform: scale(1.05);
}

input[type="text"], select {
    padding: 10px;
    margin-top: 15px;
    width: 100%;
    border-radius: 8px;
    border: none;
    box-sizing: border-box;
}

button {
    padding: 15px 20px;
    background-color: #00b5e2;
    color: white;
    border: none;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #00a2d9;
}

/* Ad Styling */
.adsense-top, .adsense-bottom {
    text-align: center;
    margin-top: 20px;
}

.adsbygoogle {
    display: inline-block;
}

/* Lego Block Style */
@font-face {
    font-family: 'Lego';
    src: url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
}

