/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
* Date: 18/08/2020
*/

/*Visualização padrão para dispositivos móveis */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    line-height: 1.2;
}

/* ::-webkit-scrollbar {
    width: 5px;
  } */

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.35rem;
}

.icone-menu {
    position: fixed;
    top: 8px;
    right: 8px;
    background-color: #fff;
    padding: 3px 7px;
    font-size: 1.8rem;
}

.icone-menu i {
    margin: 0 auto;
}

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100vh;
    line-height: 50px;
    width: 55vw;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    -webkit-box-shadow: #777 0px -2px 8px;
    box-shadow: #777 0px -2px 8px;
    z-index: 1;
    padding-top: 45px;
}

#menu {
    -webkit-transform: translateX(60vw);
    -ms-transform: translateX(60vw);
    transform: translateX(60vw);
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

nav a {
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
}

.fecha-menu {
    color: #555;
    font-size: 1.8rem;
    position: fixed;
    top: 8px;
    right: 4px;
    padding: 3px 7px;
}

section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.quem {
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;

}

.largura-35 {
    width: 100%;
    background-color: #fff;
}

.largura-65 {
    width: 100%;
    background-color: #222;
}

.logo img {
    width: 60%;
    display: block;
    margin: 20px auto 0;
}

.home {
    height: 100vh;
    margin-top: 50px;
    margin-bottom: -80px;
    overflow: hidden;
}

.apresentacao {
    background: url(../img/bg-servicos.jpg);
    background-position: center;
    background-size: cover;
    height: 50vh;
}

.qualificacao {
    color: #fff;
    width: 80%;
    margin: 45px auto;
    padding-bottom: 20px;
    line-height: 2.2;
}

.foto {
    width: 230px;
    height: 230px;
    margin: 90px auto 30px;
    -webkit-box-shadow: #777 4px 8px 13px -2px;
    box-shadow: #777 4px 8px 13px -2px;
    border-radius: 50%;
    overflow: hidden;
}

.foto img {
    width: 100%;
}

.selo {
    width: 85px;
    margin: 30px auto 30px;
}

.selo img {
    width: 100%;
}

.rodrigo {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 55px;
}

.intro-servicos {
    color: #000;
    width: 80%;
    margin: 40px auto;
    padding-bottom: 20px;
    line-height: 2.2;
}

.intro-servicos p {
    margin-bottom: 20px;
}

.lista {
    background: url(../img/bg-servicos1.jpg);
    background-position: center;
    background-size: cover;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 10px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.servico {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 12px;
    padding: 20px;
    width: 100%;
    line-height: 1.5;
}

.servico h2 {
    font: 1rem;
}

.intro-contatos {
    color: #fff;
    width: 89%;
    margin: 40px auto;
    padding-bottom: 20px;
    line-height: 2.2;
}

.redes-sociais {
    color: #fff;
    font-size: 1rem;
}

.redes-sociais ul {
    list-style: none;
}

i {
    margin-right: 5px;
}

.redes-sociais a {
    color: #fff;
    text-decoration: none;
    /* display: block; */
}

.redes-sociais a:visited {
    color: #fff;
}

.redes-sociais a:active {
    color: #fff;
}

.intro-artigos {
    color: #000;
    width: 80%;
    margin: 40px auto;
    padding-bottom: 20px;
    /* line-height: 2.2; */
    max-height: 100vh;
    /* overflow-y: scroll; */
}

.intro-artigos a {
    font-size: 1.6rem;
    color: #000;
    text-decoration: none;
    display: block;
    text-align: center;
}

.intro-artigos a:visited {
    color: #000;
}

.intro-artigos a:active {
    color: #000;
}

footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 7px 15px;
}

.desenvolvido {
    font-size: 0.8rem;
    text-align: center;
}

.desenvolvido a,
.desenvolvido a:visited {
    color: #222;
    font-weight: bold;
    text-decoration: none;
}

/*Visualização para iPad retrato e grandes celulares*/
@media all and (min-width: 768px) {
    body {
        font-size: 18px;
    }

    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .icone-menu {
        display: none;
    }

    nav {
        /* display: -webkit-box;
        display: -ms-flexbox;
        display: flex; */
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-right: 20px;
        height: 50px;
        line-height: 50px;
        width: 100%;
        /* background-color: #fff; */
        /* position: fixed; */
        top: 0;
        z-index: 1;
        padding-top: 0;
    }

    #menu {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    nav a {
        color: #222;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0 35px;
        -webkit-transition: background-color 0.5s;
        -o-transition: background-color 0.5s;
        transition: background-color 0.5s;
    }

    nav a:hover {
        background-color: rgba(133, 133, 133, 0.46);
        -webkit-transition: background-color 0.5s;
        -o-transition: background-color 0.5s;
        transition: background-color 0.5s;
    }

    .fecha-menu {
        display: none;
    }

    .logo img {
        width: 40%;
        display: block;
        margin: 11% auto;
    }

    .intro-contatos {
        width: 80%;
    }

    .intro-artigos {
        max-height: 70vh;
        
    }

    .redes-sociais {
        font-size: 1.5rem;
    }

    .selo {
        width: 120px;
    }
}

/* Visualização para iPad paisagem e desktops não wide */
@media all and (min-width: 1024px) {
    .largura-35 {
        width: 35%;
    }

    .largura-65 {
        width: 65%;
    }

    nav {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .home {
        height: calc(100vh - 50px);
        margin-bottom: 0px;
        overflow: hidden;
    }

    a {
        -webkit-transition: color 0.5s;
        -o-transition: color 0.5s;
        transition: color 0.5s;
    }

    a:hover {
        color: #555;
        -webkit-transition: color 0.5s;
        -o-transition: color 0.5s;
        transition: color 0.5s;
    }

    .logo img {
        width: 60%;
        margin: 40% auto;
    }

    .apresentacao {
        height: initial;
    }

    .quem {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .servico {
        width: 42%;
        margin: 20px;
    }
}

/* Visualização para Widescreens */
@media all and (min-width: 1280px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}