main {
    flex: 1; /* take all available space between header and footer */
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    padding: 0 5vw;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    box-sizing: border-box;
    background-color: #2C2C2C;
    border-radius: 15px;
    padding: 2px 1.5rem;
    box-shadow: 0 0 5px 1px rgba(242, 73, 73, 0.5);
    max-width: 800px;
    min-width: 400px;
    color: #F24949;
    text-align: center;
    margin: 1rem 0;
    width: 100%;
}

.container h2 {
    color: whitesmoke;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

main h2 {
    margin: 0;
}

.kink-choice {
    display: flex;
    padding: auto;
    width: auto;
    height: auto;
    margin: 0.5rem 0 0.5rem 0.5rem;
}

#kink-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Hide the actual checkbox but keep it accessible */
.kink-choice input[type="checkbox"] {
  display: none;
}

/* Style the label as the visible element */
.kink-choice label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1C1C1C;
  color: #F24949;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(242, 73, 73, 0);
  border: 2px solid transparent;
}

.kink-choice label:hover {
  background-color: #2C2C2C;
}

.kink-choice input[type="checkbox"]:checked + label {
  background-color: #F24949;
  color: #fff;
  box-shadow: 0 0 10px rgba(242, 73, 73, 0.6);
  border-color: #F24949;
  transform: scale(1.05);
}

.kink-choice input[type="checkbox"]:focus + label {
  outline: 2px solid #F24949;
  outline-offset: 2px;
}

#task-container {
    background-color: #f2494946;
    border-radius: 20px;
    width: auto;
    margin-top: 0.5rem;
    margin-left: 0.;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

#task-buttons button, #games {
    border-radius: 15px;
    border: none;
    background-color: #F24949;
    color: white;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    margin: 0 5px 1rem 0.25rem;
}

#task-buttons button:hover, #games:hover {
    background-color: #f37c7c;
}

#task-buttons button:active, #games:active {
    background-color: #1C1C1C;
    color: #F24949;
}

#games {
    margin-top: 1rem;
}

span {
    font-weight: 800;
}

p {
    color: #6d6d6d;
    font-style: italic;
    margin: 0;
    font-size: 0.75em;
}

#page-header {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: white;
}