@media screen and (min-width: 1024px) {
  .grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #container {
    display: none;
  }

  nav {
    opacity: 1;
    visibility: visible;
    width: 90%;
    display: flex;
    justify-content: space-around;
  }

  nav a {
    text-decoration: none;
    color: black;
    cursor: pointer;
  }

  nav a:hover {
    width:auto;
    background-color: var(--background-color1);
    color: white;
    border-radius: 5px;
  }

  .grid-cursos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    width: 90%;
  }

  .grid-servicos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    width: 90%;
  }

  .grid-footer div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid-footer div:nth-child(2) a {
    width: 120px;
    margin: 0 1rem;
    padding: 8px 0;
    border-bottom: 2PX solid var(--background-color1);
  }

  /********************************CURSOS E SERVIÇOS********************************/
  /********************************MAIN********************************/
  .curso {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items:flex-start;
    justify-items: center;
  }

  .curso div:nth-child(2) {
    padding: .7rem 0;
  }

  .curso .image {
    width: 90%;
    height: 300px;
  }

  .servico-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1rem 2rem;
  }

  .servico-main section:nth-child(3) {
    display: flex;
    grid-column: 1 / 3;
    flex-direction: column;
    justify-self: center;
  }

    .servico-main section:nth-child(3) div {
      width: 100%;
    }

  /********************************FORMULARIO********************************/
  /********************************MAIN********************************/
  .formulario-main p {
    text-align: center;
  }

  form {
    margin: 1rem 30%;
  }

  .nome-arquivo p {
    text-align: justify;
  }
}