/* adjusting size for about us page title */
#about-title {
    width: 90%;
    min-height: 300px;
    max-height: auto;
    margin: 6% auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4%;

    border: solid 2px #01407E;
    border-radius: 8px;
}

#about-title img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#about-title-info {
    padding: 60px 50px;
}

/* adjusting size for about us information */
#about-description {
    width: 80%;
    margin: 0 auto;
}

#about-description h2, #about-description p {
    text-align: center;
}

#about-description p {
    width: 75%;
    margin: 10px auto;
}

#about-description p:last-of-type {
    margin-bottom: 50px;
}

#about-description img {
    width: 100%;
}

/* adjusting size and display of contact information card */
#contact-info {
    width: 45%;
    margin: 8% auto;
    padding: 40px;

    border: solid 2px #01407E;
    border-radius: 8px;
    rotate: -1.5deg;
}

#logo {
    width: 25%;
    padding-bottom: 15px;
}

/* adjust contact icon styles */
.contact-accounts {
    margin: 1000px 0;
}

.contact-accounts i {
    padding-right: 10px;
    font-size: 2rem;
    color: #01407E;
    line-height: 50px;
}

/* Mobile view adjustments for about title section and contact information section */
@media (max-width: 800px) {
    #about-title {
        flex-direction: column;
    }

    #about-title img {
        display: block;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }
}

@media (max-width: 700px) {
    #contact-info {
        width: 70%;
    }
}