@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i");
@import url(fontawesome-all.min.css);
/* Base Styles */
body {
    margin: 0;
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.65;
    font-family: "Source Sans Pro", Helvetica, "helvetica neue";

}

/* Sections */
section {
    width: 60%;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.97);

}

/* Banner Section */
.banner {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping of children */
    flex-direction: row; /* Default to side-by-side layout */
    align-items: stretch;
    width: 100%;
    height: auto; /* Let the height adjust based on content */
    background-color: #ffffff; /* Background color for fallback */
}

.banner .content {
    flex: 1 1 300px; /* Allow it to grow, shrink, and have a base size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 1rem; /* Add padding for spacing */
}

.banner .image {
    order: -1;
    flex: 1 1 300px; /* Allow it to grow, shrink, and have a base size */
    position: relative;
    overflow: hidden;
    width: 100%; /* Ensure it spans full width in wrap mode */
    height: auto; /* Adjust height based on content */
}

.banner .image img {
    width: 100%; /* Stretch to cover full width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure image covers its container */
}

.banner .content h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #333;
}

.banner .content p {
    padding-right: 5%;
    font-size: 1.2rem;
    color: #666;
}
.blog-post {
    border-radius: 12px;
    justify-self: center;
    margin: 1.5rem 0;
    padding: 1rem;
    padding-left: 10ch;
    padding-right: 10ch;
    width: 65%;
    box-sizing: border-box;
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.1),
    0 3px 3px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.blog-post h3, .blog-post p, .blog-post h2 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
    padding: 1rem;
    color: black;
}

.blog-post h3 {
    font-size: 1.3rem;
    font-weight: bold;
}

.blog-post p {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .blog-post {
        width: 90%;
        padding-left: 4ch;
        padding-right: 4ch;
    }

    .blog-post h2, .blog-post h3 {
        font-size: 1.3rem;
    }

    .blog-post p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 1rem;
    }

    .blog-post h2, .blog-post h3 {
        font-size: 1.2rem;
    }

    .blog-post p {
        font-size: 0.9rem; /* Smaller font size for compact spaces */
    }
}


/* Buttons */
.button{
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.125em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 0.75rem;
    max-width: 20rem;
    height: 3.75em;
    line-height: 3.75em;
    border-radius: 3.75em;
    padding: 0 2.5em;
    text-overflow: ellipsis;
    overflow: hidden;
}
.button {
    background-color: rgba(255, 255, 255, 0.801);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    color: #000000 !important;
}
.button:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.47);
    color: #47D3E5 !important;
}
.button:active {
    background-color: rgba(71, 211, 229, 0.2);
    box-shadow: inset 0 0 0 1px #47D3E5;
    color: #47D3E5 !important;
}

/* Form Styles */

.fields {
    align-content: center;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* Allow fields to wrap on smaller screens */
    width: 100%;
}

.field {
    flex: 1 1 45%; /* Flexible field with a base width of 45% */
    min-width: 250px; /* Ensure fields don't get too narrow */
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 2px;
    font-size: 1rem; /* Maintain legibility */
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
    resize: none;
}
.inner {
    padding: 1rem;
    margin: 0 auto;
    max-width: 100%; /* Ensure no overflow */
    width: 64rem; /* Default width for larger screens */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inner.medium {
    width: 65%; /* Default medium size for smaller screens */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

form {
    margin: 0 0 2rem 0; /* Space below the form */
}

form > :last-child {
    margin-bottom: 0; /* Remove margin for the last element */
}

.inner.medium > .fields {
    display: flex; /* Flexbox for responsive layout */
    flex-wrap: wrap; /* Wrap items to the next row if necessary */
    gap: 1.5rem; /* Space between the fields */
    margin: -1rem 0 2rem -1rem; /* Adjust negative margins for spacing */
}
.field.half:active{
    color: #47D3E5;
    box-shadow: inset 0 0 0 1px #47D3E5;
}
.field:active{
    color: #47D3E5;
    box-shadow: inset 0 0 0 1px #47D3E5;
}
.inner.medium > .fields > .field {
    box-sizing: border-box; /* Include padding in width calculations */
    text-align: center;
}

.inner.medium > .fields > .field.half {
    width: calc(50% - 0.75rem); /* Half-width for fields on larger screens */
}

.inner.medium > .fields > .field.input,
.inner.medium > .fields > .field.textarea {
    width: 100%; /* Full width */
    padding: 0.8rem; /* Internal padding for inputs */
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.81); /* Subtle border */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 1px 1px rgba(63, 26, 26, 0.63);
    font-size: 1rem; /* Input font size */
    color: #333; /* Input text color */
}

/* Footer Styles */
.footer {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 20px;
    display: flex;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* Add spacing between sections for smaller screens */
    margin-top: 1rem;
}

/* Inner Container */
.inner {
    display: flex;
    flex-wrap: wrap; /* Ensure flexibility on small screens */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem; /* Spacing between sections */
}

/* Section Styling */
.left,
.center,
.right {
    flex: 1; /* Equal width for all sections */
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

/* Icon List */
.icons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for small screens */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* Add spacing between icons */
    justify-content: center;
    align-items: center;
}

.icons li {
    display: inline-flex;
}

/* Links */
footer a {
    color: #000000;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Icon Styles */
ul.icons .icon {
    padding-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.icon:before{
    font-family: 'Font Awesome 5 Free', serif;
}
.icon.brands:before {
    font-family: 'Font Awesome 5 Brands', serif;
    font-weight: 400;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
}

.icon.style2:before {
    border-radius: 50%; /* Circular icons */
    display: inline-block;
    height: 2.75em;
    width: 2.75em;
    line-height: 2.75em;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

a.icon.style2:hover:before {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.47);
    color: #47D3E5;
}

a.icon.style2:active:before {
    background-color: rgba(71, 211, 229, 0.1);
    box-shadow: inset 0 0 0 1px #47D3E5;
    color: #47D3E5;
}

/* Text Alignments */
footer p {
    text-align: start;
}
.footer ul{
    background: transparent;
}
footer li {
    text-align: end;
    list-style: none;
    padding: 0;
}
ul {
    justify-self: center;
    margin: 0;
    padding: 0;
    list-style: none;
}