body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-start; /* Align content to the top */
    align-items: center; /* Center horizontally */
    height: 100vh;
    background-color: #f2f2f2;
    font-family: 'Source Sans Pro', sans-serif;
}
.app-icon {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    margin-right: 10px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.header h1 {
    margin: 0;
    font-size: 2em;
}

#time {
    font-size: 1.5em;
    color: #555;
}

.dashboard {
    display: grid;
    grid-template-columns: 0.5fr 2fr; /* Two columns: 1/3 for name, 2/3 for iframe */
    gap: 10px;
    width: 67%; /* Adjust to control width of the grid */
}

.row {
    display: contents; /* Keep rows aligned with the grid structure */
}

.station-name {
    font-size: 1.2em;
    text-align: center;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #50a529;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
}

.iframe-container {
    width: 83%;
    height: 30vh;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

iframe {
    position: absolute;
    top: -60px; /* Adjust to crop vertically */
    left: 0px; /* Adjust to crop horizontally */
    width: 1500px; /* Adjust to match the content width */
    height: 700px; /* Adjust to match the content height */
    transform: scale(0.6); /* Zoom for better fit */
    transform-origin: top left;
    border: none;
}

.footer {
    margin-top: auto; 
    text-align: center;
    font-size: 0.7em;
    color: #555;
    padding: 10px;
    width: 100%;
}

.footer a {
    color: #007b19;
    text-decoration: none;
}

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