*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-color: #e9f3ef;
  display: flex;
  flex-direction: column;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 5rem;
    width: 100%; 
    height: 5rem;
    background-color: #00a38f; 
}

.logo{
  color: #e9f3ef;
  font-family: 'Sarala', sans-serif;;
  font-size: 2rem;
  padding-left: 2rem;
  cursor: default;
}

ul{
    display: flex;
    list-style: none;
    gap: 5em;
}

/* Estilização dos itens do menu */
.item-menu {
    font-size: 18px;
    color: #e9f3ef;
    font-family: 'Sarala', sans-serif;;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
   
  }
  
  /* Linha que aparece abaixo do item quando ele é focado 
  ou está com o cursor em cima */
  .item-menu:focus:after,
  .item-menu:hover:after {
    width: 100%;
    left: 0%;
  }
  
  /* Estilização da linha abaixo do item */
  .item-menu:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #9ceedd;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
    transition: 1s;
   
  }

  /* Estilização dos links do menu */
.nav-link {
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 400;
  }

  .imagem {
    width: 100%;
    max-width: 40em;
    height: auto;
    margin-right: 0;
}

main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10em 0 10em;
    flex: 1;
    
}

.assuntoPrincipal{
  display: flex;
  color: #00a38f ;
  font-size: 1.5em;
  font-family: sans-serif;
  flex-direction: column;
  align-items: center;
  height: 10em;
  width: 30em;
  
}

footer {
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #00a38f;
  color: #e9f3ef;
  text-align: center;
  padding: 30px;
  transition: background-color 0.3s ease;
}

footer:hover {
  background-color: #009e7a;
}

footer p {
  font-size: 1rem;
  margin: 0;
}

footer p:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header {
      flex-direction: column;
      height: auto;
      padding-right: 0;
  }

  .logo {
      font-size: 1.8rem;
      padding-left: 0;
      margin-bottom: 1rem;
  }

  ul {
      flex-direction: column;
      gap: 1.5em;
      align-items: center;
  }

  .item-menu {
      font-size: 1.1rem;
      padding: 10px 0;
  }

  .imagem {
    display: none;
  }

  .assuntoPrincipal{
    display: flex;
    color: #00a38f ;
    font-size: 1em;
    font-family: sans-serif;
    flex-direction: column;
    align-items: center;
    height: 10em;
    width: 100%;
    
  }

  main {
      flex-direction: column;
      align-items: center;
      padding: 1em;
  }

  footer {
    padding: 2em 0;
  }

 

 
}


