html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: sans-serif;
    width: 100%;
    margin: 0;
}

p {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
}

.main {
    max-width: 768px;
    margin: 0 auto;
}

section {
    margin-bottom: 2rem;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.bad-css-example {
    background-color: rgba(242, 255, 255, 0.74);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

.form-css {
    max-width: 768px;
    /* Adjust this value based on your desired max-width */
    margin: 0 auto;
    padding: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-item .input {
    max-width: 100%;
}

.label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.input {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    width: 100%;
    padding: 0.625rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.5);
}

.form-group {
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox {
    height: 1.25rem;
}

.checkbox-input {
    width: 1rem;
    height: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    background-color: #f9fafb;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.checkbox-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.6);
}

.checkbox-label {
    margin-left: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}

.link {
    color: #3b82f6;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.submit-btn {
    color: #ffffff;
    background-color: #3b82f6;
    border: none;
    font-weight: 500;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    width: 100%;
    padding: 0.625rem 1.25rem;
    text-align: center;
    transition: background-color 0.15s ease-in-out;
}

.submit-btn:hover {
    background-color: #2563eb;
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.5);
}

article {
    text-align: left;
}

img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.doc-image {
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease-in-out;
}

pre {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

code {
    font-family: 'Source Code Pro', monospace;
    font-size: 1rem;
    color: #a9b7c6;
}

.highlight {
    color: #ffc66d;
}

hr {
    opacity: 0;
}

.email-section {
    text-align: center;
}

.email-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Optional: Adjust this value if you want the container to have a minimum height */
}