/* General Reset */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(0, 0, 0); /* Dark background */
    color: #ccc; /* Light text */
    font-family: Arial, sans-serif;
}

/* Top Bar */
#supportBar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(20, 20, 20);
    color: #fff;
    padding: 10px 0;
}

/* Logo */
.logo-container {
    text-align: center;
    margin: 10px 0;
}

.logo-container img {
    width: 50%; /* Set the width to 50% of the backplane */
    max-width: none; /* Prevent clamping at a fixed size */
    height: auto; /* Maintain aspect ratio */
}

/* Frame Container */
.frame {
    position: relative;
    width: 75vw; /* Dynamic width */
    aspect-ratio: 1920 / 1024; /* Maintain backplane aspect ratio */
    margin: 0 auto; /* Center frame */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent overflow */
}

/* Backplane */
.backplane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain; /* Scale backplane to fit */
    z-index: 0;
}

/* Servers Container */
.servers {
    display: flex;
    justify-content: space-evenly; /* Even spacing */
    align-items: center; /* Align perfectly with backplane */
    width: 100%;
    height: 100%; /* Match the height of the frame */
    z-index: 1; /* On top of the backplane */
}

/* Server Container */
.server {
    position: relative;
    width: auto; /* Allow scaling */
    height: 100%; /* Match server height to the frame */
    aspect-ratio: 336 / 1024; /* Maintain icon aspect ratio */
}

/* Server Icon */
.server img.icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Match container width */
    height: 100%; /* Match container height */
    object-fit: contain; /* Ensure proper scaling */
}

/* Modules Container */
.server .modules {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%; /* Match the height of the server */
}

/* Individual Module Images */
.server .modules img {
    width: 100%; /* Match the width of the modules container */
    height: auto; /* Maintain aspect ratio */
}

/* Bottom Bar */
#privacyEthicsLink {
    text-align: center;
    padding: 10px 0;
    background-color: rgb(20, 20, 20);
    color: #fff;
    margin-top: auto;
}
