
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;1,200&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Poppins:wght@100;200;300;400&family=Roboto:ital,wght@0,500;0,700;0,900;1,100;1,300;1,400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,700&display=swap');



*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
  scroll-behavior: smooth;
}

body{
    width: 70%;
    margin: auto;
    background-color: rgb(185, 218, 142);

}
.nav-bar{
    background-color:  rgba(42, 197, 11, 0.877);
    margin-top: 20px;
    border-radius: 5px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    transition: top 1s;
}
.logo{
    width: 50px;
    padding-top: 5px;
}
.nav{
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    padding-top: 20px;
    padding-right: 15px;
}
a{
    color: rgb(12, 51, 4);
    font-size: larger;
    font-weight: 500;
    padding: 10px;
    text-align: center;
}
.content{
    display: flex;
    flex-direction: column;
}
.content h1{
    text-align: center;
    margin-bottom: 15px;
    color:  rgb(12, 51, 4);;
}
.riscos{
    margin-top: 25px;
    display: flex;
    gap: 25px;
    align-items: center;
    border-bottom: solid  rgba(42, 197, 11, 0.877);;
}
.descarte{
    margin-top: 25px;
    display: flex;
    gap: 25px;
    align-items: center;
    border-bottom: solid  rgba(42, 197, 11, 0.877);;    
}
.solucao{
    margin-top: 25px;
    display: flex;
    gap: 25px;
    align-items: center;
    border-bottom: solid  rgba(42, 197, 11, 0.877); 
}
.solu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.a {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid rgb(12, 51, 4);
    text-transform: uppercase;
    color: rgb(12, 51, 4);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;

  }
  
  .a::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% - 12px);
    background-color: rgb(185, 218, 142);
    transition: 0.3s ease-in-out;
    transform: scaleY(1);
  }
  
  .a:hover::before {
    transform: scaleY(0);
  }
  
  .a::after {
    content: '';
    position: absolute;
    left: 6px;
    top: -2px;
    height: calc(100% + 4px);
    width: calc(100% - 12px);
    background-color: rgb(185, 218, 142); 
    transition: 0.3s ease-in-out;
    transform: scaleX(1);
    transition-delay: 0.5s;
  }
  
  .a:hover::after {
    transform: scaleX(0);
  }
  
  .a span {
    position: relative;
    z-index: 3;
  }
  
  button {
    margin-top: 50px;
    background-color: none;
    text-decoration: none;
    background-color: rgba(42, 197, 11, 0.877); 
    border: none;
  }
.empresas{
    margin-top: 25px;
    align-items: center;

}
.empresas h1{
    text-align: center;
    margin-bottom: 25px;

}
.cards {
    display: flex;
    justify-content: space-around;
    gap: 25px;
  }
  
.card{
    border: solid  rgba(42, 197, 11, 0.877);
    align-items: center;
    justify-content: center;
} 
  .cards .card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 250px;
    width: 300px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 400ms;
  }
  
  .cards .card p.tip {
    font-size: 1em;
    font-weight: 700;
  }
  
  .cards .card p.second-text {
    font-size: .7em;
  }
  
  .cards .card:hover {
    transform: scale(1.2, 1.2);
  }
  
  .cards:hover > .card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
  }

  footer{
    margin-top: 35px;
    bottom: 0;
    left: 0;
    right: 0;
    background:  rgba(42, 197, 11, 0.877);
    height: auto;
    padding-top: 40px;
    color:  rgb(12, 51, 4);
    border-radius: 8px;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h3{
    font-size: 2.1rem;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 3rem;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
    color:  rgb(12, 51, 4);
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.footer-bottom{
    background:  rgba(42, 197, 11, 0.877);
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
}
.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom p a{
    color: rgb(12, 51, 4);
    font-size: 16px;
    text-decoration: none;
}
.footer-bottom span{

    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}
@media only screen and (max-width: 768px) {
    body{
        width: 90%;
        margin: auto;
    }

    .nav-bar{
        width: 100%;
        margin-top: 15px;
        display: flex;

    }
    .nav{
        font-size: small;
        display: flex;
        flex-direction: column;
    }
    .content img{
        width: 300px; ;
    }
    .riscos{
        display: flex;
        flex-direction: column;
    }
    .descarte{
        display: flex;
        flex-direction: column;  
    }
    .solucao{
        display: flex;
        flex-direction: column;
    }
    button{
        margin-bottom: 15px;
    }
    .empresas{
        align-items: center;
        justify-content: center;
        padding-left: 0;
    }
    .cards{
        padding-left: 25px;
        flex-direction: column;
        width: 200px;
    }
}