/* ----------------------------------------------
 * Generated by Animista on 2024-11-13 16:28:37
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  
  /* ----------------------------------------------
 * Generated by Animista on 2024-11-13 16:40:7
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(1000px);
              transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(1000px);
              transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  
/* ----------------------------------------------
 * Generated by Animista on 2024-11-13 16:41:1
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-top
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes entrence {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        transform: scale(0);
    }

    38% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: scale(1);
    }

    55% {
        animation-timing-function: ease-in;
        transform: scale(0.7);
    }

    72% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }

    81% {
        animation-timing-function: ease-in;
        transform: scale(0.84);
    }

    89% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }

    95% {
        animation-timing-function: ease-in;
        transform: scale(0.95);
    }

    100% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }
}

body{
  font-family: 'arial', sans-serif;
  padding: 0;
  margin: 0;
}

.knesset-table{
        width: 80vw;
        height: 80vh;
        margin: 0 auto;
    }
    .seat-span{
      width: 3.3vw;
      height: 3.3vw;
      background-color: #3f51b5;  /* More modern blue color */
      border-radius: 50%;
      display: block;
      margin: auto;
      background-size: cover;
      border: 0.15vw solid rgba(0, 0, 0, 0.5);  /* Subtle white border */
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);  /* Smooth transition */
      cursor: pointer;
      box-shadow: 
          0 0.2vw 0.4vw rgba(0, 0, 0, 0.1),  /* Subtle shadow */
          0 0.4vw 0.8vw rgba(0, 0, 0, 0.1),  /* Medium shadow */
          inset 0 0.1vw 0.3vw rgba(255, 255, 255, 0.2);  /* Inner highlight */
      position: relative;
      overflow: hidden;
      
    }
    
    .left-section{
        -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
    .center-section{
        -webkit-animation: slide-in-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: slide-in-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
    .right-section{
        -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
    .td{
        padding: .2vw;
        margin: 0;
        border: .1vw solid blue;
    }
    [data-tooltip] {
        position: relative; /* Set the tooltip relative to the <th> element */

    }
    /*[data-tooltip]:hover::after {
        content: attr(data-tooltip);
        background: #433f3ff1;
        padding: .3em;
        position:static;
        top: 0px;
        left: 0%;
        color:white;
        border-radius: 1.5vh;
        font-weight: bold;
        font-size: 1.7vh;
        font-family: Arial, Helvetica, sans-serif;
        float: right;
        direction: rtl;
        max-height: 3.3vw;
        width: 5vw;

      }*/


      /* FLIP coin CSS */
      /* Container to position the coin and set perspective */
  .coin-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }
  
  /* Container to position the coin and set perspective */
.coin {
    width: 23vw;
    height: 23vw;           
    border-radius: 50%; /* Make the container circular */
    position: fixed;
    top: 32%;
    left: 38%;
    animation: entrence 1.3s ease 0s 1 normal forwards; /* attention 15s linear 1.4s 30; */

}
  
.circle::before {
  content: '';
  position: absolute;
  inset: 0; /* Fill the circle */
  border-radius: 50%;
  mask: radial-gradient(farthest-side, black calc(100% - 10px), transparent); /* Border width */
}
  .coin-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    border-radius: 50%;     
  }

.coin.flip .coin-inner {
    transform: rotateY(180deg);
}

  
  /* Front and Back sides of the coin */
  .coin-front, .coin-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: white;
    box-sizing: border-box;
    border-radius: 50%;      
    border: .2vw solid rgb(255, 255, 255);
    box-shadow: 5px 5px 10px gray;


  }
  
  /* Styling the front and back sides */
  .coin-front {
    background: conic-gradient(
      from 180deg,              /* Start the gradient from the bottom */
      rgb(101, 101, 232) 0% 57%,   /* Blue from 0 to 144 degrees (40% of 360 degrees) */
      #ffc354 57% 100% /* Orange for the remaining part */
    );
    padding: 1.5vw;
    cursor:default;
     }
  
  .coin-back {
    transform: rotateY(180deg);
    overflow: hidden;
  }
  
  /* Define the scrollbar style */
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.seat-image{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;    /* Crop the image to fill the container */

}

.info-section{
  width: 100%;
  height: 30%;
  z-index: 2;
  position:absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 100vh; /* Match the circle's radius */
  border-bottom-right-radius: 100vh; /* Match the circle's radius */
  border-top: .2vw solid black;
  padding-top: .1vw; /* Adds some space from the top */
  background-color:#FFEEDF;
  display: flex;
  justify-content: center; /* Center horizontally */
  flex-direction: column; /* Stack elements vertically */
  padding-top: 2vw;
}

.span-info{
  position: relative;
  top: -2vw; /* Adjust this value as needed */
  z-index: 3;
  color: black;
  margin: 0;
  justify-content: center; /* Center horizontally */
  text-align: center; /* Center text within each element */
}

h2{
  font-size: 2vw;
}
h5{
  font-size: 1.5vw;
}

.shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 10px 10px 15px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.info-div{
  margin: 2vh auto;
  padding: 0;
  width: 30vw;
  height: 10vw;
  position: fixed;
  top: 70%;
  left: 35%;
  text-align: center;
  justify-content:flex-end;
  direction: rtl;

}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -3vw;
  padding: 1.6vw;
  color: #888;
  font-weight: bold;
  font-size: 4vw;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
} 

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  color: rgb(0, 0, 0);
}

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 0px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 2vw;
  width: 2vw;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active, .dot:hover {
  background-color: #717171;
}

.screen{
  height: 90vh;
}
.tooltip-wrapper {
  position: fixed;  /* Match the coin's positioning */
  top: 32%;        /* Match the coin's top position */
  left: 38%;       /* Match the coin's left position */
  width: 23vw;     /* Match the coin's width */
  height: 23vw;    /* Match the coin's height */
}

.tooltip-text {
    visibility: hidden;
    background-color: transparent;  /* Remove background */
    text-align: center;
    padding: 0vh 2vh;
    position: absolute;
    z-index: 9999;
    width: max-content;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4vh;
    margin-bottom: 1vh;
    font-weight: bold;  /* Add this line to make all text bold */
}

.tooltip-text .coalition {
    color: rgb(101, 101, 232);
}

.tooltip-text .opposition {
    color: #ffc354;
}

/* Add this new style for the slash */
.tooltip-text .divider {
    color: black;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
}

#historyBtn{
  background-color: #4890FD;
  color: white;
  border: none;
  border-radius: 1vh;
  cursor: pointer;
  font-size: 3vh;
  padding: 1vh 2vh;
  position: fixed;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}
#historyBtn:hover{
  opacity: 0.8;
}
