html, body {
  height: 100%;
  margin: 0;
}

h1 {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: solid 1px #e1e1e1;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #f3f3f3;
  background-color: rgba(229, 229, 247, 0.1);
  background-image: radial-gradient(rgba(68, 76, 247, 0.1) 0.35px, rgba(229, 229, 247, 0.1) 0.35px);
  background-size: 7px 7px;
  min-height: 100%;
  height: auto;
}

.polka {
  background-color: #e5e5f7;
  opacity: 0.1;
  background-image: radial-gradient(#444cf7 0.35000000000000003px, #e5e5f7 0.35000000000000003px);
  background-size: 7px 7px;
}

.footer {
  margin-top: auto;
  width: 100%;
}

.navbar {
  background-color: #183a6d;
}

.navbar-item:hover {
  background-color: #183a6d;
}

.footer {
  background-color: #183a6d;
}

.hero {
  background-image: url('../images/table.jpg');
  background-size: cover;
  background-position: center;
}

.hero-body {
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;

  max-width: 800px; 
  margin: 0 auto;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.index-buttons {
  display: flex;
  gap: 10px; 
}

.index-buttons a {
  flex-grow: 1; 
  text-align: center;
}

@media screen and (max-width: 768px) {
  .index-buttons {
    flex-direction: column; 
    gap: 10px;
  }
}

@media screen and (min-width: 1024px) {
  .video-container {
    max-width: 640px; /* Further limit the width on larger screens */
    padding-bottom: 36%; /* Adjust aspect ratio to reduce height */
    margin: 0 auto; /* Center the video container */
  }
}

@media screen and (max-width: 768px) {
  .title {
    font-size: 1.5rem;
  }
  
  .subtitle {
    font-size: 1.25rem;
  }
}

/*.notification {
  display: none;
}*/

.seat-border {
  color:black;
  border-style:solid;
  border-width: 1px;
  background-color:rgb(168, 128, 67);
}

.custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; 
}
.custom-column {
  flex: 1 1 calc(50% - 0.5rem); /* margin subtracted here */
  max-width: calc(50% - 0.5rem);
  box-sizing: border-box;
}


.seat-content {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  text-align: center;
  word-wrap:break-word;
  color:black;

  flex-direction:column;

  position: relative;
}

.seat-content:hover {
  cursor: pointer;
}

.selected {
  background-color: rgb(255, 0, 0, 0.5);
  border-style:solid;
  border-width: 3px;
  border-color:black;
}

.taken-seat {
  /*background-color: rgb(145, 202, 140);*/
  background-color: #91ca8c;
}

.empty-seat {
  background-color: rgb(140, 142, 145);
}

connection {
  /*z-index: -1;*/
  border: 3px solid;
  border-radius: 7em;
  color: rgb(128, 128, 128);
  color: rgba(0, 0, 0, 0.5);
  pointer-events: none;

  /*offset x*/
  margin-left: 5px; /*set by me*/
}
/*connection.odd {
  border-radius: 100%;
}
connection.first {
  color: black;
  border: 5px dotted;
}*/

.drink-info-container {
  position:absolute;
  top: 10px;
  left: 60%;

  display:none;

  font-size: 20px;
  z-index: 1;

  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;

  text-align: center;
  vertical-align: middle;
  line-height: 12px;
}

.tooltip-container {
  position: absolute;
  top: 0px;
  left: 0px;
  display: inline-block;
}

.tooltip-icon {
  font-size: 16px;
  cursor: pointer;
}

.tooltip {
  position: absolute;
  top: -10px;
  left: 100%;
  transform: translateX(10px);
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 200px;
  max-width: 80vw;
  box-sizing: border-box;
  z-index: 1;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
}

.tooltip-container:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

#image-modal {
  max-width: 100%;
  height: auto;
}


/*tabs*/
.tab-content {
  display: none; /* Hide all tab content by default */
}

.tab-content.is-active {
  display: block; /* Show active tab content */
}


/*color picker*/

/* Style for the radio button wrapper */
.color-options {
  display: flex;
  gap: 5px;
}

/* Hide the actual radio buttons */
.color-radio {
  display: none;
}

/* Style for custom radio button labels */
.color-label {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Color for each option */
.color-blue { background-color: #007bff; }
.color-red { background-color: #ff3860; }
.color-green { background-color: #91ca8c; }
.color-yellow { background-color: #ffdd57; }
.color-purple { background-color: #b86bff; }

/* Style for the selected color option */
.color-radio:checked + .color-label {
  border: 2px solid #000; /* Add a border to the selected option */
}

/* Adding a checkmark on the selected option */
.color-radio:checked + .color-label::after {
  content: '✔';
  font-size: 1rem;
  color: rgb(0, 0, 0);
}





/*emoji picker*/

/* Style for the radio button wrapper */
.emoji-options {
  display: flex;
  gap: 5px;
  float: right;
}

/* Hide the actual radio buttons */
.emoji-radio {
  display: none;
}

/* Style for custom radio button labels */
.emoji-label {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem; /* Adjust the emoji size */
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border 0.3s ease; /* Smooth border transition */
}

/* Style for the selected emoji option */
.emoji-radio:checked + .emoji-label {
  border: 2px solid #000; /* Add a solid black border to the selected option */
}

.big-checkbox {
  width: 20px;
  height: 20px;
}