/* Global CSS styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center; /* Center align all content */
    height: 100%; /* Ensure body takes up full height */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack flex items vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

a {
    text-decoration: none;
    color: inherit; /* Inherit link color from parent */
}

/* Header styles */
.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 25px; /* Adjusted logo size */
    height: auto;
}

.link {
    font-size: 12px; /* Adjusted link font size */
}

/* Infographic styles */
.infographic {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center-align the text */
}

    .infographic h2 {
        margin-top: 0;
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .infographic p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .infographic ul {
        list-style-type: none;
        padding-left: 0;
    }

        .infographic ul li {
            margin-bottom: 10px;
        }

/* Conversion section styles */
.conversion-section {
    margin-bottom: 20px;
}

.conversion-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.conversion-input {
    width: 200px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.conversion-result {
    margin-top: 5px;
}

/* Footer styles */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 20px; /* Add space between content and footer */
    border-radius: 10px; /* Add border-radius for rounded corners */
    background-color: #99ccff; /* Adjusted background color */
    color: #333; /* Adjusted text color */
}

iframe {
    width: calc(50% - 10px); /* Each iframe takes up half of the width with 10px spacing */
    height: 250px;
    border: none;
    border-radius: 10px; /* Add border-radius for a smoother appearance */
}

/* Button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #ff69b4; /* pink */
    color: #000000; /* black */
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    transition: background-color 0.3s ease;
}

    .button:hover {
        background-color: #ff1493; /* darker pink on hover */
    }
