:root {
  --cor-destaque: #ff4c05;
  --cor-background-geral: #313131;
  --cor-titulo: rgba(255, 255, 255, 0.849);
  --cor-fundo-topo: #5a5757;
  --cor-texto: #f0f0f0;
}

#gife{
  width: 40%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--cor-background-geral);
  color: var(--cor-texto);
}

#projetuh{
  display: flex;
  flex-direction: column;
  justify-content: left;
}

#wasap{
  max-height: 600px;
  width: 45%;
}

main {
  top: 0;
  margin-left: 190px;

  padding: 40px 20px;
  max-width: 800px;
}

main h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

main p {
  line-height: 1.6;
  margin-bottom: 10px;
  padding: 10px;
}


.foto-perfil {
  width: 150px;
  border-radius: 30%;
  margin-bottom: 20px;
  border: 3px solid var(--cor-destaque);
  
}

.gifini{
  display: flex;
  width: 10%;
}

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

.botao {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--cor-destaque);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.botao:hover {
  background-color: #0094e0;
  transform: scale(1.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: #1e1e1e;
  color: var(--cor-texto);
  border: 1px solid var(--cor-destaque);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

thead th {
  background-color: var(--cor-destaque);
  color: #000;
  text-align: left;
  padding: 12px;
  font-size: 1.1rem;
}

tbody td, tfoot td {
  padding: 12px;
  border-bottom: 1px solid #333;
}

tfoot td {
  background-color: #222;
  font-style: italic;
  color: #aaa;
}

.opp,
.karateca{
  width: 80%;
  max-width: 400px;
  height: auto;
  display: block;
  border: 3px solid var(--cor-destaque);
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  z-index: 1; 
}


.botao:hover {
  background-color: #0094e0;
  transform: scale(1.05);
}

.penultimo{
  display: grid;
}

.subtitulo {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--cor-texto);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: #1a1a1a;
  border: 2px solid var(--cor-destaque);
  border-radius: 12px;
  padding: 20px;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 0 10px rgba(5, 163, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(5, 163, 255, 0.6);
}

.card p {
  margin-bottom: 15px;
  text-align: justify;
}

.gifprojeto {
  max-width: 30%;
  border-radius: 8px;
  margin-top: 10px;
  border: 2px solid var(--cor-destaque);
  background-color: var(--cor-fundo-topo);
}


form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #1c1c1c;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(5, 163, 255, 0.2);
  margin-top: 20px;
  margin-bottom: 40px;
  border: 1px solid var(--cor-destaque);
}

form label {
  font-weight: bold;
  color: var(--cor-titulo);
  margin-bottom: 5px;
}

form input,
form textarea {
  padding: 12px;
  border: 2px solid var(--cor-destaque);
  border-radius: 6px;
  background-color: #0f0f0f;
  color: var(--cor-texto);
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: #0094e0;
  outline: none;
}

form button {
  align-self: flex-start;
  background-color: var(--cor-destaque);
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
  background-color: #0094e0;
  transform: scale(1.05);
}


@media (max-width: 768px) {
  form {
    padding: 20px;
  }

  form button {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 320px) {
  main {
    margin-left: 0;
    padding: 20px 10px;
  }

  .paginicial,
  .mainprojetos{
    padding: 0;
  }

  .imagempgin{
    margin: 0 auto;
    padding: 0;
    width: 320px;
    height: auto;
  }

  .botao {
    width: 80%;
    font-size: 0.9rem;
    padding: 5px;
  }

  .opp,
  .gifprojeto{
    max-width: 100%;
    height: auto;
  }

  .cards-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    padding: 20px;
    width: 80%;
    align-items: center;
    margin: 0 auto;
  }

  form {
    padding: 15px;
  }

  form input,
  form textarea {
    font-size: 0.9rem;
  }

  form button {
    width: 100%;
  }
}

