.aboutcard-container {
    margin: 50px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.aboutcard {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
	padding: 5px;
    margin-bottom: 30px;
    background-color: var(--background-color);
    font-size: 18px;
    overflow: hidden;
	flex-direction: row;
}

.aboutcard-innerbox.reverse {
    flex-direction: row-reverse;
}

.aboutcard-innerbox {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.aboutcard-img {
    flex: 0 0 30%;
    width: 100%; 
    max-width: 40%; 
    height: auto; 
    max-height: 450px;
    border-radius: 10px;
    object-fit: cover; 
}

.aboutcard-textbox {
    flex: 1; 
    padding: 20px;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aboutcard-title {
    font-family: 'Voces', 'Open Sans', arial, sans-serif;
	font-weight: 600;
    font-size: 28px;
}

.aboutcard-bar {
    width: 50px;
    height: 5px;
    margin: 0px 0px 15px 0px;
    border-radius: 5px;
    background-color: var(--accent-color);
    transition: width 0.2s ease;
}
.aboutcard-description {
    font-size: 15px;
    color: #424242;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Mobile Styles */
@media screen and (max-width: 768px) {
	.aboutcard {
        height: auto; 
        flex-direction: column; 
        overflow: visible;
    }

	.aboutcard-innerbox.reverse {
		flex-direction: column-reverse;
	}

    .aboutcard-innerbox {
        flex-direction: column-reverse; 
        width: 100%;
    }

    .aboutcard-img {
        flex: 0 0 auto; 
        width: 90%; 
        max-height: 100%; 
		max-width: 100%; 
        object-fit: cover; 
    }

    .aboutcard-textbox {
        flex: 1 0 auto; 
        padding: 15px; 
        font-size: 15px; 
        display: block; 
        overflow: visible; 
    }
}