html {
    background-color: #68b3fe;
    color: #000000;
    text-decoration: none;
    font-family: "Happy Monkey", system-ui;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: transparent;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0; /* Ensure there's no default body margin */
}

header {
    text-align: center;
    margin-bottom: 20px; /* Space below header */
}

.title {
    font-weight: 900;
    font-size: 3rem;
}

.infoContainer {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center child items */
    gap: 1rem; /* Space between items */
    color: #ffffff;
}

.infoItem {
    font-weight: 500;
}

.aboutme {
    border: 10px solid #b57411; /* Optional: add a border for visibility */
    border-radius: 30px; /* Rounds the corners */
    color: white;
    background-color: #b57411;
    padding: 20px; /* Added padding for better spacing */
    max-width: 800px; /* Ensure it doesn't exceed max width */
    margin: 0 auto; /* Center it on the page */
}

main {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center child elements */
    padding: 1rem;
    width: 90%; /* Make it responsive */
    margin: 0 auto; /* Center the main content */
}

article {
    background-color: #ffffff; /* Background color for articles */
    border-radius: 1rem; /* Rounded corners */
    padding: 1rem; /* Space inside each article */
    width: 100%; /* Full width */
    max-width: 400px; /* Limit max width for articles */
    text-align: center; /* Center align text in articles */
    margin: 1rem 0; /* Space between articles */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.tagContainer {
    margin-top: 0.5rem; /* Space above tag container */
}

.tagItem {
    background-color: transparent;
    color: rgb(6, 34, 75);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-style: italic;
}

.container {
    width: 400px; /* Use flexbox for layout */
    height:auto; /* Allow items to wrap to the next line */
   border-radius: 30px;
}

.container img {
    width: 400px; /* Set width to 400px */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Slightly curved corners */
}
a {
    color: inherit;
    text-decoration: inherit;
}

.backHover:hover {
    color: #ffffff;
    background-color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
}

.link {
    background-color: white;
    padding: 1rem 1rem;
    border-radius: 30px;
}

footer {
    margin-top: 20px;
}

.rationale {
    border: 10px solid #cea66a; /* Optional: add a border for visibility */
    border-radius: 30px; /* Rounds the corners */
    color: white;
    background-color: #e5bd7f;
    padding: 20px; /* Added padding for better spacing */
    max-width: 800px; /* Ensure it doesn't exceed max width */
    margin: 0 auto; /* Center it on the page */

}


.rationale p {
    color: black;

}

/* Responsive styles */
@media screen and (max-width: 800px) {
    main {
        width: 95vw; /* Adjust for smaller screens */
    }

    .infoContainer {
        flex-direction: column; /* Stack items for smaller screens */
        align-items: center; /* Center items */
    }

    .aboutme {
        width: 90%; /* Adjust about me section width for mobile */
    }

    article {
        width: 90vw; /* Ensure articles take more width on mobile */
        margin: 0.5rem auto; /* Adjust margin for mobile */
    }

    .tagItem {
        width: 100%; /* Make tag items full width on smaller screens */
    }
}
