* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reddit-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.1);
}

main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

p {
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s;
    font-weight: bold;
}

.button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #007bff;
    margin-top: 10px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #0056b3;
}

.reddit-logo-small {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.participate-button {
    display: block;
    margin: 0 auto;
  }

@media (max-width: 840px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo-container {
        flex-direction: column;
    }

    .reddit-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    section {
        padding: 20px;
    }
}

@media (min-width: 841px) {
    body {
        padding: 40px 0;
    }

    .container {
        border-radius: 10px;
    }
}

/* Add this to your existing CSS */

@media (min-width: 1200px) {
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      padding: 20px;
    }
  
    .container {
      max-width: 800px;
      width: 100%;
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      padding: 20px;
      margin: 0 auto;
    }
  
    header, main, footer {
      width: 100%;
      max-width: 760px;
      margin: 0 auto;
    }
  
    header {
      margin-bottom: 20px;
    }
  
    footer {
      margin-top: 20px;
    }
  }