﻿.bio-container {
    margin-top: 2rem;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    padding: 40px;
    background-color: #aaa69d;
    transition: transform 0.3s ease-in-out;
    animation: fadeIn 1s ease-in;
}
.bio-container:hover {
    transform: scale(1.02);
}
.profile-picture {
    display: flex;
    width:auto;
    justify-content: center;
    align-items: center;
}
.profile-picture img {
   border-radius: 50%;
   border: 4px solid white;
   object-fit:cover;
   width:100%;
   box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.biography {
    width:100%;
    padding: 1rem;
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 250;
    text-align: left;
    padding-right: 20px;
}

.bio-heading {
    color: #ecf0f1;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.bio-text {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 200;
    color: #ecf0f1;
}

@media (max-width: 800px) {
    .bio-container {
        flex-direction: column;
        text-align: center;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .biography {
        padding-right: 0;
    }

    .profile-picture {
        margin-top: 5px;
    }
    .profile-picture img {
       width:200px;
    }
    .biography {
        padding: 1rem;
        font-size: 1rem;
        line-height: 1.6;
        font-weight: 300;
    }

    .bio-text {
        font-size: 1.2rem;
        line-height: 1.2rem;
        font-weight: 300;
        text-align:center;
    }
    .bio-heading {
        color: #ecf0f1;
        font-size: 1.2rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 1rem;
        text-align:center;
    }
}

/**
    footer
*/


