.section-2 {
    display: flex;
    justify-content: space-around;
}

.section-2 > * {
    flex-basis: 50%;
    flex-shrink: 0;
    flex-grow: 1;
}

.section-3 {
    margin-top: 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pet-sitting-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pet-type-selection {
    display: flex;
    gap: 1em;
    background-color: #dedede;
    width: 100%;
    padding: 1em;
    margin: 1em;
    font-weight: bold;
    line-height: 2em;
}

.pet-sitting-form input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 1em;
    /* note: styling checkboxes in css seems to be a hellish world of the arcane */
    /* to make a custom checkbox is to venture down an unsanctioned path of hacks and consequences */
    /* to make a custom checkbox is to taunt the w3c and invite their wrath */
    /* let's be satisfied with our vanilla checkbox and leave the custom stuff to some library author */
}

.radio-select {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

fieldset {
    border: none;
}

.selection-button {
    background-color: #dedede;
    display: block;
    padding: 2em;
    margin: 1em;
    transition: 0.2s all linear;
}

.selection-button:has(input:checked) {
    background-color: var(--accent-color);
}

.selection-button input {
    appearance: none;
    position: absolute;
}

label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.date-range-input label {
    margin: 2em;
}

.date-range-input input {
    margin: .5em 0;
}

input[type=submit] {
    max-width: 700px;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background-color: var(--button-color);
    color: white;
    border: none;
}

input[type=submit]:hover {
    opacity: 0.8;
}

.sitter-recommendations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sitter-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em;
    padding: 0.5em;
    border-radius: 0.25em;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 8px;
    width: 16em;
}

.sitter-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.profile-caption {
    font-weight: bold;
}

.profile-subcaption {
    font-style: italic;
}

.hide {
    display: none;
}
