@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500&display=swap');

:root {
    --preto: #282832;
    --bg: #E1E1EB;
}

*, ::after, ::before {
    box-sizing: border-box;
    font-family: 'Public Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--preto);
    font-weight: 400;
}
html {
    font-size: 62.5%;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    font-size: 4vw;
    margin: 0;
    padding: 5vw 5vw 35vw;
    position: relative;
    background: var(--bg);
    text-align: center;
}
img, picture {
    display: block;
    max-width: 100%;
    width: 100%;
}
a, button{
    cursor: pointer;
    display: block;
    width: fit-content;
}

@media (min-width: 700px){
    body {
        font-size: 1vw;
        padding: 3vw 12vw;
    }

    #d2{
        margin-top: 5vw;
    }
    #d2 div{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #img4{
        width: 25vw;
        margin: 0;
    }
    #p5{
        font-size: 1.25vw;
    }



    #d3{
        margin-top: 5vw;
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: left;
    }
    #d3 > div{
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: -5vw;
    }
    #d3 > div > img{
        width: 27vw;
        margin: 0;
    }
    #d3 .texto{
        margin-top: 5vw;
    }
    #d3 .texto > img{
        width: 10vw;
    }
    #d3 .texto > p{
        font-size: 2.6vw;
        margin: 2vw 0;
        width: 37vw;
        line-height: 1;
    }
    #d3 .texto div > img{
        width: 4vw;
    }
    #d3 .texto div > p{
        width: 22vw;
        font-size: 1.25vw;
    }

    #d4{
        margin-top: 5vw;
        display: flex;
        justify-content: space-between;
    }
    #d4 img{
        width: 50vw;
    }
    #d4 > div{
        margin-top: 0;
        position: relative;
        top: -2.5vw;
    }

    #d5{
        margin-top: 5vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    #d5 > div{
        width: 23vw;
        text-align: left;
    }
    #d5 .biografia > p:first-child{
        font-size: 3vw;
        margin: 1vw 0;
        white-space: nowrap;
    }
    #d5 img{
        width: 12.5vw;
        margin: 0 auto 0 0;
    }


    #d6{
        margin-top: 0;
    }
    #d6 img{
        scale: 1.2;
    }

    #d7{
        margin-top: 10vw;
        flex-direction: row;
        justify-content: space-between;
        gap: 3vw;
    }
    #d7 img{
        width: 25vw;
        margin: auto;
    }
    #d7 p{
        font-size: .8vw;
    }
}