body {
  background-color: #199fdd; 
}
#main-container {
  display: flex;
  width: 250px; 
  max-width: 100%; 
  margin: auto; 
  position: relative; 
  overflow: hidden; 
}
#video-container {
    position: relative;
    width: 1920px;
    height: 1080px;
}
.wrapper {
  margin-right: auto;
  margin-left: auto;
  max-width:100%;
  padding-top: 10px;
  padding-right: 20px;
  padding-left: 287px;
  padding-bottom: 10px;
  background-color: rgb(255, 255, 255);
}
#video-player, #result-image, #result-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}
h1 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  background-color: white;
  font-family: "RM Neue",sans-serif;
  border-radius: 20px;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#liquid-selection {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#test-selection {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#result-image, #result-video {
    display: none; 
    z-index: 1; 
}
.start-screen {
  position: absolute;
  top: -10;
  left: -10;
  width: 1920px;
  height: 1080px;
  background-image: url('images/start-screen.jpg');
  background-size: cover;
  background-position: centre;
  display: flex;
  align-items: center;
  justify-content: centre;
  z-index: 3

}

.info-box {
  transform: translate(100%);
  background-color: white; 
  border-radius: 15px; 
  padding: 20px; 
  text-align: center; 
  max-width: 600px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  border: 2px solid #ADD8E6; 
  font-family: "RM Neue",sans-serif;
  font-size: 100%;
}


#start-button {
  position: absolute; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
 
}
#menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: 2; 
}

.button-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    gap: 15px;
}
#back-button {
  position: absolute;
  bottom: 10px; 
  left: 50%;
  transform: translateX(-50%);
  display: none; 
  margin: 25px; 
  z-index: 3; 
}
#replay-button, #back-selection-button {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    display: none; 
    margin: 25px; 
    z-index: 3; 
}

#replay-button {
    transform: translateX(-50%) translateX(-60px);
}

#back-selection-button {
    transform: translateX(-40%) translateX(60px);
}
#skip-button {
    position: absolute;
    top: 50px; 
    right: 10px; 
    z-index: 3; 
    display: none; 
}
#playback-controls {
    display: none;
    position: absolute;
    top: 10px; 
    right: 10px;
    z-index: 3; 
}

.speed-button {
    
    margin: 0 5px;
}
.button-22 {
  align-items: center;
  margin-top: 10px;
  appearance: button;
  background-color: #0276FF;
  border-radius: 8px;
  border-style: none;
  box-shadow: rgba(255, 255, 255, 0.26) 0 1px 2px inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  font-family: "RM Neue",sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 10px;
  padding: 10px 21px;
  text-align: center;
  text-transform: none;
  transition: color .13s ease-in-out,background .13s ease-in-out,opacity .13s ease-in-out,box-shadow .13s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-22:active {
  background-color: #006AE8;
}

.button-22:hover {
  background-color: #1C84FF;
}

.button-4 {
  appearance: none;
  background-color: #FAFBFC;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: #24292E;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 16px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
}

.button-4:hover {
  background-color: #F3F4F6;
  text-decoration: none;
  transition-duration: 0.1s;
}

.button-4:disabled {
  background-color: #FAFBFC;
  border-color: rgba(27, 31, 35, 0.15);
  color: #959DA5;
  cursor: default;
}

.button-4:active {
  background-color: #EDEFF2;
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

.button-4:focus {
  outline: 1px transparent;
}

.button-4:before {
  display: none;
}

.button-4:-webkit-details-marker {
  display: none;
}

.liquid {
  width: 100px;
  padding: 10px;
  margin: 10px;
  background-color: #0276FF;
  color: white;
  cursor: grab;
  border-radius: 5px;
}

.box {
  width: 150px;
  height: 50px;
  padding: 10px;
  margin: 10px;
  border: 2px solid #0276FF;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-container {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  font-family: "RM Neue",sans-serif;
  z-index: 100000;
}

.popup-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 15px;
  width: 80%;
  max-width: 600px;
 
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.info-icon {
  cursor: pointer;
  display: inline-block;
  margin-left: 5px;
  color: #0276FF; 
  border: 2px solid #fff; 
  border-radius: 50%; 
  width: 25px; 
  height: 25px; 
  text-align: center; 
  line-height: 18px; 
  font-size: 14px; 
  background-color: #0276FF; 
  color: #fff; 
}


.info-popup {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  border-style: solid;
  width: 800px; 
  z-index: 100; 
  font-family: "RM Neue",sans-serif;
  font-size: 20px; 
}

#next-button {
  background-color: #4CAF50; /* Green background */
  border: none; /* No borders */
  color: white; /* White text */
  padding: 15px 32px; /* Padding inside the button */
  text-align: center; /* Center-aligned text */
  text-decoration: none; /* No underline on the text */
  display: inline-block; /* Allow setting dimensions */
  font-size: 16px; /* Text size */
  margin: 4px 2px; /* Margin around the button */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 8px; /* Rounded corners */
  z-index: 9000;
  position: fixed; /* Fixed position relative to the viewport */
  bottom: 20px; /* Positioned halfway down the viewport */
  left: 50%; /* Positioned halfway across the viewport */
  transform: translate(-50%); /* Offset the button back by its own height and width */
  z-index: 100; /* Ensure it's above other content */

}
.image-selection-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute; /* or 'absolute' if it's within a positioned wrapper */
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.815); /* Dim the background */
  z-index: 100; /* Ensure it's on top */
  width: 2000px; /* Half of the original width */
  height: 1400px;
  margin: auto;
  border: 1px solid #000000;
  font-family: "RM Neue",sans-serif;
  font-size: 25px;
}

#image-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Create two columns */
  grid-template-rows: repeat(2, 1fr); /* Create two rows */
  gap: 20px; /* Adjust the gap between images */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  padding: 10px; /* Adjust the gap between images as needed */
}

.selection-option {
  width: auto; /* Fixed width */
  height: auto; /* Maintain the image's aspect ratio */
  object-fit: contain; /* Cover the grid cell, may crop the image */
  border: 2px solid #000000;
}

.selection-option:hover {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.popup-container {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.4); 
  z-index: 1000;
}


.popup-content-form {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 20px; 
}


.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background-color: #4CAF50;
  color: white;
}
#open-popup-button {
  position: fixed; 
  right: 300px; 
  z-index: 100; 
}
.tooltip-content {
  visibility: hidden;
  width: 220px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
}

.button-22:hover + .tooltip-content {
  visibility: visible;
  opacity: 1;
}

.tooltip-container {
  position: relative;
  display: inline-block; /* Or 'inline-flex' depending on your layout needs */
}

.tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: rgb(255, 255, 255);
  color: #000000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: 1650px; 

 
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  z-index: 4000;
  font-family: "RM Neue",sans-serif;
  border-radius: 10px;
  width: 300px;
  height: 50px;
}

.button-22:disabled {
  background-color: #cccccc;
  color: #666666;
  border: 1px solid #999999;
  cursor: not-allowed;
}



