#age-decision-container {
    display: none;
}

#age-decision-container .decision-defining-data-container {
    display: flex;
    flex-direction: row;
    width: 90vw;
    align-items: center;
    justify-content: center;
}

/* Styling the container */
.age-controls-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5vh;
    color: var(--secondary-color-dark);
    flex: 1;
    max-width: 50%;
}

/* Styling the age text */
.age-controls-container h1 {
    background-color: var(--primary-color-dark-s3);
    padding: 1vh 2vh;
    border-radius: 2vh;
    font-size: 4.5vh;
}

/* Styling the slider */
.age-slider {
    width: 90%;
    -webkit-appearance: none;
    appearance: none;
    height: 1.25vh;
    border-radius: 2vh;
    background: var(--primary-color-dark-s3);
    outline: none;
    margin: 4vh 0;
    touch-action: pinch-zoom;
}

/* Slider thumb styling */
.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 2vh;
    height: 3vh;
    background-color: var(--secondary-color-dark);
    border-radius: 1vh;
    cursor: pointer;
}

.age-slider::-moz-range-thumb {
    width: 2vh;
    height: 3vh;
    background-color: var(--secondary-color-dark);
    border-radius: 1vh;
    cursor: pointer;
}

/* Styling the helper text */
.age-controls-container h2 {
    font-size: 1.75vh;
    text-align: center;
}

#age-decision-container .decision-defining-data-container img {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 60%;
    height: auto;
}

@media (max-width: 768px) or (orientation: portrait) {
    #age-decision-container .decision-defining-data-container img {
        width: 100%;
    }

    #age-decision-container .decision-defining-data-container {
        flex-direction: column-reverse;
    }

    .age-controls-container {
        max-width: 100%;
        padding: 2ch 2vh;
        align-items: center;
    }

    .age-slider {
        width: 100%;
    }

    .age-controls-container h2 {
        font-size: 2vh;
    }
}