body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
}
.container {
    width: 90%;
    max-width: 1000px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: 8px;
}
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}
p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.thai-font {
    font-family: "Noto Serif Thai", serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Adjust as needed */
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-align: justify;
    text-justify: inter-character;
}

.video-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
}

.video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* This ensures the video covers the entire container */
}

.images {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.images img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.payment-method {
    margin-bottom: 20px;
    min-height: 300px;
}
.leetchi-link {
    text-align: center;
    margin-bottom: 20px;
}

.payment-methods-container {
    text-align: center;
    margin-top: 20px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.payment-method img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 300px;
}

.payment-method p {
    margin-top: 10px;
    font-size: 16px;
}

#amount-options {
    margin-top: 10px;
}

#amount-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

#amount-options input[type="number"] {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #4caf50;
    text-align: center;
}

.thank-you p {
    font-size: 15px;
    text-align: left;
}

.leetchi-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.donation-form {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}
.donation-form input,
.donation-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.donation-form label {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    margin-bottom: 5px;
}

.donation-form #highlight {
    font-weight: bold;
}
.donation-form #cb-highlight{
    display: flex !important; 
    flex-direction: row !important;
    align-items: center;
    margin-bottom: 10px;
    width: auto;
}

/* Highlight effect for expanded checkbox groups */
.highlight-expanded {
    border: 2px solid #4caf50;
    padding: 10px;
    border-radius: 5px;
    background-color: #e8f5e9;
    transition: all 0.3s ease;
}

.inline-label,
#cb-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.inline-label input[type="checkbox"],
#cb-highlight input[type="checkbox"] {
    margin-right: 5px;
    width: 10%;  /* Limit width to 10% */
}

.donation-form #communication-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}
.donation-form #communication-options label {
    width: 45%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.donation-form #communication-options label input {
    margin-right: 5px;
}
.donation-form #skills-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}
.donation-form #skills-options label {
    display: block;
}
button[type="submit"] {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    align-self: center;
    margin-top: 10px;
}
.total-raised,
.num-contributors {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
}
.language-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.language-selector a {
    margin: 0 10px;
    text-decoration: none;
}
.language-selector .flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.2s;
}
.language-selector .flag-icon:hover {
    transform: scale(1.1);
}
.language-selector .active .flag-icon {
    border: 2px solid #4caf50;
}
/* Centering the CTA button */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f76c6c;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 20px auto;
    text-align: center;
}
.cta-button:hover {
    background-color: #ff4040;
    transform: scale(1.05);
}
.cta-contribution {
    display: flex;
    align-items: center;
    justify-content: center;
}

.amount-input-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust the gap between the input and select as needed */
}

.amount-input-container input[type="number"] {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.amount-input-container select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    min-width: 70px; /* Adjust this value to make the select box wider */
    margin-bottom: 10px;
}

.contribution-section {
    margin: 20px 0;
}

.contribution-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.contribution-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.contribution-section h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

.contribution-section ul {
    list-style-type: disc;
    padding-left: 40px;
}

.contribution-section ul li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 5px;
    text-align: left;
}

.contribution-section {
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #ccc; /* Add border around the contribution section */
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9; /* Light background color */
}

.contribution-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #4caf50; /* Green color for title */
}

.contribution-details {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 10px; /* Space between columns */
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.contribution-details p {
    font-size: 18px;
    margin: 0;
}

.contribution-details .label {
    text-align: right;
    font-weight: bold;
}

.contribution-details .value {
    text-align: left;
    color: #4caf50; /* Green color for values */
    font-weight: bold;
}
.intro-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.intro-section img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #ddd;
}

.intro-section .intro-content {
    flex: 1;
}

.intro-section .intro-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.intro-section .intro-content p {
    font-size: 20px;
    text-align: justify;
    text-justify: inter-character;
    line-height: 1.5;
    color: #555;
}

.intro-section .intro-content p:first-of-type {
    margin-top: 0;
}

.intro-section .intro-content p:last-of-type {
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .intro-section {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        text-align: center;
    }

    .intro-section img {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .intro-section .intro-content {
        width: 100%;
    }

    .intro-section .intro-content h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .intro-section .intro-content p {
        font-size: 20px;
        line-height: 1.4;
        text-align: justify;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .contribution-details {
        grid-template-columns: 1fr; 
    }
    .contribution-details .label,
    .contribution-details .value {
        text-align: center; 
    }
}

@media (min-width: 600px) {
    h1 {
        font-size: 28px;
    }
    p {
        font-size: 20px;
        text-align: justify;
    }
}
.tshirt-image-container {
    text-align: center;
    margin: 20px 0;
}

.tshirt-image-container img {
    width: 90%;
    max-width: 600px; /* Optional: You can set a maximum width if needed */
    height: auto;
}

@media (min-width: 768px) {
    .tshirt-image-container img {
        width: 80%;
    }
}