* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 3840px;
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
}

.collection-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin-bottom: 2rem;
}

.collection-item.reverse {
    flex-direction: row-reverse;
}

.collection-item img {
    width: 49%;
    object-fit: cover;
}

.collection-item .text-right, .collection-item .text-left {
    width: 48%;
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-right {
    text-align: left;
}

.text-left {
    text-align: right;
}

.collections h2 {
    line-height: 1.4;
}

footer .container {
    justify-content: center;
}

/* Responsive design for smaller screens */
@media only screen and (max-width: 768px) {
    .collection-item, .collection-item.reverse {
        flex-direction: column;
    }

    .collection-item img {
        width: 100%;
    }

    .collection-item .text-right, .collection-item .text-left {
        width: 100%;
        padding: 0px 0px 20px 0px;
    }

    h2 {
        margin-top: 10px;
    }
}
