@charset "UTF-8";

@media screen and (min-width: 790px){
  nav#menu ul{
    
    gap: 20px;
  }

  main{
    grid-template-columns: auto 300px 1fr auto; 
    gap: 10px;
  }

  section#welcome{
    grid-column: 2 / 4;
  }

  section#ficha{
    background: radial-gradient(circle at center bottom, var(--color1) 10%, #000000 70%);
    flex-direction: column;
    grid-column: 2;
    grid-row: 2 / 3;
    height: fit-content;
  }

  section#ficha p{
    max-width: 100%;
    text-align: justify;
    text-indent: 10px;
    line-height: 1.6;
    font-size: 1.3em;
  }

  section#detalhes{
    grid-column: 3 / 4;
    width: 100%;
    min-width: 0;
  }

  article,
  #projetos-container,
  #projetos-container .projeto{
    min-width: 0;
  }

  #skill-container .item span{
    
    text-align: center;
  }


  #skill-container .item:hover .barra p{
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
  }

  #projetos-container{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;

    width: 100%;          
    max-width: 100%;     

    overflow-x: auto;
    overflow-y: hidden;

    cursor: grab;
    user-select: none;

    gap: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  #projetos-container .projeto{
    flex: 0 0 100%;
    height: 80vh;
    scroll-snap-align: start;
  }

  #projetos-container::-webkit-scrollbar{ height: 8px; }
  #projetos-container::-webkit-scrollbar-track{ background: transparent; }
  #projetos-container::-webkit-scrollbar-thumb{
    background: var(--destaque);
    border-radius: 6px;
  }
  #projetos-container::-webkit-scrollbar-thumb:hover{
    background: var(--destaque-inverso);
  }

  #projetos-container.dragging{ cursor: grabbing; }

  #projetos-container .projeto-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #projetos-container .foto{
    box-shadow: inset 10px 10px 10px rgba(0,0,0,0.377);
  }

  .form-contato{
    margin: 20px auto;
    padding: 20px;
  }
}
