:root {
  --h1-size: 2.5rem;
  --h2-size: 1.5rem;
  --h3-size: 1.3rem;
  --p-size: 1.1rem;
}

@media (max-width: 767px) {
  :root {
    --h1-size: 1.6rem;
    --h2-size: 1.3rem;
    --h3-size: 1.2rem;
    --p-size: 1rem;
  }
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-size: var(--p-size);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.8rem;
  color: #444;
  background: #f5f5f5;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: #00051D;
  text-decoration: none;
  -webkit-transition: all .3s ease-in;
  transition: all .3s ease-in;
}

a:hover {
  text-decoration: none;
}

h1 {
  font-size: var(--h1-size);
  font-family: Exo, sans-serif;
  text-shadow: 0 0 10px yellow;
}

h2,
h3 {
  text-align: center;
  text-transform: uppercase;
  color: #00051D;
}

h2 {
  text-shadow: 1px 1px 0 #fff, 3px 3px 0 #1c9ab757;
  margin: 50px auto 40px auto;
  padding: 0 0 10px 0;
  display: table;
  border-bottom: 2px solid #b71c1c;
}

h3 {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 20px;
}

header {
  background: url("../images/heading-background.jpg") no-repeat;
  background-size: cover;
  max-height: 70vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  text-align: center;
}

header > div {
  width: 100vw;
  height: 100vh;
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 20px;
  z-index: 1;
}

.whatsapp {
  background: #25D366;
  max-width: 350px;
  padding: 15px;
  margin: 30px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
}

.whatsapp:hover {
  background: #158e7b;
}

.whatsapp img {
  width: 30px;
  margin-right: 10px;
}

@media (max-width: 767px) {
  .whatsapp {
    font-size: 0.9em;
  }
}

video {
  position: fixed;
}

article {
  position: relative;
  padding: 50px 0;
  z-index: 2;
}

.intro {
  max-width: 80%;
  margin: auto;
}

.intro img {
  width: auto;
  border-radius: 100%;
  margin: auto;
  display: block;
}

.grid {
  max-width: 80%;
  margin: 50px auto 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.grid .ficha {
  width: 33.33%;
  margin: 0 10px;
  background: #fff;
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.grid .ficha > div {
  padding: 0 20px 20px 20px;
}

.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}

.whatsapp-btn a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 100%;
}

.whatsapp-btn img {
  -webkit-filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2));
          filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2));
}

@media (max-width: 1025px) {
  article {
    padding: 50px 0;
  }
  .intro {
    max-width: 85%;
  }
  .grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 85%;
  }
  .grid .ficha {
    width: 100%;
    margin: 10px 0 10px 0;
  }
}

@media (width: 1024px) {
  .ficha {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

footer {
  position: relative;
  background: #00051d;
  padding: 50px 30px 0 30px;
  color: #fff;
  text-align: center;
  -webkit-clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

footer .titulo {
  font-family: Exo, sans-serif;
  font-size: var(--h3-size);
}

footer a {
  color: #fff;
}

footer .whatsapp {
  max-width: 250px;
  margin: 30px auto;
}

footer .creditos {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px dotted rgba(255, 255, 255, 0.5);
  padding: 10px 0;
}
