/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

*{
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    background-color: #F1E8E4;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.container{
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    color: #111;
    background-color: #eddfd9;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}

h2{
    margin: 50px auto;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4rem;
    text-align: center;

    padding: 0;
}

.marcas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.marca{
    width: 250px;
    height: 250px;
    /*background-color: rgba(0,0,0,0.5);
    border:1px solid red;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.marca img{
    width: 80%;
    height:auto;
    object-fit: contain;
}

.marca img:first-child{
    width: 50%;
    height:auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.marca img:nth-child(2){
    box-shadow: 2px 2px 10px 8px rgba(0,0,0,0.5);
    /*animation: pulse2 2.5s ease-in-out infinite;*/
}

.people{
    width: 100%;
    display: block;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.people img{
    width: 80vw;
    margin: 100px auto 0 auto;
    height: auto;
    border-top-right-radius: 40%;
    border-top-left-radius: 40%;
}


@keyframes pulse2 {
    0% {
      transform: scaleY(0.97) scaleX(0.97);
    }
  
    50% {
      transform: scaleY(1) scaleX(1);
    }
  
    100% {
      transform: scaleY(0.97) scaleX(0.97);
    }
}


@media screen and (min-width:768px) {
    .container{
        background-image: url(home.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh;
        justify-content: flex-start;
    }

    h2{
        margin-top: 15vh;
        font-size: 1.5rem;
        line-height: 1.7rem;
    }

    .marcas{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .marca{
        width: 180px;
    }

    .people{
        display: flex;
        align-items: flex-end;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .people img{
        width: 40vw;
        height: auto;
        margin:0 auto;
    }

    
}

@media screen and (min-width:768px) and (min-height:1000px) {

    h2{
        margin-top: 22vh;
        margin-bottom: 0;
    }

    .marca{
        width: 200px;
    }

    .people img{
        width: 65vw;
        height: auto;
    }
}

@media screen and (min-width:1024px) and (min-height:801px) {
    .people img{
        width: 50vw;
        height: auto;
    }
}

@media screen and (min-width:1000px) and (max-height:800px) {
    .people img{
        width: auto;
        height: 45vh;
    }
}


@media screen and (min-width:1200px) and (min-height:801px) {
    .marca{
        width: 220px;
    }

    .marca img:first-child{
        width: 40%;
        margin-top: 0;
    }

    .people img{
        width: 38vw;
        height: auto;
    }
}

@media screen and (min-width:1800px) {
    h2{
        margin-top: 26vh;
        margin-bottom: 15px;
    }
    
    .marca{
        width: 250px;
    }

    .people img{
        width: 33vw;
        height: auto;
    }
}


@media screen and (min-width:2400px) {
    h2{
        font-size: 3rem;
        margin-top: 23vh;
        margin-bottom: 50px;
    }

    .marcas{
        margin-top: 60px;
    }
    
    .marca{
        width: 12vw;
        
    }

    .marca img:first-child{
        width: 40%;
        margin-top: 0;
    }

    .people img{
        width: 33vw;
        height: auto;
    }
}