.about-page {
    max-width:1366px;
    margin: 3rem auto;
    padding:0 1rem;
}

.section-title{
    text-align: center;
    margin-bottom:2rem;
    font-size:clamp(24px, 1.5vw, 2.5rem)
}

.about-content{
    display: flex;
    flex-direction: row-reverse;
    margin: 1rem auto;
    justify-content: space-around;
    align-items: center;
    margin-bottom:3rem;

}

.about-text{
    padding:1rem;
    line-height: 2rem;
    box-shadow: 2px 2px 10px rgb(82, 82, 82);
    z-index:1;
    max-width:60%;
    background-color: white;
}

.about-text > p {
    margin-bottom:1rem;
    font-size:clamp(16px, 5vw, 1.1rem);
}

.about-img{
    box-shadow: 2px 2px 10px rgb(82, 82, 82);
    transform: rotateX(10deg) rotateY(5deg);
    margin-left:-10px;

}

.about-img > img{
    width:100%;
    object-fit:contain;
}


@media screen and (max-width:1000px) {
    .about-content {
        display:block;
    }

    .about-text {
        max-width:100%;
    }

    .about-img {
        transform:rotateX(0deg) rotateY(0deg);
    }

    .about-img {
        max-width:60vw;
        margin:auto;
        margin-bottom:0.8rem;
    }
}


.team-cards{
    display: flex;
    gap:1.5rem;
    align-items: baseline;
    background-color: rgba(231, 231, 231, 0.308);
    padding:1rem 2rem;
    border-radius:10px;
}

.profileCard{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex:1;
}

.profilePhoto {
    width:250px;
    margin-bottom:0.7rem;
}

.profilePhoto img {
    border-radius:20px;
    width:100%;
    object-fit: contain;
}

.profileName {
    font-size: clamp(18px, 1.5vw, 1.3rem);
    font-weight:600;
}

.profileDesc {
    font-size: clamp(10px, 1vw, 0.9rem);
}

@media screen and (max-width: 1200px) {
    .team-cards{
        flex-wrap: wrap;
    }    
}