/* Reset geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

/* Container principal */
.container, .quiz-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.quiz-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px;
}

.image-side.home {
  flex: 1.4;
  background-color: #111;
  background-image: url("assets/grupo.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/* Imagem do Resultado */
.image-side.result {
  flex: 1;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-side.result img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #b30027;
}

/* Conteúdo lateral (Home, Resultado) */
.content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px;
}

/* Título exclusivo da Home */
.home-title {
  font-size: 70px;
  line-height: 1.1;
  font-weight: bold;
  text-transform: uppercase;
  max-width: 800px;
  word-break: break-word;
  white-space: normal;
}

/* Outros h1 (por exemplo, resultado) */
.content-side h1:not(.home-title) {
  font-size: 48px;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

/* Parágrafo */
p {
  font-size: 28px;
  margin: 20px 0 40px;
  color: #aaa;
}

/* Input */
input {
  padding: 18px;
  font-size: 20px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
  background-color: #1a1a1a;
  border: none;
  color: #fff;
  border-radius: 8px;
}

/* Botões */
button, .btn-start, .btn-audio {
  padding: 18px 36px;
  background-color: #b30027;
  color: #fff;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
  margin: 10px;
}

button:hover, .btn-start:hover, .btn-audio:hover {
  background-color: #e6003f;
}

/* Botão de áudio customizado */
.btn-audio {
  background-color: transparent;
  border: 2px solid #b30027;
  color: #fff;
}

.btn-audio:hover {
  background-color: #b30027;
  color: #fff;
}

/* Efeito piscando */
.piscando {
  animation: piscar 1s infinite;
}

@keyframes piscar {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Options de resposta no quiz */
.options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
}

.options button {
  padding: 18px;
  background-color: #1a1a1a;
  border: 2px solid #b30027;
  color: #fff;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.options button:hover {
  background-color: #b30027;
}


/* Quiz (quiz.html) */
.quiz-container {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.quiz-content {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.quiz-content h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.options button {
  padding: 16px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #3d3d3d;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.options button:hover {
  background-color: #b30027;
  border-color: #b30027;
}

/* Resultado (resultado.html) */
.profile-pic {
  width: 90%;
  max-width: 1000px; 
  height: auto;
  object-fit: cover;
}

#nome-personalidade {
  font-size: 50px;
  margin-top: 10px;
  text-align: left; 
  width: 100%; 
}

#descricao-personalidade {
  font-size: 20px;
  color: #ccc;
  margin: 20px 0 40px;
  max-width: 800px;
  line-height: 1.5;
  text-align: left; 
}

/* Seção de redes sociais */
#social-section {
  margin-top: 10px;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#social-title {
  font-size: 20px;
  margin-bottom: 0;
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-start;
}

.social-links a {
  width: 56px;
  height: 56px;
  background-color: #1a1a1a;
  border: 1px solid #3d3d3d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.social-links a:hover {
  background-color: #b30027;
  border-color: #b30027;
}

.social-links img {
  width: 28px;
  height: 28px;
}

/* Botões */
.buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 40px;
}

.buttons a {
  flex: 1;
  padding: 20px;
  background-color: #b30027;
  color: #fff;
  font-size: 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.buttons a:hover {
  background-color: #e6003f;
}

/* MOBILE RESPONSIVO */
@media (max-width: 768px) {
  .container, .quiz-container {
    flex-direction: column;
    padding: 20px;
  }

  .image-side.home, .image-side.result {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
  }

  .image-side.result img {
    width: 180px;
    height: 180px;
  }

  .content-side {
    width: 100%;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .home-title {
    font-size: 36px;
    line-height: 1.2;
    max-width: 100%;
  }

  .content-side h1:not(.home-title) {
    font-size: 32px;
    text-align: center;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 18px;
    margin: 20px 0 30px;
  }

  input {
    font-size: 16px;
    padding: 14px;
    width: 100%;
    max-width: 100%;
  }

  .btn-start, .btn-audio, button {
    font-size: 18px;
    padding: 14px;
    width: 100%;
    margin: 8px 0;
  }

  .options {
    max-width: 100%;
  }

  .options button {
    font-size: 18px;
    padding: 14px;
  }

  #nome-personalidade {
    font-size: 32px;
    text-align: center;
  }

  #descricao-personalidade {
    font-size: 18px;
    text-align: center;
    max-width: 100%;
  }

  #social-section {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .buttons a {
    padding: 16px;
    font-size: 18px;
  }
}