@font-face {
    font-family: "Space Colony Regular";
    src: url('./fonts/SpaceColony-Regular.ttf') format('truetype');
}
@font-face {
    font-family: "Space Colony Bold";
    src: url('./fonts/SpaceColony-Bold.ttf') format('truetype');
}
@font-face {
    font-family: "Myriad Pro Regular";
    src: url('./fonts/MyriadPro-Regular.ttf') format('truetype');
}

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Space Colony Regular", Arial, sans-serif;
}
body, html {
    width: 100%;
    height: 100%;
}
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: center;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.header-content h2 {
    font-family: "Space Colony Regular";
    font-size: 24px;
}
.header-buttons, .mob-controls {
    display: flex;
    gap: 10px;
}
.header-buttons a, .mob-controls a {
    background-color: #000;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-family: "Space Colony Regular";
}
.header-buttons a:hover, .mob-controls a:hover {
    background-color: #333;
}
.header-buttons a:focus, .mob-controls a:focus {
    outline: 2px solid #fff;
}
.mob-controls {
    display: none;
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.form-container {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    font-family: "Space Colony Regular";
}
.form-container h1 {
    font-family: "Space Colony Bold";
    margin-bottom: 20px;
    text-align: center;
}
.form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.form-container label {
    font-family: "Space Colony Regular";
    font-size: 16px;
}
.form-container input[type="file"],
.form-container textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Space Colony Regular";
    font-size: 14px;
    width: 100%;
}
.form-container button {
    padding: 10px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Space Colony Bold";
}
.form-container button:hover {
    background-color: #002d66;
}
#diagramContainer {
    margin-top: 20px;
    text-align: center;
    font-family: "Space Colony Regular";
}
#downloadButton {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Space Colony Bold";
}
#downloadButton:hover {
    background-color: #002d66;
}
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.image-container img {
    transform: scale(0.85); /* Reduce image size by 15% */
    max-width: 100%;
    height: auto;
}

/* Footer styles */
footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

/* Collapsible content styles */
.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .header-buttons {
        flex-direction: column;
    }
    .mob-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
