html {
    height: fit-content;
}

.main-container {
    height: fit-content;
}

.card {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
}

.card-inner-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.card-inner-wrapper img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.card-inner-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light-text-primary);
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767px) {
    .main-container {
        padding: 1rem;
    }

    .main-container h1 {
        font-size: 2rem;
        text-align: center;
    }

    .card {
        padding: 1rem;
        margin: 1rem 0;
    }

    .card-inner-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .card-inner-wrapper img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .card-inner-wrapper p {
        font-size: 1rem;
        text-align: center;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .card-inner-wrapper img {
        width: 350px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .card-inner-wrapper {
        justify-content: space-between;
    }

    .card-inner-wrapper img {
        width: 400px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
