 /** VARIABLES **/
:root {
  --primary-color: #a55959;
  --secundary-color: #ebe6e0;
  --alt-color: #eee5e2;
/*  --alt-color: #f3eed9;*/
  --black: #333;
  --gray: #f6f6f6;
}

/** CSS RESET **/
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {  
  line-height: 1;
  font-family: Roboto;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
}

.container {
  padding: 50px 20px;
}

.container.gray {
  background-color: var(--gray);
}

.title {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 600;
  font-family: Roboto, sans-serif;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 30px;
  line-height: 2.5rem;
}

.title:after {
  content: '';
  display: block;
  width: 150px;
  margin: 10px auto;
  border: 1px solid var(--primary-color);
}

.menu {
  background-color: var(--primary-color);
  padding: 4px 10px;
  z-index: 1;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.menu i {
  color: var(--gray);
  cursor: pointer;
  padding: 5px;
  font-size: 1.25rem;
}

.menu nav {
  display: none;
}

.menu .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu .logo a {
  color: var(--alt-color);
  font-size: 1.25rem;
  font-family: "Alata", sans-serif;
  display: flex;
  align-items: center;
}

.menu .logo img {
  height: 1.75rem;
  margin-right: 5px;
}

.menu ul {
  display: flex;
}

.menu li a {
  display: inline-block;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--gray);
  padding: 8px 6px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.menu li a:hover {
  border-top: 1px solid rgba(255, 255, 255, .4);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.menu ul li:last-child {
  margin-right: 0;
}

.menu ul li a {
  color: var(--gray);
  text-transform: uppercase;
}

.menu .is-open nav {
  display: block;
  position: absolute;
  left: 0;
  width: 100vw;
  background-color: var(--gray);
  padding: 10px 0;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.menu .is-open {
  text-align: center;
}

.menu .is-open ul li a {
  color: var(--primary-color);
  font-weight: 400;
}

.menu .is-open ul {
  flex-direction: column;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background: url('../img/consultorio-psicologia.jpg') center center, rgba(0, 0, 0, .7);
  background-blend-mode: multiply;
}

.hero .pre-name {
  text-transform: uppercase;
  color: #eee;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.hero .name {
  color: var(--alt-color);
  font-size: 3.5em;
  font-family: "Alata", sans-serif;
  margin-bottom: 30px;
}

.hero .summary {
  max-width: 700px;
  margin: 0 auto;
  color: #eee;
  font-size: 1.25rem;
  line-height: 1.65rem;
  font-weight: 200;
}

.hero img.photo {
  width: 250px;
  border: 2px solid var(--gray);
  border-radius: 50%;
  margin-bottom: 30px;
}

.hero .buttons {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.hero .buttons a {
  color: #eee;
  border: 1px solid #eee;
  padding: 10px 30px;
  border-radius: 4px;
  margin: 0 40px;
  line-height: 1.5rem;
}

.hero .buttons .more {
  margin-bottom: 20px;
}

.hero .buttons a:hover {
  box-shadow: 5px 5px #fff;
}

.whatsapp svg {
  width: 18px;
  position: relative;
  top: 3px;
  margin-right: 2px;
}

.areas {
  color: var(--black);
}

.areas .items {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
}

.areas .items .item {
  max-width: 500px;
  margin: 0 auto;
}

.areas .items .item img {
  width: 100%;
  max-width: 600px;
  border-radius: 5px;
}

.areas .items .item .name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.areas .item .description {
  line-height: 1.5rem;
  margin-top: 10px;
}

.quote {
  background-color: var(--primary-color);
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote .phrase {
  font-family: 'Alata', sans-serif;
  font-size: 2rem;
  position: relative;
  display: flex;
  max-width: 600px;
  gap: 1rem;
  margin-top: 30px;
}

.quote .phrase:before {
  content: '“';
  font-size: 5rem;
  opacity: .5;
  position: relative;
  top: -30px;
}

.quote .phrase:after {
  font-size: 5rem;
  content: '”';
  align-self: flex-end;
  position: relative;
  top: 50px;
  opacity: .5;
}

.quote .author {
  display: block;
  margin-top: 40px;
  font-size: 1.25rem;
  font-style: italic;
}

.questions {
  background-color: var(--secundary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.questions .title {
  font-size: 1.75rem;
}

.questions .whatsapp {
  padding: 12px 50px;
  background-color: var(--primary-color);
  border-radius: 3px;
  color: var(--gray);
  line-height: 1.5rem;
} 

.questions .whatsapp:hover {
  box-shadow: 5px 5px rgba(0, 0, 0, .15);
}

.about .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about .content .text p {
  margin-bottom: 10px;
  line-height: 1.25rem;
  color: var(--black);
}

.about .me {
  width: 100%;
  max-width: 400px;
  max-height: 500px;
  margin: 0 auto;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 400px;
  margin: 0 auto;
}

.contact .item {
  display: flex;
  align-items: center;
}

.contact,
.contact a {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.contact svg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin-right: 30px;
}

.contact .item .address {
  line-height: 1.75rem;
}
.contact .item .address span {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

@media only screen and (min-width: 440px) {
  .menu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero .buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
  }

  .hero .buttons a {
    margin: 0;
  }

  .hero .buttons .more {
    margin: 0;
    margin-right: 40px;
  }

  .quote .phrase {
    max-width: 800px;
    font-size: 2.5rem;
  }

  .quote .author {
    font-size: 1.5rem;
  }

  .questions .title {
    max-width: 500px;
  }
}

@media only screen and (min-width: 800px) {
  .container {
    padding: 100px 0;
  }

  .menu {
    padding: 8px 0;
    position: fixed;
    width: 100%;
  }

  .menu i {
    display: none;
  }

  .menu .wrapper {
    min-width: 740px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .menu .logo a {
    font-size: 1.5rem;
  }

  .menu .logo img {
    height: 2.25rem;
  }

  .menu nav {
    display: flex;
    height: auto;
  }

  .menu ul li a {
    text-align: center;
    font-size: .9rem;
    font-weight: 300;
  }

  .title {
    margin-bottom: 50px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero .buttons a {
    padding-left: 60px;
    padding-right: 60px;
  }

  .areas .items .item {
    max-width: 600px;
  }

  .about .content {
    flex-direction: row;
    gap: 3rem;
    padding: 0 50px;
  }

  .contact {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact a {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .menu .wrapper {
    max-width: 1200px;
    padding: 0 20px;
  }

  .menu .logo a {
    font-size: 1.75rem;
  } 

  .hero .pre-name {
    font-size: 1.5rem;
  }

  .hero .name {
    font-size: 5rem;
  }

  .hero img.photo {
    width: 300px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .areas .items {
    padding-right: 50px;
    padding-left: 50px;
    gap: 5rem;
  }

  .areas .items .item {
    max-width: 1000px;
    display: flex;
    gap: 5rem;
  }

  .areas .items .item.inverted {
    flex-direction: row-reverse;
  }

  .areas .items .item img {
    max-height: 300px;
  }

  .areas .items .item .name {
    margin-top: 0;
  }

  .contact {
    max-width: 1200px;
    padding: 30px 0;
    flex-direction: row;
    justify-content: space-around;
  }

  .contact .item {
    max-width: 400px;
  }

  .contact a {
    font-weight: 300;
  }

  .contact svg {
    width: 60px;
    height: 60px;
  }

  .quote .phrase {
    font-size: 3rem;
    max-width: 1000px;
  }

  .quote .phrase:before {
    font-size: 8rem;
  }

  .quote .phrase:after {
    font-size: 8rem;
    top: 80px;
  }

  .questions .title {
    font-size: 2.5rem;
    line-height: 3rem;
    max-width: 800px;
  }
}
