@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400&display=swap');

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

:root{
  --primary-color: #fff;
  --secundary-color: #06A77D;
  --text-color: #7c7c7c;
}

body{
  font-family: "Nunito", sans-serif;
  color: #222222;
}

ul{
  list-style: none;
}

img{
  display: block;
  max-width: 100%;
  box-shadow: 5px 5px 15px 0 #2222228e;
}

.menu-bg{
  background: var(--secundary-color);
  color: var(--primary-color);
}

.menu{
  max-width: 960px;
  margin: 0 auto;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.menu-logo{
  font-size: 40px;
  font-weight: 700;
}

.menu-logo a{
  color: var(--primary-color);
}

.menu-nav ul li{
  margin: 5px;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
}

.menu-nav ul li a{
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.menu-nav ul li a:hover{
  font-size: 25px;
  margin: 25px;
}

/* Introdução */
.intro{
  font-size: 3em;
  line-height: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 10px;
}

/* Sobre */
.about{
  border-top: 2px solid var(--secundary-color);
  border-bottom: 2px solid var(--secundary-color);
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
}

.about-info{
  flex: 2 1 300px;
  margin: 0 10px;
}

.about-info h1{
  font-size: 3em;
  margin: 0 0 40px 0;
}

.about-info p{
  font-size: 1.25em;
  line-height: 1.4;
  margin-bottom: 1em;
}

.about-img{
  flex: 1 1 160px;
  margin: 0 10px;
  align-self: flex-start;
}

.about-img2{
  flex: 1 1 160px;
  margin: 0 10px;
  align-self: flex-end;
}

/* Produtos */
.products{
  max-width: 960px;
  margin: 60px auto;
}

.products h1{
  font-size: 3em;
  margin: 0 10px 60px 10px;
}

.products-container{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.products-item{
  flex: 1 1 175px;
  margin: 10px;
}

.products-item h2{
  font-size: 3em;
  color: #a4a4a4;
  background: #f7f7f7;
  padding: 60px 20px;
  box-shadow: 5px 5px 15px 0 #2222228e;
}

.blue{
  border-top: 8px solid #002CB3;
  align-self: flex-start;
  transition: all 1.5s ease;
}

.blue:hover, .red:hover, .yellow:hover{
  align-self: flex-start;
  transform: translateY(-15%);
}

.red{
  border-top: 8px solid #E64330;
  align-self: center;
  transition: all 1.5s ease;
}

.yellow{
  border-top: 8px solid #FBD301;
  align-self: flex-start;
  transition: all 1.5s ease;
}

/* Preço */
.price{
  background: #f7f7f7;
  padding: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.price h1{
  display: block;
}

.price-item{
  flex: 1 1 260px;
  border: 4px solid var(--primary-color);
  padding: 20px;
  margin: 10px;
}

.price-item:hover{
  border-color: var(--secundary-color);
  box-shadow: 5px 5px 15px 0 #2222228e;
}

.price-item h2{
  font-size: 3em;
  color: #a4a4a4;
  text-align: center;
  margin-top: 20px;
}

.price-item span{
  max-width: 300px;
  margin: 20px auto;
  display: block;
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  padding: 10px 0 5px 0;
  border-top: 4px solid #222222;
  border-bottom: 4px solid #222222;
}

.price-item sup{
  font-size: 1.5rem;
}

.price-item ul{
  max-width: 20px auto;
  font-size: 1.25em;
  font-style: italic;
  color: #7c7c7c;
}

.price-item li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.price-item li::after{
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #24e645;
  border-radius: 50%;
}

.price-item a{
  max-width: 300px;
  display: block;
  margin: 20px auto;
  border-right: 4px solid #222222;
  border-bottom: 4px solid #222222;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.25em;
  padding: 15px 0;
  text-align: center;
  color: var(--primary-color);
  background: var(--secundary-color);

  transition: all 0.5s ease;
}

.price-item a:hover{
  border-color: transparent;
  box-shadow: 5px 5px 15px 0 #2222228e;
}

.quality{
  max-width: 960px;
  margin: 60px auto;
  display: flex;
  flex-wrap: wrap;
}

.quality-item{
  flex: 1 1 300px;
  margin: 20px 10px;
}

.quality-item h2{
  font-size: 2.25em;
  color: #a4a4a4;
  margin-bottom: 20px;
}

.quality-item h2::before{
  content: '';
  display: inline-block;
  width: 8px;
  height: 30px;
  margin-right: 10px;
}

.quality-item:nth-of-type(3n+1) h2::before{
  background: crimson;
}

.quality-item:nth-of-type(3n+2) h2::before{
  background: chartreuse;
}

.quality-item:nth-of-type(3n+3) h2::before{
  background: #FBD301;
}

.quality-item p{
  font-size: 1.25em;
  line-height: 1.4;
  color: #7c7c7c;
}

/* newsletter */

.newsletter{
  background: #f7f7f7;
  padding: 60px calc((100% - 960px) /2 );
  display: flex;
  flex-wrap: wrap;
}

.newsletter-info{
  flex: 1 1 240px;
  margin: 0 10px;
}

.newsletter h1{
  font-size: 3em;
  color: #a4a4a4;
}

.newsletter-info p{
  font-size: 1.25em;
  font-style: italic;
  max-width: 230px;
  color: #7c7c7c;
  margin-bottom: 10px;
}

.newsletter form{
  flex: 2 1 260px;
  margin: 0 10px;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
}

.newsletter form input{
  flex: 3 1 200px;
  font-size: 1.25em;
  color: #7c7c7c;
  font-style: italic;
  font-family: "Nunito", sans-serif;
  border: 4px solid var(--secundary-color);
  background: transparent;
  padding: 15px 10px;
  margin: 0;
  border-radius: 0;
}

.newsletter button{
  flex: 1 1 200px;
  font-family: "Nunito", sans-serif;
  font-size: 2.25em;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--secundary-color);
  color: var(--primary-color);
  margin: 0;
  cursor: pointer;
  border: 0;
  padding: 15px 10px;
}

/* Footer */
.footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 200px;
  background: var(--secundary-color);
}

.footer p{
  font-size: 2.25rem;
  color: var(--primary-color);
  text-align: center;
}

.footer a{
  font-size: 35px;
  margin: 15px;
  color: var(--primary-color);
}

.menu-btn, .cancel-btn{
  position: absolute;
  right: 30px;
  top: 20px;
  cursor: pointer;
  display: none;
  font-size: 20px;
}

/* Media Queries */

@media (max-width: 360px){
  .intro br{
    display: none;
  }
}

@media (max-width: 600px){
  .newsletter form button{
    font-size: 1.5rem;
  }
}

@media (max-width: 800px){
  .price{
    padding-left: 10px;
    padding-right: 10px;
  }

  .price .price-item:nth-child(3){
    order: -2;
  }

  .price .price-item:nth-child(2){
    order: -1;
  }

  .menu-btn{
    display: block;
  }

  .menu-nav{
    display: none;
  }
}

