/*
Theme Name: Saulo Advocacia
Theme URI: https://wordpress.org/themes/sauloadv/
Author: brCode
Author URI: http://www.brcode.com.br
Description: Simple theme to advocate
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sauloadv
*/

:root {
  --main-color: #888;
  --primary-color: #001220;
  --alternative-secondary-color: #213553;
  --secondary-color: #d8a965;
  --main-font: "Baskervville";
}

* {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  margin: 0 !important;
}

body {
  overflow-x: hidden;
}

.main-banner {
  background-image: url("./assets/images/main-banner-test.jpg");
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-color);
  display: flex;
  background-position-x: right;
}

.container-speciality {
  display: flex;
  padding: 50px 50px;
  flex-direction: column;
}

h3,
h2 {
  font-size: 3em;
  color: var(--main-color);
  padding-top: 50px;
}

h3 > span {
  color: var(--secondary-color);
}

.main-description {
  text-transform: uppercase;
  font-size: 2em;
  font-family: var(--main-font);
}

.description-speciality > p {
  font-size: 2em;
  font-family: var(--main-font);
  text-transform: uppercase;
  color: #FFF;
}

.title-service-description {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
  color: var(--primary-color);
}

.div-separator {
  width: 50%;
}

.subtitle-service-description {
  text-transform: uppercase;
  text-align: center;
  font-size: 3em;
}

.description-solution {  
  position: relative;
  top: 95vh;
}

.description-solution > p {
  text-align: center;
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px #000;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #FFF;
}

.card > img {
  width: 100px;
  padding-top: 15px;
}

ul {
  list-style-type: none;
  padding: 0;
}

.wrap-cards {
  display: flex;
  justify-content: space-evenly;
  margin-top: 60px;
}

h5 {
  text-align: center;
}

.btn-contact {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  text-transform: uppercase;
  width: 20vw;
  height: 8vh;
  font-size: larger;
  font-weight: 500;
  margin-top: 3rem;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-evenly;

  &:hover {
    transform: scale(1.05);
    background-color: var(--secondary-color) !important;
    color: #fff !important;
  }
}

span > svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  width: 20vw;
  height: 5vh;
}

.about {
  margin-top: 10vh;
  width: 100vw;
  height: 100vh;
  background-image: url("./assets/images/quem-sou-final.jpg");
  background-repeat: no-repeat;
}

.content-area-about {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 15vh;
}

#my-name {
  color: var(--primary-color);
  font-size: 2em;
}

.text-desctription-about {
  width: 50vw;

  & h2 {
    padding: 0;
    font-size: 2.5em;
  }

  & h2,
  h3 {
    text-transform: uppercase;
    font-family: "Baskervville";
    font-weight: 400;
  }

  & p {
    font-family: Arial, Helvetica, sans-serif;
    width: 80%;
    color: var(--primary-color);
    font-size: 1.2em;
  }
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #25d366;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 45px;
  font-size: 18px;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.place {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.text-place {
  text-transform: uppercase;
  font-family: var(--main-font);
  font-weight: 400;
  width: 50vw;
}

.title-text-place > h2 {
  color: var(--primary-color);
  font-size: 1.5em;
}

.subtitle-text-place > h2 {
  font-size: 2em;
  width: 50%;
  color: var(--primary-color);
}

.content-text-place > p {
  color: var(--primary-color);
  width: 70%;
}

.actuaction-place {
  margin-bottom: 10vh;
}

.footer {
  background-color: #001220;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 10vh;
}

.title-footer {
  font-family: var(--main-font);
  text-transform: uppercase;
  font-size: 0.8em;
}

.title-footer > h2 {
  color: var(--secondary-color);
}

.banner-midle {
  margin: 20vh 0;
  background-color: var(--primary-color);
  max-width: 100vw;
  height: 40vh;
  display: flex;
  align-items: center;
}

.figure-caption {
  color: #fff;
  padding-top: 5%;
}

.my-place {
  padding-top: 20vh;

  & a {
    height: 10vh;
    width: auto;
  }

  & img {
    border-radius: 50px;
  }

  &:hover {
    transform: scale(1.5em);
  }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 1em;
  padding: 0;

  & a {
    width: max-content;
    color: #fff;
    font-size: larger;
  }

  & span {
    padding-right: 1em;
  }
}

.all-rights {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-subtitle {
  width: 50%;
}

.notices {
  margin-bottom: 20vh;
}

.title-notices {
  font-family: var(--main-font);
  color: var(--primary-color);
  padding-bottom: 5vh;
  font-size: 2em;
}

.container-notices {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel {
  width: 50vw;
}

#btn-footer{
  background-color: transparent !important; 
  border: 1px solid #FFF;  
}

#btn-footer > span{
  color: var(--secondary-color);
}

#btn-footer:hover {
  background-color: var(--secondary-color) !important;
    & span {
      color: #FFF;  
    }
}

@media only screen and (max-width: 992px) {
  .description-speciality {
    width: 80vw;
    text-align: left;
  }

  a {
    width: 40vw;
  }

  h3 {
    font-size: 3em;
  }

  .btn-contact {
    width: 40vw;
    margin-top: 5rem;
  }

  .description-solution {
    margin-top: 48vh;
  }

  .container-speciality {
    flex-direction: column;
  }

  .wrap-cards {
    row-gap: 1rem;
  }

  .content-area-about {
    width: auto;
    padding-top: 50vh;
  }

  .div-separator {
    display: none;
  }

  .about-subtitle {
    width: auto;
  }

  .text-desctription-about {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .place {
    flex-direction: column-reverse;
    align-items: center;
  }

  .text-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
  }

  .content-text-place {
    text-align: center;
    padding: 0 10px;
  }

  .content-text-place > p {
    width: auto;
  }

  .subtitle-text-place > h2 {
    width: auto;
  }

  .main-footer {
    flex-direction: column;
  }

  .my-place {
    padding-top: 15vh;
  }
}

@media only screen and (max-width: 480px) {
  html {
    overflow-y: auto;
  }

  #page {
    display: flex;
    flex-direction: column;
  }

  h3 {
    padding: 0;
  }

  a {
    width: auto;
    height: auto;
  }

  figure {
    margin: 1rem 1rem;
  }

  .container-speciality {
    padding: 0;    
  }

  .description-solution {
    margin: 0;
    text-align: center;
    font-size: smaller;
    padding-top: 5vh;
  }

  .main-banner {
    height: auto;
    background-image: url("./assets/images/main-banner-mobile.jpg");
    background-position: bottom;
    height: 100vh;
    background-size: cover;
  }

  .description-speciality {
    width: 100vw;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .description-speciality > p {
    font-size: 1.5em;
  }

  .main-description {
    text-align: center;
    font-size: 2em;
    line-height: 1.5em;
  }

  .main-description > p {
    font-size: 1.5em;
  }

  .btn-contact {
    width: 80vw;
    height: 8vh;
    display: flow;
    margin: 0;    
  }  

  #btn-footer{
    background-color: transparent !important; 
    border: 1px solid #FFF;
    margin: 2em
  }

  .wrap-cards {
    row-gap: 3.5rem;
  }

  .about {
    background-image: url("./assets/images/quem-sou-original.jpg");
    height: auto;
    background-position-x: center;
    margin: 0;
  }

  .content-area-about {
    padding-top: 75vh;
    display: flow;
  }

  .text-desctription-about {
    width: 100vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    & h2 {
      font-size: 2em;
    }

    & p {
      width: 100vw;
      padding: 0 15px;
    }
  }

  .about-subtitle {
    width: 100vw;
  }

  .place {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .text-place {
    width: 100vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }

  .subtitle-text-place {
    & h2 {
      width: 100vw;
      padding: 0;
    }
  }

  .content-text-place {
    & p {
      width: 100vw;
      padding: 0 15px;
      font-family: Arial, Helvetica, sans-serif;
      text-transform: capitalize;
    }
  }

  .map-image {
    & figure {
      margin: 2rem 0 2rem 4px;
    }
  }
  .map {
    width: 380px;
  }

  .footer {
    height: auto;
  }

  .main-footer {
    flex-direction: column;
    padding: 0;
  }

  .items {
    & li {
      padding: 0 15px;
    }

    & a {
      width: auto;
    }
  }

  .contact {
    align-items: center;
  }

  .all-rights {
    padding-top: 20vh;
    text-align: center;
  }

  .my-place {
    & img {
      border-radius: 0;
    }
  }

  .elements {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .notices {
    margin: 10vh 0;
  }

  .carousel {
    width: 100vw;
  }

  .title-notices {
    text-align: center;
    font-size: 2em;
  }

  .d-none {
    display: block !important;
  }

  .banner-midle {
    height: 100vh;
    margin: 10vh 0 0;
  }  

  .row-description-services {
    row-gap: 40px;
  }
  
}
