/* --- Main layout --- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5vw;
    box-sizing: border-box;
}

/* --- Container --- */
.container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    box-sizing: border-box;
    background-color: #2C2C2C;
    border-radius: 15px;
    padding: 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%;
}

/* --- Headings --- */

#page-header {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: white;
}

.container h2 {
    color: whitesmoke;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    margin: 0.5rem 0 1rem 0;
}

/* --- Kink checkboxes --- */
.kink-choice {
    display: flex;
    margin: 0.5rem;
}

#kink-select {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.kink-choice input[type="checkbox"] {
  display: none;
}

.kink-choice label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1C1C1C;
  color: #F24949;
  padding: 0.5rem 0.75rem;
  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);
}

/* --- Task container --- */
#task-container {
    background-color: rgba(242, 73, 73, 0.5);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    
}

/* --- Task list --- */
.task-item {
    background-color: #1c1c1c;
    border-left: 4px solid #F24949;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: white;
}

.task-item:last-child {
    margin-bottom: 0;
}

.task-number {
    font-weight: bold;
    margin-right: 0.5rem;
    color: #F24949;
}

/* --- Buttons --- */
#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;
    cursor: pointer;
}

#games {
    margin-top: 2rem;
}

#task-buttons button:hover, #games:hover {
    background-color: #f37c7c;
}

#task-buttons button:active, #games:active {
    background-color: #1C1C1C;
    color: #F24949;
}

/* --- Slider --- */
#taskCount {
    width: 80%;
    margin: 0.5rem auto 1rem auto;
    -webkit-appearance: none;
    height: 12px;
    border-radius: 6px;
    background: #1C1C1C;
    outline: none;
    box-shadow: 0 0 5px rgba(242, 73, 73, 0.5);
    cursor: pointer;
}

/* Chrome / Safari */
#taskCount::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F24949;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(242, 73, 73, 0.8);
    transition: all 0.2s ease;
}

#taskCount::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Firefox */
#taskCount::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F24949;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(242, 73, 73, 0.8);
    transition: all 0.2s ease;
}

#taskCount::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Slider track styling for Firefox */
#taskCount::-moz-range-track {
    background: #1C1C1C;
    height: 12px;
    border-radius: 6px;
}

/* Slider track styling for IE */
#taskCount::-ms-track {
    background: #1C1C1C;
    height: 12px;
    border-radius: 6px;
    border-color: transparent;
    color: transparent;
}

/* --- Slider label --- */
.slider-label {
    color: whitesmoke;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

/* --- Paragraph --- */
p {
    color: #6d6d6d;
    font-style: italic;
    margin: 0;
    font-size: 0.75em;
}



