* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    font-size: 17px;
}

body {
    background-color: var(--background-color);
}
main {
    margin: auto;
    width: 96%;
    max-width: 1180px;
    display: flex;
    justify-content: center;
    min-height: 97vh;
    gap: 48px;
    padding-top: 10vh;
}

footer{
    display: none;
}

.img-container {
    width: 35%;
    border: 10px solid var(--color-border);
    overflow: hidden;
    height: 700px;
}

.img-container .img {
    background-size: cover;
    background-position: center center;
    height: 100%;
    background-repeat: no-repeat;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.img.active {
    display: block;
    opacity: 1;
}

.img-container div {
    background-size: contain;
}

.text-container {
    width: 56%;
    text-align: center;
}

.static-text-container {
    margin: 10px;
}

.static-text-container h1 {
    color: var(--color-error);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50px;
    text-shadow: var(--text-shadow);
    margin-bottom: 20px;
}

.static-text-container .header-description {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.static-text-container .addt-description {
    font-size: 17px;
    margin-bottom: 10px;
}

.static-text-container p:last-child {
    font-size: 17px;
}

.step {
    display: none;
}

.dynamic-text-container h2 {
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.dynamic-text-container p {
    margin-bottom: 10px;
}

.button-containers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
}

.button-containers button {
    background-color: var(--color-primary);
    color: #fff;
    border: 5px solid var(--color-border);
    line-height: 70px;
    width: 45%;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 24px;
}

.button-containers button:hover {
    background-color: var(--hover-color);
}

button:hover {
    background-color: var(--hover-color);
}

label {
    font-size: 1.5em;
    line-height: 35px;
}

.checkbox-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 2 equal columns */
    max-width: 600px; /* Adjust width as needed */
    margin: auto;
    margin-bottom: 10px;
}

label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--color-text);
}

input[type='checkbox'] {
    display: none; /* Fully hides the default checkbox */
}

/* Custom checkbox */
.checkmark {
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-border);
    display: inline-block;
    margin-right: 10px;
    position: relative;
}

/* Change color when checked */
input[type='checkbox']:checked + .checkmark {
    background-color: var(--color-accent);
}

/* Custom check icon */
input[type='checkbox']:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background-image: url(../images/check.png);
    background-size: contain;
    transform: translate(-50%, -50%);
}

.progress-bar-container {
    border: 1px solid var(--color-border);
    height: 2em;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar-status-text p {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.number {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 24px;
    line-height: 35px;
    background-color: var(--color-accent-secondary);
    display: inline-block;
    margin-right: 10px;
    text-align: center;
}

.last-step-items {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.last-step-items.show {
    opacity: 1;
    transform: translateY(0);
}

.numbered-items-container > p {
    font-weight: bold;
}

.numbered-items-container + p {
    margin: 24px 0;
}

.success-text {
    font-weight: bold;
    color: var(--color-success);
    text-shadow: var(--text-shadow);
}

.error-text {
    font-weight: bold;
    color: var(--color-error);
    text-shadow: var(--text-shadow);
}

footer {
    background-color: var(--color-overlay);
    position: relative;
}

footer .footer-links,
.footer-text p {
    color: var(--background-color);
    text-align: center;
    padding: 10px 20px;
    margin: 0 auto;
}

.footer-links a {
    color: var(--background-color);
    font-size: 11px;
}

.footer-text p {
    max-width: 960px;
    font-size: 11px;
}

@media (max-width: 995px) {
    main {
        flex-direction: column;
        gap: 20px;
    }
    .img-container {
        width: 90%;
        margin: auto;
    }
    .text-container {
        width: 96%;
    }
}

@media (max-width: 730px) {
    .static-text-container h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .static-text-container .header-description {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .static-text-container .addt-description {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .dynamic-text-container h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .img-container {
        height: 400px;
    }

    .text-container {
        width: 96%;
    }

    .button-containers {
        flex-direction: column;
        gap: 10px;
    }

    .button-containers button {
        width: 100%;
        line-height: 50px;
        font-size: 18px;
    }
}
