/* Reset and structure layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0; /* Ensure no extra spacing around the content */
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    background-color: #dfdfdf;
    color: #333;
}

/* Header Styling */
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    height: 3rem; /* Adjust to the desired header height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-link {
    color: white; /* Match header text color */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.building-link {
    color: rgb(238, 255, 0); /* Match header text color */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding-left: 2rem;
}

.home-link:hover {
    color: #f1c40f; /* Add hover effect */
}

/* Main Content and Iframe Styling */
main {
    flex: 1; /* Ensures main content takes up the remaining space */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure it fills the full height */
}

iframe {
    flex-grow: 1; /* Makes the iframe expand to fill available space */
    border: none;
    width: 100%; /* Full width */
    height: 100%; /* Ensures iframe takes full height of parent */
}

/* Optional Media Query for Mobile */
@media only screen and (max-width: 768px) {
    header {
        height: 2.5rem; /* Reduce header height for smaller screens */
    }

    .home-link {
        font-size: 1rem; /* Smaller font size for mobile */
    }
}
