/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #36df88;
  --first-color-alt: #47adb6cc;
  --second-color: #555D4C;
  --second-color-alt: #2c422c;
  --title-color: hsl(0, 0%, 100%);
  --text-color: hsl(0, 0%, 100%);
  --body-color: #00656e;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --biggest-font-size: 2rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 4rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

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

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


html{
  scroll-behavior: smooth;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.pergunta {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.pergunta2 {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.contatos{
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.main {
  overflow: hidden;
  /* For animation */
}

/*=============== HEADER & NAV ===============*/

.header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__close {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__logo {
  color: var(--text-color);
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  font-weight: 700;
  width: 60px;
  height: 60px;
  margin-left: 35px;
  margin-top: 10px;
}

.nav__logo i {
  font-size: 1.25rem;
  font-style: normal;
}

.nav__toggle,
.nav__close {
  background-color: var(--first-color-alt);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--body-color);
    width: 70%;
    height: 100%;
    box-shadow: 0 0 16px hsla(180, 86%, 11%, 0.863);
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    transition: right .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__link:hover {
  color: var(--title-color);
}

.nav__button {
  display: inline-block;
  width: max-content;
  background-color: var(--body-color);
  border: 2px solid var(--text-color);
  padding: 1rem 3rem;
  border-radius: 4rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.nav__close {
  position: absolute;
  top: .75rem;
  right: 1.5rem;
}

/* Show menu */

.show-menu {
  right: 0;
}

/*=============== HOME ===============*/

.home {
  position: relative;
  height: 100vh;
}

.home__container {
  padding-top: 7rem;
  display: grid;
  row-gap: 3rem;
}

.home__content {
  text-align: center;
}

.home__subtitle {
  font-size: var(--small-font-size);
  margin-bottom: .5rem;
  letter-spacing: 1px;
}

.home__title {
  position: relative;
  width: max-content;
  margin: 0 auto .75rem;
  color: var(--title-color);
}

.home__title img {
  position: absolute;
  right: 0;
  bottom: 0;
}

.home__title span {
  position: relative;
  z-index: 5;
}

.home__description {
  line-height: 150%;
  margin-bottom: 1.25rem;
}

.home__button {
  display: inline-block;
  background: linear-gradient(180deg,
      var(--first-color),
      var(--first-color-alt));
  padding: 1.125rem 3rem;
  border-radius: 4rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  box-shadow: 0 8px 32px hsla(167, 57%, 18%, 0.3),
    inset 0 4px 8px hsla(0, 5%, 53%, 0.4);
}

.home__images {
  position: relative;
  display: flex;
  justify-content: center;
  height: 250px;
}

.home__images img {
  position: absolute;
}

.home__ideia {
  width: 70px;
  left: 6rem;
  top: -1.55rem;
}

.home__linguagem {
  width: 60px;
  top: 1.15rem;
  left: .85rem;
}

.home__programador {
  width: 350px;
}

.home__cat {
  left: 2rem;
  position: absolute;
  top: 9.5rem;
}

/*Sobre*/
.Flex2 {
  display: flex;
  align-items: center;
}

.Flex3 {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.Flex4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.Flex5 {
  display: flex;
  flex-direction: column-reverse;

}

.Flex6 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

/*topo do site*/
#topo {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

#whatsapp{
  position: fixed;
  right: 10px;
  bottom: 70px;
  width: 50px;
  height: 50px;
}

#sobre {
  padding: 50px 0px;
  background-size: cover;
  background-position: center;
  background-color:#02353b;
}

#destaqueSobre {
  display: none;
}

#textoSobre {
  color: #fff;
  padding: 0px 30px;
}

#textoSobre h2 {
  margin-bottom: 20px;
}

.TopicosSobre {
  margin-top: 20px;
}

.TopicosSobre img {
  margin-right: 10px;
  width: 50px;
}


#pergunta {
  padding: 50px 0px;
  background-size: cover;
  background-position: center;
}

#destaquePergunta {
  display: none;
}

#textoPergunta {
  color: #fff;
  padding: 0px 30px;
}

#textoPergunta h2 {
  margin-bottom: 20px;
}

.TopicosPergunta {
  margin-top: 20px;
}

.TopicosPergunta img {
  margin-right: 10px;
  width: 50px;
}

#pergunta2 {
  padding: 50px 0px;
  background-size: cover;
  background-position: center;
  background-color:#02353b;
}

#destaquePergunta2 {
  display: none;
}

#textoPergunta2 {
  color: #fff;
  padding: 0px 30px;
}

#textoPergunta2 h2 {
  margin-bottom: 20px;
}

.TopicosPergunta2 {
  margin-top: 20px;
}

.TopicosPergunta2 img {
  margin-right: 10px;
  width: 50px;
}

.Botao {
  text-decoration: none;
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  background: linear-gradient(180deg,
      var(--first-color),
      var(--first-color-alt));
  padding: 5px 20px;
  border: 2px solid #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px hsla(167, 57%, 18%, 0.3),
    inset 0 4px 8px hsla(0, 5%, 53%, 0.4);

}

#servicos {
  padding: 50px 0px;
}

#servicos h2 {
  margin-bottom: 25px;
  text-align: center;
}

#todos {
  margin-top: 30px;
  text-align: center;
}

#todos a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.25em;
}

/*Cartões*/

.Card {
  margin-top: 25px;
  width: 338px;
  height: 540px;
  background-color: #e8e8e8;
  border: 1px solid #a1a1a1;
  border-radius: 25px;
  text-align: center;
}


.Card img {
  border-radius: 25px 25px 0px 0px;
}

.Card h3 {
  font-weight: 700;
  font-size: 1.25em;
  color: #00656e;
  margin-top: 15px;
}

.Card p {
  text-align: center;
  color: #000000;
  padding: 10px 40px 30px 40px;
}

.Card a {
  padding: 10px 80px;
  border: 0;
}

/*rodapé*/
address {
  padding: 30px 20px 30px 20px;
  color: #fff;
  font-style: normal;
}

address a {
  text-decoration: none;
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

address img {
  padding-top: 25px;
}

#copyright{
margin-top: 20px;
}

#social {
  display: flex;
  justify-content: center;
  
}

#social img {
  margin-right: 5px;
}

footer {
  padding: 50px;
  background-color: #02353b;
  color: #fff;
  text-align: center;
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width:300px) {
  .header {
    position: fixed;
  }
  .container {
    margin-inline: 1rem;
  }

  .home__title {
    font-size: 1.75rem;
  }

  .pergunta {
    margin-inline: 1rem;
  }

  .pergunta2 {
    margin-inline: 1rem;
  }

  .contatos {
    margin-inline: 1rem;
  }

}

/* For taller devices */
@media screen and (min-width: 376px) and (min-height:800px) {
  .header {
    position: fixed;
  }
  
  .home__container {
    padding-top: 10rem;
  }
}

/* For medium devices */
@media screen and (min-width:576px) {
  .home__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .nav__menu {
    width: 60%;
  }

}

@media screen and (min-width: 767px) {
  .home {
    display: grid;
    place-content: center;
  }

  .home__container {
    grid-template-columns: repeat(2, 350px);
    padding-top: 0;
  }

  .home__content {
    text-align: initial;
  }

  .home__title {
    margin-inline: 0;
  }

  address {
    padding: 30px 20px 30px 60px;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .header {
    position: relative;
  }

  .nav__logo {
    width: 80px;
    height: 80px;
    margin-left: 50px;
    margin-top: 5px;
  }

  .nav {
    height: calc(var(--header-height) + 3rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 4.5rem;
  }

  .nav__list {
    margin-left: auto;
    flex-direction: row;
    column-gap: 4.5rem;
  }

  .home__cat {
    left: 2rem;
    position: absolute;
    top: 9.6rem;
  }
}

@media screen and (min-width:1152px) {
  .home {
    position: relative;
    height: 90vh;
  }

  .container {
    margin-inline: auto;
  }

  .pergunta {
    margin-inline: auto;
  }

  .pergunta2 {
    margin-inline: auto;
  }
  .contatos {
    margin-inline: auto;
  }
  .home__container {
    grid-template-columns: 460px 650px;
    margin-top: 15px;
    z-index: 5;
  }

  .home__subtitle {
    font-size: var(--normal-font-size);
    margin-bottom: .75rem;
  }

  .home__title {
    margin-bottom: 1rem;
  }

  .home__title img {
    width: 250px;
    right: -.75rem;
  }

  .home__description {
    font-size: var(--h3-font-size);
    margin-bottom: 3rem;
  }

  .home__images {
    height: 450px;

  }

  .home__programador {
    width: 450px;
    margin-top: 45px;
  }

  .home__linguagem {
    width: 80px;
    left: 5rem;
    margin-top: 45px;
  }

  .home__ideia {
    width: 80px;
    right: 5rem;
    left: 14rem;
    margin-top: 40px;
  }

  .home__cat {
    left: 11rem;
    position: absolute;
    top: 18rem;
  }

  #destaqueSobre {
    display: inline;
  }

  #destaqueSobre img {
    border-radius: 50%;
    margin-right: 50px;
  }

  #destaquePergunta {
    display: inline;
  }

  #destaquePergunta img {
    border-radius: 50%;
    margin-right: 50px;
    width: 600px;
  }

  #destaquePergunta2 {
    display: inline;
  }

  #destaquePergunta2 img {
    border-radius: 50%;
    margin-right: 50px;
    width: 600px;
  }

  #copyright{
    font-weight: 700;
  }
}