/*
Theme Name: Creative Serviços 1.0
Author: Charles Batista
Author URI: https://github.com/charlesbatista/
Description: Tema para a empresa Creative Serviços
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import "./fonts/fontawesome/css/fontawesome.min.css";
@import "./fonts/fontawesome/css/regular.min.css";
@import "./fonts/fontawesome/css/solid.min.css";
@import "./fonts/fontawesome/css/brands.min.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', sans-serif;
}

:root {
  font-size: 62.5%;
  --amarelo: #ffcd57;
  --preto-claro: #3c3c3c;
  --preto: #2f2e41;
  --vermelho: #aa0814;
  --azul: #12367f;
}

body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 1.6rem
}

a {
  text-decoration: none;
  color: var(--azul)
}

a:hover,
a:focus {
  text-decoration-style: dashed;
  text-decoration: underline;
}

a:active {
  text-decoration: none;
}

a.button,
button {
  border: 0.2rem solid transparent;
}

a.button:hover,
button:hover {
  border: 0.2rem solid #fff;
  filter: brightness(120%)
}

input, select, textarea {
  font-size: 1.6rem;
}

img {
  vertical-align: middle;
}

p {
  line-height: 2.8rem;
  margin-bottom: 1.6rem;
}

p:last-child {
  margin-bottom: 0
}

.base-w {
  width: min(129.8rem, 100%);
  padding: 0 3rem;
}

.btn {
  display: inline-block;
}

.btn-amarelo {
  background-color: var(--amarelo);
  color: var(--preto);
  font-weight: 600;
  line-height: 1em;
  font-size: 2rem;
  border-radius: 5rem;
  padding: 2rem 4rem;
}

.btn:hover {
  filter: brightness(115%)
}

.texto-vermelho {
  color: var(--vermelho)
}

.texto-amarelo {
  color: var(--amarelo)
}

.texto-preto {
  color: var(--preto)
}

.texto-preto-claro {
  color: var(--preto-claro)
}

.texto-azul {
  color: var(--azul)
}

.borda-inferior {
  border-bottom-style: solid;
  border-bottom-width: 0.4rem;
  padding-bottom: 3.5rem;
}

.borda-clara {
  border-color: #e5e5e5
}

/* ----- Background Colors ----- */

.bg-grey {
  background-color: #f3f3f3;
}

/* ----- Heading tags ----- */

h1 {
  font-size: 6rem;
  line-height: 7rem;
  color: var(--preto);
  font-weight: 800;
}

h2 {
  font-size: 4rem;
  color: var(--preto);
  font-weight: 700;
  margin-bottom: 4rem;
  line-height: 5rem;
}

h3 {
  font-size: 3rem;
  line-height: 4rem;
  color: var(--preto);
  font-weight: 600;
  margin-bottom: 3.5rem
}

/* ----- Header ----- */

header {
  position: fixed;
  width: 100%;
  height: 11rem;
  z-index: 1;
  background: #fff;
  border-bottom: 0.1rem solid #dcdcdc;
  box-shadow: 0 5px 10px #1a1a1a21;
}

header .wrapper {
  height: 100%
}

/* ----- Nav (Header) ----- */

nav.header {
  margin-left: auto;
  margin-right: 0
}

nav.header>ul {
  gap: 2.4rem;
  align-items: center;
}

nav.header>ul.opacity>li:not(.expanded) {
  opacity: 30%;
}

nav.header>ul>li {
  position: relative;
}

nav.header>ul>li>a {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  justify-content: center;
  color: var(--preto);
  font-weight: bold;
  line-height: 2.2rem;
  font-size: 1.4rem;
  transition: transform .1s ease-out;
}

nav.header>ul>li:hover>a {
  color: var(--vermelho);
}

nav.header>ul>li>a:hover {
  transform: translate(0, -0.2rem);
  border-bottom: 0.2rem solid var(--vermelho);
  text-decoration: none;
}

/* ----- Main ------ */

main {
  margin-top: 11rem
}

/* ----- Header intro ----- */

.header-intro {
  font-size: 2rem;
  font-weight: 400;
  line-height: 3.5rem;
  padding: 10rem 0;
  background: linear-gradient(135deg, rgb(255, 245, 203) 0%, rgb(182, 227, 212) 50%, rgb(51, 167, 181) 100%);
}

/* ----- Section ------ */

section {
  font-size: 1.8rem
}

section p {
  line-height: 3.2rem;
}

/* ----- Serviços ----- */

.servicos .item:not(:last-child) {
  padding-bottom: 5rem;
  border-bottom: .2rem solid #dcdcdc
}

/* ----- Portfólio ----- */

.ngg-gallery-thumbnail img {
  -webkit-border-radius: .8rem;
  -moz-border-radius: .8rem;
  border-radius: .8rem;
}

/* ----- Portfólio ----- */

.portfolio h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem
}

.portfolio li:not(:last-child) {
  padding-bottom: 2rem;
  border-bottom: .2rem solid #ededed
}

.portfolio li .info {
  padding: 2rem 0
}

.post-data {
  color: #ccc;
  font-size: 1.5rem;
  margin-bottom: 0.5rem
}

/* ----- Posts ----- */

.post .post-data {
  margin-top: 1rem
}

.post .conteudo {
  margin-top: 3rem;
  font-size: 1.8rem;
  line-height: 3.2rem;
}

.post .conteudo img {
  width: 100%;
  max-width: 100% !important;
  height: auto;
  -webkit-border-top-left-radius: 1rem;
  -webkit-border-top-right-radius: 1rem;
  -moz-border-radius-topleft: 1rem;
  -moz-border-radius-topright: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.post .conteudo img:hover { 
  filter: brightness(120%)
}

.wp-caption .wp-caption-text {
  background: #f3f3f3;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  -webkit-border-bottom-right-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  -moz-border-radius-bottomleft: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* ----- Formulario de contato ----- */

.contato-wrapper {
  padding-top: 3rem
}

.contato-wrapper .form {
  flex: 0 1 40%
}

.contato-wrapper .text {
  flex: 0 1 60%;
  font-size: 1.6rem
}

.contato-wrapper .text>ul>li {
  line-height: 2.2rem;
  padding: 2rem .5rem;
  border-bottom: 0.1rem solid #f1f1f1
}

.contato-wrapper .text>ul>li:last-child {
  border-bottom: 0
}

.contato-wrapper .text>ul>li>ul {
  margin-top: 1rem
}

.contato-wrapper .text>ul>li>ul>li {
  margin-top: 0.5rem
}

.contato-wrapper .text>ul>li:first-child {
  padding-top: 0
}

.contato-wrapper>div:not(:first-child) {
  padding-left: 5rem;
  border-left: 0.2rem solid #dcdcdc
}

.contato-wrapper .text i {
  font-size: 2.5rem;
  vertical-align: middle;
  margin-right: 0.25rem
}

.cor-instagram {
  color: #d14062;
}

.cor-whatsapp {
  color: #1bd741
}

/* ----- Footer ----- */

footer {
  background: var(--amarelo);
  color: var(--preto);
}