#satellite-sim {
    color: #00ffcc;
    background-color: #000;
    padding: 1rem;
    /* padding-left: 10px;
    padding-right: 10px; */
    padding-top: 50px;
    position: relative;
    font-family: 'Courier New', Courier, monospace;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#telemetry-display {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;

}

/* #satelliteDisplay-container {
    height: 100%;
} */

/* #satelliteCanvas {
    width: 250px;
    height: 250px;
} */

#telemetryGraph-container {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    
    gap: 1rem;
    height: 100%;
    width: 100%;

}

.sensorOutput-group {
    /* height: 200px; */
    min-width: 175px;
}

.sensorOutput-group canvas {
    width: 100%;
    height: 100%;
    background-color: #111;
    border: 1px solid #00ffcc;
    padding: 0.5rem;
}

#telemetryControls-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
   
    border: 2px solid #00ffcc;
    border-radius: 10px;
    max-width: 250px;
    /* height: 100%; */
    padding: 2px;
}

#telemetryLog {
    list-style: none;
    padding: 0;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

#telemetryControls-container h3 {
    color: #00ffcc;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: center; 
  }

.simToggle {
    background-color: #000;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    padding: 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    justify-items: space-around;
  }
  
.simToggle:hover {
    background-color: #001f1a;
    transform: scale(1.03);
}

.simToggle:active {
    background-color: #003830;
}

.simToggleGroup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

#logHeader {
    margin-bottom: 0;
}

@media (max-width: 468px) {
    #telemetry-display {
        display: flex;
        flex-direction: column;
    
    }

    #telemetryGraph-container {
        grid-template-columns: repeat(autofit, 1fr);
        overflow-y: auto;
        max-height: 400px;
    }

    #telemetryGraph-container::-webkit-scrollbar {
        width: 8px;
      }
      
    #telemetryGraph-container::-webkit-scrollbar-thumb {
    background-color: #00ffcc;
    border-radius: 4px;
    }

    #telemetryControls-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
        margin: 0 auto;
    }
    
    #telemetryControls-container h3 {
        grid-column: 1 / -1; /* spans all 3 columns */
        color: #00ffcc;
        font-size: 1.2rem;
        text-align: center;
        margin: 0;
        padding-bottom: 0.5rem;
    }
    
    .simToggle {
        background-color: #000;
        color: #00ffcc;
        border: 1px solid #00ffcc;
        padding: 0.5rem;
        border-radius: 6px;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9rem;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
    }
    
    .simToggle:hover {
        background-color: #001f1a;
        transform: scale(1.03);
    }
    
}

