body{
  margin: 0;
  background-color: #EFF299;
  font-family: "Bubblegum Sans", sans-serif; 
}

header nav{
  position: sticky;
  top: 10px;
  background-color: #467326;
  display: flex;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 25px;
  margin: 24px;
  border: 5px solid black;
  border-radius: 10px;
  transition-duration: 0.4s;
  color: white;
  animation: reveal3 1s ease-out;
  flex-direction: row;
}

a{
color: white;
text-decoration: none;
font-size: 19px;
transition: transform 0.3s ease;
}

a:hover{
transform: scale(1.5);
}

.buttons{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 35%;
}

main{
position: relative;
background-color: #79A637;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 10%;
padding-right: 120px;
margin: 20px;
margin-left: 24px;
margin-right: 24px;
height: 400px;
border: 5px solid black;
border-radius: 10px;
color: white;
transition-duration: 0.4s;
transform: translateX(-2000px);
animation: reveal2 1s ease-out 1s forwards;
font-size: 18px;
}

button{
width:200px;
height:70px;
background: linear-gradient(to left top, #dfe372 50%, #EFF299 50%);
border-style: none;
color: black;
font-size: 23px;
letter-spacing: 3px;
font-weight: 600;
outline: none;
cursor: pointer;
position: relative;
padding: 0px;
overflow: hidden;
transition: all .5s;
box-shadow: 0px 1px 2px rgba(0,0,0,.2);
font-family: "Bubblegum Sans", sans-serif; 
}
button span{
position: absolute;
display: block;
}
button span:nth-child(1){
height: 4px;
width:200px;
top:0px;
left:-200px;
background: linear-gradient(to right, rgba(0,0,0,0), #000000);
border-top-right-radius: 1px;
border-bottom-right-radius: 1px;
animation: span1 2s linear infinite;
animation-delay: 1s;
}

button span:nth-child(2){
height: 70px;
width: 5px;
top:-70px;
right:0px;
background: linear-gradient(to bottom, rgba(0,0,0,0), #000000);
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
animation: span2 2s linear infinite;
animation-delay: 2s;
}

button span:nth-child(3){
height: 4px;
width:200px;
right:-200px;
bottom: 0px;
background: linear-gradient(to left, rgba(0,0,0,0), #000000);
border-top-left-radius: 1px;
border-bottom-left-radius: 1px;
animation: span3 2s linear infinite;
animation-delay: 3s;
}

button span:nth-child(4){
height:70px;
width: 4px;
bottom:-70px;
left:0px;
background: linear-gradient(to top, rgba(0,0,0,0), #000000);
border-top-right-radius: 1px;
border-top-left-radius: 1px;
animation: span4 2s linear infinite;
animation-delay: 4s;
}

button:hover{
transition: all .5s;
transform: rotate(-3deg) scale(1.1);
box-shadow: 0px 3px 5px rgba(0,0,0,.4);
}
button:hover span{
animation-play-state: paused;
}

main div{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

main img{
width: 430px;
border: 5px solid black;
box-shadow: 5px 5px 20px #EFF299;
}

article{
  position: relative;
  display: flex;
  justify-content: space-around;
}

article section{
display: flex;
align-items: center;
width: 700px;
padding: 10px;
color: white;
}

#article1{
background-color: #A0D94A;
margin-top: 50px;
border-top: 5px solid black;
border-bottom: 5px solid black;
height: 70vh;
display: flex;
align-items: center;
}

#article2{
  height: 70vh;
display: flex;
align-items: center;
}

#article2 section p{
color: black;
}

#article3{
  height: 70vh;
display: flex;
align-items: center;
background-color: #A0D94A;
margin-top: 50px;
border-top: 5px solid black;
border-bottom: 5px solid black;
}

article section p{
font-size: 25px;
text-align: justify;
margin: 0;
padding: 25px;
}

article aside{
padding: 30px;
}

article aside img{
  width: 650px;
  border: 5px solid black;
  border-radius: 10px;
  transition-duration: 0.4s;
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 25% cover 40%; 
}

div article img{
width: 150px;
}

.info{
margin-top: 40px;
display: flex;
justify-content: space-between;
margin-left: 90px;
margin-right: 90px;
color: white;
margin-bottom: 20px;
}

.info article{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 250px;
text-align: justify;
background-color: #A0D94A;
border: 5px solid black;
border-radius: 10px;
transition-duration: 0.4s;
padding: 10px;
opacity: 0;
}

.info :first-child{
animation: revealArticle .5s ease-out 2s forwards;
}

.info :nth-child(2){
animation: revealArticle .5s ease-out 2.3s forwards;
}

.info :nth-child(3){
animation: revealArticle .5s ease-out 2.6s forwards;
}

.info :nth-child(4){
animation: revealArticle .5s ease-out 2.9s forwards;
}

.info article:hover{
scale: 1.08;
}

.info article h4{
color: rgb(0, 0, 0);
text-align: center;
margin: 20px;
}

.info article p{
margin: 20px;

}

.info article img{
width: 130px;
margin: 10px;
}

footer{
  position: relative;
  background-color: #467326;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 30px;
  padding-right: 25px;
  margin: 25px;
  border: 5px solid black;
  border-radius: 10px;
  height: 100px;
  color: white;
}

.div-footer-index{
  width: 30%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
flex-direction: column;
}

/* Responsive */

@media (min-width: 481px) and (max-width: 600px) {
header nav {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.title {
  font-size: 28px;
}

.buttons {
  width: 50%;
  justify-content: space-between;
}

main {
  padding: 25px;
  height: auto;
}

main h1 {
  font-size: 36px;
}

main img {
  width: 280px;
  margin: 25px 0;
}

.info {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: 15px;
  margin-right: 15px;
  width: 380px;
}

.info article {
  margin: 20px;
  min-width: 30%;
}

article section {
  width: 90%;
}

article section p {
  font-size: 20px;
}

article aside img {
  width: 90%;
}

#article2 {
  flex-direction: column-reverse;
}

footer {
  flex-direction: row; 
  height: auto;
  padding: 15px 20px;
  font-size: 18px;
}

footer a {
  margin: 0 10px;
}

button {
  width: 190px;
  height: 65px;
  font-size: 20px;
}
}

@media (min-width: 768px) and (max-width: 1180px) {
header nav {
  padding: 10px;
  padding-left: 40px;
  padding-right: 40px;
}

.title{
  font-size: 36px;
}

.buttons {
  width: 50%;
  justify-content: space-around;
}

main {
  height: auto;
  padding: 30px;
  flex-direction: column;
  text-align: center;
}

main h1{
  font-size: 44px;
}

.main-button{
  margin: 20px;
}

main img {
  width: 350px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.info {
  flex-wrap: wrap;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
}

.info article {
  width: 45%;
  margin: 4%;
}

article {
  flex-direction: column;
}

article section {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

article aside img {
  width: 90%;
}

#article2 {
  flex-direction: column-reverse;
}
}

@media (min-width: 481px) and (max-width: 767px) {
header nav {
  padding: 10px;
}

.buttons {
  width: 100%;
  justify-content: space-around;
}

main {
  padding: 20px;
  height: auto;
  flex-direction: column;
  text-align: center;
}

main img {
  width: 300px;
  margin-top: 20px;
}

.info {
  flex-direction: column;
  align-items: center;
  margin-left: 20px;
  margin-right: 20px;
}

.info article {
  width: 100%;
  margin-bottom: 20px;
}

article {
  flex-direction: column;
}

article section {
  width: 90%;
}

article aside img {
  width: 90%;
}

#article2 {
  flex-direction: column-reverse;
}

footer {
  flex-direction: column;
  height: auto;
  padding: 15px;
  text-align: center;
}

footer a {
  margin-bottom: 10px;
}
}

@media (max-width: 480px) {
header nav {
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.buttons {
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.buttons a {
  margin: 5px 0;
}

main {
  padding: 15px;
  height: auto;
  flex-direction: column;
  text-align: center;
  margin: 10px;
}

main img {
  width: 250px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.info {
  flex-direction: column;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
}

.info article {
  width: 70%;
  margin-bottom: 15%;
}

article {
  flex-direction: column;
}

article section {
  width: 95%;
}

article section p {
  font-size: 18px;
  padding: 15px;
}

article aside {
  padding: 15px;
}

article aside img {
  width: 95%;
}

#article2 {
  flex-direction: column-reverse;
}

footer {
  height: auto;
  padding: 10px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button {
  width: 180px;
  height: 60px;
  font-size: 18px;
}
}

@media (min-width: 1559px) {

.title{
  font-size: 40px;
}

.buttons a{
  font-size: 24px;
}

body {
  max-width: 1600px;
  margin: 0 auto;
}

main {
  height: 500px;
}

main h1{
  font-size: 48px;
}

.info article {
  width: 280px;
  font-size: 18px;
}

footer{
  font-size: 24px;
}

footer a{
  font-size: 24px;
}
}

@media (max-width: 768px) {
article aside img {
  animation-range: entry 10% cover 20%; 
}

@media (max-width: 480px) {
  article aside img {
    animation-range: entry 5% cover 15%; 
  }
}
}

/* Animations */

@keyframes span4{
0%{
    bottom: -70px;
}
100%{
    bottom:70px;
}
}

@keyframes span3{
0%{
    right:-200px;
}
100%{
    right: 200px;
}
}

@keyframes span2{
0%{
    top:-70px;
}
100%{
    top:70px;
}
}

@keyframes reveal {
from{
  opacity: 0;
  translate: 0 100px;
}
to{
  opacity: 1;
  translate: 0 0;
}
}

@keyframes reveal2 {
from{
  transform: translateX(-2000px);
}
to{
  transform: translatex(0);
}
}

@keyframes reveal3 {
from{
  transform: translateY(-200px);
}
to{
  transform: translateY(0);
}
}

@keyframes revealArticle {
from{
  opacity: 0;
  transform: scale(.5);
}
to{
  opacity: 1;
  transform: scale(1.080);
}
}

@keyframes span1{
0%{
    left:-200px
}
100%{
    left:200px;
}
}