* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-image: url("/imgs/5.jpg");
  background-color: #002b5c;
}

:root {
  --turquesa: #40e0d0;
  --azul-escuro: #002b5c;
  --branco: #ffffff;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-image: url("/imgs/5.jpg");
  background-color: #002b5c;
}

main {
  max-width: 1024px;
  width: 90%;
  background-color: var(--branco);
  color: var(--azul-escuro);
  padding: 20px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  text-align: center;
  height: 114px;
  max-width: 1024px;
  margin: 0 auto;
}

.header {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
}

img {
  height: 57px;
  width: 280px;
}

nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: bold;
  border-right: 1px solid #ccc;
  padding: 0 15px;
  font-size: 1rem;
}

nav a:last-child {
  border: none;
}

nav a:hover {
  color: var(--turquesa);
}

section {
  padding-bottom: 40px;
  border-bottom: 1px solid #ccc;
  padding: 40px 20px;
}

.section-title {
  color: var(--turquesa);
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  margin-bottom: 10px;
  color: var(--azul-escuro);
}

h3 {
  text-align: center;
  margin-top: 20px;
}

p {
  text-align: justify;
  margin-bottom: 15px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  color: #777;
  background-color: #ffffff;
  height: 5.2rem;
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
}

.competencies-list {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin-top: 20px;
}

.competencies-list li {
  background-color: #f2f2f2;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  font-size: 0.9em;
}

ul li#liIn {
  grid-column: 1 / -1;
  justify-self: center;
  background-color: #f2f2f2;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
  width: 100%;
}

@media (max-width: 768px) {
  header {
    height: auto;
    padding: 10px 0;
    margin-right: 0px;
  }

  .header {
    width: 100%;
    margin: 0 auto;
  }

  img {
    width: 200px;
    height: auto;
  }

  nav a {
  
  }

  .competencies-list {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5em;
  }

  section {
    padding: 20px 10px;
  }

  main {
    width: 100%;
  }

  footer {
    width: 100%;
    padding: 10px;
    height: auto;
    text-align: center;
  }
}
