*{
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    font-family: sans-serif;
}

body {
    width: 100%;
}

.container {
    width: 85%;
    max-width: 1467px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    margin-top: 85px;
}

.img-container {
    position: relative;
    margin-right: 6em;
}

.navigate{
    background-color: white;
    width: 90px;
    height: 40px;
    border-radius: 1em;
    position: absolute;
    bottom: -15px;
    left: 83px;
    display: flex;
    align-items: center;
    justify-content: space-around;    
}

.quote-img2 {
    position: absolute;
    left: -76px;
    top: -71px;
    z-index: -10;
    width: 134%;
    max-width: 704px;
}

.person-img {
    box-shadow: 6px 16px 13px  #8582aa;
    width: 100%;
}

.text {
    position: relative;
    left: 81px;
    z-index: 10;
}

.quote-img1 {
    position: absolute;
    left: 79px;
    top: -72px;
}

.details {
    font-size: 1.8em;
    color: #37334E;
    font-weight: 300;
    max-width: 640px;
    width: 100%;
    word-spacing: 5px;
}


.quote-img3 {
    position: absolute;
    bottom: 0px;
    z-index: -11;
}

.name-box {
    margin-top: 1.5em;
    font-weight: 900;
    display: flex;
    gap: 10px;
}

#job {
    color: #B9B8C8;
}

.prevBtn {
    cursor: pointer;
}

.nextBtn {
    cursor: pointer;
}


@media only screen and (max-width: 1000px) {
    .container {
        max-width: 900px;
        display: flex;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        margin-top: 100px;
    }

    .text {
        margin-top: 72px;
    }

    .quote-img2 {
        width: 138%;  
    }

    .details {
        font-size: 1.5em;
    }

    .name-box{
        font-size: 0.8em;
    }

}

@media only screen and (max-width: 825px) {
    .container {
        display: flex;
        flex-direction: column-reverse;
        margin: 0 auto;
        max-width: 800px;
        width: 90%;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .text{
        left: 0px;
    }

    .quote-img1 {
        position: absolute;
        left: 182px;
        width: 86px;
        top: -27px;
    }

    .details {
        width: 100%;
        text-align: center;
    }

    .name {
        margin-top: .5em;
        font-weight: 900;
        text-align: center;

    }

    .img-container {
        position: relative;
        margin-right: 6em;
        left: 43px;
        margin-top: 91px;
    }

    .quote-img2 {
        position: absolute;
        left: -76px;
        top: -71px;
        z-index: -10;
        width: 411px;
        max-width: 704px;
    }
    
    .person-img {
        width: 281px;
    }

    .quote-img3 {
        position: absolute;
        bottom: 0px;
        z-index: -11;
        width: 70%;
    }

    .span {
        display: block;
    }

    .navigate {
        background-color: white;
        width: 76px;
        height: 40px;
        border-radius: 1em;
        position: absolute;
        bottom: -15px;
        left: 40px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .name-box {
        margin-top: .5em;
        font-weight: 900;
        display: flex;
        gap: 10px;
        display: flex;
        flex-direction: column;
        font-size: .9em;
    }

    #job {
        color: #B9B8C8;
        text-align: center;
    }

}

@media only screen and (max-width: 400px){
    .container {
        width: 90%;
        font-size: .6em;
    }

    .img-container {
        position: relative;
        margin-right: 6em;
        left: 43px;
        margin-top: 91px;
        width: 65%;
    }

    .person-img {
        width: 104%;
    }

    .details {
        font-size: 1.6em;
    }
    
    .name-box {
        margin-top: 1.5em;
        font-weight: 900;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .quote-img2 {
        position: absolute;
        left: -88px;
        top: -71px;
        z-index: -10;
        width: 160%;
        max-width: 704px;
    }

    .navigate {
        background-color: white;
        width: 55px;
        height: 32px;
        border-radius: 1em;
        position: absolute;
        bottom: -15px;
        left: 20px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .quote-img1 {
        position: absolute;
        left: 103px;
        width: 49px;
        top: -27px;
    }
}



