@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;

}
header .div{
  margin-right: 10rem;
}


div.menudiv a{
    color: #FFF;
    font-family: sans-serif;
    text-decoration: none;
    font: 20px Raleway;
    margin-right: 3rem;
    position: relative;
    z-index: 0;
    cursor: pointer;
}
div.borderXwidth a:before, div.borderXwidth a:after{
    position:     absolute;
    opacity:      0;
    width:        0%;
    height:       2px;
    content:      '';
    background    : #FFF;
    transition    : all 0.3s;
}

div.borderXwidth a:before{
    left:         0px;
    top:          0px;
}

div.borderXwidth a:after{
    right:        0px;
    bottom:       0px;
}

div.borderXwidth a:hover:before, div.borderXwidth a:hover:after{
    opacity:      1;
    width:        100%;
}
header .logo{
  color           : #fff;
  text-transform  : uppercase;
  cursor          : pointer;
}

.showcase{
  position:        absolute;
  right:           0;
  width:           100%;
  min-height:      100vh;
  padding:         100px;
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  background:      rgb(235, 194, 119);
  transition:      0.5s;
  z-index:         2;
}
.showcase.active{
  right:           300px;
}

.overlay{
  position:         absolute;
  top:              0;
  left:             0;
  width:            100%;
  height:           100%;

}



@media (max-width: 991px){
  .showcase,
  .showcase header
  {
    padding:        40px;
  }
  .text h2
  {
    font-size:      3em;
  }
  .text h3
  {
    font-size:      2em;
  }
}



/*******************************************************/
*,
*:before,
*:after {
  margin:         0;
  padding:        0;
  box-sizing:     inherit;
}

html {
  box-sizing:     border-box;
  font-family:    "Roboto", sans-serif;
  font-size:      62.5%;
  
}
@media only screen and (max-width: 800px) {
  html {
    font-size:    57%;
  }
}

body {
  color:         #fff;

}
@media only screen and (max-width: 1000px) {
  body {
    padding: 0;
  }
}

.container {
  position: relative;
  overflow: hidden;

  max-width: 2000px;
}
@media only screen and (max-width: 1000px) {
  .container {
    border-radius: 0;
  }
}

.slider {
  display: flex;
  width: 500%;
  height: 94.5rem;
  transition: all 0.25s ease-in;
  transform: translateX(0);
}

@media only screen and (max-width: 1000px) {
  .slider {
    height: 110vh;
  }
}

.slider .box {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  overflow: hidden;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .slider .box {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}
.slider .box .bg {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.2);
  width: 55%;
  transform: skewX(7deg);
  position: absolute;
  height: 100%;
  left: 10%;
  padding-left: 20rem;
  transform-origin: 0 100%;
}
@media only screen and (max-width: 800px) {
  .slider .box .bg {
    width: 65%;
  }
}
@media only screen and (max-width: 650px) {
  .slider .box .bg {
    width: 100%;
    left: 0;
    bottom: 0;
    height: 54%;
    transform: skewX(0deg);
  }
}
.slider .box .bg::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: inherit;
  pointer-events: none;
  transform: skewX(10deg);
}
@media only screen and (max-width: 650px) {
  .slider .box .bg::before {
    width: 120%;
    bottom: 0;
    transform: skewX(0deg);
  }
}
.slider .box .details {
  padding: 5rem;
  padding-left: 10rem;
  z-index: 100;
  grid-column: 1/span 1;
  grid-row: 1/-1;
}
@media only screen and (max-width: 650px) {
  .slider .box .details {
    grid-row: 2/span 1;
    grid-column: 1/-1;
    text-align: center;
    padding: 2rem;
    transform: translateY(-9rem);
  }
}
.slider .box .details h1 {
  font-size: 3.5rem;
  color: aliceblue;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.slider .box .details p {
  display: inline-block;
  font-size: 1.3rem;
  color: aliceblue;
  margin-bottom: 2rem;
  margin-right: 5rem;
}
@media only screen and (max-width: 800px) {
  .slider .box .details p {
    margin-right: 0;
  }
}
.slider .box .details button {
  padding: 1rem 3rem;
  color: aliceblue;
  border-radius: 2rem;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider .box .details button:hover {
  opacity: 0.8;
}
.slider .box .details button:focus {
  outline: none;
  border: none;
}
.slider .box1 {
  font-family: sans-serif,serif;
  background-color: #ffca7a;
  background-image: url("https://www.transparenttextures.com/patterns/cardboard.png");  
}
.slider .box1 .illustration {
  transform: scale(0.7);
}
.slider .box1 .texto{
  width: 80%;
}
.slider .box1 button {
  background-color: #ff7b00;
}
.slider .box2 {
  font-family: sans-serif,serif;
  background-color: #ffca7a;
  background-image: url("https://www.transparenttextures.com/patterns/cardboard.png");
}
.slider .box2 .illustration {
  transform: scale(0.7);
}
.slider .box2 .texto{
  width: 80%;
}
.slider .box2 button {
  background-color: #ff7b00;
}
.slider .box3 {
  font-family: sans-serif,serif;
  background-color: #ffca7a;
  background-image: url("https://www.transparenttextures.com/patterns/cardboard.png");
}
.slider .box3 .illustration {
  transform: scale(0.7);
}
.slider .box3 .texto{
  width: 80%;
}
.slider .box3 button {
  background-color: #ff7b00;
}
.slider .box4 {
  font-family: sans-serif,serif;
  background-color: #ffca7a;
  background-image: url("https://www.transparenttextures.com/patterns/cardboard.png");
}
.slider .box4 .illustration {
  transform: scale(0.7);
}
.slider .box4 .texto{
  width: 80%;
}
.slider .box4 button {
  background-color: #ff7b00;
}.slider .box5 {
  font-family: sans-serif,serif;
  background-color: #ffca7a;
  background-image: url("https://www.transparenttextures.com/patterns/cardboard.png");
}
.slider .box5 .illustration {
  transform: scale(0.7);
}
.slider .box5 .texto{
  width: 80%;
}
.slider .box5 button {
  background-color: #ff7b00;
}
.slider .illustration {
  grid-column: 2/-1;
  grid-row: 1/-1;
  justify-self: center;
}
@media only screen and (max-width: 650px) {
  .slider .illustration {
    grid-row: 1/span 1;
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.slider .illustration div {
  height: 25rem;
  width: 18rem;
  border-radius: 3rem;
  background-color: #FF0077;
  position: relative;
  transform: skewX(-10deg);
}
@media only screen and (max-width: 800px) {
  .slider .illustration div {
    height: 20rem;
    width: 15rem;
  }
}
.slider .illustration div::after, .slider .illustration div::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 3rem;
  top: 0;
  left: 0;
}
.slider .illustration div::after {
  transform: translate(4rem, -1rem);
}
.slider .illustration div::before {
  transform: translate(2rem, -2rem);
}

.prev,
.next,
.trail {
  z-index: 10000;
  position: absolute;
}

.prev,
.next {
  width: 4rem;
  cursor: pointer;
  opacity: 0.2;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 650px) {
  .prev,
.next {
    display: none;
  }
}
.prev:hover,
.next:hover {
  opacity: 1;
}

.prev {
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
}

.next {
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}
.pergunta{
  font-family: sans-serif;
  font-size: large;

}
.resposta{
  font-family: sans-serif;
  font-size: medium;
  border-color: black;
}
.trail {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
  font-size: 1.5rem;
}
@media only screen and (max-width: 650px) {
  .trail {
    width: 90%;
    bottom: 13%;
  }
}
.trail div {
  padding: 2rem;
  border-top: 3px solid #fff;
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.3s ease;
}
.trail div:hover {
  opacity: 0.6;
}
@media only screen and (max-width: 650px) {
  .trail div {
    padding: 1rem;
  }
}

.active {
  opacity: 1 !important;
}

