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

:root {

  --header-height: 3rem;
  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 150; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 35%, 75%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 90%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;


  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

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

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

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

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {

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

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* Menu - Header */
.menu-spacing{
  height:5rem;
}
.menu-bg{
  background-size: cover;
  background-position: center center;
  background-color: var(--first-color);
  background-attachment: scroll;
  color: white;
  
}
.menu h2 a{
  height: 5rem;
  color: white;
  font-size: 3rem;
  text-decoration: none;
}
.menu{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  right:0;
  border-bottom: 0.1rem solid lightgray;
  z-index:1;
}
.menu-content{
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content:space-between;
  padding-top: 0;
  padding-bottom: 0;
}


.menu ul a{
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.menu ul{
  display: flex;
  list-style-type: none;
}

.menu ul li a{
  display:block;
  padding: 2rem;
  position: relative;
}

.menu ul li a::after{
  content:'';
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  width:0;
  height: 0.1rem;
  background: white;
  transition: all 300ms ease-in-out;
  
}

.menu ul li a:hover::after{
  width: 50%;
  left:25%;
  color: white;
}

.close-menu{
  display:none;
}

@media (max-width: 968px){
  .menu-spacing{
      display: none;
  }
  .menu{
      bottom: 0;
      text-align: center;
      display: none;
  }

  .menu-content, .menu-content ul{
      flex-direction: column;
      justify-content: center;
  }

  .menu-content{
      height:100vh;
  }
  .close-menu-label::after{
      content: '≡';
      background: var(--first-color);
      color: white;
      position:fixed;
      z-index: 2;
      top: 1rem;
      right: 1rem;
      font-size: 2rem;
      line-height: 2rem;
      width: 2rem;
      height: 2rem;
      text-align: center;
      padding: 0.5rem;
      cursor:pointer;
  }

  .close-menu:checked~.menu{
      display: block;
  }
  .close-menu:checked~.close-menu-label::after{
      content: '×';
  }
  
}

/*formatação hero*/
#hero{
  height: 100vh;
}
#hero .row{
  justify-content: space-between;
  align-items: flex-end;
}
.button-hero{
  padding: 15px;
  background-color: var(--first-color);
  border-radius: 10px;
  color: white;
  border: 2px solid var(--first-color);
}
.button-hero:hover{
  cursor: pointer;
  border: 2px solid var(--first-color);
  background-color: transparent;
  color: var(--first-color);
}
#box-button{
  margin-top: 30px;
  width: 100%;
  height: 50px;
}



.centralizar{
  display: flex;
  justify-content: center;
  align-items: center;
}


/*Página plataformas*/
#hero-plataformas{
  display: flex;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.texto-plataformas{
  text-align: center;
}
.texto-plataformas p{
  text-align: justify;
  margin-top: 10px;
}
.button{
  padding: 5px;
  background-color: var(--first-color);
  border-radius: 10px;
  color: white;
  border: 2px solid var(--first-color);
}
.button:hover{
  cursor: pointer;
  border: 2px solid var(--first-color);
  background-color: transparent;
  color: var(--first-color);
}
.box-button-plataformas{
  text-align: left;
  height: 50px;
  display: flex;
  align-items: center;
}
#plataformas .row{
  margin-top: 10px;
}

.imagem-centralizar{
  align-self: flex-end;
}

#hero-cursos{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#cursos{
  margin-bottom: 15px;
  margin-top: 15px;
}
.card{
  text-align: center;
  height: auto;
}
.card-body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#cursos .row{
  margin-bottom: 20px;
  margin-top: 10px;
}
/*Página vagas*/
#vagas .row{
  height: 100vh;
}
.vagas{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  
}
.vagas-box{
  margin: 15px;
  width: 25%;
  border: 5px solid var(--first-color);
  padding: 10px;
  padding-left: 20px;
  border-radius: 10px;
}
.vagas-box:hover{
  border: 5px solid var(--first-color-second);
}

.box-form{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
}

/*Sugestões*/
#sugestoes .row{
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}
input{
  width: 100%;
  height: 30px;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  font-family: var(--body-font);
}
textarea{
  width: 100%;
  height: 70px;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  font-family: var(--body-font);
}
input:focus{
  outline: none !important;
  border-color: var(--first-color-lighter);
}
textarea:focus{
  outline: none !important;
  border-color: var(--first-color-lighter);
}

.cor-erro{
  border: 2px solid red;
}
#obrigatorio{
  text-align: left;
  font-size: 14px;
}

#resposta{
  text-align: left;
  font-size: 14px;
}

#button-form{
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}

/*footer*/
footer{
  background-color: var(--first-color);
  color: white;
  height: 4rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 576px) {
  #hero{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  #hero .row{
    
    text-align: center;
  }
  .centralizar{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .texto{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }
  .ordenacao{
    order: 2;
  }
  #title{
    font-size: 4rem;
  }
  #hero-cursos{
    text-align: center;
  }
  #hero-cursos h1{
    font-size: 3rem;
  }
  .img{
    max-width: 80%;
  }
  .card{
    max-width: 80%;
    margin: 0 auto;
  }

  .vagas-box{
    width:100%;
  }
  
}

@media (max-width: 768px) {
  #hero{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
  }
  .centralizar{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .texto{
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .ordenacao{
    order: 2;
  }
  #title{
    font-size: 5rem;
  }
  #hero-cursos{
    text-align: center;
  }
  #hero-cursos h1{
    font-size: 4rem;
  }
  .img{
    max-width: 90%;
  }

  .vagas-box{
    width:100%;
  }

}
@media (min-width: 768px) and (max-width: 992px) {
  #hero{
  height: auto;
  margin-bottom: 60px;
  margin-top: 60px;
  }
  .texto{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }

  /*Página plataformas*/
  .line-hero{
    justify-content: center;
    align-items: center;
    text-align: left;
  }
  #hero-plataformas{
    height: auto;
  }
  #title{
    font-size: 3rem;
  }
  #hero-cursos{
    text-align: left;
    flex-direction: row;
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #hero-cursos .row{
    align-items: center;
  }
  #hero-cursos h1{
    font-size: 4rem;
  }
  .vagas-box{
    width:100%;
  }

}
@media (min-width: 992px) and (max-width: 1200px) {
  #hero{
    height: auto;
    margin-bottom: 60px;
    margin-top: 60px;
    }
  .texto{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }

  /*Página plataformas*/
  .line-hero{
    justify-content: center;
    align-items: center;
    text-align: left;
  }
  
  #title{
    font-size: 4.5rem;
  }
  #hero-cursos{
    text-align: left;
    flex-direction: row;
    height: 100vh;
  }
  #hero-cursos .row{
    align-items: center;
  }
  #hero-cursos h1{
    font-size: 4rem;
  }

  .vagas-box{
    width:45%;
  }
}

@media (min-width: 1200px) {
  #hero{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
  }
  #hero h1{
    font-size: 2.5rem;
  }
  .texto-principal{
    padding-bottom: 40px;
  }
  .texto{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }
  #about{
    padding-top: -10px;
  }

  /*Página plataformas*/
  .line-hero{
    justify-content: center;
    align-items: center;
    text-align: left;
  }
  #hero-plataformas h1{
    font-size: 5rem;
  }
  #title{
    font-size: 4.5rem;
  }
  #hero-cursos{
    text-align: left;
    flex-direction: row;
    height: 100vh;
  }
  #hero-cursos .row{
    align-items: center;
  }
  #hero-cursos h1{
    font-size: 4rem;
  }
}

