/* Small boxes */
.smallleft-box, .smallright-box, .smallcenter-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #530808;
    color: white;
    border-radius: 1px;
    box-shadow: 0 2px 8px #530808;
    max-width: 400px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.smallleft-box {
    margin-left: 0;
    margin-right: auto;
    flex-direction: row-reverse; /* Image now on right */
}
.smallcenter-box {
    margin-left: auto;
    margin-right: auto;
   
}
.smallright-box {
    margin-left: auto;
    margin-right: 0;
    flex-direction: row; /* Image now on left */
}

.smallbox-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 4px 16px #530808;
    margin: 0 1rem;
}

@media (max-width: 600px) {
    .smallleft-box, .smallright-box, .smallcenter-box {
        flex-direction: column;
        align-items: stretch;
        max-width: 90vw;
        padding: 1rem;
    }
    .smallbox-img {
        margin: 0 0 1rem 0;
        width: 80px;
        height: 80px;
    }
}

/* Large boxes */
.largeleft-container, .largeright-container, .largecenter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.largeleft-container {
    flex-direction: row-reverse; /* Image now on right */
}
.largecenter-container {
    flex-direction: row-reverse; /* Image now on right */
}

.largeright-container {
    flex-direction: row; /* Image now on left */
}

.largebox-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 4px 16px #530808;
    margin: 0 2rem;
}

.largeleft-box, .largeright-box, .largecenter-box {
    background: #530808;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px #530808;
    max-width: 400px;
    padding: 2rem;
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 800px) {
    .largeleft-container, .largeright-container, .largecenter-container {
        flex-direction: column;
    }
    .largebox-img {
        margin: 0 0 2rem 0;
        width: 90vw;
        height: auto;
        max-width: 320px;
    }
    .largeleft-box, .largeright-box, .largecenter-box {
        max-width: 95vw;
        padding: 1rem;
        font-size: 1rem;
    }
}
.textdiv{
    background-color: #530808;
    color: white;
    padding: 5%;
    border-radius: 20px;
    margin-bottom: 3%;
    box-shadow: #ff0217 0px 0px 10px;
}
.textboximg{
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px #530808;
    
    padding: 5%;
}
.photoblogimg{
    max-width: 500px;
    
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px #530808;
    
    padding: 5%;
}