:root {
    --primary: #001731;
    --secondary: #ff1493;
    --accent: #00ffff;
    --dark: #2d2d3a;
    --light: #f8f9fa;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    /* background-color: var(--primary); */
    background-image: url('grad.jpeg');
    background-size: cover;
    font-family: "Poppins";
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
  }

  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
  }

  .poster {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
  }

  .poster::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(
      90deg,
      var(--primary),
      var(--accent),
      var(--secondary)
    );
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    font-weight: 900;
    font-family: "Carattere";
  }

  h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
  }

  h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
  }

  .candidate-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 1rem auto;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .candidate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tagline {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tagline:hover{
    color: var(--secondary);
  }
  .divider {
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary),
      transparent
    );
    margin: 2rem 0;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    font-weight: 600;

  }

  .name-title {
    font-weight: 700;
    font-size: 1.2rem;
  }

  .manifesto > a {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.2rem;
    text-decoration: none;
    background-color: var(--primary);
    padding: 10px;
    border-radius: 50px;
  }

  .social > a {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;

  }
.social > a:hover
{
    color: var(--accent);
}
.manifesto > a:hover
{
    color: var(--accent);
}
@media (max-width: 768px) {
  /* Responsive */
  @media (max-width: 768px) {
    .container {
      padding: 1rem;
    }

    .poster {
      padding: 2rem 1.5rem;
    }

    h1 {
      font-size: 2rem;
    }

    h2 {
      font-size: 1.5rem;
    }

    .candidate-photo {
      width: 150px;
      height: 150px;
    }
  }
}