input#linsenposition_slider{
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
}

form#linseninputform {
    margin-left: 100px;
    margin-right: 100px;
}

div#linsenversuch {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

div#lichtquelle {
    margin: 10px;
    width: 50px;
    height: 50px;
    background-color: #f1f1f1;
    border-radius: 50px;
}

div#imagelinse{
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    padding: 30px;
}

div#linse {
    margin-left: var(--linsenposition);
    width: 30px;
    height: 150px;
    border-radius: 50px;
    float:  left;
}

div#linsenversuchposition {
}

div#resultimagediv{
    padding: 10px;
    height: auto;
    width: auto;
    background-color: #f1f1f1;
    border-radius: 5px;
    overflow: hidden;
}

div#resultimagelinse{
    /*position: absolute;*/
    height: 50px;
    width: 50px;
    border-radius: 5px;
    background-image: url("/experiments/lens_experiment/images/eyetracking.png");
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-filter: blur(var(--blur));
}

img#imageAbbildung{
    position: relative;
    object-fit: scale-down;
    width: 780px;
    height: 375px;
}

.overflowscroll {
    overflow-y: auto;
    height: inherit;
}

.inputs {
    height: fit-content;
}

.flex-grow-1 {
    flex-grow: 1; /* Makes the element take up available vertical space */
}

.overflowscroll {
    overflow-y: auto; /* Makes the block3 content scrollable if it overflows */
}

/* From Uiverse.io by Bodyhc */
.flipswitch {
  position: relative;
  width: 100px;
}

.flipswitch input[type=checkbox] {
  display: none;
}

.flipswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #999999;
  margin: 0;
  border-radius: 50px;
}

.flipswitch-inner {
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}

.flipswitch-inner:before, .flipswitch-inner:after {
  float: left;
  width: 50%;
  height: 30px;
  padding: 0;
  line-height: 30px;
  font-size: 20px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
}

.flipswitch-inner:before {
  content: "g1";
  padding-left: 18px;
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.flipswitch-inner:after {
  content: "g2";
  padding-right: 18px;
  background-color: #FFFFFF;
  color: var(--primary-color);
  text-align: right;
}

.flipswitch-switch {
  width: 35px;
  height: 35px;
  margin: -2.5px;
  background: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 67px;
  transition: all 0.3s ease-in 0s;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-inner {
  margin-left: 0;
}

.flipswitch-cb:checked + .flipswitch-label .flipswitch-switch {
  right: 0;
}

.custom-inputcontainerlabel-number {
    width: 30px;
    height: 30px;
}

.custom-inputcontainerlabel-label {

}

.custom-inputcontainerlabel-input {
    width: 100px;
    border: 1px solid #ccc;
}


/* Modal Background */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  max-height: 90%;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.close-button {
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: var(--hoverprimary-color);
  text-decoration: none;
}


.modal-content h2 {
  margin-top: 0;
}

.modal-row {
  display: flex;
  width: 100%;
  height: calc(100% - 40px);
  gap: 10px;
}

.modal-col {
    padding: 10px;
    border-radius: 4px;
    max-height: inherit;
}

.modal-col:nth-child(1) {
  flex: 1 1 25%;
}

.modal-col:nth-child(2) {
  flex: 1 1 25%;
}

.modal-col:nth-child(3) {
  flex: 1 1 50%;
}

#chartArea {
  width: 100% !important;
  height: 100% !important;
  max-height: 400px;
}

.modal-row {
  height: 100%;
  display: flex;
  gap: 10px;
}

.modal-col {
  flex: 1 1 auto;
  padding: 10px;
}

.modal-content {
  height: 90%;
  max-height: 90%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-modal {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

