/* Estilos Globais */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Roboto", sans-serif;
        scroll-behavior: smooth;
      }

      body {
        background: linear-gradient(120deg, #121212, #1e1e1e);
        color: #e0e0e0;
        line-height: 1.6;
        transition: background-color 0.3s, color 0.3s;
      }

      body.light {
        background: linear-gradient(120deg, #ffffff, #f9f9f9);
        color: #333333;
      }

      .cont-interno{
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .dev {
        max-width: 20vw;
        right: 0;
      }

      #sobre {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        flex-wrap: wrap; /* Para garantir responsividade em telas menores */
      }

      #sobre .dev {
        max-width: 200px;
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
        margin: auto;
      }

      #sobre p {
        flex: 1; /* Faz o texto ocupar o espaço disponível */
      }

      header {
        background: linear-gradient(
          120deg,
          #4267b2,
          #1b4d8c
        ); /* Azul mais escuro */
        color: #ffffff;
        padding: 2rem 0;
        text-align: center;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
      }

      body.light header {
        background: linear-gradient(120deg, #1b4d8c, #4267b2);
      }

      header h1 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      }

      header p {
        font-size: 1.3rem;
        margin-top: 0.5rem;
        opacity: 0.9;
      }

      nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 1rem;
      }

      nav a {
        text-decoration: none;
        color: #ffffff;
        font-weight: 700;
        font-size: 1.1rem;
        transition: color 0.3s, transform 0.3s;
      }

      nav a:hover {
        color: #ffcc00;
        transform: scale(1.1);
      }

      body.light nav a:hover {
        color: #1b4d8c;
      }

      section {
        padding: 3rem 2rem;
        max-width: 1200px;
        margin: auto;
        position: relative;
      }

      section h2 {
        font-size: 2rem;
        color: #4267b2; /* Azul mais escuro */
        margin-bottom: 1rem;
        text-transform: uppercase;
        position: relative;
      }

      section h2::after {
        content: "";
        display: block;
        width: 50px;
        height: 4px;
        background: #4267b2;
        margin-top: 8px;
      }

      body.light h2 {
        color: #1b4d8c;
      }

      .divider {
        height: 2px;
        background: linear-gradient(
          90deg,
          rgba(255, 255, 255, 0) 0%,
          #4267b2 50%,
          rgba(255, 255, 255, 0) 100%
        );
        margin: 2rem 0;
        width: 100%;
      }

      .portfolio {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
      }

      body.light .portfolio-item {
        background-color: #fff;
      }

      .icones {
        display: flex;
        align-items: center;
      }

      .icon {
        padding: 0.3em;
        max-height: 3rem;
        max-width: 3rem;
      }

      @media screen and (max-width: 600px) {
        .icon {
          padding: 0.3em;
          max-height: 12vw;
          max-width: 11vw;
        }
        #sobre {
          flex-direction: column; /* Alinha elementos verticalmente */
          text-align: center; /* Centraliza o texto e a imagem */
        }
        #sobre .dev {
          max-width: 100%; /* Garante que a imagem se ajuste à largura da tela */
        }
        
      .cont-interno{
        grid-template-columns: 1fr;
      }
      
      }

      .portfolio-item {
        background-color: #1f1f1f;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s, box-shadow 0.3s;
      }

      .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5);
      }

      .portfolio-item img {
        width: 100%;
        border-radius: 8px;
        transition: transform 0.3s;
      }

      .portfolio-item:hover img {
        transform: scale(1.1);
      }

      footer {
        background-color: #1f1f1f;
        color: #bdbdbd;
        text-align: center;
        padding: 1.5rem;
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
      }

      body.light footer {
        background-color: #f4f4f4;
      }

      .theme-toggle {
        position: fixed;
        top: 1rem;
        right: 1rem;
        background-color: #4267b2;
        color: #ffffff;
        border: none;
        border-radius: 50%;
        padding: 0.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s;
      }

      .theme-toggle:hover {
        transform: rotate(20deg) scale(1.1);
      }

      .theme-toggle.light {
        background-color: #1b4d8c;
      }