@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* Ensure the body fills the full viewport */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: 'VT323', monospace;
    background-color: #f4f4f4;
}

/* Container styling for proper layout */
.container {
    background: white;
    padding: 20px;
    border: 3px solid black;
    box-shadow: 5px 5px black;
    text-align: center;
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    border-radius: 10px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

h1 {
    display: flex;
    align-items: center;
    border: 3px solid black;
    padding: 10px;
    box-shadow: 5px 5px black;
    font-size: 24px;
    text-align: center;
    margin: 0;
}

h1 a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

h2 {
    font-size: 22px;
    text-align: center;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    margin-top: 20px;
}

.logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

/* Project description */
.project-description {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Install Block Styling */
.install-block {
    background: white;
    border: 3px solid black;
    box-shadow: 5px 5px black;
    padding: 15px;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.install-block pre {
    margin: 0;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Image Grid Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    margin-top: 20px;
}

.image-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid black;
    border-radius: 5px;
}

/* Image Overlay Styling */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup Image Styling */
.popup-image {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid white;
    border-radius: 5px;
    box-shadow: 5px 5px black;
    cursor: pointer;
}

/* Button container to ensure proper layout */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Button styling for consistent design */
.check-button {
    font-family: 'VT323', monospace;
    padding: 12px 20px;
    border: 3px solid black;
    background: white;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 3px 3px black;
    text-decoration: none;
    color: black;
    text-align: center;
    min-width: 150px;
}

.article-title {
    font-size: 22px;
    text-align: center;
    padding-bottom: 5px;
    margin-top: 20px;
    border-bottom: none !important;
}

.article-title-underline {
    font-size: 22px;
    text-align: center;
    padding-bottom: 5px;
    margin-top: 20px;
    text-decoration: underline;
    border-bottom: none !important;
}

.check-button:hover {
    background-color: #e0e0e0;
}

/* File upload styling */
.upload-section {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

input[type="file"] {
    font-family: 'VT323', monospace;
    padding: 5px;
    border: 2px solid black;
}

button {
    font-family: 'VT323', monospace;
    padding: 5px 10px;
    border: 3px solid black;
    background: white;
    cursor: pointer;
    box-shadow: 3px 3px black;
}

/* Result box styling */
.result-box {
    border: 3px solid black;
    padding: 10px;
    box-shadow: 5px 5px black;
    text-align: left;
}

article {
    text-align: left;
}

/* Embedded LinkedIn Article Styling */
.article-link, .article-screenshot {
    text-align: center;
    margin: 20px auto;
}

.article-link a {
    display: inline-block;
    padding: 10px 15px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    background: #0077B5;
    color: white;
    border-radius: 5px;
    box-shadow: 3px 3px black;
}

.article-link a:hover {
    background: #005a8e;
}

/* Screenshot Styling */
.article-screenshot img {
    max-width: 100%;
    height: auto;
    border: 3px solid black;
    box-shadow: 5px 5px black;
}

/* Under Construction Image Styling */
.under-construction {
    margin-top: 20px;
}

.under-construction img {
    width: 100%;
    border-radius: 5px;
    border: 3px solid black;
}

/* team-photo image styling */
.team-photo {
    margin-top: 20px;
}

.team-photo img {
    width: 25%;
    border-radius: 5px;
    border: 3px solid black;
}


footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

footer h1 {
    display: flex;
    align-items: center;
    border: 3px solid black;
    padding: 10px;
    box-shadow: 5px 5px black;
    font-size: 24px;
    text-align: center;
    margin: 0;
}

footer h1 a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.spacer {
    height: 20px;
}

/* Ensure responsiveness */
@media (min-width: 768px) {
    h1 {
        font-size: 20px;
    }

    .check-button {
        font-size: 14px;
        padding: 10px 15px;
    }

    .article-screenshot img {
        height: auto;
    }
}