@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;700&family=Ubuntu:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu";
  box-sizing: border-box;
  text-decoration: none;
}

header {
  background-color: #2e948a;
  display: flex;
  justify-content: space-around;
  height: 18vh;
}

.logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  font-family: "Ubuntu";
  font-weight: 700;
  font-size: 4rem;
  color: #fff;
  margin: 1rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

nav li {
  margin: 2rem;
}

nav li a {
  font-family: "Ubuntu";
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: #fdfdfd;
  text-transform: uppercase;
}

/*  ============= */

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

.container-curso {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: flex-start;
  width: 75vw;
  margin: 2rem 0;
}

.intro-texto {
  width: 30vw;
  padding: 2rem 0;
}

.intro-texto h2 {
  color: #ff4081;
  margin: 0 0 2rem 0;
  font-size: 3.4rem;
  font-weight: 700;
}

.intro-logo {
  display: flex;
  justify-content: center;
  align-self: center;
}
.intro-logo img {
  margin: 0 5rem;
  width: 38vw;
  height: 72vh;
}

.aulas {
  width: 100vw;
  background-color: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.aulas hr {
  width: 80vw;
}

.aulas-item {
  width: 70vw;
  display: flex;
  justify-content: space-center;
  align-items: center;
  margin: 2rem;
}

.aulas-item img {
  width: 17rem;
  margin: 2rem;
  border-radius: 10rem;
}

.aulas-texto h2 {
  font-size: 2.18rem;
  font-weight: 700;
  color: #ff4081;
  margin-bottom: 3rem;
}
/* =============== */

footer {
  background-color: #2e948a;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 5rem;
}

.footer-logo {
  display: flex;
  color: #fff;
  gap: 1rem;
}

.footer-logo h2 {
  font-size: 4.125rem;
}

.footer-menus ul {
  display: block;
}

.footer-menus li {
  margin: 1rem;
}

.footer-menus a {
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  margin: 1rem 0;
  border: 2px solid #fff;
  text-align: center;
  padding: 0.2rem 2rem;
  border-radius: 3.8rem;
}

@media (max-width: 425px) {
  header {
    width: 100vw;
    background-color: #2e948a;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.25);
  }

  header ul {
    list-style: none;
    display: flex;
    flex-direction: column;
  }

  header li {
    margin: 0.3rem;
    font-weight: 700;
  }

  header a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
  }

  .container-curso {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0.5rem;
  }

  .intro-logo img {
    width: 70vw;
  }

  .intro-texto {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
  }

  .intro-texto h2 {
    color: #ff4081;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .intro-texto p {
    color: #000;
    font-size: 1rem;
    text-align: justify;
  }

  .aulas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f6f6f6;
    margin: 1rem 0 0 0;
  }

  .aulas hr {
    width: 90vw;
  }
  .aulas-item {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .aulas-item img {
    width: 80vw;
    margin: 1rem 0;
    border-radius: 10rem;
  }

  .aulas-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
  }

  .aulas-texto h2 {
    color: #ff4081;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .aulas-texto p {
    color: #000;
    font-size: 1rem;
    margin: 0 0 2rem 0;
    text-align: justify;
    padding: 1rem;
  }

  footer {
    width: 100vw;
    background-color: #009688;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    color: #fff;
  }

  footer a {
    color: #fff;
    display: flex;
  }

  .footer-logo {
    display: flex;
  }
  .footer-logo img {
    width: 4rem;
  }

  .footer-logo h2 {
    font-size: 1.5rem;
  }
  .footer-menus ul {
    display: block;
  }

  .footer-menus li {
    margin: 1rem;
  }

  .footer-menus a {
    font-size: 0.9rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .footer-links a {
    width: 7rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem 0.2rem;
    border: 1px solid #fff;
    padding: 0.2rem 0.1rem;
    border-radius: 3.8rem;
  }
}

@media (max-width: 768px) {
  .container-curso {
    width: 100vw;
    display: flex;
    align-items: center;
  }

  .intro-texto h2 {
    font-size: 2rem;
    text-align: center;
  }

  .aulas-item {
    width: 90vw;
  }

  .aulas-item img {
    width: 17rem;
    border-radius: 10rem;
  }
}
