@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',  Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
}

.nav-center {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav-center h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: hsl(205, 78%, 60%);
    letter-spacing: 2px;
}

.nav-center a {
    text-decoration: none;
    color: #222;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s linear;
}

nav a:hover {
    color: hsl(205, 78%, 60%);
  }

body {
    background-color: #F1f5f8;
    line-height: 1.5;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Adicionado para centralizar horizontalmente */
    height: 90vh; /* Adicionado para centralizar verticalmente */

}

.container h2 {
    background: #222;
    color: #fff;
    padding: .75rem;
    border-radius: 5px;
    margin-bottom: 1.75rem;
    font-size: 1.75rem;
  }

.color {
    color: hsl(205, 78%, 60%);
  }

  .btn {
    text-transform: uppercase;
    background: transparent;
    color: #222;
    padding: 0.375rem 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s linear;
    font-size: 0.875rem;
    border: 2px solid #222;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;

  }
  .btn:hover {
    color: #fff;
    background: #222;
  }
  .btn-hero {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
  
@media screen and (max-width: 768px) {
    .nav {
      font-size: 1rem;
    }
    .container h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
  .nav {
    font-size: 0.75rem;
  }
  .container h2 {
      font-size: 1.25rem;
  }
  .btn {
    font-size: 0.75rem;
  }

  main {
    margin: 1.5rem
  }
}