/* ====== Reset ====== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      background-color: rgb(170, 197, 197);
      color: #333;
      scroll-behavior: smooth;
      justify-items: center;
    }

    /* ====== Cabeçalho ====== */
    header {
      background: #2c3e50;
      color: #fff;
      padding: 1rem 0;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
    }

    nav ul {
      display: flex;
      justify-content: center;
      list-style: none;
    }

    nav ul li {
      margin: 0 1rem;
    }

    nav ul li a {
      text-decoration: none;
      color: #fff;
      font-weight: bold;
    }

    nav ul li a:hover {
      color: #1abc9c;
    }

    /* ====== Seções ====== */
    main {
      margin: 70px auto 10px auto;
      padding: 2rem;
      background-color: #e6e6e6;
      width: 90%;
      padding: 20px;
      border-radius: 20px;
      box-shadow: 5px 5px 5px rgba(46, 46, 46, 0.219);
    }

    section {
      margin-bottom: 4rem;
    }

    h1, h2 {
      text-align: center;
      margin-bottom: 1rem;
    }

    /* ====== Rodapé ====== */
    footer {
        background-color: black;
        color: white;
        height: 60px;
        text-align: center;
        margin-top: 20px;
        width: 100%;
        height: 100%;
    }

    #imagens-f {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: space-around;
    }


    .imagemf1 img {
      width: 60px;
      height: 60px;
    }

    .imagemf2 img {
      width: 38px;
      height: 38px;
      margin: 10px 2px 0px 2px;

    }

    /* ====== Sobre ====== */
    #sobre {
      text-align: center;
    }

    #sobre h1 {
        font-size: 2.5em;
    }

    #sobre img {
      width: 150px;
      border-radius: 5px;
      box-shadow: 3px 3px 3px rgba(56, 56, 56, 0.315);
      margin: 1rem 0;
    }

    /* ====== Projetos ====== */
    #projetos .cards {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      padding: 1.5rem;
      width: 300px;
      text-align: center;
      transition: transform 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card h3 {
      margin-bottom: 0.5rem;
      color: #2c3e50;
    }

    /* ====== Contato ====== */
    #contato form {
      max-width: 500px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    input, textarea, button {
      padding: 0.8rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
    }

    button {
      background: #1abc9c;
      color: #fff;
      border: none;
      cursor: pointer;
      font-weight: bold;
    }

    button:hover {
      background: #16a085;
    }

    #mensagem {
      text-align: center;
      margin-top: 1rem;
      font-weight: bold;
    }

    /* ====== Responsividade ====== */
    @media (max-width: 768px) {
      #projetos .cards {
        flex-direction: column;
        align-items: center;
      }
    }

    @media (max-width: 550px) {
          #projetos .cards .card {
        flex-direction: column;
        align-items: center;
        width: 200px;
      }
    }

    @media (max-width: 450px) {
    #projetos .cards .card {
        flex-direction: column;
        align-items: center;
        width: 150px;
      }

    } 