@font-face {
    font-family: "Ubuntu";
    src: url("./Ubuntu-Medium.ttf") format("truetype"); /* The ./ means "same folder" */
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Ubuntu";
    src: url("./Ubuntu-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Ubuntu";
    src: url("./Ubuntu-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Ubuntu", sans-serif, serif;
    background: #8e90a4;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

a {
    text-decoration: none;
    color: white;
}

a:visited {
    text-decoration: none;
    color: white;
}

/* 2. Header (Matching your other apps) */
.header {
    background-color: #bc81bf;
    flex-shrink: 0;
    padding: 10px 0;
    box-shadow: 1px 1px 1px black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#muno {
    text-shadow: 1px 1px 12px black;
    color: white;
    font-size: 30px;
    margin: 0;
    margin-left: 50px;
}

.headerRight {
    display: flex;
    align-items: center;
    margin-right: 50px;
    gap: 40px;
}

.headerRight a {
    font-size: 20px;
    color: white;
}

/* 3. Main Content (Fully Centered) */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical center */
    align-items: center; /* Horizontal center */

    width: 100%;
}

.homeBody {
    width: fit-content; /* Prevents the block from stretching to full width */
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps text aligned left relative to itself */
}

#mainSqncdLogo {
    font-size: 90px;
    margin: 0;
    text-shadow: 4px 4px 8px black;
}

#mainSubscript {
    font-size: 24px;
    margin: 0 0 30px 0;
}

.homeCopy {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}

#homeImage {
    max-width: 700px;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

#introList {
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
}

.desktopManual {
    width: 100%; /* Fills the full width of main */
    height: 100%; /* Fills the full height of main */
    border: none;
    flex-grow: 1; /* Ensures it takes up all available space */
}

/* Override for pages that contain the PDF */
main:has(.desktopManual) {
    align-items: stretch; /* Prevents the PDF from shrinking to the center */
    padding: 0; /* Optional: removes padding to give the PDF more room */
}

/* 4. Footer */
footer {
    background-color: #bc81bf;
    width: 100%; /* Forces it to span the full width */
    flex-shrink: 0; /* Prevents the footer from collapsing to 0.2rem */
    height: auto; /* Let the content define the height, or use a set px */
    min-height: 40px; /* Gives it enough breathing room for the text */
    padding: 10px 0;
    background-color: #bc81bf;
    text-align: center;
    z-index: 10;
}

/* 5. Cleanup */
.mobileManual,
.sqncdHide {
    display: none;
}
