@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Funnel+Display:wght@300..800&family=Oswald:wght@200..700&display=swap');

* {
    font-family: Cabin, sans-serif;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

header
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10rem 10rem;
}

.textos h1 
{
    font-size: 5rem;
}

.textos p
{
    color:rgb(73, 73, 73);
}

.Opa
{
    font-size: 2rem;
}

.desc
{
    font-size: 1.2rem;
    padding-bottom: 2rem;
}

.textos h1 span 
{
    color: #09cf90;
}

.foto img 
{
    width: 325px;
    border-radius: 100%;
    border: 10px solid #09cf90;
}

.botoes
{
    display: flex;
    gap: 2rem;
}

.botoes a
{
    display: flex;
    color: aliceblue;
    background-color: #09cf90;
    font-size: 1.2rem;
    padding: 1.2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
}

.botoes a:hover
{
    background-color: #0ed697;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.projetos {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    padding: 10rem 7rem;
    gap: 2rem;
}

.titulo span
{
    color: #202020;
}

.titulo
{
    color: #09cf90;
}

.titulo
{
    font-size: 2rem;

}

.all-cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 4rem;
  }
  
  .card {
    width: 350px;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .image-wrapper {
    position: relative;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
  }
  
  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to top, white, transparent);
    z-index: 1;
  }
  
  .image-wrapper:hover img {
    transform: scale(1.3);
  }
  
  .card-content {
    padding: 1.5rem;
    flex-grow: 1;
  }
  
  .card-content h2 {
    margin-bottom: 0.75rem;
    color: #09cf90;
  }
  
  .card-content p {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .card-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .card-footer a {
    font-size: 1.8rem;
    color: #202020;
    transition: color 0.3s ease;
  }
  
  .card-footer a:hover {
    color: #09cf90;
  }

  #projetos {
    scroll-margin-top: -100px; /* ou 150px, ajuste conforme necessário */
  }

  .sobre-mim
  {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    padding: 4rem 7rem;
    gap: 2rem;
  }

  .sobre-mim p
  {
    font-size: 1.2rem;
    color: #444;
    padding-bottom: 10rsem;
  }

  header a
  {
    color:#202020;
    font-size: 2.5rem;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
  }
  header a:hover
  {
    color: #09cf90;
    transform: scale(1.2);
  }

  .redes {
    display: flex;
    gap: 1.2rem;
  }