.container,
.main-section {
    margin: 0 auto
}

.member-img,
.nice-designs-container {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .3)
}

.nice-designs {
    width: 35vw;
    max-width: 32.8rem;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    grid-row: 2
}

.nice-designs-container {
    border-radius: 3.125rem;
    padding: .625rem 1.25rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-content: center;
    align-items: center;
    height: 630px
}

.nice-designs.show {
    opacity: 1;
    transform: scale(1)
}

.nice-designs.hide {
    opacity: 0;
    transform: scale(.5)
}

.info-1 {
    transform: rotateX(20deg) rotateY(10deg)
}

.info-2 {
    text-align: center
}

.welcome-container {
    height: 88vh;
    max-height: 625px
}

.welcome {
    display: hidden;
    font-size: min(4.375rem,15vw);/*responsive font size for welcome message*/
    line-height: 1.2;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem
}

.glimse-of-services,
.glimse-of-team {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comment,
.function,
.member {
    text-align: left
}

.section-title {
    margin-bottom: 0
}

.arrow-down {
    margin: .625rem auto;
    width: 70vw
}

.img-design {
    margin-bottom: 1.5625rem
}

.service {
    margin-bottom: .3125rem
}

.conclude {
    padding-top: 1.25rem
}

.team {
    display: grid;
    justify-content: left;
    align-items: center;
    gap: 6.25rem
}

.member {
    display: grid;
    justify-content: left;
    align-items: center
}

.name {
    font-weight: 600;
    margin-bottom: 0
}

.function {
    margin-top: 0
}

.member-img {
    width: 45vw;
    max-width: 16rem;
    border-radius: 1.25rem
}

.Ebrima {
    padding-top: 1.875rem
}

.slideIn{
    opacity: 0;
    transform: translateX(25%);
}

@media (min-width:768px) {
    .team {
        justify-content: center
    }

    .Algasim,
    .Ebrima,
    .Sulayman {
        display: flex;
        justify-content: space-around;
        align-items: center
    }

    .member {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center
    }

    .comment {
        margin-left: 50px;
        width: 40%
    }

    .main-section {
        max-width: 93.75rem
    }
}

@media (max-width:767px) {
    .nice-designs {
        width: 15rem;
        margin: 0 auto
    }

    .nice-designs-container {
        width: 17rem;
        height: 470px;
        margin: 0 auto
    }
}

@media(max-width:423px) {
    .welcome {
        line-height: normal
    }
}