/* 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
  line-height: 1.4rem;
  box-sizing: border-box;
}

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;
}



/* variables */

:root {
  --colorMain: #724590;
  --colorText: #ffffff;
  --colorBack: rgb(27, 27, 27);
  --spacingFactor: 1;
}



/* main styles */

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  text-align: center;
  color: var(--colorText);
  background-color: var(--colorBack);
}

.material-icons {
  font-size: 32px;
}


/* header menu */

.header-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: row;
  background-color: var(--colorBack);
  align-items: flex-start;
  z-index: 1000;
}

.icon-home {
  text-align: left;
  flex-grow: 1;
  padding-left: 1rem;
  cursor: pointer;
}

.menu-title {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  flex-grow: 3;
  padding-top: 0.2rem;
}

.title-img {
  height: 2rem;
}

.icon-menu {
  text-align: right;
  flex-grow: 1;
  padding-right: 1rem;
  cursor: pointer;
}



/* content */

.content {
  padding: 2rem;
}

.video-wrapper {
  width: 100%;
  height: 100%;
}

video {
  background-color: #eee;
  margin-bottom: calc(2.5rem * var(--spacingFactor));
  width: 100%;
  height: auto;
}

.video-wrapper > video {
  /* object-fit: cover; */
  width: 100%;
  height: 100%;
}

h1 {
  font-size: 28px;
  font-weight: 200;
  font-style: italic;
  margin-bottom: calc(2rem * var(--spacingFactor));
}

h2 {
  font-size: 24px;
  font-weight: 200;
  font-style: italic;
  margin-bottom: calc(2rem * var(--spacingFactor));
}

p {
  margin-bottom: calc(0.5rem * var(--spacingFactor));
}

article {
  margin-bottom: calc(2.5rem * var(--spacingFactor));
}

.action-box {
  margin-bottom: calc(2.5rem * var(--spacingFactor));
}

a {
  text-decoration: none;
  cursor: pointer;
}

button {
  font-size: 18px;
  padding: 1rem 0.8rem 0.6rem 0.8rem;
  text-align: center;
  background-color: var(--colorMain);
  color: white;
  border: 0;
  outline: none;
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: calc(1.5rem * var(--spacingFactor));
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.button-box {
  margin-bottom: calc(2.5rem * var(--spacingFactor));
  text-align: center;
}

.button-social {
  width: auto;
  background-color: var(--colorMain);
  display: inline-block;
  margin: 1rem;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 1rem 1rem 0.5rem 1rem;
}

.button-social img {
  opacity: 0.8;
  width: 2rem;
  height: auto;
}

.button-second {
  background-color: #f9f9f9;
  color: #333;
  border-bottom: 1px solid var(--colorMain);
}

footer {
  padding: 2rem 0 1rem;
}

.footer-left, .footer-right {
  width: 100%;
  margin-bottom: 1rem;
}

.footer-right img {
  cursor: pointer;
  opacity: 0.8;
  width: 1rem;
  height: auto;
  margin: 0 1.2rem;
}

.hilights {
  margin-bottom: calc(2rem * var(--spacingFactor));
}

.hilight {
  display: inline-block;
  margin-bottom: calc(0.5rem * var(--spacingFactor));
  padding: 0 1rem;
}

.hilight > span {
  display: inherit;
  vertical-align: top;
  padding-top: 0.5rem;
  padding-left: 0.5rem;
}

.signature-wrapper {
  width: 100%;
  text-align: right;
}

.signature {
  width: 150px; 
  margin: -1rem auto 4rem auto; 
}



/* form */

form {
  box-sizing : border-box;
  width: 100%;
  margin-bottom: calc(3rem * var(--spacingFactor));
  padding: 1rem;
  border: 15px solid #724590;
}

label {
  font-size: 12px;
  color: #999999;
}

input {
  font-size: 18px;
  border: 0;
  border-bottom: 1px solid var(--colorMain);
  width: 100%;
  margin-bottom: calc(1rem * var(--spacingFactor));
  padding: 1rem 0 0.6rem 0;
  text-align: center;
  box-sizing: border-box;
  border-radius: 4px 4px 0 0;
  background-color: #f9f9f9;
  color: #444;
}

input[type=submit] {
  cursor: pointer;
  font-size: 18px;
  padding: 1rem 0.8rem 0.6rem 0.8rem;
  text-align: center;
  background-color: var(--colorMain);
  color: white;
  border: 0;
  outline: none;
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: calc(1.5rem * var(--spacingFactor));
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
}

textarea {
  font-family: 'Gayathri', sans-serif;
  font-size: 18px;
  border: 0;
  border-bottom: 1px solid var(--colorMain);
  width: 100%;
  margin-bottom: calc(1rem * var(--spacingFactor));
  padding: 1rem 0 0.6rem 0;
  text-align: center;
  box-sizing: border-box;
  border-radius: 4px 4px 0 0;
  background-color: #f9f9f9;
  color: #444;
}

#apply-msg, #contact-msg, #lead-msg {
  margin-top: 1rem;
}



/* menu */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-content: flex-start;
  text-align: left;
  padding-left: 6rem;
  visibility: hidden;
  z-index: 2000;
}

.menu-item {
  font-size: 32px;
  font-weight: 500;
  color: #444;
}

.menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 28px;
  cursor: pointer;
}



/* blog */

.blog-entry {
  text-align: left;
  padding: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eeeeee;
}

.blog-image {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.blog-title {
  font-size: 28px;
  font-weight: 200;
  font-style:italic;
  margin-bottom: 1rem;
}

.blog-subtitle {
  font-size: 22px;
}

.blog-text {
  font-size: 18px;
}



/* helpers */

.space-1 {
  height: 1rem;
}

.space-2 {
  height: 2rem;
}

.fit-w {
  width: 100%;
  height: auto;
}

.half-width {
  width: 50%;
  height: auto;
}

.small-font {
  font-size: 14px;
}

.italic {
  font-style: italic;
}

.grey {
  color: #4b4949;
}

/* .font-normal {
  font-family: 'Gayathri', sans-serif;
} */

.font-hand {
  font-family: 'Handlee', cursive;
  font-size: 18px;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.image-medium {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

article .material-icons {
  vertical-align: middle;
  font-size: 24px;
  color: #999;
}

.handwrite {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
}

.mobile-full {
  width: 100%;
  height: auto;
}

.testemunhos img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.fit-w-mobile {
  width: 100%;
  height: auto;
}

.block-mobile {
  display: block;
}


/* desktop version */

@media screen and (min-width: 1000px) 
{
  :root {
    --spacingFactor: 1.5;
  }

  body {
    padding: 0 17rem;
  }

  .header-menu {
    left: 17rem;
    right: 17rem;
  }

  button {
    width: 21rem;
  }

  form {
    width: 60%;
    margin: auto;
    margin-bottom: calc(3rem * var(--spacingFactor));
  }

  footer {
    padding: 2rem 0 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  
  .footer-right img {
    opacity: 0.8;
    width: 1rem;
    height: auto;
    margin: 0 1.2rem;
  }

  .mobile-full {
    width: auto;
  }

  .fit-w-mobile {
    width: auto;
  }

  .block-mobile {
    display: inline;
  }

  .half-w-desktop {
    width: 50%;
    height: auto;
  }

}

@media screen and (min-width: 800px) 
{
  .testemunhos img {
    width: 40%;
  }

  .fit-w-mobile {
    width: auto;
  }

  .block-mobile {
    display: inline;
  }
}
