/* HEADER */

header{
  background-image: url('../assets/backgrounds/home-header.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;

  padding-bottom: 30rem;
}

header .banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20rem;
}

header .banner img {
  max-width: 516px;
  max-height: 345px;
}

/* CAROUSEL PRODUTOS */

main .carousel {
  padding: 0 20rem;
  position: relative;
}

.carousel-products {
  margin-top: -30rem;
  
  height: 50rem;
  width: 100%;
}

.carousel-products .controls {
  position: absolute;
  top: 42%;
  left: 0;

  width: 100%;
  visibility: visible;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-products .controls .left,
.carousel-products .controls .right {
  width: 70px;
  height: 70px;
  background-color: var(--blue-dark);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));

  cursor: pointer;
}

.carousel-products .controls .left{
  margin-left: 10rem;
  padding-bottom: 0.5rem;
  transform: rotate(-90deg);
}

.carousel-products .controls .right{
  margin-right: 10rem;
  padding-bottom: 0.5rem;
  transform: rotate(90deg);
}

.carousel-products .cards {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.carousel-products .cards a{
  width: 30rem;
  height: 35rem;

  text-decoration: none;

  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.carousel-products .cards .card {
  background-color: var(--red);
  border-radius: 0 10rem;
  width: 27rem;
  height: 28rem;
  padding-bottom: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;


}

.carousel-products .cards .card img{
  position: absolute;
  top: -25%;
  width: 24rem;
  height: 24rem;
  object-fit: contain;
  object-position: center;

}
.carousel-products .cards .card .name{
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 2.8rem;
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
  width: 100%;
  padding: 0 5rem;
}
.carousel-products .cards .card .sizes{
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 2.8rem;
  text-align: center;
  color: var(--white);
  width: 100%;
  padding: 0 2rem;
}

/* MAIN */

main .about{
  margin-top: -2rem;
  width: 100%;
  padding: 2rem 20rem;
}

main .about .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin-top: 3rem;
  
}

main .about .left{
  width: 50%;
  height: 100%;
  z-index: 29;
}


main .about .left p {
  color: var(--grey);
  text-align: justify;
  line-height: 1.9rem;
  z-index: 29;
}
main .about .right {
  width: 45%;
  max-height: 650px;
  min-height: 400px;
  background-image: url("../assets/images/home-main-about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 25%;
  border-bottom-right-radius: 25%;
  z-index: 29;
}


main .about .action {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 55%;
}

.button {
  text-decoration: none;
  color: var(--white);
  font-weight: 900;
  font-size: 2rem;
  background-color: var(--blue-dark);
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));
  padding: 0.5rem 4.5rem;
  border-radius: 0 2.5rem;
  z-index: 19;
}

/* RECIPES */
main .recipes {
  background-image: url('../assets/backgrounds/home-main-recipes.png');
  background-position: center;
  background-size: cover;
  background-color: var(--yellow);
  padding: 5% 0;
  position: relative;
  margin-top: -10%;
}
main .recipes .wave-top {
  position: absolute;
  top: -1%;
  left: 0;
  right: 0;
  background-image: url('../assets/backgrounds/wave-top.svg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  width: 100%;
  height: 25%;
}
main .recipes .wave-bottom {
  position: absolute;
  bottom: -1%;
  left: 0;
  right: 0;
  background-image: url('../assets/backgrounds/wave-bottom.svg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  width: 100%;
  height: 25%;
}
main .recipes .heading{
  padding:  0 20rem;
  margin-top: 15rem;
  margin-bottom: 5rem;
}
main .recipes .action{
  padding:  0 20rem;
  margin-top: 5rem;
  margin-bottom: 15rem;
}
main .recipes .carousel-recipes {
  min-height: 35rem;
}
main .recipes .carousel-recipes .cards {
  min-height: 35rem;
  width: 100vw;
  padding: 0 0;
  display: flex;
  transition: all ease .5s;
  overflow-x: hidden;
}
main .recipes .carousel-recipes .cards .card {
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));
  margin-right: 2.7rem;
  border-radius: 0px 100px;
  height: 27rem;
  width: 27rem;
}
main .recipes .carousel-recipes a {
  text-decoration: none;
}
main .recipes .carousel-recipes .cards .card .img{
  height: 100%;
  width: 100%;
  border-radius: 0px 100px;
  overflow: hidden;
  position: relative;
}
main .recipes .carousel-recipes .cards .card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
main .recipes .carousel-recipes .cards .card .img p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--red);
  color: var(--white);
  padding: 1rem 1rem 1rem 8rem;
  text-align: end;
  font-weight: 900;
  font-size: 1.6rem;
}
main .recipes .carousel-recipes .cards .card .actionn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 1rem;
  width: 100%;
}
main .recipes .carousel-recipes .cards .card .actionn p {
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--blue-dark);
}
main .recipes .carousel-recipes {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}
main .recipes .action{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
/* INFOS */
main .infos {
  padding: 2rem 20rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10rem;
  row-gap: 1.5rem;
  margin-top: -5%;
}

main .infos .heading2 img{
  width: 45px;
  height: 45px;
  object-fit: contain;
  z-index: 29;
}
main .infos .heading2 h3{
  z-index: 29;
}
main .infos .info{
  z-index: 29;
}

main .infos .info p {
  color: var(--grey);
  font-weight: 400;
  line-height: 2rem;
  text-align: justify;
  z-index: 29;
}

/* SOCIAL - INCOMPLETO */
main .social {
  background-image: url('../assets/backgrounds/home-main-social.png');
  background-position: center;
  background-size: cover;
  background-color: var(--yellow);
  padding: 5% 0;
  position: relative;
  margin-top: -5%;
}
main .social .wave-top {
  position: absolute;
  top: -1%;
  left: 0;
  right: 0;
  background-image: url('../assets/backgrounds/wave-top.svg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  width: 100%;
  height: 25%;
}
main .social .wave-bottom {
  position: absolute;
  bottom: -1%;
  left: 0;
  right: 0;
  background-image: url('../assets/backgrounds/wave-bottom.svg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  width: 100%;
  height: 25%;
}

main .social .heading{
  padding:  0 20rem;
  margin-top: 15rem;
  margin-bottom: 5rem;
}
main .social .action{
  padding:  0 20rem;
  margin-top: 5rem;
  margin-bottom: 15rem;
}

main .social .carousel-social {
  height: auto;
  /*display: none;*/
}

main .social .carousel-social .cards {
  height: 30rem;
  width: 100vw;
  padding: 0 0;
  display: none;
  transition: all ease .5s;
  overflow-x: hidden;
}

main .social .carousel-social .cards .card {
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));
  margin-right: 2.7rem;
  border-radius: 0px 100px;
}
main .social .carousel-social a {
  text-decoration: none;
}
main .social .carousel-social .cards .card .img{
  height: 27rem;
  width: 27rem;
  border-radius: 0px 100px;
  overflow: hidden;
  position: relative;
  background-color: var(--red);
}

main .social .carousel-social .cards .card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

main .social .carousel-social .cards .card .img .link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(49, 39, 131, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:  center;
  color: rgb(250, 194, 0);
  padding: 24px;
  text-overflow: ellipsis;
  opacity: 0;
  transition: 0.3s ease;
}
main .social .carousel-social .cards .card .img .link:hover {
  opacity: 1;
}

main .social .carousel-social {
  width: 100%;
  overflow: hidden;
  position: relative;
}

main .social .action{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/**/

main .contact {
  padding: 2rem 20rem;
  margin-top: -5%;
}
main .contact .heading img,
main .contact .heading h2{
  z-index: 29;
}

main .contact h3.description {
  margin-top: 1.6rem;
  margin-bottom: 2rem;
  color: var(--grey);
  font-weight: 900;
  font-size: 4rem;
  line-height: 4rem;
}

main .contact form .input-block.subject label{
  color: var(--white);
  background-color: var(--grey);
  box-shadow: 0px 0.8rem 1.6rem rgba(0, 0, 0, 0.15);
  border-radius: 5rem;
  padding: 1rem 2rem;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 5.2rem;
  margin-right: 1rem;
  cursor: pointer;
}

main .contact form .input-block.subject input[type=radio]{
  display: none;
}

main .contact form .input-block.subject input[type=radio]:checked + label {
  background-color: var(--yellow);
}

main .contact form .wrapper{
  margin-top: 1rem;
  display: flex;
  width: 100%;
}

main .contact form .wrapper .input-block{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main .contact form .wrapper .left .input-block-wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .contact form .wrapper .left .input-block-wrapper .input-block{
  width: 45%;
}

main .contact form .wrapper .left {
  width: 50%;
  margin-right: 3rem;
}

main .contact form .wrapper .input-block label{
  font-size: 2rem;
  line-height: 2rem;
  color: var(--grey);
  font-weight: 400;
  margin: 0.8rem 0;
}

main .contact form .wrapper .input-block input{
  width: 100%;
  height: 36px;
  background-color: var(--grey-light);
  border: none;

  font-size: 1.8rem;
  padding: 0.4rem;

  outline-color: var(--yellow);
}

main .contact form .wrapper .right {
  width: calc(50% - 3rem);
}

main .contact form .wrapper .right .input-block textarea{
  width: 100%;
  height: 18rem;
  background-color: var(--grey-light);
  border: none;
  outline-color: var(--yellow);
  resize: none;

  font-size: 1.8rem;
  padding: 0.4rem;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

main .contact form .input-block.submit {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

main .contact form .input-block.submit .button{
  border: none;
  font-weight: 500;
  font-size: 2rem;
}

main .contact .more {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .contact .more .left, 
main .contact .more .right {
  width: 50%;
}

main .contact .more .heading3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 3rem;
}

main .contact .more .heading3 h3 {
  margin-left: 2rem;
  font-size: 3.5rem;
  line-height: 3rem;
  font-weight: 900;
  color: var(--blue-dark);
}

main .contact .more p{
  font-size: 2rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: var(--grey);
}

/* MEDIAS QUERY */

/* 4k - 2560px */
@media (min-width: 2000px){
  header{
    padding-bottom: 35rem;
  }
  header .banner {
    padding: 5rem 40rem 0 40rem;
  }
  header .banner img{
    width: 50%;

  }
  main .carousel {
    padding: 0 40rem;
  }
  .carousel-products .controls .left{
    margin-left: 30rem;
    width: 120px;
    height: 120px;
  }
  .carousel-products .controls .right{
    margin-right: 30rem;
    width: 120px;
    height: 120px;
  }
  main .about{
    margin-top: -5rem;
    width: 100%;
    padding: 10rem 40rem 0 40rem;

  }
  main .about .left p {
    font-size: 2rem;
    line-height: 2.4rem;
  }
  main .about .right {
    max-height: 400px;
    min-height: 650px;
  }
  main .recipes {
    padding: 10% 0;
    margin-top: -5%;
  }
  main .recipes .heading,
  main .recipes .action{
    padding:  0 40rem;
    margin: 5rem 0;
  }
  main .recipes .carousel-recipes {
    height: auto;
  }
  main .recipes .carousel-recipes .cards .card {
    height: 37rem;
    width: 37rem;
  }
  main .recipes .carousel-recipes .cards .card .img p {
    font-size: 2.4rem;
  }
  main .recipes .carousel-recipes .cards .card .actionn p {
    font-size: 1.8rem;
  }
  main .infos {
    padding: 2rem 40rem;
    row-gap: 5rem;
    margin-top: -2.5%;
  }
  main .infos .heading2 img{
    width: 80px;
    height: 80px;
  }
  main .infos .heading2 h3 {
    font-size: 4.2rem;
  }
  main .infos .info p {
    font-size: 2.2rem;
    line-height: 2.8rem;
  }
  main .social {
    padding: 20rem 0;
  }
  main .social .heading,
  main .social .action{
    padding:  0 40rem;
    margin: 5rem 0;
  }
  main .social .action .button {
    font-size: 2.8rem;
  }
  main .social .carousel-social {
    height: 30rem;
  }
  main .contact {
    padding: 0 40rem;
  }
  main .contact form .input-block.subject label{
    font-size: 2.4rem;
  }
  main .contact form .wrapper .input-block label{
    font-size: 2.4rem;
    line-height: 3rem;
    margin: 1rem 0;
  }
  main .contact form .wrapper .input-block input{
    height: 72px;
    font-size: 2.4rem;
    padding: 0.8rem 1rem;
  }
  main .contact form .wrapper .right {
    width: calc(50% - 3rem);
  }
  main .contact form .wrapper .right .input-block textarea{
    font-size: 2.4rem;
    padding: 0.8rem 1rem;
    height: 27rem;
  }
  main .contact form .input-block.submit {
    margin-top: 3rem;
  }
  main .contact form .input-block.submit .button{
    font-size: 2.8rem;
  }
  main .contact .more {
    margin-top: 3rem;
  }
  main .contact .more .left, main .contact .more .right {
    width: 50%;
  }
  main .contact .more .heading3 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 3rem;
  }
  main .contact .more .heading3 img {
    width: 120px;
    height: 120px;
  }
  main .contact .more .heading3 h3 {
    margin-left: 4rem;
    font-size: 5rem;
    line-height: 5rem;
  }
  main .contact .more p{
    font-size: 3rem;
    line-height: 4rem;
  }
}

/* Laptop L - 1440px */
/* CÓDIGO ORIGINAL */

/* Laptop - 1024px */
@media (max-width: 1200px) {
  header .banner {
    padding: 5rem 10rem 0 10rem;
  }
  main .about{
    margin-top: -5rem;
    width: 100%;
    padding: 0rem 10rem 5% 10rem;
    z-index: 9;
  }
  main .recipes {
    padding: 5% 0;
    margin-top: -20%;
  }
  main .recipes .heading{
    padding:  0 10rem;
    margin-top: 15rem;
    margin-bottom: 5rem;
  }
  main .recipes .action{
    padding:  0 10rem;
    margin-top: 2.5rem;
    margin-bottom: 15rem;
  }
  main .infos {
    margin-top: -10%;
    padding: 0 10rem;
    row-gap: 5rem;
    column-gap: 5rem;
  }
  main .social {
    margin-top: -10%;
    padding: 10rem 0;
  }
  main .social .heading{
    padding:  0 10rem;
    margin-top: 15rem;
    margin-bottom: 5rem;
  }
  main .social .action{
    padding:  0 10rem;
    margin-top: 2.5rem;
    margin-bottom: 15rem;
  }
  main .contact {
    margin-top: -5%;
    padding: 0 10rem;
  }
}

/* Tablet - 768px */
@media (max-width: 820px) {
  header .banner {
    padding: 2.5rem 5rem 0 5rem;
  }
  main .about{
    margin-top: -5rem;
    width: 100%;
    padding: 2.5rem 5rem 0 5rem;
  }
  main .about .wrapper{
    align-items: center;
  }
  main .about .right {
    max-height: 600px;
    min-height: 400px;
  }
  main .recipes {
    margin-top: -20%;
    padding: 10rem 0;
  }
  main .recipes .heading{
    padding:  0 5rem;
    margin-top: 15rem;
    margin-bottom: 5rem;
  }
  main .recipes .action{
    padding:  0 5rem;
    margin-top: 2.5rem;
    margin-bottom: 15rem;
  }
  main .infos {
    margin-top: -15%;
    padding: 0 5rem;
    row-gap: 2.5rem;
    column-gap: 2.5rem;
  }
  main .infos h3{
    line-height: normal;
  }
  main .social {
    margin-top: -15%;
    padding: 10rem 0;
  }
  main .social .heading{
    padding:  0 5rem;
    margin-top: 15rem;
    margin-bottom: 5rem;
  }
  main .social .action{
    padding:  0 5rem;
    margin-top: 2.5rem;
    margin-bottom: 15rem;
  }
  main .contact {
    margin-top: -10%;
    padding: 0 5rem;
  }
}

/* Mobile L - 425px */
@media (max-width: 680px) {
  header{
    padding-bottom: 30rem;
  }
  header .banner {
    padding: 5rem 0rem 0 0rem;
  }
  header .banner img {
    width: 100%;
  }
  main .carousel {
    z-index: 0;
    padding: 0 2.5rem;
  }
  .carousel-products .controls {
    visibility: hidden;
  }
  main .about{
    padding: 2rem 10%;
  }
  main .about .wrapper {
    flex-direction: column;
  }
  main .about .left{
    width: 100%;
    margin-right: 0;
  }
  main .about .right{
    width: 100%;
    margin-top: 2.5rem; 

    min-height: 250px;
  }
  main .about .action {
    margin-left:0;
  }
  
  main .recipes {
    margin-top: -45%;
    padding: 15rem 0;
  }
  main .recipes .action{
    margin-top: 1rem;
  }
  main .infos {
    padding: 0 10%;
    margin-top: -40%;
    grid-template-columns: 1fr;
  }
  main .social {
    margin-top: -40%;
    padding: 15rem 0;
  }
  main .social .action{
    margin-top: 2.5rem;
  }
  main .social .heading,
  main .social .action{
    padding:  0 10%;
  }
  main .contact {
    padding: 0 10%;
    margin-top: -25%;
  }
  main .contact .description {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 3rem;
    line-height: 4rem;
  }
  main .contact form .wrapper{
    flex-direction: column;
  }
  main .contact form .wrapper .left,
  main .contact form .wrapper .right {
    width: 100%;
    margin-right: 0;
  }
  main .contact .more {
    display: flex;
    flex-direction: column;
  }
  main .contact .more .left{
    width: 100%;
    margin-bottom: 2.5rem;
  }
  main .contact .more .right {
    width: 100%;
  }
  main .contact .more .heading3 img {
    width: 5rem;
    height: 5rem;
  }
  main .contact .more .heading3 h3 {
    font-size: 3rem;
  }
  main .contact .more p{
    font-size: 2rem;
  }
}
