Confidence Interval Variation

Two confidence intervals for the population mean are shown below. The top interval changes as the slider values change. The bottom interval has fixed values to demonstrate how the top interval changes. How does the confidence interval change as the sample mean changes? How does the length of the confidence interval change as the sample standard deviation changes? How does the length of the confidence interval change as the sample size changes? How does the length of the confidence interval change as the confidence changes?