/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Consolas, "Courier New", monospace;
    background-color: #f4f4f4;
    color: black;  /* Font color set to black */
    line-height: 1.6;
    padding: 20px;
    height: 100%; /* Full height for body */
}

/* Container for layout */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content from the top */
    height: 100%; /* Ensure container fills the page */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Logo Styling */
.logo img {
    width: 250px;  /* Increased size for logo */
    height: auto;
    display: block;
    margin: 0 auto 30px auto; /* Center the logo horizontally and add space below */
}

/* Story Section Styling */
.story {
    max-width: 800px;
    text-align: justify;
    flex: 1;  /* This will allow the story section to take available space */
    margin-bottom: 20px;  /* Add space after story */
}

.story p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Styling for the word "A1 STRUCTURE" */
strong {
    text-transform: uppercase; /* This ensures the word A1 STRUCTURE appears in uppercase */
}

/* Contact Section Styling */
.contact {
    padding: 20px;
    background-color: #f8f8f8;
    text-align: center;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.contact p {
    margin: 10px 0;
}

.contact a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 15px;
    }

    .logo img {
        width: 200px;  /* Adjust logo size on mobile */
    }

    .story h1 {
        font-size: 2em;
        text-align: center;
    }

    .story p {
        font-size: 1em;
    }
}

/* PC View */
@media (min-width: 769px) {
    .container {
        flex-direction: column; /* Keep it column for larger content */
        align-items: center;    /* Center everything */
    }

    .logo {
        text-align: center;  /* Ensure logo is centered */
        margin-bottom: 30px;   /* Add margin to separate logo from content */
    }

    .story {
        text-align: justify; /* Ensure the text is justified on large screens */
        max-width: 800px; /* Keep the story text area centered and not stretched */
    }
}
