@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
        overflow-x: hidden;
        background-image: url(assets/fundo.png);
    }

.logo{
    width: 10rem;
}

.logo-container {
    display: flex;
    justify-content: start;
}

a {
    text-decoration: none;
    color: aliceblue;
}

.cabecalho {
    background-color: #58f4cc;
}

.itens-container{
    justify-content: center;
    align-items:center;
    display: flex;
    width: 50%;
}


.itens {
    display: flex;
    list-style-type: none;
    width: 100%;
}
.itens li{
    border: 1px solid black;
    margin: 0 0.5rem;
    border-radius: 2rem;
    padding: 0.8rem 0.6rem;
    background-color:#91fde2;
}

.itens a{
    color: black;
    font-family: Montserrat, sans-serif;
}



header {
    align-items: center;
    position: relative;
    display: flex;
    height: 11vh;
    justify-content: space-between;
}



.fundo-container {
    max-width: 100%;
    height: 89vh;
    display: flex;
    overflow: hidden;
    align-items: center;
    position: relative;
    justify-content: center;
}

.fundo-container img {
    width: 100%;
    height: auto;
    object-position: bottom;
    filter: brightness(40%);
}

.fundo-container div{
    display: flex;
   position: absolute;
   z-index: 1;
   width: 50rem;
   align-items: center; 
   justify-content: center;
   flex-direction: column;
   text-align: center;
   padding: 0 4rem;
   
}

.texto1 {
    font-family: Montserrat, sans-serif;
    color: white;
    font-weight: 900;
    margin-bottom: 1rem;
}

.texto2 {
    font-family: Montserrat, sans-serif;
    color: white;
    font-weight: 600;
}

.material-icons {
    display: none;
  }

.titulo2-div {
    background-color: #8d8d8d;
}

.titulo2 {
    text-align: center;
    padding: 1.8rem 8rem;
    font-family: Montserrat, sans-serif;
    color: white;
}

.main {
    background-color: #a5a5a5;
}


.titulo3-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.titulo3 {
    padding: 2rem 5rem;
    font-family: Montserrat, sans-serif;
    color: white;
    font-size: 2.3rem;
    font-weight: 900;
    max-width: 30%;
    background-color: #b3b3b3;
    border-radius: 2rem;
    margin: 2rem 0;
}

h4 {
    margin-bottom: 0.5rem;
}

.quadrados-container {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    text-align: center;
    width: 100%;
}

.quadrados {
  margin: auto;
  border-radius: 1rem;
  width: 70%;
  background-color: #7e7e7e;
  cursor: pointer;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quadrados h4{
    color: black;
    font-family: Montserrat, sans-serif;
    padding: 1rem 0rem;
    background-color: #a5a5a5;
    border-radius: 3rem;
    width: 70%;
    margin: 1rem 0;

}


.quadrados img{
    border-radius: 1rem;
    width: 85%;
    margin-top: 1rem;
    aspect-ratio: 1 / 1;
}

.footer-container img 
{   aspect-ratio: 2.65 / 1;
    width: auto;
    margin-bottom: 3vh;
}

.footer-container a{
    display: flex;
    justify-content: center;
}

.footer-container 
{
    max-height: 11vh;
    background-color: #58f4cc;
    width: 100%;
    display: flex;
    justify-content: center;
}




















@media screen and (max-width: 973px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; 
    background-color: #58f4cc;
  }

  main {
    margin-top: 11vh; 
  }

  #menu-toggle {
    transition: transform 0.3s ease; 
    transform: rotate(0deg);
  }

  #menu-toggle.rotated {
    transform: rotate(90deg);
  }

  button {
    background-color:#58f4cc;
    border: none;
  }



  .itens {
    position: fixed;
    z-index: 10000;
    top: 11vh;
    right: 0;
    width: 100vw;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    height: 89vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-top: 2rem;
  }

  .itens.ativo {
    transform: translateX(0);
  }


  .itens li{
    border: 2px solid #08ce9c;
    margin: 1rem 1.4rem;
    border-radius: 2rem;
    padding: 2rem 3rem;
    background-color:#91fde2;

}

.itens a{
    color: rgb(0, 0, 0);
    font-family: Montserrat, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: start;
}

  .material-icons {
    display: block;
    position: absolute;
    right: 0.5rem;
    z-index: 1000;
  }

 .fundo-container {
    height: auto;
 }

.fundo-container div{
    display: flex;
   position: absolute;
   z-index: 1;
   width: 100%;
   align-items: center; 
   justify-content: center;
   flex-direction: column;
   text-align: center;
   padding: 0 1rem;
}

.titulo2 {
    padding: 1rem 1rem;
}

.titulo3-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
}

.titulo3 {
    font-family: Montserrat, sans-serif;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    max-width: 100%;    
    background-color: #b3b3b3;
    border-radius: 2rem;
    margin: 2rem 0;
    padding: 2rem 3rem;
}


  html, body {
    overflow-x: hidden;
  }
}


@media (max-width: 1100px) {
  .quadrados-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .quadrados-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .quadrados-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 400px) {
  .texto1 {
    font-size: 1.4rem;    
  }
  .texto2 {
    font-size: 0.8rem;
  }
}