/*  BASE -------------------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

@media (max-width: 1080px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 54%;
  }
}

body {
  font-size: 1.6rem;
  font-family: 'Titillium Web', sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: #ad545c;
  color: #fff;
}

.center {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 3rem;
}


/*  HEADER ------------------------------------------------------------------ */

header {
  /* position: relative;  - original */
  position: fixed;
  top:0;
  left: 0;

  width: 100%;
  height: 80px;
  background: #ad545c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
  z-index: 2;
}

header .center {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


header .imagem {
  height: 60px;

}

header h1 {
  color: #7c47c1;
  font-size: 2.8rem;
}

header .nave a {

  position: relative;
  color: #fff;
  font-size: 1.6rem;
  transition: color .3s;
}

header .nave a + a {
  margin-left: 0.2em;
}

header .nave a:hover {
  color: #e1bfc3;
}

header .nave a.active {
  color: #e1bfc3;
  font-weight: 700;
}

header .nave a.active:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #7c47c1;
}

header .nave a.nave-btn {
  background: #7c47c1;
  border: 2px solid #7646be;
  padding: .3em 1em;
  border-radius: 4px;
  color: #fff;
  transition: background .3s, color .3s;
}

header .nave a.nave-btn:hover {
  background: none;
  color: #7c47c1;
}

@media (max-width: 900px) {
  header .nave {
    display: none;
  }

  header .menu {
    font-size: 22px;
    color: #7159c1;
  }

  header .menu.open {
    position: fixed;
    z-index: 2;
    right: 3rem;
  }

  header .menu.open + .nave {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
  }

  header .nave a {
    font-size: 2.4rem;
  }

  header .nave a + a {
    margin: 1rem 0 0;
  }
}

@media (min-width: 900px) {
  header .menu {
    display: flex;
    justify-content: center;
    align-items: center;
  }


  header .imagem {
    height: 60px;
    
  }

  
}




/* BANNER ------------------------------------------------------------------- */

.banner {
  width: 100%;
  height: 650px;
  background-image: linear-gradient(-19deg, #eddbdd 0%, #eddbdd 100%);
  background-image: url(img/back_banner.webp);
}

.banner .center {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner img {
  height: 550px;
  flex-shrink: 0;
  margin-bottom: -100px;
  
}

.banner-text {
  color: #ad545c;
  margin-right: 8rem;
}

.banner-text h1 {
  font-weight: 700;
  font-size: 5.4rem;
  line-height: 1.1;
}

.banner-text p {
  font-size: 1.7rem;
  margin-top: 1rem;
  opacity: .8;
}

.banner-links {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

.banner-links a {
  font-size: 1.5rem;
  text-decoration: underline;
}

.banner-links a:hover {
  text-decoration: none;
}

.banner-links a.banner-btn {
  margin-right: 2.2rem;
  padding: .5em 1em;
  background: #ad545c;
  color: #fff;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
}

.banner-links a.banner-btn i {
  margin-left: .5rem;
  font-weight: normal;
  text-decoration: none;
  font-size: 2.7rem;
}

.banner-links a.banner-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.banner-links a.banner-btn:active {
  transform: translateX(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}

@media (max-width: 1180px) {
  .banner {
    height: 450px;
  }

  .banner img {
    height: 400px;
  flex-shrink: 0;
  margin-bottom: -50px;
  }

  .banner-text {
    padding-top: 40px;
  }

  h1 {
    font-size: 4rem;
  }
}

@media (max-width: 780px) {
  .banner {
    height: auto;
    padding: 4rem 0;
    background-image: linear-gradient(-19deg, #7c47c1 0%, #723fbe 100%);
    background-image: url(img/back_banner.jpg);
  }

  .banner .center {
    flex-direction: column;
  }

  .banner-text {
    margin-right: 0;
  }

  .banner-text h1 {
    margin-top: 70px;
    font-size: 3rem;
  }

  .banner img {
    display: none;
    order: -1;
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .banner-links {
    align-items: center;
  }

  .banner-links a.banner-btn {
    margin-bottom: 1rem;
  }

  .banner img {
    display: none;
    order: -1;
    margin-bottom: 3rem;
  }
}


/* SOBRE -------------------------------------------------------------------- */

.about {
  padding: 8rem 0;
}

.about .center {
  display: flex;
  align-items: center;
}

.about img {
  display: block;
  border-radius: 4px;
}

.about-text {
  margin-left: 4rem;
}

.about-text h1 {
  color: #313243;
  line-height: 1.2;
  font-size: 4rem;
  font-weight: 600;
 
}

.about-text p {
  color: #313243;
  margin: .5rem 0 1.5rem;
  font-size: 1.7rem;
  margin-right: 3rem;
}

.about-links a.bt-btn {
  margin-right: 2.2rem;
  padding: .5em 1em;
  background: #313243;
  color: #fff;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
}

.about-links {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

.about-links a {
  font-size: 1.5rem;
  text-decoration: underline;
}

.about-links a.bt-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.about-links a.bt-btn:active {
  transform: translateX(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}

.about-text ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 -1.5rem;
}

.about-text li {
  width: 50%;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  font-weight: bold;
  margin-bottom: 3px;
}

.about-text i {
  color: #ffffff;
  font-size: 2rem;
  margin-right: 6px;
  margin-left: 1rem;
  font-weight: normal;
  text-decoration: none;
  font-size: 2.7rem;
}

@media (max-width: 1240px) {
  .about img {
    width: 100%;
  }

  .about a {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .about .center {
    align-items: flex-start;
  }

  .about-text ul {
    flex-direction: column;
  }

  .about a {
    width: 100%;
  }

  
  .about-text li {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .about {
    flex-direction: column;
    padding: 4rem 0;
  }

  .about .center {
    flex-direction: column;
    align-items: flex-start;
    
  }

  .about img {
    display: block;
    padding-bottom: 20px;
  }

  .about a {
    display: block;
  }


  .about-text {
    margin-left: 0;
  }

  .about-text h1 {
    font-size: 3.5rem;
  }
}


/* ab  formacao -------------------------------------------------------------------- */

.ab {
  padding: 8rem 0;
  background-color: #ad545c;
}

.ab .center {
  display: flex;
  align-items: center;
}

.ab img {
  display: block;
  border-radius: 4px;
}

.ab-text {
  margin-left: 4rem;
}

.ab-text h1 {
  color: #fff;
  line-height: 1.2;
  font-size: 4rem;
  font-weight: 600;
 
}

.ab-text p {
  color: #fff;
  font-size: 1.7rem;
  margin-right: 5rem;
}

.ab-links a.bt-btn {
  margin-right: 2.2rem;
  margin-bottom: 3rem;
  padding: .5em 1em;
  background: #fa7a83;
  color: #fff;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
}

.ab i {
  color: #ffffff;
  font-size: 2rem;
  margin-right: 6px;
  margin-left: 1rem;
  font-weight: normal;
  text-decoration: none;
  font-size: 2.7rem;
}

.ab-links {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

.ab-links a {
  font-size: 1.5rem;
  text-decoration: underline;
}

.ab-links a.bt-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transform: translateY(-3px);
}

.ab-links a.bt-btn:active {
  transform: translateX(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}



@media (max-width: 1240px) {

  
  .ab img {
    width: 85%;
    margin-left: 2rem;
    display: block;
    align-items: center;
  }

  .ab a {
    width: 85%;
    display: block;
  }
}

@media (max-width: 1000px) {
  .ab .center {
    align-items: flex-start;
  }


  .ab img {
    width: 95%;
    margin-left: 2rem;
    display: block;
  }

  .ab a {
    width: 95%;
    display: block;
  }

 
}

@media (max-width: 720px) {
  .ab {
    flex-direction: column;
    padding: 4rem 0;
  }

  .ab .center {
    flex-direction: column;
    align-items: flex-start;
    
  }

  .ab img {
    display: block;
    padding-bottom: 20px;
  }

  .ab a {
    display: block;
  }


  .ab-text {
    margin-left: 0.5rem;
  }

  .ab-text h1 {
    font-size: 3.5rem;
  }
}





/* BLOG --------------------------------------------------------------------- */

.blog {
  padding: 8rem 0 10rem;
}

.blog .center {
  display: flex;
  justify-content: space-between;
}

.blog-post {
  width: 550px;
  background: #fff;
  box-shadow: 0 20px 30px rgba(129, 129, 129, 0.2);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .3s;
}

.blog-post > img {
  width: 100%;
  display: block;
}

.blog-post i {
  color: #ad545c;
  font-size: 13px;
}

.post-content {
  padding: 2rem;
  display: flex;
}

.post-content .avatar {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: -40px;
  margin-right: 2.5rem;
}

.post-text .date {
  display: flex;
  align-items: center;
  color: #666;
}

.post-text .date i {
  margin-right: 8px;
}

.post-text h3 {
  color: #444;
  line-height: 1.1;
  margin-top: .65rem;
  transition: color .3s;
  font-size: 1.8rem;
}

.post-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.post-footer span {
  font-size: 1rem;
  color: #666;
  line-height: 1;
}

.post-footer i {
  margin: 0 5px;
  font-size: 2rem;
  transition: transform .2s;
}

.post-footer span:first-child {
  width: 100px;
  justify-content: center;
  font-weight: bold;
}

.blog-post:hover {
  box-shadow: 0 15px 20px rgba(121, 121, 121, 0.35);
}
.blog-post:hover .post-text h3 {
  color: #ad545c;
}
.blog-post:hover .post-footer span:first-child i {
  transform: translateX(5px);
}

@media (max-width: 1240px) {
  .blog {
    padding: 5rem 0 7rem;
  }

  .blog-post {
    width: calc(50% - 2rem);
  }

  .post-content .avatar {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 720px) {
  .blog .center {
    flex-direction: column;
    align-items: center;
  }

  .blog-post {
    width: 100%;
    max-width: 500px;
  }

  .blog-post + .blog-post {
    margin-top: 4rem;
  }

  .post-content {
    flex-direction: column;
  }

  .post-text {
    margin-top: 1.5rem;
  }

  .post-content .avatar {
    align-self: center;
  }
}

/* FOOTER ------------------------------------------------------------------- */

footer {
  background: #ad545c;
  text-align: center;
  padding: 3rem 0;
}

footer img {
  opacity: .25;
  width: 5rem;
}

footer i {
  opacity: .25;
  font-size: 5rem;
  color: #fff;
}

footer p {
  opacity: .55;
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* modal ------------------ */

#bg {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .8);
  position: fixed;
  display: none;
}

#bg:target {
  display: block;
}

#bg:target ~ .box {
  top: 250px;
  transition: all .3s;
  transition-delay: .2s;
}

.box {
  width:560px;
  height: 315px;
  position: absolute;
  margin-left: -300px;
  left: 50%;
  top: 310px;

}

.box iframe {
  width: 100%;
  position: absolute;
  
}

.close {

  background-color: #7c47c1;
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
  right: 0;
  margin-top: -20px;
  margin-right: -20px;

}

#txclose {
  color: #fff;
  font-family:  sans-serif;
  text-decoration: none;
  font-size: 20px;

}

#close:hover {
  opacity: 0.6;
}
