/* Basic Reset & Body Styles */
html, body {
    height: 100%; /* Ensure html and body take full viewport height */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.wrapper {
    min-height: 100%; /* Ensure wrapper takes full viewport height */
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header h1, header h2, header h3 {
    margin: 0;
}

/* Main Content Styles */
main {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-grow: 1; /* Allow main content to expand and fill available space */
}

.intro, .content {
    margin-bottom: 20px;
}

.intro h2, .content h2 {
    color: #007bff;
}

.color-blue {
    color: rgb(80, 187, 229);
}

.img-center {
        display: block;
        margin: auto;
}

.alignleft {
float: left;
margin: 4px 24px 7px 0;
}

.awsdx-font {
    font-family: "Shadows Into Light", "Open Sans", sans-serif;
    color: #0088cc;
    font-size: 1.6em !important;
}

.awsdx-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.awsdx-card {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

.awsdx-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.awsdx-card a {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    margin-top: 5px;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
    padding: 5px 0;
}

.awsdx-card a:hover {
    color: #0073e6;
    text-decoration: underline;
}

.awsdx-card:hover {
    transform: scale(1.05);
}

a.card {
    text-decoration: none;
}

a.card:hover {
    text-decoration: underline;
}

pre {
  background-color: #ccc; /* Light grey background */
  padding: 15px; /* Spacing inside the block */
  border-radius: 5px; /* Slightly rounded corners */
  overflow-x: auto; /* Enable horizontal scrolling if content overflows */
}

code {
  font-family: 'Monaco', 'Courier New', monospace; /* Monospaced font for code */
  font-size: 0.9em; /* Slightly smaller font size */
  line-height: 1.5; /* Line height for readability */
  color: #333; /* Darker text color */
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    main {
        width: 90%;
        margin: 10px auto;
        padding: 10px;
    }
    footer {
        padding: 20px 0;
    }
}
